Bounce Mechanics
ADSentertainment
Member Posts: 397
I'm trying to make a spring for a game, but I've hit a few problems. I did what the script in the Platformer Template said, by using an invisible actor that "carries" your player up giving the illusion that you're bouncing. But the issue with that method is that...well, I can't really MOVE my player while it is bouncing. Is it possible to have a spring, that when jumped on, will cause you to bounce while still being able to move your player mid-air? Thank you!
Having trouble with your game? Sounds like a personal problem.
Comments
Does anyone at all know?
Having trouble with your game? Sounds like a personal problem.
If you have already set up a rule that allows your player to move while jumping you can reuse that:
When the player makes a jump (the jump key is hit) set the attribute "jumping" to true.
When he hits the ground set "jumping" to false.
Then in your move rules allow only left/right moves when "jumping" is true or the player touches the ground.
To make it possible to move after having hit the invisiSpring, just set "jumping" to true in the collision rule (player hits invisiSpring)