naril Posted December 30, 2014 Share Posted December 30, 2014 Hello, i tryed to modify starstruck example. I only add own character and custom map made with tiled. Here you can try my code http://netnode.eu/phaser-platformer/ , you can try it live. I have problem with colision detection. If i turn on layer.debug = true; then everything is corectly outlined. But my character move in some walls then can't move from wall and is stuck. Some platforms colide corectly but some not even though they are from same tile. Can you please give me advice what i'm doing wrong. Link to comment Share on other sites More sharing options...
naril Posted December 30, 2014 Author Share Posted December 30, 2014 I solved it. I misunderstood setColision and setColisionByExlusion. Sorry for unnecessary post. Link to comment Share on other sites More sharing options...
Recommended Posts