Lock object movement on X or Y axis
-
@Deeeds I’m aware of this, but the character is not followed by a camera.
The player always need to have an X of 6, (the only thing that should be moving is the Y, for jumping),
While obaticals spawn at X 36 (right edge of screen) and move to the left (towards player), and you tap to jump to avoid the obstical etc
-
@Kamdroid
DOH. Don't know .... -
@Kamdroid So your player is a physics object right? I don’t know how well it would work, but you could try running a 0 second timer with Set Velocity, leaving Y as current and X as 0. Haven’t tried it, it might not work. It would depend on the controls of the player and what the player is doing exactly.
-
@Aidan-Oxley Thanks, this works. I was thinking of doing this but got mixed up with apply force, and thought this wouldn’t work.
I will use this for now, but I feel inefficient, as directly talking to the physics engines to do this would yield less of a performance impact.
-
@Kamdroid Nice! I guess with efficiency, I’d just wanna make sure that the FPS is always at 60.
-
By the way, this is the game I was talking about, which I just released now!
https://www.hyperpad.com/projects/aubjkay_/versions/bounce-tap
-
@Kamdroid WELL DONE!!!
-
@Deeeds Thank you. Do you get any stutter while playing?
-
@Kamdroid Haven't played it yet. I was congratulating you on getting finished. That's rare!
-
@Deeeds Oh, haha. I always get projects done if I’m happy with how the quality of the game and gameplay will be.
-
@Kamdroid Again, WELL DONE! I'll get to it soon. Promise. Sorry I haven't had a chance yet.... fighting with spawning and "relationships" in hyperPad's worlds without them.