Cocos2d开发中的核心概念与操作详解
1. CCNode类层次结构
在Cocos2d开发中,CCNode是所有节点的基类。它是一个抽象类,没有可视化的表现形式,但定义了所有节点共有的属性和方法。以下是从CCNode派生出来的一些重要类:
- CCLabelAtlas
- CCTileMapAtlas
- CCAtlasNode
- CCLayer
- CCMenuItem
- CCMotionStreak
- CCParallaxNode
- CCParticleSystem
- CCProgressTimer
- CCRenderTexture
- CCRibbon
- CCScene
- CCTransitionScene
- CCLabelTTF
- CCLabelBMFont
- CCBitmapFontAtlas
- CCTMXLayer
- CCSprite
- CCSpriteBatchNode
- CCTMXTiledMap
- CCColorLayer
- CCLayerGradient
- CCMultiplexLayer
- CCMenuItemAtlasFont
- CCMenuItemFont
- CCMenuItemImage
- CCLayerColor
- CCLayerMultiplex
- CCMenu
- CCMenuItemLabel
- CCMenuItemSprite
超级会员免费看
订阅专栏 解锁全文
26

被折叠的 条评论
为什么被折叠?



