valueerror Posted March 5, 2014 Share Posted March 5, 2014 #1 are tilemaplocationcallbacks working in 1.2 ? # is it (will it be) possible to assign materials and collisioncallbacks to layers so i can put all my "ice" tiles in one layer (friction=0) and all my "lava" tiles in another (player.kill()) ?(or what would be the appropriate way to accomplish those things?) thank you all in advance !! Link to comment Share on other sites More sharing options...
rich Posted March 5, 2014 Share Posted March 5, 2014 Yes you can assign materials to tiles. I'm making some changes to how physics works at the moment and then will post some examples. But essentially a tile is just a body, so anything you can do to a body (re: collision / materials) you can do to a tile. Link to comment Share on other sites More sharing options...
valueerror Posted March 5, 2014 Author Share Posted March 5, 2014 nice ! looking forward to seeing your examples! right now i'm having a hard time learning all you can do with tilemaps.. a complete new chapter of phaser (for me) Link to comment Share on other sites More sharing options...
Recommended Posts