Jump to content

problems with velocity in arcade physics


thomas
 Share

Recommended Posts

Hi guys, here is the simple snippet of some code. https://gist.github.com/lavokad/72d5eb8220c41ee65c5f49d46f3eccbc

The method moveToXY which is called in shoot method's body does take into account the velocity argument well. The bullet flies to the destiny slowly, even I pass a very high value. The game container is about ~5000px/~12000px size (I want the game and its images to render well on a big monitor). It has a player who is on ground trying to shoot a bullet up. Why doesn't this work as I expect?

Thanks in advance 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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