忍者专题提供忍者的最新资讯内容,帮你更好的了解忍者。
经典的入门小游戏,这里用quick-cocos2d-x3.2重新写一遍,以便熟悉下quick 首先,创建工程,如果不会自行百度啊。 1、编译效果如下: 2、将游戏背景设置为白色,同时我们也来看一下MainScene.lua的文件 local MainScene = class("MainScene", function() return display.newScene("MainScen
声明:本代码是跟着别人的教程走的,贴出来以便自己复习用,其他没有什么大用。 #ifndef __HELLOWORLD_SCENE_H__ #define __HELLOWORLD_SCENE_H__ #include "cocos2d.h" class HelloWorld : public cocos2d::CCLayer { public: ~ HelloWorld(); //