Jump to content

Tilemap triggers


Go to solution Solved by STuFF,

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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...