Hello,
I’m super new to Phaser and have read about every thread on why my setCollisionByProperty doesn’t seem to be working, but so far nothings working. It simply isn’t registering the tables as collisions and the sprite can walk right through. I console.log the tablesLayer’s properties and am met with “undefined”. Heres my js:
well that’s embarassing. While I have you though… I’ve also been trying to set up custom colliders i.e., define table edges and such. I have all the custom collisions set up as you can see in my original screenshot. Currently, it doesn’t actually change anything. Do you know if there’s a thread you could point me towards? or maybe you’d know why?
It’s the Tile Collision Editor in tiled, it just basically allows you to resize the collision boxes so it’s not the whole tile but rather specific portions of it. Can’t quite figure out how to link it up with phaser though