Jump to content

Strange Error on Pointer Position

Chupup Games

Recommended Posts



if game.input.x is > 100 and game.input.y < 150 i get this error:


  1. 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...