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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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