wamballa Posted July 24, 2019 Share Posted July 24, 2019 Hi I am converting a Phaser 2 game to Phaser 3 and I'm stuck. Really irritating me now. The code I am working on is here: https://github.com/wamballa/jetpac2019 All I want to do is create an animation inside a gameobject called Player. I create this player object in src/scenes/Level1.js with new Player() Inside the Player object ( src/object/player.js ) i used this.anims.create and then try to play it by pressing left with this.anims.play() but i get an error. There error i get is: phaser.js:108624 Uncaught TypeError: Cannot read property 'getFirstTick' of null Can anyone help me please? Thanks Stece Link to comment Share on other sites More sharing options...
Recommended Posts