I started playing around with Phaser but I consistently have problems with collisions.
I have a tilemap here https://github.com/lededje/game/blob/master/src/tilemaps/WorldTilemap.js
A sprite here https://github.com/lededje/game/blob/master/src/objects/Player.js
and the gamestate here https://github.com/lededje/game/blob/master/src/states/GameState.js
As far as I know everything is in order but still no collisions. Aside from the answer to my query (which would be great) I'd also like to ask how to go about debugging these things in the future. I checked the `collision` layer in the tilemap and it has a body but that was as far as I got. What other things should I check for to see why this wouldn't be working?
Thanks!