I am quite new to cocos2d ........I want to make a game in which TMX is repeated endlessly.....I have TMXGenerator files...Could anyone now tell me how can i include these files and make the endless TMX...
Wating for your reply.
A fast, easy to use, free, and community supported 2D game engine
I am quite new to cocos2d ........I want to make a game in which TMX is repeated endlessly.....I have TMXGenerator files...Could anyone now tell me how can i include these files and make the endless TMX...
Wating for your reply.
What you are wanting essentially is a tilemap of tilemaps. =) You can use the TMXGenerator to generate the pieces of the larger map on the fly, and place the smaller actual tilemaps side by side, creating them as you need them (and also disposing of them if you need to do so after you're done with them).
Nobody can really tell you much more without more details.
Actually I want make a game in which the level never ends.....and I am aware of making different levels by TMX but actually i don't know how to make an endless level in the game.
Please help me.
Short answer: you can't make a literal endless TMX map.
semi-short answer: You can make a bunch of small TMX maps and place them side by side, simulating an endless TMX map.
Hope that helps some.
Thanks Slycrel,
But can you provide me some tutorial on the same.....i am making endless runner sort of a game like Line Runner and Jetpack Joyride in which level never ends.
I hope you wouldn't mind answering me....as you know I am new to this.
Thanks In Advance
I don't have a good tutorial handy for you. Look around, there are a few tutorials to make endless levels based on tiny wings, but those aren't tile based. For the tile stuff I would get a single small TMX map completed and get it working. Then make yourself a sample of multiple TMX maps side by side. Then you can tackle dynamically adding and removing the levels.
Thank you so much Slycrel...I'l be waiting for your tutorial .
You must log in to post.