Jump to content

Phaser 1.1.6 Released ("Shienar") - the last of the 1.x family


rich
 Share

Recommended Posts

So actually the issue is that I cannot set a velocity lower than the gravity, otherwise the player won't jump.

I wanted my player to make small jumps, and fall fast on the ground. So this doesn't seem possible... right?

// createthis.player.body.gravity.y = 300;// updateif (this.cursor.up.isDown && this.player.body.blocked.down)     this.player.body.velocity.y = -350;
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...