lededje Posted January 17, 2016 Share Posted January 17, 2016 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! Link to comment Share on other sites More sharing options...
lededje Posted January 18, 2016 Author Share Posted January 18, 2016 Asked in the chat on this site and Skeptron and megmut sent me to https://software.intel.com/en-us/html5/hub/blogs/how-to-make-a-sidescroller-game-with-html5/ which looks pretty legit. They didn't want the reward, and said to donate it to the Phaser project; I'll add it to this months Patreon subscription. Thanks Skeptron and megmug! in mono 1 Link to comment Share on other sites More sharing options...
Recommended Posts