mirror of https://github.com/axmolengine/axmol.git
2a147ec34a
bool ControlColourPicker::init() { if (Control::init()) { setTouchEnabled(true); // Cache the sprites SpriteFrameCache::getInstance()->addSpriteFramesWithFile("extensions/CCControlColourPickerSpriteSheet.plist"); // Hard code here // Create the sprite batch node SpriteBatchNode *spriteSheet = SpriteBatchNode::create("extensions/CCControlColourPickerSpriteSheet.png"); // Hard code here addChild(spriteSheet); |
||
---|---|---|
.. | ||
CocosDragonJS | ||
CrystalCraze | ||
MoonWarriors | ||
Shared@4a4179ed52 | ||
TestJavascript | ||
WatermelonWithMe |