itch.io is community of indie game creators and players

Devlogs

Added Jumping and more platforms!

sky
A browser game made in HTML5

I added jumping using the code below.

I also changed movement keys to

- Left: Left Arrow Key

- Right: Right Arrow Key

- Jump: Up Arrow Key

if(this.key_Up.isDown && player.body.touching.down)
{ 
    player.setVelocityY(-100); 
}

Files

  • Arena v0.11.zip 847 kB
    Oct 22, 2018
Leave a comment