Jump to content

Gravity issue upgrading to 2.0.3


mtburdon
 Share

Recommended Posts

Hi everyone,

 

I'm going through a game I've been developing and updating it from v1.1.3 to v2.0.3, however I seem to have come across a small issue.

 

After updating, the gravity on my player seems to act a lot differently than before.

 

When updating I've enabled Arcade physics and enabled it on my player, when my player drops into the game now (with player.body.gravity.y set to 17 as before) it does so very slowly rather than dropping in at a normal speed. Also, when jumping, the player flies off into the sky rather than a short quick jump.

 

Am I missing something or should I be using a different physics engine here?

 

Thanks,

Martin

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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