문제

i'm a newbie with cocos2dx, i'm trying to create a game using tilemaps with cocos2dx and tiled (.tmx), I don't know what if it's the good way to go, but I want to create an endless map, a game when you can run and run for ever if you want. I was trying to use two tilemaps and repeat one next to each other without success (i'm still very limited in knowledge of cocos2dx :) ). Did you recommend me this approach? if no, what do you recommend me?, if yes how can i put two tilemaps one next to each other?

도움이 되었습니까?

해결책

You should follow this official tutorial to learn how to create good endless title map: http://www.cocos2d-x.org/docs/tutorial/parkour-game-with-javascript/chapter7/en

Even this is a tutorial for javascript but the class used is the same. Hope it help.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top