STuFF Posted April 12, 2014 Share Posted April 12, 2014 hi, I would like to know whats the best way to do a simple game with a map, some closed doors in the map, and some keys in the map. Each key is opening a PRECISE door (key A is opening door A, etc) I used Tiled to set up my map (but I don't know very well the tool) and I managed to load and use it in my game. some questions : the keys should disapears when they are picked up. Those keys should be sprites, or a tile is ok ? (I need to animated the keys with frames)if they are sprites, how can I place them in Tiled and get their positions in my code ?how can I "link" a key with a door, can it be done in Tiled ? thank you for help Link to comment Share on other sites More sharing options...
STuFF Posted April 12, 2014 Author Share Posted April 12, 2014 autoanswer : tilemap.createFromObjects is the key jamesflorentino 1 Link to comment Share on other sites More sharing options...
Recommended Posts