Cocos2d Tiled Dynamic Object Layer

Posted by Rodrigo Camargo on Game Development See other posts from Game Development or by Rodrigo Camargo
Published on 2012-10-19T21:22:09Z Indexed on 2012/10/19 23:22 UTC
Read the original article Hit count: 288

Filed under:
|
|
|

I'm trying to develop a cocos2d tiled based game using a sort of 'dynamic' object layer. What I want to do is after the tiled map is loaded, the user can drag something into the map and that will become an event when the 'hero' pass over it. I know how to build an object layer in tiled but it seems that is for fixed positions and what I want is a dynamic action position based on what the user can select. For instance, the user can drag a rock into a tile and when the character hit that rock he may die, or something.

I'm a little lost about how to make it work. Do you have any idea of what should I use or what should I look for?

Thanks in advance!

© Game Development or respective owner

Related posts about iphone

Related posts about tiles