摘要: HelloWorldScene.h#ifndef __HELLOWORLD_SCENE_H__#define __HELLOWORLD_SCENE_H__#include "cocos2d.h"#include "Box2D/Box2D.h"#include "SimpleAudioEngine.h"class HelloWorld : public cocos2d::CCLayer{public: // Here's a difference. Method 'init' in cocos2d-x retur 阅读全文
posted @ 2013-11-11 23:38 解放1949 阅读(281) 评论(0) 推荐(0)
摘要: Classed/AppDelegate.cpp 文件内容如下:#include "cocos2d.h"#include "CCEGLView.h"#include "AppDelegate.h"#include "HelloWorldScene.h"#include "SimpleAudioEngine.h"using namespace CocosDenshion;USING_NS_CC;AppDelegate::AppDelegate(){}AppDelegate::~AppDelegate 阅读全文
posted @ 2013-11-11 23:24 解放1949 阅读(288) 评论(0) 推荐(0)