corlenbelspar's Forum Posts

  • Well so far I've got around it by putting floor decals on a different layer with a Z elevation 0.01 higher than the map layer and used line of sight to cast a ray for wall decals on creation to stick them to the coordinates they hit but 0.1 away from the wall that they're Z elevation is going to match.

    I feel like this is one of the worst solutions for this and I don't like it, but it seems to work. If anyone has any better ideas, please let me know.

    I'm basically using the 3D first person platformer example but I've expanded it far beyond its original scope where multiple actors can be handled instead of only the player, slopes(wedges), ability to aim attacks up and down, etc.

  • I'm trying to place objects like this to add more details to 3D shapes, but it seems to do this partially obscured rendering when perfectly aligned, which I think is actually to be expected. But how can I basically put a bandaid on it to prevent that?

  • Oh yeah, you're right. A large sound wouldn't be able to play until fully loaded to memory because it isn't streaming like audio in the music folder.

  • For an offline only game, how does not preloading sounds impact being able to play them the first time?

  • OMG thank you. You helped me find the proper terms so I could look up the formula and recreate it verbatim in C3 and then change it to suit my needs. Marking as solved. My school system utterly failed me, so I've had to learn what should be simple things like sine and cosine as an adult.

  • I think I don't know how to explain what I'm having trouble with because that doesn't work either. In the video below I'm trying to get the boomerang to set its Z movement angle to the player throughout its entire return flight so it will home in on the player at the correct speed. If I can get this to work right then anything should be able to accurately aim at something in Z elevation.

    It's using bullet behavior as well as a zAngle variable I made that alters its bullet speed so it moves the correct speed if aimed higher or lower. As you can see, the math is correct to change its movement based on zAngle as I can aim directly at the center of my vision no matter where I fire. The problem is that I set the zAngle to -3DCamera.CameraYRotation + 90 when the player fires to accomplish this, but I have no idea how to input something other than -3DCamera.CameraYRotation + 90 or a specific number which makes things like homing shots impossible until I know how. Thanks so far for the help though.

    Here's a video attempting to show what I've done so far.

    https://drive.google.com/open?id=1QurGjbN8Sn4EHbXZsv349R8_Ez19POBY&authuser=ummagummabur%40gmail.com&usp=drive_fs

    EDIT: I found a diagram of the value I need to caclulate. It's X in this. Sorry if I'm being dense. This is actually the first time I've done anything in 3D. So I probably am like one of those 2D creatures in flatland coming into 3D. lol

  • Are you talking about the 3D camera with viewing angle? Because I need an enemy to aim at the player.

  • We all pretty much know how to use angle() so a shot can be aimed from one object to the angle of another, but how do you throw the Z coordinate into the mix if you're doing a first person game? Like the 3D platformer example.

    The specific formula I ended up with is

    atan((Target.ZElevation - Self.ZElevation) / distance(Self.X, Self.Y, Target.X, Target.Y))

  • There isn't. I'm sure it's on the to do list though because Ashley made all these 3D features available in a short amount of time, so he probably hasn't had time yet to get to it all. It's also impossible to rotate 3D shapes in more than one axis as far as I can tell. I guess we'll see.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • The CPU profiler is really amazing with helping track down code that needs optimized, so is there a way to see more the specifics of "Plugin processing" and "Behavior processing"?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I've done some really complicated text processing with C3, and I know you could use base64 to make your own file format that stores custom formatting and such along with all your text, but I don't think I'd ever want to make a full blown word processor purely to write.

  • I feel like the aspect of being able to load C3 on a phone or tablet is just nothing but a gimmick. It's really cool to see my games open in C3 on my phone, but it's already asking too much of a phone to even run a even some basic games you can make in C3, let alone trying to make a game on a phone. I figure this is only really intended with tablets in mind, but... like C3 is really great, don't get me wrong, it's just trying to do game development on a touch screen device is something I'd probably only do if I went to hell and was given the worst possible punishment based on my life.