摘要: 昨天吃饭看见同事演示他做的翻牌效果,感觉不错,我心血来潮也来搞个,很简单直接上代码。class FlipCard : public CCNode{public: CREATE_FUNC(FlipCard); virtual bool init() { if (CCNode::init()) { m_pFront = CCNode::create(); m_pBack =CCNode::create(); m_pBack->setVisible(false); a... 阅读全文
posted @ 2014-01-12 21:12 MrBlue 阅读(402) 评论(0) 推荐(0) 编辑