Jump to content

" Uncaught TypeError: Cannot read property 'physicsType' of undefined " error when trying to kill sprite when collision with player


LA13
 Share

Recommended Posts

Hi,

I'm trying to make my first game using Phaser 2,

Why is this displaying an error?

image.png.edf33191d7e5461a982f7a74c08585a8.png
 

Im just trying make the key disappear when the player sprite comes into contact with it? And its showing the following error message:

image.png.d6d2df717db86994999a316b88511a7f.png

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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