superpowers / superpowers-game

:video_game: Make 2D and 3D games in live collaboration with Superpowers
http://superpowers-html5.com/
Other
402 stars 93 forks source link

setup from tileset not initialising velocity properties. #148

Closed mredbishop closed 8 years ago

mredbishop commented 8 years ago

When creating an ArcadePhysics2D.Body in code, the velocity properties were not initialised (velocity, velocityMin, velocityMax, velocityMultiplier) so when attempting to update these it caused an error.

mredbishop commented 8 years ago

Ignore this it's nonsense, I totally misunderstood the use of the ArcadePhysics2D.Body