ForgeableSum Posted January 26, 2016 Share Posted January 26, 2016 Using Phaser v 2.3.0. This does not work (in create): setTimeout(function() { testObject.animations.play('sway', 20, true); }, 2000); While this works: testObject.animations.play('sway', 20, true); Why? Link to comment Share on other sites More sharing options...
drhayes Posted January 27, 2016 Share Posted January 27, 2016 In a state's create method? What's the context? Link to comment Share on other sites More sharing options...
Recommended Posts