Jump to content

what is the difference between .moveRight(200) and .velocity.x= 200


Recommended Posts

I think they do the same thing, the only difference is one is a method and one is a property. Can anyone shed any light on this? Do the units differ when setting it via moveRight? Looking at the source it doesn't seem to do much other than set the velocity in pixels per second?

Link to comment
Share on other sites


  • Recently Browsing   0 members

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