Tag: 瓦片

“如何使用Cocos2D 2.X制作基于平铺的游戏”使用cocos2d V3制作本教程

我有一个小问题。 在本教程中如何使用Cocos2D 2.X制作基于Tile的游戏使用了cocos2d V2.0,我想在cocos2d V3.0中做这个。 所以,这是行不通的! 谢谢! (我不会说英文) 我觉得在这一行的问题 – self.position = viewPoint; @property (strong) CCTiledMap *tileMap; @property (strong) CCTiledMapLayer *background; @property (strong) CCSprite *player; – (id)init { // Apple recommend assigning self with supers return value self = [super init]; if (!self) return(nil); // Enable touch handling on scene node self.userInteractionEnabled = YES; self.tileMap […]