Jump to content

Jumping and flying


letabarbieri
 Share

Recommended Posts

Hi everyone, I'm a newbie and I'm having troubles tweaking a game (currently using Phaser format offline on Atom).

1) My player is expected to jump lower and lower as he gets stars along the way, so I'm guessing a kind of deceleration but concerning gravity.

2) He should start flying when he eats a mushroom (gravity here too?).

Before getting the mushroom he jumps with the space bar but then he is supposed to start flying by pressing the up cursor.

Are there any commands/ codes that could help me with that? I bet it has an easy solution but I can't figure it out.

Thank you very much to whoever may respond! xoxo

 

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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