- Collide - To make sure that the player one actor would not fall through the floor, I had to put a a collision rule when player one comes into contact with the ground.
- Gravity - I put the player one actor above the ground so that when I preview the game, the actor will fall down. This is because of the accelerate rule I added that causes the actor to always fall down unless something stops it.
- Controls - The jumping mechanic was done by moving the actor upwards with the press of the spacebar but to ensure the player couldn't jump infinitely, I added a rule that only allows the jump if the actor is touching the ground.
Monday, 23 November 2015
Basic explanation of platformer rules.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment