Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

phaser asteroid movement

 this.physics.velocityFromRotation(sprite.rotation, 200, sprite.body.acceleration);
Source by github.com #
 
PREVIOUS NEXT
Tagged: #phaser #asteroid #movement
ADD COMMENT
Topic
Name
4+1 =