How do you make an actor wall jump?
I've recently bought super meat boy, a great XBL platformer where the player's main form of movement is wall jumping,so I want to know how to create a wall jump function in GS.
FM.
FM.
Comments
- Alex
Either way, you could search Youtube.
Do a rule, and say
if attributes
game.jumping is true (or 1) and is overlapping or colliding with WallJumpWall (you'll need a new actor)
change attribute game.WallJumpAble to true (or 1)
In the Jump button, say
If touch is pressed and game.WallJumpAble is true change attribute game.WallJumping to true, change attribute WallJumpAble to false
Back in the Character, add a new rule:
If attribute game.WallJumping is true, (Timer) for 1 (more or less) seconds accelerate at ___º ____ (speed)
To do left and right, you'll need to repeat this (and make extra attributes, Left and Right (ex. WallJumpingL and WallJumpingR)
Basically, If the player is in mid-jump and you're on a wall, when the jump button is pressed you will jump at your selected degrees and acceleration for 1 second. If gravity is on, your person should fall back to the ground.
Any solution to this?