Chupup Games Posted February 3, 2014 Share Posted February 3, 2014 Hi, if game.input.x is > 100 and game.input.y < 150 i get this error: Uncaught TypeError: Cannot read property 'uuid' of null phaser.js:21324 In the other cases everything works fine. Can anybody explain this to me? (By the way, i'm using the new Phaser 1.1.4 Dev) function update(){if (game.input.x > 100) {if (game.input.y < 150) {player.y = 192;player.animations.play('walk-look-up', 5, true);}else {player.y = 200;player.animations.play('walk-look-down', 5, true);} }else {if (game.input.y < 150) {player.y = 192;player.animations.play('idle-look-up', 5, true);}else {player.y = 200;player.animations.play('idle-look-down', 5, true);}}} Link to comment Share on other sites More sharing options...
Chupup Games Posted February 3, 2014 Author Share Posted February 3, 2014 Ok, this topic can be closed. It has nothing to do with Phaser, was a problem with Spriter, that exported one frame less than i wanted Link to comment Share on other sites More sharing options...
Recommended Posts