cocos2dX 學習筆記——觸摸事件、鍵盤事件、重力事件

今天練習一下觸摸、鍵盤、重力響應。話不多說,都在代碼裏   .h #ifndef _SCENE$_ #define _SCENE$_ #include "cocos2d.h" USING_NS_CC; class FourthScene :public cocos2d::CCLayer { public:     virtual bool init();     static cocos2d::C
相關文章
相關標籤/搜索