Jump to content

Tilemap triggers


STuFF
 Share

Recommended Posts

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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...