diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126.docx" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126.docx" new file mode 100644 index 00000000..00a9ce03 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126.docx" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126.ppt" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126.ppt" new file mode 100644 index 00000000..98cb242e Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126.ppt" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/.cocos-project.json" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/.cocos-project.json" new file mode 100755 index 00000000..455238a1 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/.cocos-project.json" @@ -0,0 +1,5 @@ +{ + "engine_type": "prebuilt", + "engine_version": "cocos2d-x-3.8.1", + "project_type": "cpp" +} \ No newline at end of file diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/AppDelegate.cpp" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/AppDelegate.cpp" new file mode 100755 index 00000000..49eb5b8a --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/AppDelegate.cpp" @@ -0,0 +1,80 @@ +#include "AppDelegate.h" +#include "HelloWorldScene.h" + +USING_NS_CC; + +AppDelegate::AppDelegate() { + +} + +AppDelegate::~AppDelegate() +{ +} + +bool AppDelegate::applicationDidFinishLaunching() { + // initialize director + auto director = Director::getInstance(); + auto glview = director->getOpenGLView(); + if(!glview) { + glview = GLViewImpl::createWithRect("My game", Rect(0, 0, 320, 480)); + director->setOpenGLView(glview); + //glview->setFrameSize(320, 480); + } + + // turn on display FPS + director->setDisplayStats(true); + + //设置分辨率大小 + auto a = Size(320, 480); + + //设置资源大小 + auto b = Size(640, 960); + + //设置场景大小 + director->setContentScaleFactor(b.width/a.width); + + //规定屏幕适应规则 + glview->setDesignResolutionSize(a.width, a.height, ResolutionPolicy::FIXED_WIDTH); + + + + + std::vector searchPaths; + searchPaths.push_back("hd"); + + auto searchPath = FileUtils::getInstance(); + searchPath->setSearchPaths(searchPaths); + + + + + + + + // set FPS. the default value is 1.0/60 if you don't call this + director->setAnimationInterval(1.0 / 60); + + // create a scene. it's an autorelease object + auto scene = HelloWorld::createScene(); + + // run + director->runWithScene(scene); + + return true; +} + +// This function will be called when the app is inactive. When comes a phone call,it's be invoked too +void AppDelegate::applicationDidEnterBackground() { + Director::getInstance()->stopAnimation(); + + // if you use SimpleAudioEngine, it must be pause + // SimpleAudioEngine::getInstance()->pauseBackgroundMusic(); +} + +// this function will be called when the app is active again +void AppDelegate::applicationWillEnterForeground() { + Director::getInstance()->startAnimation(); + + // if you use SimpleAudioEngine, it must resume here + // SimpleAudioEngine::getInstance()->resumeBackgroundMusic(); +} diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/AppDelegate.h" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/AppDelegate.h" new file mode 100755 index 00000000..18ee8aeb --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/AppDelegate.h" @@ -0,0 +1,38 @@ +#ifndef _APP_DELEGATE_H_ +#define _APP_DELEGATE_H_ + +#include "cocos2d.h" + +/** +@brief The cocos2d Application. + +The reason for implement as private inheritance is to hide some interface call by Director. +*/ +class AppDelegate : private cocos2d::Application +{ +public: + AppDelegate(); + virtual ~AppDelegate(); + + /** + @brief Implement Director and Scene init code here. + @return true Initialize success, app continue. + @return false Initialize failed, app terminate. + */ + virtual bool applicationDidFinishLaunching(); + + /** + @brief The function be called when the application enter background + @param the pointer of the application + */ + virtual void applicationDidEnterBackground(); + + /** + @brief The function be called when the application enter foreground + @param the pointer of the application + */ + virtual void applicationWillEnterForeground(); +}; + +#endif // _APP_DELEGATE_H_ + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/BaseLayer.cpp" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/BaseLayer.cpp" new file mode 100755 index 00000000..c0368c3a --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/BaseLayer.cpp" @@ -0,0 +1,63 @@ +#include "BaseLayer.h" + + +USING_NS_CC; + +// on "init" you need to initialize your instance +bool BaseLayer::init() +{ + ////////////////////////////// + // 1. super init first + if ( !Layer::init() ) + { + return false; + } + + Size visibleSize = Director::getInstance()->getVisibleSize(); + Vec2 origin = Director::getInstance()->getVisibleOrigin(); + + auto bg = TMXTiledMap::create("map/red_bg.tmx"); + addChild(bg); + + //鐪奸暅绮剧伒. + auto glassesSprite = Sprite::createWithSpriteFrameName("setting.glasses.png"); + glassesSprite->setPosition(Vec2(visibleSize.width - glassesSprite->getContentSize().width /2, 160)); + addChild(glassesSprite); + + //鎵嬪绮剧伒. + auto handSprite = Sprite::createWithSpriteFrameName("setting.hand.png"); + handSprite->setPosition(Vec2(handSprite->getContentSize().width /2,200)); + addChild(handSprite); + + //Ok鑿滃崟. + auto okNormal = Sprite::createWithSpriteFrameName("setting.button.ok.png"); + auto okSelected = Sprite::createWithSpriteFrameName("setting.button.ok-on.png"); + + auto okMenuItem = MenuItemSprite::create(okNormal, okSelected, CC_CALLBACK_1(BaseLayer::menuBackCallback, this)); + auto mu = Menu::create(okMenuItem, NULL); + mu->setPosition(Vec2(visibleSize.width - mu->getContentSize().width /2 + 60, 60)); + addChild(mu); + + + return true; +} + + +void BaseLayer::menuBackCallback(Ref* pSender) +{ + Director::getInstance()->popScene(); + if (UserDefault::getInstance()->getBoolForKey(SOUND_KEY)) { + SimpleAudioEngine::getInstance()->playEffect(sound_1); + } +} + + +void BaseLayer::onEnterTransitionDidFinish() +{ + Layer::onEnterTransitionDidFinish(); + log("BaseLayer onEnterTransitionDidFinish"); + UserDefault *defaults = UserDefault::getInstance(); + if (defaults->getBoolForKey(MUSIC_KEY)) { + SimpleAudioEngine::getInstance()->playBackgroundMusic(bg_music_1, true); + } +} diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/BaseLayer.h" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/BaseLayer.h" new file mode 100755 index 00000000..d71702f3 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/BaseLayer.h" @@ -0,0 +1,21 @@ +#ifndef __BSAE_LAYER_H__ +#define __BSAE_LAYER_H__ + +#include "cocos2d.h" + +#include "SystemHeader.h" + +class BaseLayer : public cocos2d::Layer +{ +public: + + // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone + virtual bool init(); + + virtual void onEnterTransitionDidFinish(); + + void menuBackCallback(cocos2d::Ref* pSender); + +}; + +#endif // __BSAE_LAYER_H__ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Bullet.cpp" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Bullet.cpp" new file mode 100755 index 00000000..e97b0ef0 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Bullet.cpp" @@ -0,0 +1,45 @@ +#include "Bullet.h" + +USING_NS_CC; + +Bullet* Bullet::createWithSpriteFrameName(const char* spriteFrameName) +{ + Bullet *bullet = new Bullet(); + if (bullet && bullet->initWithSpriteFrameName(spriteFrameName)) { + bullet->autorelease(); + bullet->setVisible(false); + + auto body = PhysicsBody::createBox(bullet->getContentSize()); + + body->setCategoryBitmask(0x01); //0001 + body->setCollisionBitmask(0x02); //0010 + body->setContactTestBitmask(0x01); + + bullet->setPhysicsBody(body); + + return bullet; + } + CC_SAFE_DELETE(bullet); + return nullptr; +} + +void Bullet::shootBulletFromFighter(Fighter* fighter) +{ + this->setPosition(fighter->getPosition() + Vec2(0, fighter->getContentSize().height / 2)); + this->setVisible(true); + this->unscheduleUpdate(); + this->scheduleUpdate(); + +} + +void Bullet::update(float dt) +{ + Size screenSize = Director::getInstance()->getVisibleSize(); + this->setPosition(Vec2(this->getPosition() + velocity *dt)); + if (this->getPosition().y > screenSize.height) { + //log("isVisible = %d",this->isVisible()); + this->setVisible(false); + this->unscheduleUpdate(); + this->removeFromParent(); + } +} \ No newline at end of file diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Bullet.h" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Bullet.h" new file mode 100755 index 00000000..53eea479 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Bullet.h" @@ -0,0 +1,33 @@ +#ifndef __BULLET_H__ +#define __BULLET_H__ + +#include "cocos2d.h" +#include "Fighter.h" + + + +class Bullet : public cocos2d::Sprite +{ + CC_SYNTHESIZE(cocos2d::Vec2, velocity, Velocity); + +public: + + void shootBulletFromFighter(Fighter* fighter); + + virtual void update(float dt); + static Bullet* createWithSpriteFrameName(const char* spriteFrameName); +}; + + + + + + + + + + + + + +#endif // __BULLET_H__ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Enemy.cpp" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Enemy.cpp" new file mode 100755 index 00000000..a500ceb4 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Enemy.cpp" @@ -0,0 +1,144 @@ +#include "Enemy.h" + +USING_NS_CC; + +Enemy::Enemy(EnemyTypes enemyType) +{ + this->enemyType = enemyType; + this->initialHitPoints = 1; + this->velocity = Vec2::ZERO; +} + +Enemy* Enemy::createWithEnemyTypes(EnemyTypes enemyType) +{ + Enemy *enemy = new Enemy(enemyType); + + const char* enemyFramName = Enemy_Stone; + + switch (enemyType) { + case EnemyTypeStone: + enemyFramName = Enemy_Stone; + enemy->initialHitPoints = 3; + break; + case EnemyTypeEnemy1: + enemyFramName = Enemy_1; + enemy->initialHitPoints = 5; + break; + case EnemyTypeEnemy2: + enemyFramName = Enemy_2; + enemy->initialHitPoints = 10; + break; + case EnemyTypePlanet: + enemyFramName = Enemy_Planet; + enemy->initialHitPoints = 15; + break; + } + + if (enemy && enemy->initWithSpriteFrameName(enemyFramName)) { + + enemy->autorelease(); + + auto body = PhysicsBody::create(); + + + + + if (enemyType == EnemyTypeStone || enemyType == EnemyTypePlanet) { + body->addShape(PhysicsShapeCircle::create(enemy->getContentSize().width / 2 - 5)); + } + else if (enemyType == EnemyTypeEnemy1) { + + Vec2 verts[] = { + Vec2(-2.5, -45.75), + Vec2(-29.5, -27.25), + Vec2(-53, -0.25), + Vec2(-34, 43.25), + Vec2(28, 44.25), + Vec2(55, -2.25) }; + body->addShape(PhysicsShapePolygon::create(verts, 6)); + } + else if (enemyType == EnemyTypeEnemy2) { + Vec2 verts[] = { + Vec2(1.25, 32.25), + Vec2(36.75, -4.75), + Vec2(2.75, -31.75), + Vec2(-35.75, -3.25) }; + body->addShape(PhysicsShapePolygon::create(verts, 4)); + } + + + + body->setCategoryBitmask(0x01); //0001 + body->setCollisionBitmask(0x02); //0010 + body->setContactTestBitmask(0x01); + + enemy->setPhysicsBody(body); + + + + + + enemy->setVisible(false); + + + enemy->spawn(); + + + enemy->unscheduleUpdate(); + + + + enemy->scheduleUpdate(); + + return enemy; + } + + CC_SAFE_DELETE(enemy); + + return nullptr; +} + +void Enemy::update(float dt) +{ + switch (enemyType) { + case EnemyTypeStone: + + this->setRotation(this->getRotation() - 0.5); + break; + case EnemyTypePlanet: + + this->setRotation(this->getRotation() + 1); + break; + } + + Vec2 moveLen = velocity * dt; + + this->setPosition(this->getPosition() + moveLen); + + if (this->getPosition().y + this->getContentSize().height / 2 < 0) { + this->spawn(); + } +} + + +void Enemy::spawn() +{ + //获取屏幕大小 + Size screenSize = Director::getInstance()->getVisibleSize(); + //设置图片放到最上方 + float yPos = screenSize.height + this->getContentSize().height / 2; + //设置图片在x轴的任意地方 + float xPos = CCRANDOM_0_1()*(screenSize.width - this->getContentSize().width) + this->getContentSize().width / 2; + //让他们呆好地方 + this->setPosition(Vec2(xPos, yPos)); + //设置锚点为中心 + this->setAnchorPoint(Vec2(0.5f, 0.5f)); + + + //设置生命值为初始生命值 + hitPoints = initialHitPoints; + //让他们显示出来 + //有点像addChild的表面作用 + this->setVisible(true); + +} diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Enemy.h" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Enemy.h" new file mode 100755 index 00000000..69ce627d --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Enemy.h" @@ -0,0 +1,55 @@ +#ifndef __ENEMY_H__ +#define __ENEMY_H__ + +#include "cocos2d.h" + + +#define Enemy_Stone "gameplay.stone1.png" +#define Enemy_1 "gameplay.enemy-1.png" +#define Enemy_2 "gameplay.enemy-2.png" +#define Enemy_Planet "gameplay.enemy.planet.png" + +typedef enum +{ + EnemyTypeStone = 0, + EnemyTypeEnemy1, + EnemyTypeEnemy2, + EnemyTypePlanet +} EnemyTypes; + + +class Enemy : public cocos2d::Sprite +{ + + CC_SYNTHESIZE(EnemyTypes, enemyType, EnemyType); + CC_SYNTHESIZE(int, initialHitPoints, InitialHitPoints); + CC_SYNTHESIZE(int, hitPoints, HitPoints); + CC_SYNTHESIZE(cocos2d::Vec2, velocity, Velocity); + +public: + Enemy(EnemyTypes enemyType); + + void spawn(); + virtual void update(float dt); + static Enemy* createWithEnemyTypes(EnemyTypes enemyType); +}; + + + + + + + + + + + + + + + + + + + +#endif // __ENEMY_H__ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/EnemyScene.cpp" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/EnemyScene.cpp" new file mode 100755 index 00000000..240735db --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/EnemyScene.cpp" @@ -0,0 +1,34 @@ +#include "EnemyScene.h" + +USING_NS_CC; + +Scene* Enemy::createScene() +{ + // 'scene' is an autorelease object + log("createScene"); + auto scene = Scene::create(); + + // 'layer' is an autorelease object + auto layer = Enemy::create(); + + // add layer as a child to scene + scene->addChild(layer); + + // return the scene + return scene; +} + +// on "init" you need to initialize your instance +bool Enemy::init() +{ + ////////////////////////////// + // 1. super init first + if (!Layer::init()) + { + return false; + } + + Size visibleSize = Director::getInstance()->getVisibleSize(); + //Vec2 origin = Director::getInstance()->getVisibleOrigin(); + return true; +} \ No newline at end of file diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/EnemyScene.h" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/EnemyScene.h" new file mode 100755 index 00000000..f3c9cd1f --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/EnemyScene.h" @@ -0,0 +1,49 @@ +// +// Created by 鍏充笢鍗?on 2014-5-18. +// 鏈功缃戠珯锛歨ttp://www.cocoagame.net +// 鏅烘嵎iOS璇惧爞鍦ㄧ嚎璇惧爞锛歨ttp://v.51work6.com +// 鏅烘嵎iOS璇惧爞鏂版氮寰崥锛歨ttp://weibo.com/u/3215753973 +// 浣滆呭井鍗氾細http://weibo.com/516inc +// QQ锛?575716557 閭锛歫ylong06@163.com +// QQ浜ゆ祦缇わ細389037167/327403678 +// +// SystemHeader.h +// + +#ifndef __ENEMY_H__ +#define __ENEMY_H__ + +#include "cocos2d.h" +#include "Enemy.h" + + + + +class Enemy : public cocos2d::Layer +{ +public: + // there's no 'id' in cpp, so we recommend returning the class instance pointer + static cocos2d::Scene* createScene(); + + // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone + virtual bool init(); + + + // implement the "static create()" method manually + CREATE_FUNC(Enemy); +}; + + + + + + + + + + + + + + +#endif // __ENEMY_H__ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Fighter.cpp" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Fighter.cpp" new file mode 100755 index 00000000..94f0d343 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Fighter.cpp" @@ -0,0 +1,70 @@ +#include "Fighter.h" + +USING_NS_CC; + + +Fighter* Fighter::createWithSpriteFrameName(const char* spriteFrameName) +{ + Fighter *fighter = new Fighter(); + + if (fighter && fighter->initWithSpriteFrameName(spriteFrameName)) { + fighter->autorelease(); + + ParticleSystem *ps = ParticleSystemQuad::create("particle/fire.plist"); + + //在飞机下面. + ps->setPosition(Vec2(fighter->getContentSize().width / 2, 0)); +#if (CC_TARGET_PLATFORM != CC_PLATFORM_WP8) + ps->setRotation(180.0f); +#endif + ps->setScale(0.5f); + fighter->addChild(ps); + + Vec2 verts[] = { + Vec2(-43.5, 15.5), + Vec2(-23.5, 33), + Vec2(28.5, 34), + Vec2(48, 17.5), + Vec2(0, -39.5) }; + + auto body = PhysicsBody::createPolygon(verts, 5); + + body->setCategoryBitmask(0x01); //0001 + body->setCollisionBitmask(0x02); //0010 + body->setContactTestBitmask(0x01); + + fighter->setPhysicsBody(body); + return fighter; + } + + CC_SAFE_DELETE(fighter); + + return NULL; +} + +void Fighter::setPosition(const cocos2d::Vec2& newPosition) +{ + Size screenSize = Director::getInstance()->getVisibleSize(); + + float halfWidth = this->getContentSize().width / 2; + float halfHeight = this->getContentSize().height / 2; + float pos_x = newPosition.x; + float pos_y = newPosition.y; + + if (pos_x < halfWidth) { + pos_x = halfWidth; + } + else if (pos_x >(screenSize.width - halfWidth)) { + pos_x = screenSize.width - halfWidth; + } + + if (pos_y < halfHeight) { + pos_y = halfHeight; + } + else if (pos_y >(screenSize.height - halfHeight)) { + pos_y = screenSize.height - halfHeight; + } + + Sprite::setPosition(Vec2(pos_x, pos_y)); + Sprite::setAnchorPoint(Vec2(0.5f, 0.5f)); +} \ No newline at end of file diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Fighter.h" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Fighter.h" new file mode 100755 index 00000000..c886c7b4 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/Fighter.h" @@ -0,0 +1,39 @@ +#ifndef __FIGHTER_H__ +#define __FIGHTER_H__ + +#include "cocos2d.h" + + + + + + + +class Fighter : public cocos2d::Sprite +{ + CC_SYNTHESIZE(int, hitPoints, HitPoints); + CC_SYNTHESIZE(cocos2d::Vec2, velocity, Velocity); + +public: + + void setPosition(const cocos2d::Vec2& newPosition); + static Fighter* createWithSpriteFrameName(const char* spriteFrameName); + + +}; + + + + + + + + + + + + + + + +#endif // __FIGHTER_H__ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/GameOverLayer.cpp" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/GameOverLayer.cpp" new file mode 100755 index 00000000..ea26f6ce --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/GameOverLayer.cpp" @@ -0,0 +1,136 @@ +#include "GameOverLayer.h" + +USING_NS_CC; + + +GameOverLayer::GameOverLayer(int score) +{ + this->score = score; +} + +GameOverLayer* GameOverLayer::createWithScore(int score) +{ + GameOverLayer *gover = new GameOverLayer(score); + + if (gover && gover->init()) { + gover->autorelease(); + return gover; + } + CC_SAFE_DELETE(gover); + return nullptr; +} + +bool GameOverLayer::init() + +{ + + ////////////////////////////// + + // 1. super init first + + if (!Layer::init()) + + { + + return false; + + } + + + Size visibleSize = Director::getInstance()->getVisibleSize(); + + //添加背景地图. + + auto bg = TMXTiledMap::create("map/blue_bg.tmx"); + + this->addChild(bg); + + + //放置发光粒子背景 + + ParticleSystem *ps = ParticleSystemQuad::create("particle/light.plist"); + + ps->setPosition(Vec2(visibleSize.width, visibleSize.height - 200) / 2); + + this->addChild(ps); + + auto top = Sprite::createWithSpriteFrameName("gameover.top.png"); + //锚点在左下角 + top->setAnchorPoint(Vec2(0, 0)); + top->setPosition(Vec2(0, visibleSize.height - top->getContentSize().height)); + this->addChild(top); + + UserDefault *defaults = UserDefault::getInstance(); + int highScore = defaults->getIntegerForKey(HIGHSCORE_KEY); + if (highScore < score) { + highScore = score; + defaults->setIntegerForKey(HIGHSCORE_KEY, highScore); + } + __String *text = __String::createWithFormat("%i points", highScore); + auto lblHighScore = Label::createWithTTF(MyUtility::getUTF8Char("lblHighScore"), "fonts/hanyi.ttf", 25); + lblHighScore->setColor(Color3B(14, 83, 204)); + + + lblHighScore->setAnchorPoint(Vec2(0, 0)); + + lblHighScore->setPosition(Vec2(60, top->getPosition().y - 30)); + + addChild(lblHighScore); + + auto lblScore = Label::createWithTTF(text->getCString(), "fonts/hanyi.ttf", 24); + lblScore->setColor(Color3B(14, 83, 204)); + lblScore->setAnchorPoint(Vec2(0, 0)); + lblScore->setPosition(lblHighScore->getPosition() - Vec2(0, 40)); + addChild(lblScore); + + auto text2 = Label::createWithTTF("Tap the Screen to Play", "fonts/hanyi.ttf", 24); + text2->setColor(Color3B(14, 83, 204)); + + text2->setAnchorPoint(Vec2(0, 0)); + text2->setPosition(lblScore->getPosition() - Vec2(10, 45)); + addChild(text2); + + //注册 触摸事件监听器 + + auto listener = EventListenerTouchOneByOne::create(); + + listener->setSwallowTouches(true); + + + + listener->onTouchBegan = [](Touch* touch, Event* event){ + + Director::getInstance()->popScene(); + if (UserDefault::getInstance()->getBoolForKey(SOUND_KEY)) { + SimpleAudioEngine::getInstance()->playEffect(sound_1); + } + + return false; + + }; + + + + // 添加 触摸事件监听器 + + EventDispatcher* eventDispatcher = Director::getInstance()->getEventDispatcher(); + + eventDispatcher->addEventListenerWithSceneGraphPriority(listener, this); + + + + return true; + +} + + + +void GameOverLayer::onExit() +{ + Layer::onExit(); + + Director::getInstance()->getEventDispatcher()->removeEventListenersForTarget(this); +} + + + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/GameOverLayer.h" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/GameOverLayer.h" new file mode 100755 index 00000000..48b59b75 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/GameOverLayer.h" @@ -0,0 +1,37 @@ +#ifndef __GAMEOVERLAYER_H__ +#define __GAMEOVERLAYER_H__ + +#include "cocos2d.h" +#include "GameOverLayer.h" + +#include "MyUtility.h" + +#include "SystemHeader.h" + +class GameOverLayer : public cocos2d::Layer +{ + //当前玩家比赛分数 + int score; +public: + + GameOverLayer(int score); + + virtual bool init(); + virtual void onExit(); + + static GameOverLayer* createWithScore(int score); +}; + + + + + + + + + + + + + +#endif // __GAMEOVERLAYER_H__ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HelloWorldScene.cpp" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HelloWorldScene.cpp" new file mode 100755 index 00000000..f22a86a4 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HelloWorldScene.cpp" @@ -0,0 +1,165 @@ +#include "HelloWorldScene.h" + +USING_NS_CC; + +Scene* HelloWorld::createScene() +{ + // 'scene' is an autorelease object + log("createScene"); + auto scene = Scene::create(); + + // 'layer' is an autorelease object + auto layer = HelloWorld::create(); + + // add layer as a child to scene + scene->addChild(layer); + + // return the scene + return scene; +} + +// on "init" you need to initialize your instance +bool HelloWorld::init() +{ + ////////////////////////////// + // 1. super init first + if (!Layer::init()) + { + return false; + } + + Size visibleSize = Director::getInstance()->getVisibleSize(); + //Vec2 origin = Director::getInstance()->getVisibleOrigin(); + /////////////////////////////////////////////// + + auto bg = TMXTiledMap::create("map/red_bg.tmx"); + + + // add the sprite as a child to this layer + this->addChild(bg); + + SpriteFrameCache::getInstance()->addSpriteFramesWithFile("texture/loading_textrue.plist"); + auto a = Sprite::createWithSpriteFrameName("logo.png"); + this->addChild(a); + a->setPosition(Vec2(visibleSize.width / 2, visibleSize.height / 2 + 100)); + + + auto loding1 = Sprite::createWithSpriteFrameName("loding1.png"); + loding1->setPosition(Vec2(visibleSize.width / 2, visibleSize.height/2 -50)); + addChild(loding1); + log("addchiled called"); + + + + + + + + Animation* animation = Animation::create(); + for (int i = 1; i <= 4; i++) + { + __String* frameName = __String::createWithFormat("loding%d.png", i); + SpriteFrame* spriteFrame = SpriteFrameCache::getInstance()->getSpriteFrameByName(frameName->getCString()); + animation->addSpriteFrame(spriteFrame); + } + animation->setDelayPerUnit(0.35f); + animation->setRestoreOriginalFrame(true); + + Animate* animate = Animate::create(animation); + + loding1->runAction(RepeatForever::create(animate)); + log("action over"); + //动画结束 + //将图片转为texture + //以下这句是将图片放入cache中,并将这幅图变成texture放入gameplay中 + + + + auto gamePlay = TextureCache::getInstance()->addImage("texture/gameplay_textrue.png"); + auto home = TextureCache::getInstance()->addImage("texture/home_textrue.png"); + auto loading = TextureCache::getInstance()->addImage("texture/loading_textrue.png"); + auto setting = TextureCache::getInstance()->addImage("texture/setting_textrue.png"); + log("addImage over"); + + //将texture与相应的plist文件相连。(利用SpriteFrameCache)(论文题材中有对spriteFramecache的详解) //这些xxcache最后都要记得进行删除。 + SpriteFrameCache::getInstance()->addSpriteFramesWithFile("texture/gameplay_textrue.plist",gamePlay); + SpriteFrameCache::getInstance()->addSpriteFramesWithFile("texture/home_textrue.plist",home); + SpriteFrameCache::getInstance()->addSpriteFramesWithFile("texture/loading_textrue.plist",loading); + SpriteFrameCache::getInstance()->addSpriteFramesWithFile("texture/setting_textrue.plist",setting); + log("plist and testure bund over"); + + + + + + //跳转到主页面,这句结束后会调用HelloWorld的onExit函数 + + this->schedule(schedule_selector(HelloWorld::delayCall), 1, 1, 3); + + + + + + + + + + + + + + + + + + + + + + + + + + + + return true; +} + + +void HelloWorld::onExit() +{ + Layer::onExit(); + //释放loading场景里面之后不用的精灵(删除loading的plist文件和对应的存成了texture文件的png) + SpriteFrameCache::getInstance()->removeSpriteFramesFromFile("texture/loding_textrue.plist"); + TextureCache::getInstance()->removeTextureForKey("loading_textrue.png"); + this->unschedule(schedule_selector(HelloWorld::delayCall)); + + + + + +} + +/* +void HelloWorld::loadingTextureCallBack() +{ + log("aaa"); + SpriteFrameCache::getInstance()->removeSpriteFramesFromFile("texture/loading_textrue.plist"); + Director::getInstance()->getTextureCache()->removeTextureForKey("texture/loading_textrue.png"); + log("finally"); + +} + +*/ + + + + + + +void HelloWorld::delayCall(float a) +{ + auto scene = HomeLayer::createScene(); + Director::getInstance()->replaceScene(scene); +} + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HelloWorldScene.h" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HelloWorldScene.h" new file mode 100755 index 00000000..873844d2 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HelloWorldScene.h" @@ -0,0 +1,45 @@ +#ifndef __HELLOWORLD_SCENE_H__ +#define __HELLOWORLD_SCENE_H__ + +#include "cocos2d.h" +#include "HomeLayer.h" + + + + +class HelloWorld : public cocos2d::Layer +{ +public: + // there's no 'id' in cpp, so we recommend returning the class instance pointer + static cocos2d::Scene* createScene(); + + // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone + virtual bool init(); + virtual void onExit(); + + + void delayCall(float a); + + + + + + + // implement the "static create()" method manually + CREATE_FUNC(HelloWorld); +}; + + + + + + + + + + + + + + +#endif // __HELLOWORLD_SCENE_H__ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HelpLayer.cpp" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HelpLayer.cpp" new file mode 100755 index 00000000..eda2c4af --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HelpLayer.cpp" @@ -0,0 +1,59 @@ +#include "HelpLayer.h" + +USING_NS_CC; + +Scene* HelpLayer::createScene() +{ + // 'scene' is an autorelease object + log("createScene"); + auto scene = Scene::create(); + + // 'layer' is an autorelease object + auto layer = HelpLayer::create(); + + // add layer as a child to scene + scene->addChild(layer); + + // return the scene + return scene; +} + +// on "init" you need to initialize your instance +bool HelpLayer::init() +{ + ////////////////////////////// + // 1. super init first + if (!BaseLayer::init()) + { + return false; + } + + Size visibleSize = Director::getInstance()->getVisibleSize(); + //Vec2 origin = Director::getInstance()->getVisibleOrigin(); + + auto top = Sprite::createWithSpriteFrameName("help-top.png"); + top->setPosition(Vec2(visibleSize.width / 2, visibleSize.height - top->getContentSize().height / 2)); + addChild(top); + + + + + + auto txtTest = Label::createWithTTF(MyUtility::getUTF8Char("id"), "fonts/hanyi.ttf", 18); + txtTest->setColor(Color3B(14, 83, 204)); + txtTest->setPosition(150, top->getPosition().y - 150); + txtTest->setAnchorPoint(Vec2(0, 0)); + addChild(txtTest, 1); + + + auto txtTest2 = Label::createWithTTF(MyUtility::getUTF8Char("name"), "fonts/hanyi.ttf", 18); + txtTest2->setColor(Color3B(14, 83, 204)); + txtTest2->setPosition(150, top->getPosition().y - 200); + txtTest2->setAnchorPoint(Vec2(0, 0)); + addChild(txtTest2, 1); + + + + + return true; +} \ No newline at end of file diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HelpLayer.h" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HelpLayer.h" new file mode 100755 index 00000000..397597ed --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HelpLayer.h" @@ -0,0 +1,31 @@ + +#ifndef __HELPLAYER_H__ +#define __HELPLAYER_H__ + +#include "cocos2d.h" +#include "BaseLayer.h" +#include "SystemHeader.h" +#include "MyUtility.h" + +class HelpLayer : public BaseLayer +{ +public: + // there's no 'id' in cpp, so we recommend returning the class instance pointer + static cocos2d::Scene* createScene(); + + // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone + virtual bool init(); + + // implement the "static create()" method manually + CREATE_FUNC(HelpLayer); +}; + + + + + + + + + +#endif // __HELPLAYER_H__ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HomeLayer.cpp" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HomeLayer.cpp" new file mode 100755 index 00000000..0e0d5a41 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HomeLayer.cpp" @@ -0,0 +1,151 @@ +#include "HomeLayer.h" + +USING_NS_CC; + + + + + +Scene* HomeLayer::createScene() +{ + // 'scene' is an autorelease object + auto scene = Scene::create(); + + auto layer = HomeLayer::create(); + + // add layer as a child to scene + scene->addChild(layer); + + // return the scene + return scene; +} + +// on "init" you need to initialize your instance +bool HomeLayer::init() +{ + ////////////////////////////// + // 1. super init first + if (!Layer::init()) + { + return false; + } + + Size visibleSize = Director::getInstance()->getVisibleSize(); + //Vec2 origin = Director::getInstance()->getVisibleOrigin(); + + + + auto bg = TMXTiledMap::create("map/red_bg.tmx"); + addChild(bg); + + + + + + + auto shangmian = Sprite::createWithSpriteFrameName("home-top.png"); + shangmian->setPosition(Vec2(visibleSize.width / 2, visibleSize.height - shangmian->getContentSize().height / 2)); + addChild(shangmian); + + + + auto zhongjian = Sprite::createWithSpriteFrameName("home-end.png"); + zhongjian->setPosition(Vec2(visibleSize.width / 2, visibleSize.height / 2 - shangmian->getContentSize().height - 30)); + addChild(zhongjian); + + + + // 开始菜单 + auto startSpriteNormal = Sprite::createWithSpriteFrameName("home.button.start.png"); + auto startSpriteSelected = Sprite::createWithSpriteFrameName("home.button.start-on.png"); + auto startMenuItem = MenuItemSprite::create( + startSpriteNormal, + startSpriteSelected, + CC_CALLBACK_1(HomeLayer::junpTo, this)); + startMenuItem->setTag(ActionType::startMenu); + + // 设置菜单 + auto settingpre = Sprite::createWithSpriteFrameName("home.button.setting.png"); + auto settingpush = Sprite::createWithSpriteFrameName("home.button.setting-on.png"); + auto settingMenuItem = MenuItemSprite::create( + settingpre, + settingpush, + CC_CALLBACK_1(HomeLayer::junpTo, this)); + settingMenuItem->setTag(ActionType::settingMenu); + + + + + // 帮助菜单 + auto helppriteNormal = Sprite::createWithSpriteFrameName("home.button.help.png"); + auto helpSpriteSelected = Sprite::createWithSpriteFrameName("home.button.help-on.png"); + auto helpMenuItem = MenuItemSprite::create( + helppriteNormal, + helpSpriteSelected, + CC_CALLBACK_1(HomeLayer::junpTo, this)); + helpMenuItem->setTag(ActionType::helpMenu); + + auto mu = Menu::create(startMenuItem, settingMenuItem, helpMenuItem, NULL); + + mu->setPosition(visibleSize.width / 2, visibleSize.height / 2); + mu->alignItemsVerticallyWithPadding(12); + addChild(mu); + + + + + + + + + + + + + + + + + + return true; +} + + + +void HomeLayer::junpTo(cocos2d::Ref* sender) +{ + //点击的同时播放音效 + log("%s", FileUtils::getInstance()->getWritablePath().c_str()); + MenuItem* sender1 = (MenuItem*)sender; + Scene* scene = nullptr; + switch (sender1->getTag()) + { + case ActionType::startMenu: + //跳转到开始游戏页面 + scene = TransitionShrinkGrow::create(2,GamePlayLayer::createScene()); + break; + + + case ActionType::settingMenu: + //跳转到设置界面 + scene = TransitionShrinkGrow::create(2, SettingLayer::createScene()); + break; + + + case ActionType::helpMenu: + //跳转到帮助界面 + scene = TransitionShrinkGrow::create(2, HelpLayer::createScene()); + break; + + + } + if (scene) + Director::getInstance()->pushScene(scene); + + + + + } + + + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HomeLayer.h" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HomeLayer.h" new file mode 100755 index 00000000..c2baf94c --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/HomeLayer.h" @@ -0,0 +1,52 @@ + +#ifndef __HOMELAYER_H__ +#define __HOMELAYER_H__ + +#include "cocos2d.h" +#include "HomeLayer.h" +#include "PlayLayer.h" +#include "SettingLayer.h" +#include "HelpLayer.h" + + + +typedef enum{ + startMenu, + settingMenu, + helpMenu +}ActionType; + + + + + +class HomeLayer : public cocos2d::Layer +{ +public: + // there's no 'id' in cpp, so we recommend returning the class instance pointer + static cocos2d::Scene* createScene(); + + // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone + virtual bool init(); + void junpTo(cocos2d::Ref* sender); + + + + // implement the "static create()" method manually + CREATE_FUNC(HomeLayer); +}; + + + + + + + + + + + + + + +#endif // __HELLOWORLD_SCENE_H__ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/MyUtility.cpp" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/MyUtility.cpp" new file mode 100755 index 00000000..072e41ec --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/MyUtility.cpp" @@ -0,0 +1,85 @@ + +#include "MyUtility.h" + +string MyUtility::getCurrentTime() +{ + time_t t; + time(&t); + char tmp[64]; + strftime(tmp,sizeof(tmp),"%Y-%m-%d %X",localtime((&t))); + string timeStr=tmp; + return timeStr; +} + +//鍦╓in32骞冲彴涓嬶紝灏咷BK缂栫爜杞崲涓篣TF-8 +string MyUtility::gbk_2_utf8(const string text) +{ + /* +#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) + //閲囩敤Lambda琛ㄨ揪寮,灏唖tring杞崲鎴恮string + + wstring tes = [=]() { + setlocale(LC_ALL, "chs"); + const char* _Source = text.c_str(); + size_t _Dsize = text.size() + 1; + wchar_t *_Dest = new wchar_t[_Dsize]; + wmemset(_Dest, 0, _Dsize); + mbstowcs(_Dest,_Source,_Dsize); + std::wstring result = _Dest; + delete []_Dest; + setlocale(LC_ALL, "C"); + return result; + }(); + + int asciSize = WideCharToMultiByte(CP_UTF8,0,tes.c_str(),tes.size(),NULL,0,NULL,NULL); + if (asciSize == ERROR_NO_UNICODE_TRANSLATION || asciSize == 0) + { + return string(); + } + + char *resultString = new char[asciSize]; + int conveResult = WideCharToMultiByte(CP_UTF8,0,tes.c_str(),tes.size(),resultString,asciSize,NULL,NULL); + if (conveResult != asciSize) + { + return string(); + } + string buffer = ""; + buffer.append(resultString,asciSize); + + delete[] resultString; + return buffer; + +#else + return text; +#endif + */ + + return text; + +} + +string MyUtility::getUTF8Char(const string key) +{ + auto sharedFileUtils = FileUtils::getInstance(); + + std::string fullPathForFilename = sharedFileUtils->fullPathForFilename("utf8_char.plist"); + + bool isExist = false; + isExist = sharedFileUtils->isFileExist(fullPathForFilename); + if (!isExist) { + log("utf8_char.plist doesn't exist."); + return ""; + } + + ValueMap map = sharedFileUtils->getValueMapFromFile(fullPathForFilename); + Value value = map[key]; + + //log("%s - %s",key.c_str(), value.asString().c_str()); + + if (value.isNull()) { + log("%s doesn't exist.",key.c_str()); + return ""; + } + return value.asString(); + +} diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/MyUtility.h" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/MyUtility.h" new file mode 100755 index 00000000..4c56b0f8 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/MyUtility.h" @@ -0,0 +1,22 @@ + +#ifndef _MY_UTILITY_H_ +#define _MY_UTILITY_H_ + +#include "cocos2d.h" + +USING_NS_CC; + +using namespace std; + +class MyUtility +{ +public: + static string getCurrentTime(); + + static string gbk_2_utf8(const string text); + + static string getUTF8Char(const string key); + +}; + +#endif // _MY_UTILITY_H_ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/PlayLayer.cpp" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/PlayLayer.cpp" new file mode 100755 index 00000000..4365692e --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/PlayLayer.cpp" @@ -0,0 +1,458 @@ +#include "PlayLayer.h" + +USING_NS_CC; + + +Scene* GamePlayLayer::createScene() +{ + // 'scene' is an autorelease object + auto scene = Scene::createWithPhysics(); + PhysicsWorld* phyWorld = scene->getPhysicsWorld(); + //phyWorld->setDebugDrawMask(PhysicsWorld::DEBUGDRAW_ALL); + //0,0不受到重力的影响 + phyWorld->setGravity(Vect(0, 0)); + + // 'layer' is an autorelease object + auto layer = GamePlayLayer::create(); + + // add layer as a child to scene + scene->addChild(layer); + + // return the scene + return scene; +} + +// on "init" you need to initialize your instance +bool GamePlayLayer::init() +{ + ////////////////////////////// + // 1. super init first + if (!Layer::init()) + { + return false; + } + + this->initBG(); + + return true; +} + +void GamePlayLayer::onEnter() +{ + Layer::onEnter(); + + Size visibleSize = Director::getInstance()->getVisibleSize(); + + //初始化暂停按钮. + auto pauseSprite = Sprite::createWithSpriteFrameName("gameplay.button.pause.png"); + auto pauseMenuItem = MenuItemSprite::create(pauseSprite, pauseSprite, + CC_CALLBACK_1(GamePlayLayer::menuPauseCallback, this)); + auto pauseMenu = Menu::create(pauseMenuItem, NULL); + pauseMenu->setPosition(Vec2(30, visibleSize.height - 28)); + this->addChild(pauseMenu, 20, 999); + + //添加陨石1. + auto stone1 = Enemy::createWithEnemyTypes(EnemyTypeStone); + stone1->setVelocity(Vec2(0, -100)); + this->addChild(stone1, 10, GameSceneNodeBatchTagEnemy); + + //添加行星. + auto planet = Enemy::createWithEnemyTypes(EnemyTypePlanet); + planet->setVelocity(Vec2(0, -50)); + this->addChild(planet, 10, GameSceneNodeBatchTagEnemy); + + //添加敌机1. + auto enemyFighter1 = Enemy::createWithEnemyTypes(EnemyTypeEnemy1); + enemyFighter1->setVelocity(Vec2(0, -80)); + this->addChild(enemyFighter1, 10, GameSceneNodeBatchTagEnemy); + + //添加敌机2. + auto enemyFighter2 = Enemy::createWithEnemyTypes(EnemyTypeEnemy2); + enemyFighter2->setVelocity(Vec2(0, -100)); + this->addChild(enemyFighter2, 10, GameSceneNodeBatchTagEnemy); + + //玩家的飞机. + this->fighter = Fighter::createWithSpriteFrameName("gameplay.fighter.png"); + this->fighter->setHitPoints(5); + this->fighter->setPosition(Vec2(visibleSize.width / 2, 70)); + this->addChild(this->fighter, 10, GameSceneNodeTagFighter); + + //注册 触摸飞机事件监听器 + touchFighterlistener = EventListenerTouchOneByOne::create(); + touchFighterlistener->setSwallowTouches(true); + + //移动飞机. + touchFighterlistener->onTouchBegan = [](Touch* touch, Event* event){ + return true; + }; + + touchFighterlistener->onTouchMoved = [](Touch* touch, Event* event){ + auto target = event->getCurrentTarget(); + target->setPosition(target->getPosition() + touch->getDelta()); + }; + + //// 添加 触摸飞机事件监听器 + EventDispatcher* eventDispatcher = Director::getInstance()->getEventDispatcher(); + eventDispatcher->addEventListenerWithSceneGraphPriority(touchFighterlistener, this->fighter); + + + + //注册 碰撞事件监听器 + contactListener = EventListenerPhysicsContact::create(); + contactListener->onContactBegin = [this](PhysicsContact& contact) + { + auto spriteA = contact.getShapeA()->getBody()->getNode(); + auto spriteB = contact.getShapeB()->getBody()->getNode(); + Node* enemy1 = nullptr; + + ////////////////////////////检测 飞机与敌人的碰撞 start////////////////////////////////// + log("A = %d ------------ B = %d", spriteA->getTag(), spriteB->getTag()); + if (spriteA->getTag() == GameSceneNodeTagFighter && spriteB->getTag() == GameSceneNodeBatchTagEnemy) + { + enemy1 = spriteB; + } + if (spriteA->getTag() == GameSceneNodeBatchTagEnemy && spriteB->getTag() == GameSceneNodeTagFighter) + { + enemy1 = spriteA; + } + if (enemy1 != nullptr) {//发生碰撞 + this->handleFighterCollidingWithEnemy((Enemy*)enemy1); + return false; + } + /////////////////////////检测 飞机与敌人的碰撞 end///////////////////////////////////// + + ////////////////////////////检测 炮弹与敌人的碰撞 start//////////////////////////////// + Node* enemy2 = nullptr; + + if (spriteA->getTag() == GameSceneNodeBatchTagBullet && + spriteB->getTag() == GameSceneNodeBatchTagEnemy) + { + //不可见的炮弹不发生碰撞 + if (!spriteA->isVisible()) + return false; + //使得炮弹消失 + spriteA->setVisible(false); + enemy2 = spriteB; + } + if (spriteA->getTag() == GameSceneNodeBatchTagEnemy + && spriteB->getTag() == GameSceneNodeBatchTagBullet) + { + //不可见的炮弹不发生碰撞 + if (!spriteB->isVisible()) + return false; + //使得炮弹消失 + spriteB->setVisible(false); + enemy2 = spriteA; + } + if (enemy2 != nullptr) {//发生碰撞 + + this->handleBulletCollidingWithEnemy((Enemy*)enemy2); + return false; + } + /////////////////////////检测 炮弹与敌人的碰撞 end///////////////////////////////////// + + return false; + }; + + + eventDispatcher->addEventListenerWithFixedPriority(contactListener, 1); + + //每0.2s 调用shootBullet函数发射1发炮弹. + this->schedule(schedule_selector(GamePlayLayer::shootBullet), 0.2f); + + this->score = 0; + this->scorePlaceholder = 0; + + //在状态栏中设置玩家的生命值 + this->updateStatusBarFighter(); + //在状态栏中显示得分 + this->updateStatusBarScore(); + + +} + +void GamePlayLayer::onEnterTransitionDidFinish() +{ + Layer::onEnterTransitionDidFinish(); + log("GamePlayLayer onEnterTransitionDidFinish"); + UserDefault *defaults = UserDefault::getInstance(); + if (defaults->getBoolForKey(MUSIC_KEY)) { + SimpleAudioEngine::getInstance()->playBackgroundMusic(bg_music_2, true); + } +} + +void GamePlayLayer::onExit() +{ + Layer::onExit(); + //停止调用 shootBullet函数. + this->unschedule(schedule_selector(GamePlayLayer::shootBullet)); + //注销事件监听器. + Director::getInstance()->getEventDispatcher()->removeEventListener(touchFighterlistener); + Director::getInstance()->getEventDispatcher()->removeEventListener(contactListener); + + auto nodes = this->getChildren(); + for (const auto& node : nodes) { + //如果是背景不进行remove + if (node->getTag() != GameSceneNodeBatchTagBackground) + { + this->removeChild(node); + } + } +} + +//初始化游戏背景. +void GamePlayLayer::initBG() +{ + Size visibleSize = Director::getInstance()->getVisibleSize(); + //添加背景地图. + auto bg = TMXTiledMap::create("map/blue_bg.tmx"); + this->addChild(bg, 0, GameSceneNodeBatchTagBackground); + + //放置发光粒子背景 + ParticleSystem *ps = ParticleSystemQuad::create("particle/light.plist"); + ps->setPosition(Vec2(visibleSize.width, visibleSize.height) / 2); + this->addChild(ps, 0, GameSceneNodeBatchTagBackground); + + //添加背景精灵1. + auto sprite1 = Sprite::createWithSpriteFrameName("gameplay.bg.sprite-1.png"); + sprite1->setPosition(Vec2(-50, -50)); + addChild(sprite1, 0, GameSceneNodeBatchTagBackground); + + FiniteTimeAction * ac1 = (FiniteTimeAction *)MoveBy::create(20, Vec2(500, 600)); + FiniteTimeAction * ac2 = ((FiniteTimeAction *)ac1)->reverse(); + ActionInterval * as1 = Sequence::create(ac1, ac2, NULL); + sprite1->runAction(RepeatForever::create(EaseSineInOut::create(as1))); + + //添加背景精灵2. + auto sprite2 = Sprite::createWithSpriteFrameName("gameplay.bg.sprite-2.png"); + sprite2->setPosition(Vec2(visibleSize.width, 0)); + addChild(sprite2, 0, GameSceneNodeBatchTagBackground); + + FiniteTimeAction * ac3 = (FiniteTimeAction *)MoveBy::create(10, Vec2(-500, 600)); + FiniteTimeAction * ac4 = ((FiniteTimeAction *)ac3)->reverse(); + ActionInterval * as2 = Sequence::create(ac3, ac4, NULL); + sprite2->runAction(RepeatForever::create(EaseExponentialInOut::create(as2))); + +} + +//飞机发射炮弹 +void GamePlayLayer::shootBullet(float dt) +{ + if (fighter && fighter->isVisible()) { + Bullet* bullet = Bullet::createWithSpriteFrameName("gameplay.bullet.png"); + bullet->setVelocity(Vec2(0, GameSceneBulletVelocity)); + this->addChild(bullet, 0, GameSceneNodeBatchTagBullet); + bullet->shootBulletFromFighter(fighter); + } +} + + +//在状态栏中设置玩家的生命值 +void GamePlayLayer::updateStatusBarFighter() +{ + Size visibleSize = Director::getInstance()->getVisibleSize(); + //先移除上次的精灵 + Node* n1 = this->getChildByTag(GameSceneNodeTagStatusBarFighterNode); + if (n1) { + this->removeChildByTag(GameSceneNodeTagStatusBarFighterNode); + } + Sprite* fg = Sprite::createWithSpriteFrameName("gameplay.life.png"); + fg->setPosition(Vec2(visibleSize.width - 60, visibleSize.height - 28)); + this->addChild(fg, 20, GameSceneNodeTagStatusBarFighterNode); + + //添加生命值 x 5 + Node* n2 = this->getChildByTag(GameSceneNodeTagStatusBarLifeNode); + if (n2) { + this->removeChildByTag(GameSceneNodeTagStatusBarLifeNode); + } + if (this->fighter->getHitPoints() < 0) + this->fighter->setHitPoints(0); + + __String * life = __String::createWithFormat("x %d", this->fighter->getHitPoints()); + auto lblLife = Label::createWithTTF(life->getCString(), "fonts/hanyi.ttf", 18); + lblLife->setColor(Color3B(123, 123, 255)); + lblLife->setPosition(fg->getPosition() + Vec2(30, 0)); + this->addChild(lblLife, 20, GameSceneNodeTagStatusBarLifeNode); + +} + +//在状态栏中显示得分 +void GamePlayLayer::updateStatusBarScore() +{ + Size visibleSize = Director::getInstance()->getVisibleSize(); + Node* n = this->getChildByTag(GameSceneNodeTagStatusBarScore); + if (n) { + this->removeChildByTag(GameSceneNodeTagStatusBarScore); + } + + if (this->score <0) + this->score = 0; + + __String * score = __String::createWithFormat("%d", this->score); + auto lblScore = Label::createWithTTF(score->getCString(), "fonts/hanyi.ttf", 18); + lblScore->setColor(Color3B(123,123,255)); + lblScore->setPosition(Vec2(visibleSize.width / 2, visibleSize.height - 28)); + this->addChild(lblScore, 20, GameSceneNodeTagStatusBarScore); + +} + + +void GamePlayLayer::menuPauseCallback(Ref* pSender) +{ + log("menuPauseCallback"); + if (UserDefault::getInstance()->getBoolForKey(SOUND_KEY)) { + SimpleAudioEngine::getInstance()->playEffect(sound_1); + } + + //暂停当前层中的node + this->pause(); + + for (const auto& node : this->getChildren()) + { + node->pause(); + } + + Size visibleSize = Director::getInstance()->getVisibleSize(); + + //返回主菜单 + auto backNormal = Sprite::createWithSpriteFrameName("gameplay.button.back.png"); + auto backSelected = Sprite::createWithSpriteFrameName("gameplay.button.back-on.png"); + + auto backMenuItem = MenuItemSprite::create(backNormal, backSelected, + CC_CALLBACK_1(GamePlayLayer::menuBackCallback, this)); + + //继续游戏菜单 + auto resumeNormal = Sprite::createWithSpriteFrameName("gameplay.button.resume.png"); + auto resumeSelected = Sprite::createWithSpriteFrameName("gameplay.button.resume-on.png"); + + auto resumeMenuItem = MenuItemSprite::create(resumeNormal, resumeSelected, + CC_CALLBACK_1(GamePlayLayer::menuResumeCallback, this)); + + menu = Menu::create(backMenuItem, resumeMenuItem, NULL); + menu->alignItemsVertically(); + menu->setPosition(Vec2(visibleSize.width / 2, visibleSize.height / 2)); + + addChild(menu, 20, 1000); + +} + +void GamePlayLayer::menuBackCallback(Ref* pSender) +{ + log("menuBackCallback"); + Director::getInstance()->popScene(); + if (UserDefault::getInstance()->getBoolForKey(SOUND_KEY)) { + SimpleAudioEngine::getInstance()->playEffect(sound_1); + } +} + +void GamePlayLayer::menuResumeCallback(Ref* pSender) +{ + log("menuResumeCallback"); + if (UserDefault::getInstance()->getBoolForKey(SOUND_KEY)) { + SimpleAudioEngine::getInstance()->playEffect(sound_1); + } + this->resume(); + + for (const auto& node : this->getChildren()) + { + node->resume(); + } + removeChild(menu); +} + +//处理玩家与敌人的碰撞检测 +void GamePlayLayer::handleFighterCollidingWithEnemy(Enemy* enemy) +{ + Size visibleSize = Director::getInstance()->getVisibleSize(); + + Node *node = this->getChildByTag(GameSceneNodeTagExplosionParticleSystem); + if (node) { + this->removeChild(node); + } + ParticleSystem *explosion = ParticleSystemQuad::create("particle/explosion.plist"); + explosion->setPosition(fighter->getPosition()); + this->addChild(explosion, 2, GameSceneNodeTagExplosionParticleSystem); + if (UserDefault::getInstance()->getBoolForKey(SOUND_KEY)) { + SimpleAudioEngine::getInstance()->playEffect(sound_2); + } + //设置敌人消失 + enemy->setVisible(false); + enemy->spawn(); + + //设置玩家消失 + fighter->setHitPoints(fighter->getHitPoints() - 1); + this->updateStatusBarFighter(); + //游戏结束 + if (fighter->getHitPoints() <= 0) { + + log("GameOver"); + + auto gameOverLayer = GameOverLayer::createWithScore(score); + auto gameOverScene = Scene::create(); + gameOverScene->addChild(gameOverLayer); + + auto tsc = TransitionFade::create(1.0f, gameOverScene); + Director::getInstance()->pushScene(tsc); + + } + else { + fighter->setPosition(Vec2(visibleSize.width / 2, 70)); + auto ac1 = Show::create(); + auto ac2 = FadeIn::create(1.0f); + auto seq = Sequence::create(ac1, ac2, NULL); + fighter->runAction(seq); + } + +} + + +//炮弹与敌人的碰撞检测 +void GamePlayLayer::handleBulletCollidingWithEnemy(Enemy* enemy) +{ + enemy->setHitPoints(enemy->getHitPoints() - 1); + + if (enemy->getHitPoints() <= 0) { + //爆炸和音效 + Node *node = this->getChildByTag(GameSceneNodeTagExplosionParticleSystem); + if (node) { + this->removeChild(node); + } + ParticleSystem *explosion = ParticleSystemQuad::create("particle/explosion.plist"); + explosion->setPosition(enemy->getPosition()); + this->addChild(explosion, 2, GameSceneNodeTagExplosionParticleSystem); + if (UserDefault::getInstance()->getBoolForKey(SOUND_KEY)) { + SimpleAudioEngine::getInstance()->playEffect(sound_2); + } + + switch (enemy->getEnemyType()) { + case EnemyTypeStone: + score += EnemyStone_Score; + scorePlaceholder += EnemyStone_Score; + break; + case EnemyTypeEnemy1: + score += Enemy1_Score; + scorePlaceholder += Enemy1_Score; + break; + case EnemyTypeEnemy2: + score += Enemy2_Score; + scorePlaceholder += Enemy2_Score; + break; + case EnemyTypePlanet: + score += EnemyPlanet_Score; + scorePlaceholder += EnemyPlanet_Score; + break; + } + //每次获得1000分数,生命值 加一,scorePlaceholder恢复0. + if (scorePlaceholder >= 1000) { + fighter->setHitPoints(fighter->getHitPoints() + 1); + this->updateStatusBarFighter(); + scorePlaceholder -= 1000; + } + + this->updateStatusBarScore(); + //设置敌人消失 + enemy->setVisible(false); + enemy->spawn(); + } + +} diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/PlayLayer.h" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/PlayLayer.h" new file mode 100755 index 00000000..7522fa5f --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/PlayLayer.h" @@ -0,0 +1,102 @@ +#ifndef __PLAYLAYER_H__ +#define __PLAYLAYER_H__ + +#include "cocos2d.h" +#include "HomeLayer.h" +#include "SystemHeader.h" + +#define GameSceneNodeTagStatusBarFighterNode 301 +#define GameSceneNodeTagStatusBarLifeNode 302 +#define GameSceneNodeTagStatusBarScore 303 + +#define GameSceneNodeBatchTagBackground 800 +#define GameSceneNodeTagFighter 900 +#define GameSceneNodeTagExplosionParticleSystem 901 +#define GameSceneNodeBatchTagBullet 902 +#define GameSceneNodeBatchTagEnemy 903 + +//发射炮弹的速度 +#define GameSceneBulletVelocity 300 + +#include "cocos2d.h" +#include "Enemy.h" +#include "Fighter.h" +#include "Bullet.h" +#include "GameOverLayer.h" + +#include "SystemHeader.h" + +//定义 击毁敌人获得的分数. +typedef enum +{ + EnemyStone_Score = 5, + Enemy1_Score = 10, + Enemy2_Score = 15, + EnemyPlanet_Score = 20 +} EnemyScores; + + +class GamePlayLayer : public cocos2d::Layer +{ +private: + + Fighter* fighter; + cocos2d::Menu* menu; + //分数 + int score; + //记录0~999分数 + int scorePlaceholder; + cocos2d::EventListenerTouchOneByOne *touchFighterlistener; + cocos2d::EventListenerPhysicsContact *contactListener; + +public: + // there's no 'id' in cpp, so we recommend returning the class instance pointer + static cocos2d::Scene* createScene(); + + // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone + virtual bool init(); + + virtual void onExit(); + virtual void onEnter(); + virtual void onEnterTransitionDidFinish(); + + //发射炮弹. + void shootBullet(float dt); + //初始化背景. + void initBG(); + + //在状态栏中设置和更新玩家的生命值. + void updateStatusBarFighter(); + //在状态栏中更新得分. + void updateStatusBarScore(); + + void menuPauseCallback(cocos2d::Ref* pSender); + void menuBackCallback(cocos2d::Ref* pSender); + void menuResumeCallback(cocos2d::Ref* pSender); + + //处理玩家与敌人的碰撞检测 + void handleFighterCollidingWithEnemy(Enemy* enemy); + + //处理子弹与敌人的碰撞检测 + void handleBulletCollidingWithEnemy(Enemy* enemy); + + // implement the "static create()" method manually + CREATE_FUNC(GamePlayLayer); +}; + + + + + + + + + + + + + + + + +#endif // __PLAYLAYER_H__ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/SettingLayer.cpp" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/SettingLayer.cpp" new file mode 100755 index 00000000..98efe617 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/SettingLayer.cpp" @@ -0,0 +1,109 @@ +#include "SettingLayer.h" + +USING_NS_CC; + +Scene* SettingLayer::createScene() +{ + // 'scene' is an autorelease object + log("createScene"); + auto scene = Scene::create(); + + // 'layer' is an autorelease object + auto layer = SettingLayer::create(); + + // add layer as a child to scene + scene->addChild(layer); + + // return the scene + return scene; +} + +bool SettingLayer::init() +{ + ////////////////////////////// + // 1. super init first + if (!BaseLayer::init()) + { + return false; + } + Size visibleSize = Director::getInstance()->getVisibleSize(); + Vec2 origin = Director::getInstance()->getVisibleOrigin(); + + auto top = Sprite::createWithSpriteFrameName("setting-top.png"); + top->setPosition(Vec2(visibleSize.width / 2, visibleSize.height - top->getContentSize().height / 2)); + addChild(top); + + + //音效. + auto soundOnSprite = Sprite::createWithSpriteFrameName("setting.check-on.png"); + auto soundOffSprite = Sprite::createWithSpriteFrameName("setting.check-off.png"); + auto soundOnMenuItem = MenuItemSprite::create(soundOnSprite, NULL); + auto soundOffMenuItem = MenuItemSprite::create(soundOffSprite, NULL); + auto soundToggleMenuItem = MenuItemToggle::createWithCallback(CC_CALLBACK_1(SettingLayer::menuSoundToggleCallback, this), soundOnMenuItem, soundOffMenuItem, NULL); + + //音乐. + auto musicOnSprite = Sprite::createWithSpriteFrameName("setting.check-on.png"); + auto musicOffSprite = Sprite::createWithSpriteFrameName("setting.check-off.png"); + auto musicOnMenuItem = MenuItemSprite::create(musicOnSprite, NULL); + auto musicOffMenuItem = MenuItemSprite::create(musicOffSprite, NULL); + auto musicToggleMenuItem = MenuItemToggle::createWithCallback(CC_CALLBACK_1(SettingLayer::menuMusicToggleCallback, this), musicOnMenuItem, musicOffMenuItem, NULL); + + auto menu = Menu::create(soundToggleMenuItem, musicToggleMenuItem, NULL); + + menu->setPosition(Vec2(visibleSize.width / 2, visibleSize.height / 2) + Vec2(70, 50)); + menu->alignItemsVerticallyWithPadding(20.0f); + addChild(menu, 1); + + auto lblSound = Label::createWithTTF(MyUtility::getUTF8Char("lblSound"), "fonts/hanyi.ttf", 36); + lblSound->setColor(Color3B(14, 83, 204)); + lblSound->setPosition(menu->getPosition() - Vec2(100, -30)); + addChild(lblSound, 1); + + auto lblMusic = Label::createWithTTF(MyUtility::getUTF8Char("lblMusic"), "fonts/hanyi.ttf", 36); + lblMusic->setColor(Color3B(14, 83, 204)); + lblMusic->setPosition(lblSound->getPosition() - Vec2(0, 60)); + addChild(lblMusic, 1); + + //设置音效和音乐选中状态 + UserDefault *defaults = UserDefault::getInstance(); + if (defaults->getBoolForKey(MUSIC_KEY)) { + musicToggleMenuItem->setSelectedIndex(0); + } + else { + musicToggleMenuItem->setSelectedIndex(1); + } + if (defaults->getBoolForKey(SOUND_KEY)) { + soundToggleMenuItem->setSelectedIndex(0); + } + else { + soundToggleMenuItem->setSelectedIndex(1); + } + + return true; +} + +void SettingLayer::menuSoundToggleCallback(Ref* pSender) +{ + UserDefault *defaults = UserDefault::getInstance(); + if (defaults->getBoolForKey(SOUND_KEY)) { + defaults->setBoolForKey(SOUND_KEY, false); + } + else { + defaults->setBoolForKey(SOUND_KEY, true); + SimpleAudioEngine::getInstance()->playEffect(sound_1); + } +} + + +void SettingLayer::menuMusicToggleCallback(Ref* pSender) +{ + UserDefault *defaults = UserDefault::getInstance(); + if (defaults->getBoolForKey(MUSIC_KEY)) { + defaults->setBoolForKey(MUSIC_KEY, false); + SimpleAudioEngine::getInstance()->stopBackgroundMusic(); + } + else { + defaults->setBoolForKey(MUSIC_KEY, true); + SimpleAudioEngine::getInstance()->playBackgroundMusic(bg_music_2, true); + } +} diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/SettingLayer.h" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/SettingLayer.h" new file mode 100755 index 00000000..007e17e1 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/SettingLayer.h" @@ -0,0 +1,34 @@ +#ifndef __SETTINGLAYER_H__ +#define __SETTINGLAYER_H__ + +#include "cocos2d.h" +#include "SystemHeader.h" +#include "MyUtility.h" + +#include "BaseLayer.h" + +class SettingLayer : public BaseLayer +{ +public: + // there's no 'id' in cpp, so we recommend returning the class instance pointer + static cocos2d::Scene* createScene(); + + // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone + virtual bool init(); + + void menuSoundToggleCallback(cocos2d::Ref* pSender); + void menuMusicToggleCallback(cocos2d::Ref* pSender); + + // implement the "static create()" method manually + CREATE_FUNC(SettingLayer); +}; + + + + + + + + + +#endif // __SETTINGLAYER_H__ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/SystemHeader.h" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/SystemHeader.h" new file mode 100755 index 00000000..62b77b23 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/SystemHeader.h" @@ -0,0 +1,32 @@ +#include "SimpleAudioEngine.h" + +#define SOUND_KEY "sound_key" +#define MUSIC_KEY "music_key" + +#define HIGHSCORE_KEY "highscore_key" + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + +#define bg_music_1 "sound/home_bg.aifc" +#define bg_music_2 "sound/game_bg.aifc" +#define sound_1 "sound/Blip.caf" +#define sound_2 "sound/Explosion.caf" + +#elif (CC_TARGET_PLATFORM == CC_PLATFORM_WP8) + +#define bg_music_1 "sound/home_bg.wav" +#define bg_music_2 "sound/game_bg.wav" +#define sound_1 "sound/Blip.wav" +#define sound_2 "sound/Explosion.wav" + +#else + +#define bg_music_1 "sound/home_bg.mp3" +#define bg_music_2 "sound/game_bg.mp3" +#define sound_1 "sound/Blip.wav" +#define sound_2 "sound/Explosion.wav" + +#endif + + +using namespace CocosDenshion; diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/SystemHeader.h.bak" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/SystemHeader.h.bak" new file mode 100755 index 00000000..acb65c5f --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Classes/SystemHeader.h.bak" @@ -0,0 +1,44 @@ +// +// Created by 鍏充笢鍗 on 2014-5-18. +// 鏈功缃戠珯锛歨ttp://www.cocoagame.net +// 鏅烘嵎iOS璇惧爞鍦ㄧ嚎璇惧爞锛歨ttp://v.51work6.com +// 鏅烘嵎iOS璇惧爞鏂版氮寰崥锛歨ttp://weibo.com/u/3215753973 +// 浣滆呭井鍗氾細http://weibo.com/516inc +// QQ锛1575716557 閭锛歫ylong06@163.com +// QQ浜ゆ祦缇わ細389037167/327403678 +// +// SystemHeader.h +// + +#include "SimpleAudioEngine.h" + +#define SOUND_KEY "sound_key" +#define MUSIC_KEY "music_key" + +#define HIGHSCORE_KEY "highscore_key" + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + +#define bg_music_1 "sound/home_bg.aifc" +#define bg_music_2 "sound/game_bg.aifc" +#define sound_1 "sound/Blip.caf" +#define sound_2 "sound/Explosion.caf" + +#elif (CC_TARGET_PLATFORM == CC_PLATFORM_WP8) + +#define bg_music_1 "sound/home_bg.wav" +#define bg_music_2 "sound/game_bg.wav" +#define sound_1 "sound/Blip.wav" +#define sound_2 "sound/Explosion.wav" + +#else + +#define bg_music_1 "sound/home_bg.mp3" +#define bg_music_2 "sound/game_bg.mp3" +#define sound_1 "sound/Blip.wav" +#define sound_2 "sound/Explosion.wav" + +#endif + + +using namespace CocosDenshion; diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/CocosProject1.ccs" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/CocosProject1.ccs" new file mode 100755 index 00000000..5698220f --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/CocosProject1.ccs" @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/CocosProject1.cfg" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/CocosProject1.cfg" new file mode 100755 index 00000000..80cef6e0 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/CocosProject1.cfg" @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/CocosProject1.udf" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/CocosProject1.udf" new file mode 100755 index 00000000..3e415abd --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/CocosProject1.udf" @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/CloseNormal.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/CloseNormal.png" new file mode 100755 index 00000000..5657a13b Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/CloseNormal.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/CloseSelected.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/CloseSelected.png" new file mode 100755 index 00000000..e4c82da7 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/CloseSelected.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/HelloWorld.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/HelloWorld.png" new file mode 100755 index 00000000..5fe89fb5 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/HelloWorld.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/OGLdpf.log" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/OGLdpf.log" new file mode 100755 index 00000000..e69de29b diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/fonts/Marker Felt.ttf" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/fonts/Marker Felt.ttf" new file mode 100755 index 00000000..3752ef31 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/fonts/Marker Felt.ttf" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/fonts/hanyi.ttf" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/fonts/hanyi.ttf" new file mode 100755 index 00000000..dbb5ab6d Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/fonts/hanyi.ttf" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/blue_bg.tmx" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/blue_bg.tmx" new file mode 100755 index 00000000..290cc1b0 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/blue_bg.tmx" @@ -0,0 +1,11 @@ + + + + + + + + eJxjZGBgYARiJiiNj02MOmYoZiHAJta8UXtH7SXFXgDkRwFj + + + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/blue_tiles-\345\211\257\346\234\254.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/blue_tiles-\345\211\257\346\234\254.png" new file mode 100755 index 00000000..9a1f544f Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/blue_tiles-\345\211\257\346\234\254.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/blue_tiles.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/blue_tiles.png" new file mode 100755 index 00000000..96015d30 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/blue_tiles.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/play_bg.tmx" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/play_bg.tmx" new file mode 100755 index 00000000..290cc1b0 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/play_bg.tmx" @@ -0,0 +1,11 @@ + + + + + + + + eJxjZGBgYARiJiiNj02MOmYoZiHAJta8UXtH7SXFXgDkRwFj + + + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/red_bg.tmx" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/red_bg.tmx" new file mode 100755 index 00000000..3b40b227 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/red_bg.tmx" @@ -0,0 +1,11 @@ + + + + + + + + eJxjZGBgYARiJiiNj02MOmYoZiHAJta8UXtH7SXFXgDkRwFj + + + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/red_tiles.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/red_tiles.png" new file mode 100755 index 00000000..96015d30 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/map/red_tiles.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/gameplay_textrue--\350\200\201\345\270\210\347\232\204.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/gameplay_textrue--\350\200\201\345\270\210\347\232\204.png" new file mode 100755 index 00000000..92938971 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/gameplay_textrue--\350\200\201\345\270\210\347\232\204.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/gameplay_textrue--\350\207\252\345\267\261\345\216\237\346\234\254.plist" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/gameplay_textrue--\350\207\252\345\267\261\345\216\237\346\234\254.plist" new file mode 100755 index 00000000..49772433 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/gameplay_textrue--\350\207\252\345\267\261\345\216\237\346\234\254.plist" @@ -0,0 +1,217 @@ + + + + + frames + + gameover.top.png + + frame + {{2,2},{640,603}} + offset + {0,12} + rotated + + sourceColorRect + {{0,0},{640,603}} + sourceSize + {640,627} + + gameplay.bg.sprite-1.png + + frame + {{846,533},{128,150}} + offset + {-4,0} + rotated + + sourceColorRect + {{7,0},{128,150}} + sourceSize + {150,150} + + gameplay.bg.sprite-2.png + + frame + {{846,381},{128,150}} + offset + {-1,0} + rotated + + sourceColorRect + {{10,0},{128,150}} + sourceSize + {150,150} + + gameplay.bullet.png + + frame + {{888,240},{10,24}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{10,24}} + sourceSize + {10,24} + + gameplay.button.back-on.png + + frame + {{745,252},{370,99}} + offset + {0,0} + rotated + + sourceColorRect + {{4,0},{370,99}} + sourceSize + {378,99} + + gameplay.button.back.png + + frame + {{644,252},{370,99}} + offset + {0,0} + rotated + + sourceColorRect + {{4,0},{370,99}} + sourceSize + {378,99} + + gameplay.button.pause.png + + frame + {{888,117},{70,65}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{70,65}} + sourceSize + {70,65} + + gameplay.button.resume-on.png + + frame + {{2,708},{370,99}} + offset + {0,0} + rotated + + sourceColorRect + {{4,0},{370,99}} + sourceSize + {378,99} + + gameplay.button.resume.png + + frame + {{2,607},{370,99}} + offset + {0,0} + rotated + + sourceColorRect + {{4,0},{370,99}} + sourceSize + {378,99} + + gameplay.enemy-1.png + + frame + {{374,607},{220,187}} + offset + {1,0} + rotated + + sourceColorRect + {{4,2},{220,187}} + sourceSize + {226,191} + + gameplay.enemy-2.png + + frame + {{846,252},{149,127}} + offset + {0,0} + rotated + + sourceColorRect + {{1,0},{149,127}} + sourceSize + {151,127} + + gameplay.enemy.planet.png + + frame + {{644,2},{242,248}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{242,248}} + sourceSize + {242,248} + + gameplay.fighter.png + + frame + {{596,624},{198,153}} + offset + {2,-3} + rotated + + sourceColorRect + {{5,7},{198,153}} + sourceSize + {204,161} + + gameplay.life.png + + frame + {{888,184},{55,54}} + offset + {1,-1} + rotated + + sourceColorRect + {{2,3},{55,54}} + sourceSize + {57,58} + + gameplay.stone1.png + + frame + {{888,2},{113,107}} + offset + {-1,1} + rotated + + sourceColorRect + {{4,10},{113,107}} + sourceSize + {123,129} + + + metadata + + format + 2 + realTextureFileName + gameplay_textrue.png + size + {997,809} + smartupdate + $TexturePacker:SmartUpdate:ffe678c0b8abee19a0e7b19b760e250c:ea0948b88a38099588510d04e5f4f223:ab07efa27b4df961abb8495ab1960d70$ + textureFileName + gameplay_textrue.png + + + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/gameplay_textrue.plist" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/gameplay_textrue.plist" new file mode 100755 index 00000000..49772433 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/gameplay_textrue.plist" @@ -0,0 +1,217 @@ + + + + + frames + + gameover.top.png + + frame + {{2,2},{640,603}} + offset + {0,12} + rotated + + sourceColorRect + {{0,0},{640,603}} + sourceSize + {640,627} + + gameplay.bg.sprite-1.png + + frame + {{846,533},{128,150}} + offset + {-4,0} + rotated + + sourceColorRect + {{7,0},{128,150}} + sourceSize + {150,150} + + gameplay.bg.sprite-2.png + + frame + {{846,381},{128,150}} + offset + {-1,0} + rotated + + sourceColorRect + {{10,0},{128,150}} + sourceSize + {150,150} + + gameplay.bullet.png + + frame + {{888,240},{10,24}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{10,24}} + sourceSize + {10,24} + + gameplay.button.back-on.png + + frame + {{745,252},{370,99}} + offset + {0,0} + rotated + + sourceColorRect + {{4,0},{370,99}} + sourceSize + {378,99} + + gameplay.button.back.png + + frame + {{644,252},{370,99}} + offset + {0,0} + rotated + + sourceColorRect + {{4,0},{370,99}} + sourceSize + {378,99} + + gameplay.button.pause.png + + frame + {{888,117},{70,65}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{70,65}} + sourceSize + {70,65} + + gameplay.button.resume-on.png + + frame + {{2,708},{370,99}} + offset + {0,0} + rotated + + sourceColorRect + {{4,0},{370,99}} + sourceSize + {378,99} + + gameplay.button.resume.png + + frame + {{2,607},{370,99}} + offset + {0,0} + rotated + + sourceColorRect + {{4,0},{370,99}} + sourceSize + {378,99} + + gameplay.enemy-1.png + + frame + {{374,607},{220,187}} + offset + {1,0} + rotated + + sourceColorRect + {{4,2},{220,187}} + sourceSize + {226,191} + + gameplay.enemy-2.png + + frame + {{846,252},{149,127}} + offset + {0,0} + rotated + + sourceColorRect + {{1,0},{149,127}} + sourceSize + {151,127} + + gameplay.enemy.planet.png + + frame + {{644,2},{242,248}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{242,248}} + sourceSize + {242,248} + + gameplay.fighter.png + + frame + {{596,624},{198,153}} + offset + {2,-3} + rotated + + sourceColorRect + {{5,7},{198,153}} + sourceSize + {204,161} + + gameplay.life.png + + frame + {{888,184},{55,54}} + offset + {1,-1} + rotated + + sourceColorRect + {{2,3},{55,54}} + sourceSize + {57,58} + + gameplay.stone1.png + + frame + {{888,2},{113,107}} + offset + {-1,1} + rotated + + sourceColorRect + {{4,10},{113,107}} + sourceSize + {123,129} + + + metadata + + format + 2 + realTextureFileName + gameplay_textrue.png + size + {997,809} + smartupdate + $TexturePacker:SmartUpdate:ffe678c0b8abee19a0e7b19b760e250c:ea0948b88a38099588510d04e5f4f223:ab07efa27b4df961abb8495ab1960d70$ + textureFileName + gameplay_textrue.png + + + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/gameplay_textrue.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/gameplay_textrue.png" new file mode 100755 index 00000000..ef1d108f Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/gameplay_textrue.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/home_textrue (2).png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/home_textrue (2).png" new file mode 100755 index 00000000..3c5f8792 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/home_textrue (2).png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/home_textrue.plist" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/home_textrue.plist" new file mode 100755 index 00000000..f5d83957 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/home_textrue.plist" @@ -0,0 +1,126 @@ + + + + + frames + + home-end.png + + frame + {{2,2},{640,302}} + offset + {0,-1} + rotated + + sourceColorRect + {{0,2},{640,302}} + sourceSize + {640,304} + + home-top.png + + frame + {{644,2},{608,295}} + offset + {-10,-1} + rotated + + sourceColorRect + {{6,7},{608,295}} + sourceSize + {640,307} + + home.button.help-on.png + + frame + {{1626,204},{370,99}} + offset + {0,0} + rotated + + sourceColorRect + {{4,0},{370,99}} + sourceSize + {378,99} + + home.button.help.png + + frame + {{1254,204},{370,99}} + offset + {0,0} + rotated + + sourceColorRect + {{4,0},{370,99}} + sourceSize + {378,99} + + home.button.setting-on.png + + frame + {{1626,103},{370,99}} + offset + {0,0} + rotated + + sourceColorRect + {{4,0},{370,99}} + sourceSize + {378,99} + + home.button.setting.png + + frame + {{1254,103},{370,99}} + offset + {0,0} + rotated + + sourceColorRect + {{4,0},{370,99}} + sourceSize + {378,99} + + home.button.start-on.png + + frame + {{1626,2},{370,99}} + offset + {0,0} + rotated + + sourceColorRect + {{4,0},{370,99}} + sourceSize + {378,99} + + home.button.start.png + + frame + {{1254,2},{370,99}} + offset + {0,0} + rotated + + sourceColorRect + {{4,0},{370,99}} + sourceSize + {378,99} + + + metadata + + format + 2 + realTextureFileName + home_textrue.png + size + {1998,306} + smartupdate + $TexturePacker:SmartUpdate:49ac9a01325aa69b45d072914ecd0fac:f21df213f7302d369fd484ec38c47c3b:cd0fbaa35767ae34e448c060ca654a74$ + textureFileName + home_textrue.png + + + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/home_textrue.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/home_textrue.png" new file mode 100755 index 00000000..ed78fcc7 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/home_textrue.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/loading_textrue.plist" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/loading_textrue.plist" new file mode 100755 index 00000000..2d60bfde --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/loading_textrue.plist" @@ -0,0 +1,87 @@ + + + + + frames + + loding1.png + + frame + {{290,348},{240,81}} + offset + {-62,-2} + rotated + + sourceColorRect + {{10,7},{240,81}} + sourceSize + {384,91} + + loding2.png + + frame + {{2,348},{286,81}} + offset + {-39,-2} + rotated + + sourceColorRect + {{10,7},{286,81}} + sourceSize + {384,91} + + loding3.png + + frame + {{691,2},{320,81}} + offset + {-23,-2} + rotated + + sourceColorRect + {{9,7},{320,81}} + sourceSize + {384,91} + + loding4.png + + frame + {{608,2},{354,81}} + offset + {-5,-2} + rotated + + sourceColorRect + {{10,7},{354,81}} + sourceSize + {384,91} + + logo.png + + frame + {{2,2},{604,344}} + offset + {9,0} + rotated + + sourceColorRect + {{27,0},{604,344}} + sourceSize + {640,344} + + + metadata + + format + 2 + realTextureFileName + loading_textrue.png + size + {800,500} + smartupdate + $TexturePacker:SmartUpdate:87d509f39473d831c355981d6860a749:765142eef78aad5ebceb03d1ede58df0:6df079f6dacbd84650819da6507598f4$ + textureFileName + loading_textrue.png + + + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/loading_textrue.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/loading_textrue.png" new file mode 100755 index 00000000..14e05fcf Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/loading_textrue.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/setting_textrue.plist" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/setting_textrue.plist" new file mode 100755 index 00000000..5d0e0cca --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/setting_textrue.plist" @@ -0,0 +1,126 @@ + + + + + frames + + help-top.png + + frame + {{186,2},{540,149}} + offset + {2,-6} + rotated + + sourceColorRect + {{52,20},{540,149}} + sourceSize + {640,177} + + setting-top.png + + frame + {{2,2},{540,182}} + offset + {-1,-8} + rotated + + sourceColorRect + {{49,26},{540,182}} + sourceSize + {640,218} + + setting.button.ok-on.png + + frame + {{337,385},{381,140}} + offset + {1,0} + rotated + + sourceColorRect + {{6,0},{381,140}} + sourceSize + {391,140} + + setting.button.ok.png + + frame + {{337,2},{381,140}} + offset + {1,0} + rotated + + sourceColorRect + {{6,0},{381,140}} + sourceSize + {391,140} + + setting.check-off.png + + frame + {{306,842},{70,68}} + offset + {-3,3} + rotated + + sourceColorRect + {{6,6},{70,68}} + sourceSize + {88,86} + + setting.check-on.png + + frame + {{306,768},{74,72}} + offset + {4,-2} + rotated + + sourceColorRect + {{11,9},{74,72}} + sourceSize + {88,86} + + setting.glasses.png + + frame + {{2,797},{225,302}} + offset + {10,-6} + rotated + + sourceColorRect + {{20,29},{225,302}} + sourceSize + {245,348} + + setting.hand.png + + frame + {{2,544},{299,251}} + offset + {-2,-16} + rotated + + sourceColorRect + {{0,32},{299,251}} + sourceSize + {303,283} + + + metadata + + format + 2 + realTextureFileName + setting_textrue.png + size + {479,1024} + smartupdate + $TexturePacker:SmartUpdate:ce6e9d37513fd05f04234daefef102b9:fe1deaf9cc3804edacd6029ce804cfda:ffc6cfd52da8d10568afc6a1b6936ce1$ + textureFileName + setting_textrue.png + + + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/setting_textrue.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/setting_textrue.png" new file mode 100755 index 00000000..c5c2eeae Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/hd/texture/setting_textrue.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/particle/explosion.plist" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/particle/explosion.plist" new file mode 100755 index 00000000..a72bbe65 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/particle/explosion.plist" @@ -0,0 +1,116 @@ + + + + + absolutePosition + + angle + 90 + angleVariance + 359.99996948242188 + blendFuncDestination + 771 + blendFuncSource + 1 + configName + boo1 + duration + 0.29999999999999999 + emitterType + 0 + finishColorAlpha + 0.0 + finishColorBlue + 1 + finishColorGreen + 1 + finishColorRed + 0.99999600648880005 + finishColorVarianceAlpha + 0.0 + finishColorVarianceBlue + 0.0 + finishColorVarianceGreen + 0.0 + finishColorVarianceRed + 0.0 + finishParticleSize + 0.0 + finishParticleSizeVariance + 0.0 + gravityx + 0.0 + gravityy + 0.0 + maxParticles + 164 + maxRadius + 0 + maxRadiusVariance + 0.0 + minRadius + 300 + minRadiusVariance + 0.0 + particleLifespan + 0.5 + particleLifespanVariance + 0.0 + positionType + 0 + radialAccelVariance + 0.0 + radialAcceleration + 0.0 + rotatePerSecond + 360 + rotatePerSecondVariance + 0.0 + rotationEnd + 0.0 + rotationEndVariance + 0.0 + rotationStart + 0.0 + rotationStartVariance + 0.0 + sourcePositionVariancex + 7 + sourcePositionVariancey + 7 + speed + 302.38656616210938 + speedVariance + 30 + startColorAlpha + 0.5 + startColorBlue + 1 + startColorGreen + 0.6975632905960083 + startColorRed + 0.53721392154693604 + startColorVarianceAlpha + 0.0 + startColorVarianceBlue + 0.0 + startColorVarianceGreen + 0.0 + startColorVarianceRed + 0.0 + startParticleSize + 130.15068054199219 + startParticleSizeVariance + 5 + tangentialAccelVariance + 0.0 + tangentialAcceleration + 0.0 + textureFileName + boo1.png + textureImageData + H4sIAAAAAAAAA+1cB1gUxxef3avA0TtSTukgKCJVRRCkCIoCYokNjxOQIh7NFnvsvRC7wRgVG1EjlthL1GhUrMQWjDHWJOSvgghy/5ndQe6QJBbIGZzj+/HNNzsz7+37zb55Mzs7XbsCJwBWhMrlckBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQECgCoCyBgMNwYUQQKhDaEJoQ+hC6GHo4jxNXEaA69ANqIfKbaoiPigIDgQf21YHwhjCCsIewgXCHcITwhvDE+e54DJWuI4OboOP26QIH2/NA+rbWtie1hCtIfwgwiF6QwyGGAqRDpGBkY7zBuMy4bhOa9yGMW5T8D68qNqm/yIfijyYQThA+EJ0g5BAZENMhciFyIPIhyiA2IZRgPPycJmpuI4Et+GL2zStwwvh4/WxgQehAWEEYQfRDiIGIg1iGmPjcvkeUCG/Cirlj0GVvAxUyyshql8JQ2mUh66hMhXyYqYOy8803FYMbtsOy9LAst94jFG1TRuZDxr3UzQOWwLW/6O+nAoxG2ILY9cq+VPYYPU7KFHN1EVtlMk34zZTsQx3LFMb6/BGnKjapo3IB/IVQgh9CBvA+voBEJMYv1MhvwFewv7eUMqgtirk12HbG7CMAVimDdZB+Cb+S9U2bSQ+0H2rQRhAOEIEQyRDLAbP5Seg7crrbbCa6e9l4IX8IbTtTVi2CPqkMwxQGuWha6w/q/95Qm0jGUhWmTwFy0Y6GGKd/pYTVdu0EfigcV9EXDgBNg7KZPz8C/ktUJ9fqoI2rIDXyuQHsN9ZCbEAYiZgx4ZpOL0AX9vMlEV1qurltpqRxY4tmVgHJ8yJ8O98l6pt2sB81IwX+rhPIjugGGg9HIMf1cPDc9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r5q/5t6zupd/v839fQ+CH5x/+MnDu4/SH1U+nvKb7m8rfnf4/Zs//P84U9q79O6fsj/l/5v1xPTJ+qdtnx551v3ZrbLUssryGc9Nn2+o8K448aLXi3uVOVWCqiUvHV/urQ6vviFPlcv/D0h5Z4ROqQAA + yCoordFlipped + 1 + + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/particle/fire.plist" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/particle/fire.plist" new file mode 100755 index 00000000..1f84e37e --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/particle/fire.plist" @@ -0,0 +1,120 @@ + + + + + absolutePosition + + angle + 270 + angleVariance + 10 + blendFuncDestination + 771 + blendFuncSource + 1 + configName + air1 + duration + -1 + emitterType + 0 + finishColorAlpha + 0.0 + finishColorBlue + 1 + finishColorGreen + 1 + finishColorRed + 0.99999600648880005 + finishColorVarianceAlpha + 0.0 + finishColorVarianceBlue + 0.0 + finishColorVarianceGreen + 0.0 + finishColorVarianceRed + 0.0 + finishParticleSize + 0.0 + finishParticleSizeVariance + 0.0 + gravityx + 0.0 + gravityy + 0.0 + maxParticles + 50 + maxRadius + 0 + maxRadiusVariance + 0.0 + minRadius + 300 + minRadiusVariance + 0.0 + particleLifespan + 0.59999999999999998 + particleLifespanVariance + 0.0 + positionType + 1 + radialAccelVariance + 0.0 + radialAcceleration + 0.0 + rotatePerSecond + 360 + rotatePerSecondVariance + 0.0 + rotationEnd + 0.0 + rotationEndVariance + 0.0 + rotationStart + 0.0 + rotationStartVariance + 0.0 + sourcePositionVariancex + 7 + sourcePositionVariancey + 7 + sourcePositionx + 160 + sourcePositiony + 240 + speed + 225 + speedVariance + 30 + startColorAlpha + 0.5 + startColorBlue + 1 + startColorGreen + 0.6975632905960083 + startColorRed + 0.53721392154693604 + startColorVarianceAlpha + 0.0 + startColorVarianceBlue + 0.0 + startColorVarianceGreen + 0.0 + startColorVarianceRed + 0.0 + startParticleSize + 64 + startParticleSizeVariance + 5 + tangentialAccelVariance + 0.0 + tangentialAcceleration + 0.0 + textureFileName + air1.png + textureImageData + H4sIAAAAAAAAA+1cB1gUxxef3avA0TtSTukgKCJVRRCkCIoCYokNjxOQIh7NFnvsvRC7wRgVG1EjlthL1GhUrMQWjDHWJOSvgghy/5ndQe6QJBbIGZzj+/HNNzsz7+37zb55Mzs7XbsCJwBWhMrlckBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQECgCoCyBgMNwYUQQKhDaEJoQ+hC6GHo4jxNXEaA69ANqIfKbaoiPigIDgQf21YHwhjCCsIewgXCHcITwhvDE+e54DJWuI4OboOP26QIH2/NA+rbWtie1hCtIfwgwiF6QwyGGAqRDpGBkY7zBuMy4bhOa9yGMW5T8D68qNqm/yIfijyYQThA+EJ0g5BAZENMhciFyIPIhyiA2IZRgPPycJmpuI4Et+GL2zStwwvh4/WxgQehAWEEYQfRDiIGIg1iGmPjcvkeUCG/Cirlj0GVvAxUyyshql8JQ2mUh66hMhXyYqYOy8803FYMbtsOy9LAst94jFG1TRuZDxr3UzQOWwLW/6O+nAoxG2ILY9cq+VPYYPU7KFHN1EVtlMk34zZTsQx3LFMb6/BGnKjapo3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339cNugbVe2h28/ssN7x9ZvbL9ZsVN/54xCqnBkYemuxF0lu/vsLtrTZc+Rve327vzW9dv1+5rvW77fcP/cA+oHJh+QHxx18Nmh9EOPDyccvnNk4JHrR3sfvXSsx7Gzx8OPn/wu+LujJwJOHDzZ4eS+U76n9nzv/f2u056nC894nNn5g8cPO896ni0853Vu93mf83uL2hcduNDxwuGLQRe/uxR26fTlbpeLrvS8Uny139WS4vji+z+m/PjntexrldfH3+DdmHFT52buLfNba35y/KmgxLNk/+2g22d+jv75+h3JnUe/ZPxSdXfyr5q/5t6zupd/v839fQ+CH5x/+MnDu4/SH1U+nvKb7m8rfnf4/Zs//P84U9q79O6fsj/l/5v1xPTJ+qdtnx551v3ZrbLUssryGc9Nn2+o8K448aLXi3uVOVWCqiUvHV/urQ6vviFPlcv/D0h5Z4ROqQAA + yCoordFlipped + 1 + + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/particle/light.plist" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/particle/light.plist" new file mode 100755 index 00000000..2ff1d228 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/particle/light.plist" @@ -0,0 +1,120 @@ + + + + + absolutePosition + + angle + 90 + angleVariance + 359.99996948242188 + blendFuncDestination + 771 + blendFuncSource + 1 + configName + light-1 + duration + -1 + emitterType + 0 + finishColorAlpha + 0.0 + finishColorBlue + 0.65307986736297607 + finishColorGreen + 0.40720707178115845 + finishColorRed + 0.095896966755390167 + finishColorVarianceAlpha + 0.0 + finishColorVarianceBlue + 0.0 + finishColorVarianceGreen + 0.0 + finishColorVarianceRed + 0.0 + finishParticleSize + 512 + finishParticleSizeVariance + 512 + gravityx + 0.0 + gravityy + 0.0 + maxParticles + 55 + maxRadius + 0 + maxRadiusVariance + 0.0 + minRadius + 300 + minRadiusVariance + 0.0 + particleLifespan + 2.0237076282501221 + particleLifespanVariance + 10 + positionType + 0 + radialAccelVariance + 0.0 + radialAcceleration + 0.0 + rotatePerSecond + 360 + rotatePerSecondVariance + 0.0 + rotationEnd + 0.0 + rotationEndVariance + 0.0 + rotationStart + 0.0 + rotationStartVariance + 0.0 + sourcePositionVariancex + 7 + sourcePositionVariancey + 7 + sourcePositionx + 160 + sourcePositiony + 240 + speed + 14.180222511291504 + speedVariance + 30 + startColorAlpha + 0.05000000074505806 + startColorBlue + 1 + startColorGreen + 0.96451348066329956 + startColorRed + 0.0 + startColorVarianceAlpha + 0.0 + startColorVarianceBlue + 0.0 + startColorVarianceGreen + 0.0 + startColorVarianceRed + 1 + startParticleSize + 512 + startParticleSizeVariance + 0.0 + tangentialAccelVariance + 0.0 + tangentialAcceleration + 712.2216796875 + textureFileName + light-1.png + textureImageData + H4sIAAAAAAAAA+1bB1RURxd+byu9g1RZpINUpVtoKoiKIqJYorisdESqLRINkihGjSHEFo0EC/ZoRCRWLMRoFHuPEIMlNizY4/5z3fvic7MrmJic84vr+Tjj7My997tt5i1L796UE0UFqlD/wUsqldJvgv/CJrTr35KrjBunGfyn/nib/FvIldsMmvXJWzOYejv8X8OZzYsnB74c5N9X5pO36od/wl8Jb3m+DD8BQtgMmHXyfpH3xVvxw9/h3wLe8nxVCFQRaiyoI9hzzDoVB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eIvxJfjw+ML46/JuksmSO5MqrzqDmjriZ0Tvgi4Vpi18SSxBtJIUnzk+4khyUvTn6YEpmyPEWaOjB1XZpK2oi0Lel66Snpe0a3HT129JEM54zCjLox/mO+HNOYGZG5LIvOGpZVmW1ALlMHcxxypubU53bJXZD7KC8mb+NY3bHpYw+Ocxo3bdyV8d3HL53AmyCeUD3RauLkifUfBn24ZBI9aeSk6nzr/IL8ho96fLRistrklMk/T3GfMmfK/Y8HflxVYFHwUcGlqT2mrirUKswsPPVJwCeLP+V9mvTpoWkdps2b9nx6/PSfityLSoqezRDP+Okzj8/mfiadOWrmoVnesxbNFsxOn33y866fr5ijO2f8nEtf9P6iolhUPL34/pfDv9xf0rFk8VdqX+V8VTe319zKeTbzZs97Nj9x/okFwQvWLTRfOG3hw6/jvz66KHDR2sUWi4sWP/km6ZvTS3osqSi1Ky35VvBt7reXy2LKapb6Li1fZrqsaNkfy9OX162IWrGn3Ke8fKX5ylmrOKtyVl1bPXR17ZrQNZVrXdYuWWe0rmg9tT5n/e/fjfju5IaIDdUbfTeu/d72+4Wb9DdNr6ArxlU0bk7cXFcZW3lkS88t1VUBVZt+cP1h+VarrQu2GW6btV1te8F26Y7xO5p2Zuy8sSth16Xq4dXndg/afXxPvz2H9kbs/XFf9327a4JqdvzY+cet+/33b/nJ96fNB7wPVBz0OrjpZ6+fNx3yPlRx2OdwZa1fbdWRTke2H+16dNex0GP7jocfP3Ciz4kjJwecPH1q6Km60/Gnr55JPXPnbO7Zp+c+Os8/P/2CzoWSX8x/Kb3oeHFdnXfdtvrQ+oO/9v/13CXxpeu/Zf32rKHgsublkiuWV8qvel7deq37tdrfh/zecD3j+tMbhTd1by685XDr+9uBtw82DmpsuJN5R3p3xj2Te8vvd7xf3dS36ZcHaQ+ePpz+yOTRise+j2ueDHxy5WneM+GzuX84/lH1POL5eWmaVPo/LX7Mrg5NAAA= + yCoordFlipped + 1 + + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/res/HelloWorld.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/res/HelloWorld.png" new file mode 100755 index 00000000..b5500fba Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/res/HelloWorld.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/res/MainScene.csb" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/res/MainScene.csb" new file mode 100755 index 00000000..21cb8b35 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/res/MainScene.csb" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/AlbumArtSmall.jpg" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/AlbumArtSmall.jpg" new file mode 100755 index 00000000..ca55ca60 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/AlbumArtSmall.jpg" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/AlbumArt_{90CF618B-EE48-4D37-A122-917004EDF07C}_Large.jpg" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/AlbumArt_{90CF618B-EE48-4D37-A122-917004EDF07C}_Large.jpg" new file mode 100755 index 00000000..d24221f5 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/AlbumArt_{90CF618B-EE48-4D37-A122-917004EDF07C}_Large.jpg" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/AlbumArt_{90CF618B-EE48-4D37-A122-917004EDF07C}_Small.jpg" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/AlbumArt_{90CF618B-EE48-4D37-A122-917004EDF07C}_Small.jpg" new file mode 100755 index 00000000..ca55ca60 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/AlbumArt_{90CF618B-EE48-4D37-A122-917004EDF07C}_Small.jpg" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Blip.caf" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Blip.caf" new file mode 100755 index 00000000..179e9fc9 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Blip.caf" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Blip.wav" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Blip.wav" new file mode 100755 index 00000000..70da8205 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Blip.wav" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Explosion.caf" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Explosion.caf" new file mode 100755 index 00000000..7b7929df Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Explosion.caf" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Explosion.wav" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Explosion.wav" new file mode 100755 index 00000000..7c802519 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Explosion.wav" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Folder.jpg" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Folder.jpg" new file mode 100755 index 00000000..d24221f5 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Folder.jpg" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Ring02.wma" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Ring02.wma" new file mode 100755 index 00000000..cbaa9f51 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/Ring02.wma" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/desktop.ini" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/desktop.ini" new file mode 100755 index 00000000..bc25c4b0 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/desktop.ini" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/game_bg.aifc" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/game_bg.aifc" new file mode 100755 index 00000000..598595df Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/game_bg.aifc" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/game_bg.mp3" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/game_bg.mp3" new file mode 100755 index 00000000..381f94b5 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/game_bg.mp3" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/game_bg.wav" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/game_bg.wav" new file mode 100755 index 00000000..89031729 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/game_bg.wav" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/home_bg.aifc" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/home_bg.aifc" new file mode 100755 index 00000000..87a1b8d2 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/home_bg.aifc" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/home_bg.mp3" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/home_bg.mp3" new file mode 100755 index 00000000..375823b3 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/home_bg.mp3" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/home_bg.wav" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/home_bg.wav" new file mode 100755 index 00000000..86ee3fa3 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/sound/home_bg.wav" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/utf8_char.plist" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/utf8_char.plist" new file mode 100755 index 00000000..9a1d7475 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/Resources/utf8_char.plist" @@ -0,0 +1,21 @@ + + + + + lblSound + 闊 鏁堬細 + lblMusic + 鑳屾櫙闊筹細 + sound + 闊虫晥 + id + 2011012534 + music + 闊充箰 + name + 鏇剧惓 + lblHighScore + 鏈楂樺垎锛 + + \ No newline at end of file diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/CocosProject1.xcodeproj/project.pbxproj" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/CocosProject1.xcodeproj/project.pbxproj" new file mode 100755 index 00000000..c21319cc --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/CocosProject1.xcodeproj/project.pbxproj" @@ -0,0 +1,781 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 04208E971C37F25200EEE9DE /* BaseLayer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04208E7F1C37F25200EEE9DE /* BaseLayer.cpp */; }; + 04208E981C37F25200EEE9DE /* Bullet.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04208E811C37F25200EEE9DE /* Bullet.cpp */; }; + 04208E991C37F25200EEE9DE /* Enemy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04208E831C37F25200EEE9DE /* Enemy.cpp */; }; + 04208E9B1C37F25200EEE9DE /* Fighter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04208E871C37F25200EEE9DE /* Fighter.cpp */; }; + 04208E9C1C37F25200EEE9DE /* GameOverLayer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04208E891C37F25200EEE9DE /* GameOverLayer.cpp */; }; + 04208E9D1C37F25200EEE9DE /* HelpLayer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04208E8B1C37F25200EEE9DE /* HelpLayer.cpp */; }; + 04208E9E1C37F25200EEE9DE /* HomeLayer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04208E8D1C37F25200EEE9DE /* HomeLayer.cpp */; }; + 04208E9F1C37F25200EEE9DE /* MyUtility.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04208E8F1C37F25200EEE9DE /* MyUtility.cpp */; }; + 04208EA01C37F25200EEE9DE /* PlayLayer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04208E911C37F25200EEE9DE /* PlayLayer.cpp */; }; + 04208EA11C37F25200EEE9DE /* SettingLayer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 04208E931C37F25200EEE9DE /* SettingLayer.cpp */; }; + 04208EA21C37F25200EEE9DE /* SystemHeader.h.bak in Resources */ = {isa = PBXBuildFile; fileRef = 04208E961C37F25200EEE9DE /* SystemHeader.h.bak */; }; + 04208EAD1C37F65C00EEE9DE /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 04208EA31C37F65C00EEE9DE /* CloseNormal.png */; }; + 04208EAE1C37F65C00EEE9DE /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 04208EA41C37F65C00EEE9DE /* CloseSelected.png */; }; + 04208EAF1C37F65C00EEE9DE /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 04208EA51C37F65C00EEE9DE /* fonts */; }; + 04208EB01C37F65C00EEE9DE /* hd in Resources */ = {isa = PBXBuildFile; fileRef = 04208EA61C37F65C00EEE9DE /* hd */; }; + 04208EB11C37F65C00EEE9DE /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 04208EA71C37F65C00EEE9DE /* HelloWorld.png */; }; + 04208EB21C37F65C00EEE9DE /* OGLdpf.log in Resources */ = {isa = PBXBuildFile; fileRef = 04208EA81C37F65C00EEE9DE /* OGLdpf.log */; }; + 04208EB31C37F65C00EEE9DE /* particle in Resources */ = {isa = PBXBuildFile; fileRef = 04208EA91C37F65C00EEE9DE /* particle */; }; + 04208EB41C37F65C00EEE9DE /* res in Resources */ = {isa = PBXBuildFile; fileRef = 04208EAA1C37F65C00EEE9DE /* res */; }; + 04208EB51C37F65C00EEE9DE /* sound in Resources */ = {isa = PBXBuildFile; fileRef = 04208EAB1C37F65C00EEE9DE /* sound */; }; + 04208EB61C37F65C00EEE9DE /* utf8_char.plist in Resources */ = {isa = PBXBuildFile; fileRef = 04208EAC1C37F65C00EEE9DE /* utf8_char.plist */; }; + 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; + 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; }; + 288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.framework */; }; + 46880B8819C43A87006E1F66 /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46880B8419C43A87006E1F66 /* AppDelegate.cpp */; }; + 46880B8919C43A87006E1F66 /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46880B8419C43A87006E1F66 /* AppDelegate.cpp */; }; + 46880B8A19C43A87006E1F66 /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46880B8619C43A87006E1F66 /* HelloWorldScene.cpp */; }; + 46880B8B19C43A87006E1F66 /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 46880B8619C43A87006E1F66 /* HelloWorldScene.cpp */; }; + 503AE0F817EB97AB00D1A890 /* Icon.icns in Resources */ = {isa = PBXBuildFile; fileRef = 503AE0F617EB97AB00D1A890 /* Icon.icns */; }; + 503AE10017EB989F00D1A890 /* AppController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 503AE0FB17EB989F00D1A890 /* AppController.mm */; }; + 503AE10117EB989F00D1A890 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 503AE0FC17EB989F00D1A890 /* main.m */; }; + 503AE10217EB989F00D1A890 /* RootViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 503AE0FF17EB989F00D1A890 /* RootViewController.mm */; }; + 503AE10517EB98FF00D1A890 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 503AE10317EB98FF00D1A890 /* main.cpp */; }; + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11A17EB9C5A00D1A890 /* IOKit.framework */; }; + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; + 5087E76717EB910900C73F5D /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BF170DB412928DE900B8313A /* libz.dylib */; }; + 5087E76817EB910900C73F5D /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BF1C47EA1293683800B63C5D /* QuartzCore.framework */; }; + 5087E76917EB910900C73F5D /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620B132DFF330009C878 /* OpenAL.framework */; }; + 5087E76A17EB910900C73F5D /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620D132DFF430009C878 /* AVFoundation.framework */; }; + 5087E76B17EB910900C73F5D /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620F132DFF4E0009C878 /* AudioToolbox.framework */; }; + 5087E77D17EB970100C73F5D /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 5087E77217EB970100C73F5D /* Default-568h@2x.png */; }; + 5087E77E17EB970100C73F5D /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 5087E77317EB970100C73F5D /* Default.png */; }; + 5087E77F17EB970100C73F5D /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 5087E77417EB970100C73F5D /* Default@2x.png */; }; + 5087E78017EB970100C73F5D /* Icon-114.png in Resources */ = {isa = PBXBuildFile; fileRef = 5087E77517EB970100C73F5D /* Icon-114.png */; }; + 5087E78117EB970100C73F5D /* Icon-120.png in Resources */ = {isa = PBXBuildFile; fileRef = 5087E77617EB970100C73F5D /* Icon-120.png */; }; + 5087E78217EB970100C73F5D /* Icon-144.png in Resources */ = {isa = PBXBuildFile; fileRef = 5087E77717EB970100C73F5D /* Icon-144.png */; }; + 5087E78317EB970100C73F5D /* Icon-152.png in Resources */ = {isa = PBXBuildFile; fileRef = 5087E77817EB970100C73F5D /* Icon-152.png */; }; + 5087E78417EB970100C73F5D /* Icon-57.png in Resources */ = {isa = PBXBuildFile; fileRef = 5087E77917EB970100C73F5D /* Icon-57.png */; }; + 5087E78517EB970100C73F5D /* Icon-72.png in Resources */ = {isa = PBXBuildFile; fileRef = 5087E77A17EB970100C73F5D /* Icon-72.png */; }; + 5087E78617EB970100C73F5D /* Icon-76.png in Resources */ = {isa = PBXBuildFile; fileRef = 5087E77B17EB970100C73F5D /* Icon-76.png */; }; + 5087E78917EB974C00C73F5D /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5087E78817EB974C00C73F5D /* AppKit.framework */; }; + 5087E78B17EB975400C73F5D /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5087E78A17EB975400C73F5D /* OpenGL.framework */; }; + 50EF629617ECD46A001EB2F8 /* Icon-40.png in Resources */ = {isa = PBXBuildFile; fileRef = 50EF629217ECD46A001EB2F8 /* Icon-40.png */; }; + 50EF629717ECD46A001EB2F8 /* Icon-58.png in Resources */ = {isa = PBXBuildFile; fileRef = 50EF629317ECD46A001EB2F8 /* Icon-58.png */; }; + 50EF629817ECD46A001EB2F8 /* Icon-80.png in Resources */ = {isa = PBXBuildFile; fileRef = 50EF629417ECD46A001EB2F8 /* Icon-80.png */; }; + 50EF629917ECD46A001EB2F8 /* Icon-100.png in Resources */ = {isa = PBXBuildFile; fileRef = 50EF629517ECD46A001EB2F8 /* Icon-100.png */; }; + 50EF62A217ECD613001EB2F8 /* Icon-29.png in Resources */ = {isa = PBXBuildFile; fileRef = 50EF62A017ECD613001EB2F8 /* Icon-29.png */; }; + 50EF62A317ECD613001EB2F8 /* Icon-50.png in Resources */ = {isa = PBXBuildFile; fileRef = 50EF62A117ECD613001EB2F8 /* Icon-50.png */; }; + 521A8E6419F0C34300D177D7 /* Default-667h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 521A8E6219F0C34300D177D7 /* Default-667h@2x.png */; }; + 521A8E6519F0C34300D177D7 /* Default-736h@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 521A8E6319F0C34300D177D7 /* Default-736h@3x.png */; }; + 52B47A471A53D09C004E4C60 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52B47A461A53D09B004E4C60 /* Security.framework */; }; + 65864E89AE5B86C9D1F66D1E /* res in Resources */ = {isa = PBXBuildFile; fileRef = 7FDD41ADB08C3C9247273E5B /* res */; }; + 8262943E1AAF051F00CB7CF7 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8262943D1AAF051F00CB7CF7 /* Security.framework */; }; + AE6B4A53AA5E86DAB2449D11 /* res in Resources */ = {isa = PBXBuildFile; fileRef = 7FDD41ADB08C3C9247273E5B /* res */; }; + BF171245129291EC00B8313A /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BF170DB012928DE900B8313A /* OpenGLES.framework */; }; + BF1712471292920000B8313A /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BF170DB412928DE900B8313A /* libz.dylib */; }; + BF1C47F01293687400B63C5D /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BF1C47EA1293683800B63C5D /* QuartzCore.framework */; }; + D44C620C132DFF330009C878 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620B132DFF330009C878 /* OpenAL.framework */; }; + D44C620E132DFF430009C878 /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620D132DFF430009C878 /* AVFoundation.framework */; }; + D44C6210132DFF4E0009C878 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D44C620F132DFF4E0009C878 /* AudioToolbox.framework */; }; + D6B0611B1803AB670077942B /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6B0611A1803AB670077942B /* CoreMotion.framework */; }; + E19D4A118696E80A9D362D84 /* libcocos2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 532641FFA4E0DECB96783029 /* libcocos2d iOS.a */; }; + ED545A7C1B68A1F400C3958E /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = ED545A7B1B68A1F400C3958E /* libiconv.dylib */; }; + ED545A7E1B68A1FA00C3958E /* libiconv.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = ED545A7D1B68A1FA00C3958E /* libiconv.dylib */; }; + F0F24BEB88841CFBFE570287 /* libcocos2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CC84510B1413B3FCD7DE99B /* libcocos2d Mac.a */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 04208E7F1C37F25200EEE9DE /* BaseLayer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = BaseLayer.cpp; sourceTree = ""; }; + 04208E801C37F25200EEE9DE /* BaseLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BaseLayer.h; sourceTree = ""; }; + 04208E811C37F25200EEE9DE /* Bullet.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Bullet.cpp; sourceTree = ""; }; + 04208E821C37F25200EEE9DE /* Bullet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Bullet.h; sourceTree = ""; }; + 04208E831C37F25200EEE9DE /* Enemy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Enemy.cpp; sourceTree = ""; }; + 04208E841C37F25200EEE9DE /* Enemy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Enemy.h; sourceTree = ""; }; + 04208E871C37F25200EEE9DE /* Fighter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Fighter.cpp; sourceTree = ""; }; + 04208E881C37F25200EEE9DE /* Fighter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Fighter.h; sourceTree = ""; }; + 04208E891C37F25200EEE9DE /* GameOverLayer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GameOverLayer.cpp; sourceTree = ""; }; + 04208E8A1C37F25200EEE9DE /* GameOverLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GameOverLayer.h; sourceTree = ""; }; + 04208E8B1C37F25200EEE9DE /* HelpLayer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HelpLayer.cpp; sourceTree = ""; }; + 04208E8C1C37F25200EEE9DE /* HelpLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HelpLayer.h; sourceTree = ""; }; + 04208E8D1C37F25200EEE9DE /* HomeLayer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HomeLayer.cpp; sourceTree = ""; }; + 04208E8E1C37F25200EEE9DE /* HomeLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HomeLayer.h; sourceTree = ""; }; + 04208E8F1C37F25200EEE9DE /* MyUtility.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MyUtility.cpp; sourceTree = ""; }; + 04208E901C37F25200EEE9DE /* MyUtility.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyUtility.h; sourceTree = ""; }; + 04208E911C37F25200EEE9DE /* PlayLayer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PlayLayer.cpp; sourceTree = ""; }; + 04208E921C37F25200EEE9DE /* PlayLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PlayLayer.h; sourceTree = ""; }; + 04208E931C37F25200EEE9DE /* SettingLayer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SettingLayer.cpp; sourceTree = ""; }; + 04208E941C37F25200EEE9DE /* SettingLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SettingLayer.h; sourceTree = ""; }; + 04208E951C37F25200EEE9DE /* SystemHeader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SystemHeader.h; sourceTree = ""; }; + 04208E961C37F25200EEE9DE /* SystemHeader.h.bak */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = SystemHeader.h.bak; sourceTree = ""; }; + 04208EA31C37F65C00EEE9DE /* CloseNormal.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseNormal.png; sourceTree = ""; }; + 04208EA41C37F65C00EEE9DE /* CloseSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseSelected.png; sourceTree = ""; }; + 04208EA51C37F65C00EEE9DE /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; path = fonts; sourceTree = ""; }; + 04208EA61C37F65C00EEE9DE /* hd */ = {isa = PBXFileReference; lastKnownFileType = folder; path = hd; sourceTree = ""; }; + 04208EA71C37F65C00EEE9DE /* HelloWorld.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = HelloWorld.png; sourceTree = ""; }; + 04208EA81C37F65C00EEE9DE /* OGLdpf.log */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = OGLdpf.log; sourceTree = ""; }; + 04208EA91C37F65C00EEE9DE /* particle */ = {isa = PBXFileReference; lastKnownFileType = folder; path = particle; sourceTree = ""; }; + 04208EAA1C37F65C00EEE9DE /* res */ = {isa = PBXFileReference; lastKnownFileType = folder; path = res; sourceTree = ""; }; + 04208EAB1C37F65C00EEE9DE /* sound */ = {isa = PBXFileReference; lastKnownFileType = folder; path = sound; sourceTree = ""; }; + 04208EAC1C37F65C00EEE9DE /* utf8_char.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = utf8_char.plist; sourceTree = ""; }; + 1ACB3243164770DE00914215 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = ""; }; + 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 1D6058910D05DD3D006BFB54 /* CocosProject1-mobile.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "CocosProject1-mobile.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + 288765A40DF7441C002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + 46880B8419C43A87006E1F66 /* AppDelegate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AppDelegate.cpp; sourceTree = ""; }; + 46880B8519C43A87006E1F66 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 46880B8619C43A87006E1F66 /* HelloWorldScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HelloWorldScene.cpp; sourceTree = ""; }; + 46880B8719C43A87006E1F66 /* HelloWorldScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HelloWorldScene.h; sourceTree = ""; }; + 503AE0F617EB97AB00D1A890 /* Icon.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = Icon.icns; sourceTree = ""; }; + 503AE0F717EB97AB00D1A890 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 503AE0FA17EB989F00D1A890 /* AppController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppController.h; path = ios/AppController.h; sourceTree = SOURCE_ROOT; }; + 503AE0FB17EB989F00D1A890 /* AppController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppController.mm; path = ios/AppController.mm; sourceTree = SOURCE_ROOT; }; + 503AE0FC17EB989F00D1A890 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ios/main.m; sourceTree = SOURCE_ROOT; }; + 503AE0FD17EB989F00D1A890 /* Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Prefix.pch; path = ios/Prefix.pch; sourceTree = SOURCE_ROOT; }; + 503AE0FE17EB989F00D1A890 /* RootViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RootViewController.h; path = ios/RootViewController.h; sourceTree = SOURCE_ROOT; }; + 503AE0FF17EB989F00D1A890 /* RootViewController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = RootViewController.mm; path = ios/RootViewController.mm; sourceTree = SOURCE_ROOT; }; + 503AE10317EB98FF00D1A890 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = mac/main.cpp; sourceTree = ""; }; + 503AE10417EB98FF00D1A890 /* Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Prefix.pch; path = mac/Prefix.pch; sourceTree = ""; }; + 503AE11117EB99EE00D1A890 /* libcurl.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libcurl.dylib; path = usr/lib/libcurl.dylib; sourceTree = SDKROOT; }; + 503AE11A17EB9C5A00D1A890 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = System/Library/Frameworks/IOKit.framework; sourceTree = SDKROOT; }; + 5087E76F17EB910900C73F5D /* CocosProject1-desktop.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "CocosProject1-desktop.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 5087E77217EB970100C73F5D /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; + 5087E77317EB970100C73F5D /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = ""; }; + 5087E77417EB970100C73F5D /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default@2x.png"; sourceTree = ""; }; + 5087E77517EB970100C73F5D /* Icon-114.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-114.png"; sourceTree = ""; }; + 5087E77617EB970100C73F5D /* Icon-120.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-120.png"; sourceTree = ""; }; + 5087E77717EB970100C73F5D /* Icon-144.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-144.png"; sourceTree = ""; }; + 5087E77817EB970100C73F5D /* Icon-152.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-152.png"; sourceTree = ""; }; + 5087E77917EB970100C73F5D /* Icon-57.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-57.png"; sourceTree = ""; }; + 5087E77A17EB970100C73F5D /* Icon-72.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-72.png"; sourceTree = ""; }; + 5087E77B17EB970100C73F5D /* Icon-76.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-76.png"; sourceTree = ""; }; + 5087E77C17EB970100C73F5D /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 5087E78817EB974C00C73F5D /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; }; + 5087E78A17EB975400C73F5D /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = System/Library/Frameworks/OpenGL.framework; sourceTree = SDKROOT; }; + 50EF629217ECD46A001EB2F8 /* Icon-40.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-40.png"; sourceTree = ""; }; + 50EF629317ECD46A001EB2F8 /* Icon-58.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-58.png"; sourceTree = ""; }; + 50EF629417ECD46A001EB2F8 /* Icon-80.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-80.png"; sourceTree = ""; }; + 50EF629517ECD46A001EB2F8 /* Icon-100.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-100.png"; sourceTree = ""; }; + 50EF62A017ECD613001EB2F8 /* Icon-29.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-29.png"; sourceTree = ""; }; + 50EF62A117ECD613001EB2F8 /* Icon-50.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-50.png"; sourceTree = ""; }; + 521A8E6219F0C34300D177D7 /* Default-667h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-667h@2x.png"; sourceTree = ""; }; + 521A8E6319F0C34300D177D7 /* Default-736h@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-736h@3x.png"; sourceTree = ""; }; + 52B47A461A53D09B004E4C60 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks/Security.framework; sourceTree = DEVELOPER_DIR; }; + 532641FFA4E0DECB96783029 /* libcocos2d iOS.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libcocos2d iOS.a"; path = "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/prebuilt/ios/libcocos2d iOS.a"; sourceTree = ""; }; + 5CC84510B1413B3FCD7DE99B /* libcocos2d Mac.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libcocos2d Mac.a"; path = "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/prebuilt/mac/libcocos2d Mac.a"; sourceTree = ""; }; + 7FDD41ADB08C3C9247273E5B /* res */ = {isa = PBXFileReference; lastKnownFileType = "?"; name = res; path = ../Resources/res; sourceTree = ""; }; + 8262943D1AAF051F00CB7CF7 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; + BF170DB012928DE900B8313A /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; }; + BF170DB412928DE900B8313A /* libz.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.dylib; path = usr/lib/libz.dylib; sourceTree = SDKROOT; }; + BF1C47EA1293683800B63C5D /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; + D44C620B132DFF330009C878 /* OpenAL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenAL.framework; path = System/Library/Frameworks/OpenAL.framework; sourceTree = SDKROOT; }; + D44C620D132DFF430009C878 /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; }; + D44C620F132DFF4E0009C878 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; }; + D6B0611A1803AB670077942B /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreMotion.framework; sourceTree = DEVELOPER_DIR; }; + ED545A7B1B68A1F400C3958E /* libiconv.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libiconv.dylib; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/lib/libiconv.dylib; sourceTree = DEVELOPER_DIR; }; + ED545A7D1B68A1FA00C3958E /* libiconv.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libiconv.dylib; path = usr/lib/libiconv.dylib; sourceTree = SDKROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ED545A7C1B68A1F400C3958E /* libiconv.dylib in Frameworks */, + 52B47A471A53D09C004E4C60 /* Security.framework in Frameworks */, + D6B0611B1803AB670077942B /* CoreMotion.framework in Frameworks */, + 1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */, + 1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */, + 288765A50DF7441C002DB57D /* CoreGraphics.framework in Frameworks */, + BF171245129291EC00B8313A /* OpenGLES.framework in Frameworks */, + BF1712471292920000B8313A /* libz.dylib in Frameworks */, + BF1C47F01293687400B63C5D /* QuartzCore.framework in Frameworks */, + D44C620C132DFF330009C878 /* OpenAL.framework in Frameworks */, + D44C620E132DFF430009C878 /* AVFoundation.framework in Frameworks */, + D44C6210132DFF4E0009C878 /* AudioToolbox.framework in Frameworks */, + E19D4A118696E80A9D362D84 /* libcocos2d iOS.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75C17EB910900C73F5D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ED545A7E1B68A1FA00C3958E /* libiconv.dylib in Frameworks */, + 5087E76717EB910900C73F5D /* libz.dylib in Frameworks */, + 8262943E1AAF051F00CB7CF7 /* Security.framework in Frameworks */, + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */, + 5087E78B17EB975400C73F5D /* OpenGL.framework in Frameworks */, + 5087E78917EB974C00C73F5D /* AppKit.framework in Frameworks */, + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */, + 5087E76817EB910900C73F5D /* QuartzCore.framework in Frameworks */, + 5087E76917EB910900C73F5D /* OpenAL.framework in Frameworks */, + 5087E76A17EB910900C73F5D /* AVFoundation.framework in Frameworks */, + 5087E76B17EB910900C73F5D /* AudioToolbox.framework in Frameworks */, + F0F24BEB88841CFBFE570287 /* libcocos2d Mac.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 080E96DDFE201D6D7F000001 /* ios */ = { + isa = PBXGroup; + children = ( + 5087E77117EB970100C73F5D /* Icons */, + 503AE0FA17EB989F00D1A890 /* AppController.h */, + 503AE0FB17EB989F00D1A890 /* AppController.mm */, + 503AE0FC17EB989F00D1A890 /* main.m */, + 503AE0FD17EB989F00D1A890 /* Prefix.pch */, + 503AE0FE17EB989F00D1A890 /* RootViewController.h */, + 503AE0FF17EB989F00D1A890 /* RootViewController.mm */, + ); + name = ios; + path = Classes; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 1D6058910D05DD3D006BFB54 /* CocosProject1-mobile.app */, + 5087E76F17EB910900C73F5D /* CocosProject1-desktop.app */, + ); + name = Products; + sourceTree = ""; + }; + 1D154A029B50D0429C64FB16 /* mac-libs */ = { + isa = PBXGroup; + children = ( + 5CC84510B1413B3FCD7DE99B /* libcocos2d Mac.a */, + ); + name = "mac-libs"; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { + isa = PBXGroup; + children = ( + 46880B8319C43A87006E1F66 /* Classes */, + 46880B7519C43A67006E1F66 /* Resources */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 080E96DDFE201D6D7F000001 /* ios */, + 503AE10617EB990700D1A890 /* mac */, + 19C28FACFE9D520D11CA2CBB /* Products */, + E1B3452F83740971AFAC9A45 /* ios-libs */, + 1D154A029B50D0429C64FB16 /* mac-libs */, + ); + name = CustomTemplate; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + ED545A7D1B68A1FA00C3958E /* libiconv.dylib */, + ED545A7B1B68A1F400C3958E /* libiconv.dylib */, + 8262943D1AAF051F00CB7CF7 /* Security.framework */, + 52B47A461A53D09B004E4C60 /* Security.framework */, + D6B0611A1803AB670077942B /* CoreMotion.framework */, + 503AE11A17EB9C5A00D1A890 /* IOKit.framework */, + 503AE11117EB99EE00D1A890 /* libcurl.dylib */, + 5087E78A17EB975400C73F5D /* OpenGL.framework */, + 5087E78817EB974C00C73F5D /* AppKit.framework */, + 1ACB3243164770DE00914215 /* libcurl.a */, + BF170DB412928DE900B8313A /* libz.dylib */, + D44C620F132DFF4E0009C878 /* AudioToolbox.framework */, + D44C620D132DFF430009C878 /* AVFoundation.framework */, + 288765A40DF7441C002DB57D /* CoreGraphics.framework */, + 1D30AB110D05D00D00671497 /* Foundation.framework */, + D44C620B132DFF330009C878 /* OpenAL.framework */, + BF170DB012928DE900B8313A /* OpenGLES.framework */, + BF1C47EA1293683800B63C5D /* QuartzCore.framework */, + 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 46880B7519C43A67006E1F66 /* Resources */ = { + isa = PBXGroup; + children = ( + 04208EA31C37F65C00EEE9DE /* CloseNormal.png */, + 04208EA41C37F65C00EEE9DE /* CloseSelected.png */, + 04208EA51C37F65C00EEE9DE /* fonts */, + 04208EA61C37F65C00EEE9DE /* hd */, + 04208EA71C37F65C00EEE9DE /* HelloWorld.png */, + 04208EA81C37F65C00EEE9DE /* OGLdpf.log */, + 04208EA91C37F65C00EEE9DE /* particle */, + 04208EAA1C37F65C00EEE9DE /* res */, + 04208EAB1C37F65C00EEE9DE /* sound */, + 04208EAC1C37F65C00EEE9DE /* utf8_char.plist */, + 7FDD41ADB08C3C9247273E5B /* res */, + ); + name = Resources; + path = ../Resources; + sourceTree = ""; + }; + 46880B8319C43A87006E1F66 /* Classes */ = { + isa = PBXGroup; + children = ( + 04208E7F1C37F25200EEE9DE /* BaseLayer.cpp */, + 04208E801C37F25200EEE9DE /* BaseLayer.h */, + 04208E811C37F25200EEE9DE /* Bullet.cpp */, + 04208E821C37F25200EEE9DE /* Bullet.h */, + 04208E831C37F25200EEE9DE /* Enemy.cpp */, + 04208E841C37F25200EEE9DE /* Enemy.h */, + 04208E871C37F25200EEE9DE /* Fighter.cpp */, + 04208E881C37F25200EEE9DE /* Fighter.h */, + 04208E891C37F25200EEE9DE /* GameOverLayer.cpp */, + 04208E8A1C37F25200EEE9DE /* GameOverLayer.h */, + 04208E8B1C37F25200EEE9DE /* HelpLayer.cpp */, + 04208E8C1C37F25200EEE9DE /* HelpLayer.h */, + 04208E8D1C37F25200EEE9DE /* HomeLayer.cpp */, + 04208E8E1C37F25200EEE9DE /* HomeLayer.h */, + 04208E8F1C37F25200EEE9DE /* MyUtility.cpp */, + 04208E901C37F25200EEE9DE /* MyUtility.h */, + 04208E911C37F25200EEE9DE /* PlayLayer.cpp */, + 04208E921C37F25200EEE9DE /* PlayLayer.h */, + 04208E931C37F25200EEE9DE /* SettingLayer.cpp */, + 04208E941C37F25200EEE9DE /* SettingLayer.h */, + 04208E951C37F25200EEE9DE /* SystemHeader.h */, + 04208E961C37F25200EEE9DE /* SystemHeader.h.bak */, + 46880B8419C43A87006E1F66 /* AppDelegate.cpp */, + 46880B8519C43A87006E1F66 /* AppDelegate.h */, + 46880B8619C43A87006E1F66 /* HelloWorldScene.cpp */, + 46880B8719C43A87006E1F66 /* HelloWorldScene.h */, + ); + name = Classes; + path = ../Classes; + sourceTree = ""; + }; + 503AE0F517EB97AB00D1A890 /* Icons */ = { + isa = PBXGroup; + children = ( + 503AE0F617EB97AB00D1A890 /* Icon.icns */, + 503AE0F717EB97AB00D1A890 /* Info.plist */, + ); + name = Icons; + path = mac; + sourceTree = SOURCE_ROOT; + }; + 503AE10617EB990700D1A890 /* mac */ = { + isa = PBXGroup; + children = ( + 503AE0F517EB97AB00D1A890 /* Icons */, + 503AE10317EB98FF00D1A890 /* main.cpp */, + 503AE10417EB98FF00D1A890 /* Prefix.pch */, + ); + name = mac; + sourceTree = ""; + }; + 5087E77117EB970100C73F5D /* Icons */ = { + isa = PBXGroup; + children = ( + 521A8E6219F0C34300D177D7 /* Default-667h@2x.png */, + 521A8E6319F0C34300D177D7 /* Default-736h@3x.png */, + 5087E77217EB970100C73F5D /* Default-568h@2x.png */, + 5087E77317EB970100C73F5D /* Default.png */, + 5087E77417EB970100C73F5D /* Default@2x.png */, + 50EF62A017ECD613001EB2F8 /* Icon-29.png */, + 50EF62A117ECD613001EB2F8 /* Icon-50.png */, + 50EF629217ECD46A001EB2F8 /* Icon-40.png */, + 50EF629317ECD46A001EB2F8 /* Icon-58.png */, + 50EF629417ECD46A001EB2F8 /* Icon-80.png */, + 50EF629517ECD46A001EB2F8 /* Icon-100.png */, + 5087E77517EB970100C73F5D /* Icon-114.png */, + 5087E77617EB970100C73F5D /* Icon-120.png */, + 5087E77717EB970100C73F5D /* Icon-144.png */, + 5087E77817EB970100C73F5D /* Icon-152.png */, + 5087E77917EB970100C73F5D /* Icon-57.png */, + 5087E77A17EB970100C73F5D /* Icon-72.png */, + 5087E77B17EB970100C73F5D /* Icon-76.png */, + 5087E77C17EB970100C73F5D /* Info.plist */, + ); + name = Icons; + path = ios; + sourceTree = SOURCE_ROOT; + }; + E1B3452F83740971AFAC9A45 /* ios-libs */ = { + isa = PBXGroup; + children = ( + 532641FFA4E0DECB96783029 /* libcocos2d iOS.a */, + ); + name = "ios-libs"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1D6058900D05DD3D006BFB54 /* CocosProject1-mobile */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "CocosProject1-mobile" */; + buildPhases = ( + 1D60588D0D05DD3D006BFB54 /* Resources */, + 1D60588E0D05DD3D006BFB54 /* Sources */, + 1D60588F0D05DD3D006BFB54 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "CocosProject1-mobile"; + productName = iphone; + productReference = 1D6058910D05DD3D006BFB54 /* CocosProject1-mobile.app */; + productType = "com.apple.product-type.application"; + }; + 5087E73D17EB910900C73F5D /* CocosProject1-desktop */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "CocosProject1-desktop" */; + buildPhases = ( + 5087E74817EB910900C73F5D /* Resources */, + 5087E75617EB910900C73F5D /* Sources */, + 5087E75C17EB910900C73F5D /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "CocosProject1-desktop"; + productName = iphone; + productReference = 5087E76F17EB910900C73F5D /* CocosProject1-desktop.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0500; + }; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "CocosProject1" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 1D6058900D05DD3D006BFB54 /* CocosProject1-mobile */, + 5087E73D17EB910900C73F5D /* CocosProject1-desktop */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 1D60588D0D05DD3D006BFB54 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5087E78117EB970100C73F5D /* Icon-120.png in Resources */, + 04208EAE1C37F65C00EEE9DE /* CloseSelected.png in Resources */, + 04208EB51C37F65C00EEE9DE /* sound in Resources */, + 5087E78617EB970100C73F5D /* Icon-76.png in Resources */, + 5087E77F17EB970100C73F5D /* Default@2x.png in Resources */, + 50EF629917ECD46A001EB2F8 /* Icon-100.png in Resources */, + 5087E78317EB970100C73F5D /* Icon-152.png in Resources */, + 5087E77D17EB970100C73F5D /* Default-568h@2x.png in Resources */, + 04208EA21C37F25200EEE9DE /* SystemHeader.h.bak in Resources */, + 5087E78517EB970100C73F5D /* Icon-72.png in Resources */, + 521A8E6519F0C34300D177D7 /* Default-736h@3x.png in Resources */, + 04208EB61C37F65C00EEE9DE /* utf8_char.plist in Resources */, + 04208EAF1C37F65C00EEE9DE /* fonts in Resources */, + 04208EB31C37F65C00EEE9DE /* particle in Resources */, + 50EF62A317ECD613001EB2F8 /* Icon-50.png in Resources */, + 04208EAD1C37F65C00EEE9DE /* CloseNormal.png in Resources */, + 5087E78017EB970100C73F5D /* Icon-114.png in Resources */, + 04208EB21C37F65C00EEE9DE /* OGLdpf.log in Resources */, + 04208EB01C37F65C00EEE9DE /* hd in Resources */, + 04208EB11C37F65C00EEE9DE /* HelloWorld.png in Resources */, + 50EF62A217ECD613001EB2F8 /* Icon-29.png in Resources */, + 50EF629617ECD46A001EB2F8 /* Icon-40.png in Resources */, + 5087E78217EB970100C73F5D /* Icon-144.png in Resources */, + 50EF629817ECD46A001EB2F8 /* Icon-80.png in Resources */, + 5087E78417EB970100C73F5D /* Icon-57.png in Resources */, + 5087E77E17EB970100C73F5D /* Default.png in Resources */, + 521A8E6419F0C34300D177D7 /* Default-667h@2x.png in Resources */, + 04208EB41C37F65C00EEE9DE /* res in Resources */, + 50EF629717ECD46A001EB2F8 /* Icon-58.png in Resources */, + AE6B4A53AA5E86DAB2449D11 /* res in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E74817EB910900C73F5D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 503AE0F817EB97AB00D1A890 /* Icon.icns in Resources */, + 65864E89AE5B86C9D1F66D1E /* res in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1D60588E0D05DD3D006BFB54 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 04208E9D1C37F25200EEE9DE /* HelpLayer.cpp in Sources */, + 04208E991C37F25200EEE9DE /* Enemy.cpp in Sources */, + 46880B8819C43A87006E1F66 /* AppDelegate.cpp in Sources */, + 04208E9C1C37F25200EEE9DE /* GameOverLayer.cpp in Sources */, + 46880B8A19C43A87006E1F66 /* HelloWorldScene.cpp in Sources */, + 04208EA01C37F25200EEE9DE /* PlayLayer.cpp in Sources */, + 04208E981C37F25200EEE9DE /* Bullet.cpp in Sources */, + 04208E9F1C37F25200EEE9DE /* MyUtility.cpp in Sources */, + 503AE10017EB989F00D1A890 /* AppController.mm in Sources */, + 04208E9E1C37F25200EEE9DE /* HomeLayer.cpp in Sources */, + 503AE10217EB989F00D1A890 /* RootViewController.mm in Sources */, + 04208EA11C37F25200EEE9DE /* SettingLayer.cpp in Sources */, + 04208E971C37F25200EEE9DE /* BaseLayer.cpp in Sources */, + 503AE10117EB989F00D1A890 /* main.m in Sources */, + 04208E9B1C37F25200EEE9DE /* Fighter.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75617EB910900C73F5D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 46880B8919C43A87006E1F66 /* AppDelegate.cpp in Sources */, + 503AE10517EB98FF00D1A890 /* main.cpp in Sources */, + 46880B8B19C43A87006E1F66 /* HelloWorldScene.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 1D6058940D05DD3E006BFB54 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COMPRESS_PNG_FILES = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ios/Prefix.pch; + GCC_PREPROCESSOR_DEFINITIONS = ( + USE_FILE32API, + CC_TARGET_OS_IPHONE, + "COCOS2D_DEBUG=1", + "CC_ENABLE_CHIPMUNK_INTEGRATION=1", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/platform/ios", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = " /Applications/Cocos/frameworks/cocos2d-x-3.8.1/prebuilt/ios"; + OTHER_LDFLAGS = ( + "$(_COCOS_LIB_IOS_BEGIN)", + "$(_COCOS_LIB_IOS_END)", + ); + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(_COCOS_HEADER_IOS_BEGIN) $(_COCOS_HEADER_IOS_END)"; + VALID_ARCHS = "arm64 armv7"; + }; + name = Debug; + }; + 1D6058950D05DD3E006BFB54 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COMPRESS_PNG_FILES = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ios/Prefix.pch; + GCC_PREPROCESSOR_DEFINITIONS = ( + USE_FILE32API, + CC_TARGET_OS_IPHONE, + "CC_ENABLE_CHIPMUNK_INTEGRATION=1", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/platform/ios", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = " /Applications/Cocos/frameworks/cocos2d-x-3.8.1/prebuilt/ios"; + OTHER_LDFLAGS = ( + "$(_COCOS_LIB_IOS_BEGIN)", + "$(_COCOS_LIB_IOS_END)", + ); + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = "$(_COCOS_HEADER_IOS_BEGIN) $(_COCOS_HEADER_IOS_END)"; + VALID_ARCHS = "arm64 armv7"; + }; + name = Release; + }; + 5087E76D17EB910900C73F5D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; + CLANG_CXX_LIBRARY = "libc++"; + GCC_DYNAMIC_NO_PIC = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = mac/Prefix.pch; + GCC_PREPROCESSOR_DEFINITIONS = ( + USE_FILE32API, + CC_TARGET_OS_MAC, + "COCOS2D_DEBUG=1", + "CC_ENABLE_CHIPMUNK_INTEGRATION=1", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/platform/mac", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = " /Applications/Cocos/frameworks/cocos2d-x-3.8.1/prebuilt/mac"; + OTHER_LDFLAGS = ( + "$(_COCOS_LIB_MAC_BEGIN)", + "$(_COCOS_LIB_MAC_END)", + ); + USER_HEADER_SEARCH_PATHS = "$(_COCOS_HEADER_MAC_BEGIN) $(_COCOS_HEADER_MAC_END)"; + }; + name = Debug; + }; + 5087E76E17EB910900C73F5D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = YES; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; + CLANG_CXX_LIBRARY = "libc++"; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = mac/Prefix.pch; + GCC_PREPROCESSOR_DEFINITIONS = ( + USE_FILE32API, + CC_TARGET_OS_MAC, + "CC_ENABLE_CHIPMUNK_INTEGRATION=1", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "$(inherited)", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/platform/mac", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = " /Applications/Cocos/frameworks/cocos2d-x-3.8.1/prebuilt/mac"; + OTHER_LDFLAGS = ( + "$(_COCOS_LIB_MAC_BEGIN)", + "$(_COCOS_LIB_MAC_END)", + ); + USER_HEADER_SEARCH_PATHS = "$(_COCOS_HEADER_MAC_BEGIN) $(_COCOS_HEADER_MAC_END)"; + }; + name = Release; + }; + C01FCF4F08A954540054247B /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; + CLANG_CXX_LIBRARY = "libc++"; + COPY_PHASE_STRIP = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/base", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/physics", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/math", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/2d", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/ui", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/network", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/audio/include", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/editor-support", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/extensions", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/external", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/external/chipmunk/include/chipmunk", + ); + MACOSX_DEPLOYMENT_TARGET = 10.7; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + }; + name = Debug; + }; + C01FCF5008A954540054247B /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_CXX_LANGUAGE_STANDARD = "c++0x"; + CLANG_CXX_LIBRARY = "libc++"; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/base", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/physics", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/math", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/2d", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/ui", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/network", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/audio/include", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/cocos/editor-support", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/extensions", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/external", + "/Applications/Cocos/frameworks/cocos2d-x-3.8.1/external/chipmunk/include/chipmunk", + ); + MACOSX_DEPLOYMENT_TARGET = 10.7; + OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "CocosProject1-mobile" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1D6058940D05DD3E006BFB54 /* Debug */, + 1D6058950D05DD3E006BFB54 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "CocosProject1-desktop" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5087E76D17EB910900C73F5D /* Debug */, + 5087E76E17EB910900C73F5D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "CocosProject1" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/CocosProject1.xcodeproj/project.xcworkspace/contents.xcworkspacedata" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/CocosProject1.xcodeproj/project.xcworkspace/contents.xcworkspacedata" new file mode 100755 index 00000000..919434a6 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/CocosProject1.xcodeproj/project.xcworkspace/contents.xcworkspacedata" @@ -0,0 +1,7 @@ + + + + + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/AppController.h" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/AppController.h" new file mode 100755 index 00000000..978e6e36 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/AppController.h" @@ -0,0 +1,12 @@ +#import + +@class RootViewController; + +@interface AppController : NSObject { + UIWindow *window; +} + +@property(nonatomic, readonly) RootViewController* viewController; + +@end + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/AppController.mm" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/AppController.mm" new file mode 100755 index 00000000..4bb313aa --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/AppController.mm" @@ -0,0 +1,149 @@ +/**************************************************************************** + Copyright (c) 2010 cocos2d-x.org + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ + +#import "AppController.h" +#import "platform/ios/CCEAGLView-ios.h" +#import "cocos2d.h" +#import "AppDelegate.h" +#import "RootViewController.h" + +@implementation AppController + +#pragma mark - +#pragma mark Application lifecycle + +// cocos2d application instance +static AppDelegate s_sharedApplication; + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { + + cocos2d::Application *app = cocos2d::Application::getInstance(); + app->initGLContextAttrs(); + cocos2d::GLViewImpl::convertAttrs(); + + // Override point for customization after application launch. + + // Add the view controller's view to the window and display. + window = [[UIWindow alloc] initWithFrame: [[UIScreen mainScreen] bounds]]; + + // Init the CCEAGLView + CCEAGLView *eaglView = [CCEAGLView viewWithFrame: [window bounds] + pixelFormat: (NSString*)cocos2d::GLViewImpl::_pixelFormat + depthFormat: cocos2d::GLViewImpl::_depthFormat + preserveBackbuffer: NO + sharegroup: nil + multiSampling: NO + numberOfSamples: 0 ]; + + // Enable or disable multiple touches + [eaglView setMultipleTouchEnabled:NO]; + + // Use RootViewController manage CCEAGLView + _viewController = [[RootViewController alloc] initWithNibName:nil bundle:nil]; + _viewController.wantsFullScreenLayout = YES; + _viewController.view = eaglView; + + // Set RootViewController to window + if ( [[UIDevice currentDevice].systemVersion floatValue] < 6.0) + { + // warning: addSubView doesn't work on iOS6 + [window addSubview: _viewController.view]; + } + else + { + // use this method on ios6 + [window setRootViewController:_viewController]; + } + + [window makeKeyAndVisible]; + + [[UIApplication sharedApplication] setStatusBarHidden:true]; + + // IMPORTANT: Setting the GLView should be done after creating the RootViewController + cocos2d::GLView *glview = cocos2d::GLViewImpl::createWithEAGLView(eaglView); + cocos2d::Director::getInstance()->setOpenGLView(glview); + + app->run(); + + return YES; +} + + +- (void)applicationWillResignActive:(UIApplication *)application { + /* + Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. + */ + //We don't need to call this method any more. It will interupt user defined game pause&resume logic + /* cocos2d::Director::getInstance()->pause(); */ +} + +- (void)applicationDidBecomeActive:(UIApplication *)application { + /* + Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. + */ + //We don't need to call this method any more. It will interupt user defined game pause&resume logic + /* cocos2d::Director::getInstance()->resume(); */ +} + +- (void)applicationDidEnterBackground:(UIApplication *)application { + /* + Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + If your application supports background execution, called instead of applicationWillTerminate: when the user quits. + */ + cocos2d::Application::getInstance()->applicationDidEnterBackground(); +} + +- (void)applicationWillEnterForeground:(UIApplication *)application { + /* + Called as part of transition from the background to the inactive state: here you can undo many of the changes made on entering the background. + */ + cocos2d::Application::getInstance()->applicationWillEnterForeground(); +} + +- (void)applicationWillTerminate:(UIApplication *)application { + /* + Called when the application is about to terminate. + See also applicationDidEnterBackground:. + */ +} + + +#pragma mark - +#pragma mark Memory management + +- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application { + /* + Free up as much memory as possible by purging cached data objects that can be recreated (or reloaded from disk) later. + */ +} + + +- (void)dealloc { + [window release]; + [super dealloc]; +} + + +@end diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Default-568h@2x.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Default-568h@2x.png" new file mode 100755 index 00000000..7924e605 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Default-568h@2x.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Default-667h@2x.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Default-667h@2x.png" new file mode 100755 index 00000000..6f57cc58 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Default-667h@2x.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Default-736h@3x.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Default-736h@3x.png" new file mode 100755 index 00000000..ad40878b Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Default-736h@3x.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Default.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Default.png" new file mode 100755 index 00000000..f6e91a45 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Default.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Default@2x.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Default@2x.png" new file mode 100755 index 00000000..2f210249 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Default@2x.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-100.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-100.png" new file mode 100755 index 00000000..ef38d450 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-100.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-114.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-114.png" new file mode 100755 index 00000000..c3807861 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-114.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-120.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-120.png" new file mode 100755 index 00000000..a5b49ccb Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-120.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-144.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-144.png" new file mode 100755 index 00000000..1526615c Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-144.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-152.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-152.png" new file mode 100755 index 00000000..8aa82506 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-152.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-29.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-29.png" new file mode 100755 index 00000000..0500184c Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-29.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-40.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-40.png" new file mode 100755 index 00000000..775685da Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-40.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-50.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-50.png" new file mode 100755 index 00000000..ac381bc2 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-50.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-57.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-57.png" new file mode 100755 index 00000000..4fcc6fdd Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-57.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-58.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-58.png" new file mode 100755 index 00000000..f0f8b7fe Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-58.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-72.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-72.png" new file mode 100755 index 00000000..2c573c8d Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-72.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-76.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-76.png" new file mode 100755 index 00000000..8a1fa185 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-76.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-80.png" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-80.png" new file mode 100755 index 00000000..d9c7ab44 Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Icon-80.png" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Info.plist" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Info.plist" new file mode 100755 index 00000000..6509fb9f --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Info.plist" @@ -0,0 +1,153 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + Icon-57.png + CFBundleIconFiles + + Icon-29 + Icon-80 + Icon-58 + Icon-120 + Icon.png + Icon@2x.png + Icon-57.png + Icon-114.png + Icon-72.png + Icon-144.png + + CFBundleIconFiles~ipad + + Icon-29 + Icon-50 + Icon-58 + Icon-80 + Icon-40 + Icon-100 + Icon-152 + Icon-76 + Icon-120 + Icon.png + Icon@2x.png + Icon-57.png + Icon-114.png + Icon-72.png + Icon-144.png + + CFBundleIdentifier + org.cocos.CocosProject1 + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 1.0 + UILaunchImages + + + UILaunchImageMinimumOSVersion + 8.0 + UILaunchImageName + Default + UILaunchImageOrientation + Portrait + UILaunchImageSize + {320, 480} + + + UILaunchImageMinimumOSVersion + 8.0 + UILaunchImageName + Default + UILaunchImageOrientation + Landscape + UILaunchImageSize + {320, 480} + + + UILaunchImageMinimumOSVersion + 8.0 + UILaunchImageName + Default-568h + UILaunchImageOrientation + Portrait + UILaunchImageSize + {320, 568} + + + UILaunchImageMinimumOSVersion + 8.0 + UILaunchImageName + Default-568h + UILaunchImageOrientation + Landscape + UILaunchImageSize + {320, 568} + + + UILaunchImageMinimumOSVersion + 8.0 + UILaunchImageName + Default-667h + UILaunchImageOrientation + Portrait + UILaunchImageSize + {375, 667} + + + UILaunchImageMinimumOSVersion + 8.0 + UILaunchImageName + Default-667h + UILaunchImageOrientation + Landscape + UILaunchImageSize + {375, 667} + + + UILaunchImageMinimumOSVersion + 8.0 + UILaunchImageName + Default-736h + UILaunchImageOrientation + Portrait + UILaunchImageSize + {414, 736} + + + UILaunchImageMinimumOSVersion + 8.0 + UILaunchImageName + Default-736h + UILaunchImageOrientation + Landscape + UILaunchImageSize + {414, 736} + + + LSRequiresIPhoneOS + + UIAppFonts + + UIPrerenderedIcon + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + + + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Prefix.pch" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Prefix.pch" new file mode 100755 index 00000000..3da08ad7 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/Prefix.pch" @@ -0,0 +1,12 @@ +// +// Prefix header for all source files of the 'iphone' target in the 'iphone' project +// + +#ifdef __OBJC__ + #import + #import +#endif + +#ifdef __cplusplus + #include "cocos2d.h" +#endif \ No newline at end of file diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/RootViewController.h" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/RootViewController.h" new file mode 100755 index 00000000..a1669019 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/RootViewController.h" @@ -0,0 +1,34 @@ +/**************************************************************************** + Copyright (c) 2013 cocos2d-x.org + Copyright (c) 2013-2014 Chukong Technologies Inc. + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ + +#import + + +@interface RootViewController : UIViewController { + +} +- (BOOL) prefersStatusBarHidden; + +@end diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/RootViewController.mm" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/RootViewController.mm" new file mode 100755 index 00000000..c4989af5 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/RootViewController.mm" @@ -0,0 +1,114 @@ +/**************************************************************************** + Copyright (c) 2013 cocos2d-x.org + Copyright (c) 2013-2014 Chukong Technologies Inc. + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ + +#import "RootViewController.h" +#import "cocos2d.h" +#import "platform/ios/CCEAGLView-ios.h" + +@implementation RootViewController + +/* + // The designated initializer. Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad. +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { + if ((self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil])) { + // Custom initialization + } + return self; +} +*/ + +/* +// Implement loadView to create a view hierarchy programmatically, without using a nib. +- (void)loadView { +} +*/ + +/* +// Implement viewDidLoad to do additional setup after loading the view, typically from a nib. +- (void)viewDidLoad { + [super viewDidLoad]; +} + +*/ +// Override to allow orientations other than the default portrait orientation. +// This method is deprecated on ios6 +- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { + return UIInterfaceOrientationIsLandscape( interfaceOrientation ); +} + +// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead +- (NSUInteger) supportedInterfaceOrientations{ +#ifdef __IPHONE_6_0 + return UIInterfaceOrientationMaskAllButUpsideDown; +#endif +} + +- (BOOL) shouldAutorotate { + return YES; +} + +- (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation { + [super didRotateFromInterfaceOrientation:fromInterfaceOrientation]; + + auto glview = cocos2d::Director::getInstance()->getOpenGLView(); + + if (glview) + { + CCEAGLView *eaglview = (CCEAGLView*) glview->getEAGLView(); + + if (eaglview) + { + CGSize s = CGSizeMake([eaglview getWidth], [eaglview getHeight]); + cocos2d::Application::getInstance()->applicationScreenSizeChanged((int) s.width, (int) s.height); + } + } +} + +//fix not hide status on ios7 +- (BOOL)prefersStatusBarHidden +{ + return YES; +} + +- (void)didReceiveMemoryWarning { + // Releases the view if it doesn't have a superview. + [super didReceiveMemoryWarning]; + + // Release any cached data, images, etc that aren't in use. +} + +- (void)viewDidUnload { + [super viewDidUnload]; + // Release any retained subviews of the main view. + // e.g. self.myOutlet = nil; +} + + +- (void)dealloc { + [super dealloc]; +} + + +@end diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/main.m" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/main.m" new file mode 100755 index 00000000..8daa43e0 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/ios/main.m" @@ -0,0 +1,9 @@ +#import + +int main(int argc, char *argv[]) { + + NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; + int retVal = UIApplicationMain(argc, argv, nil, @"AppController"); + [pool release]; + return retVal; +} diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/mac/Icon.icns" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/mac/Icon.icns" new file mode 100755 index 00000000..2040fc6f Binary files /dev/null and "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/mac/Icon.icns" differ diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/mac/Info.plist" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/mac/Info.plist" new file mode 100755 index 00000000..6f355f65 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/mac/Info.plist" @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + Icon + CFBundleIdentifier + org.cocos.CocosProject1 + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSApplicationCategoryType + public.app-category.games + LSMinimumSystemVersion + ${MACOSX_DEPLOYMENT_TARGET} + NSHumanReadableCopyright + Copyright 漏 2013. All rights reserved. + NSMainNibFile + MainMenu + NSPrincipalClass + NSApplication + + diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/mac/Prefix.pch" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/mac/Prefix.pch" new file mode 100755 index 00000000..aa71e766 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/mac/Prefix.pch" @@ -0,0 +1,11 @@ +// +// Prefix header for all source files of the 'Paralaxer' target in the 'Paralaxer' project +// + +#ifdef __OBJC__ + #import +#endif + +#ifdef __cplusplus + #include "cocos2d.h" +#endif \ No newline at end of file diff --git "a/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/mac/main.cpp" "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/mac/main.cpp" new file mode 100755 index 00000000..96f027e1 --- /dev/null +++ "b/nb15126\346\233\276\347\220\263/\345\244\247\344\275\234\344\270\232/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270_\346\233\276\347\220\263_NB15126/\350\277\267\345\244\261\350\210\252\347\272\277\346\211\213\346\270\270\344\273\243\347\240\201_\346\233\276\347\220\263_NB15126/proj.ios_mac/mac/main.cpp" @@ -0,0 +1,34 @@ +/**************************************************************************** + Copyright (c) 2010 cocos2d-x.org + + http://www.cocos2d-x.org + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + ****************************************************************************/ + +#include "AppDelegate.h" +#include "cocos2d.h" + +USING_NS_CC; + +int main(int argc, char *argv[]) +{ + AppDelegate app; + return Application::getInstance()->run(); +}