[feature] Stair bricktype
Soufon7 opened this issue · 1 comments
Soufon7 commented
alemart commented
You can use the engine to make various kinds of platformers, as well as non-platformers.
Your request can be fulfilled with a companion script. It can go along these lines:
// object-level variables
player = parent;
previouslyJumping = false;
...
fun lateUpdate()
{
player.angle = 0;
if(player.jumping && !previouslyJumping) {
player.xsp = 0;
player.ysp = -390;
}
previouslyJumping = player.jumping;
}