diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a78451e --- /dev/null +++ b/.gitignore @@ -0,0 +1,97 @@ +# Ignore CocoStudio Export folder +Backup/ +Export/ +Ruler/ +PList.Dir + +# Ignore thumbnails created by windows +Thumbs.db + +# Ignore files build by Visual Studio +*.obj +*.exe +*.pdb +*.aps +*.vcproj.*.user +*.vspscc +*_i.c +*.i +*.icf +*_p.c +*.ncb +*.suo +*.tlb +*.tlh +*.bak +*.cache +*.ilk +*.log +[Bb]in +[Dd]ebug*/ +*.sbr +*.sdf +obj/ +[Rr]elease*/ +_ReSharper*/ +[Tt]est[Rr]esult* +ipch/ +*.opensdf + +# Ignore files build by ndk and eclipse +libs/ +bin/ +obj/ +gen/ +assets/ +local.properties + +# Ignore files built by NaCl +samples/Cpp/HelloCpp/proj.nacl/Resources/ +samples/Cpp/TestCpp/proj.nacl/Resources/ +samples/Cpp/TestCpp/proj.nacl/out/ +samples/Cpp/SimpleGame/proj.nacl/Resources/ +samples/Lua/HelloLua/proj.nacl/Resources/ +samples/Lua/TestLua/proj.nacl/Resources/ + +# Ignore python compiled files +*.pyc + +# Ignore files build by airplay and marmalade +build_*_xcode/ +build_*_vc10/ + +# Ignore files build by xcode +*.mode*v* +*.pbxuser +*.xcbkptlist +*.xcscheme +*.xcworkspacedata +*.xcuserstate +xcschememanagement.plist +build/ +.DS_Store +._.* +xcuserdata/ +DerivedData/ +*.xcworkspace + +# Ignore files built by bada +.Simulator-Debug/ +.Target-Debug/ +.Target-Release/ + +# Ignore files built by blackberry +Simulator/ +Device-Debug/ +Device-Release/ + +# Ignore vim swaps +*.swp + +# Ignore config files in javascript bindings generator +tools/tojs/user.cfg +# ... userconf.ini generated if running from tools/tojs +tools/tojs/userconf.ini +# ... userconf.ini generated if running from tools/jenkins_scripts/mac/android/ +tools/jenkins_scripts/mac/android/userconf.ini + diff --git a/DemoBag/cocos2d/readme b/DemoBag/cocos2d/readme new file mode 100644 index 0000000..00bfca5 --- /dev/null +++ b/DemoBag/cocos2d/readme @@ -0,0 +1 @@ +put cocos2d here what in a project created by create_project.py \ No newline at end of file diff --git a/DemoCowboyGame/cocos2d/readme b/DemoCowboyGame/cocos2d/readme new file mode 100644 index 0000000..00bfca5 --- /dev/null +++ b/DemoCowboyGame/cocos2d/readme @@ -0,0 +1 @@ +put cocos2d here what in a project created by create_project.py \ No newline at end of file diff --git a/DemoFishingJoy/cocos2d/readme b/DemoFishingJoy/cocos2d/readme new file mode 100644 index 0000000..00bfca5 --- /dev/null +++ b/DemoFishingJoy/cocos2d/readme @@ -0,0 +1 @@ +put cocos2d here what in a project created by create_project.py \ No newline at end of file diff --git a/DemoGameScene/cocos2d/readme b/DemoGameScene/cocos2d/readme new file mode 100644 index 0000000..00bfca5 --- /dev/null +++ b/DemoGameScene/cocos2d/readme @@ -0,0 +1 @@ +put cocos2d here what in a project created by create_project.py \ No newline at end of file diff --git a/DemoLogin/cocos2d/readme b/DemoLogin/cocos2d/readme new file mode 100644 index 0000000..00bfca5 --- /dev/null +++ b/DemoLogin/cocos2d/readme @@ -0,0 +1 @@ +put cocos2d here what in a project created by create_project.py \ No newline at end of file diff --git a/DemoMap/CMakeLists.txt b/DemoMap/CMakeLists.txt new file mode 100644 index 0000000..82a8f20 --- /dev/null +++ b/DemoMap/CMakeLists.txt @@ -0,0 +1,169 @@ +cmake_minimum_required(VERSION 2.6) + +set(APP_NAME MyGame) +project (${APP_NAME}) + +include(cocos2d/build/BuildHelpers.CMakeLists.txt) + +option(USE_CHIPMUNK "Use chipmunk for physics library" ON) +option(USE_BOX2D "Use box2d for physics library" OFF) +option(DEBUG_MODE "Debug or release?" ON) + +if(DEBUG_MODE) + set(CMAKE_BUILD_TYPE DEBUG) +else(DEBUG_MODE) + set(CMAKE_BUILD_TYPE RELEASE) +endif(DEBUG_MODE) + +set(CMAKE_C_FLAGS_DEBUG "-g -Wall -DCOCOS2D_DEBUG=1") +set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) + +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + +if(USE_CHIPMUNK) + message("Using chipmunk ...") + add_definitions(-DLINUX -DCC_ENABLE_CHIPMUNK_INTEGRATION=1) +elseif(USE_BOX2D) + message("Using box2d ...") + add_definitions(-DLINUX -DCC_ENABLE_BOX2D_INTEGRATION=1) +else(USE_CHIPMUNK) + message(FATAL_ERROR "Must choose a physics library.") +endif(USE_CHIPMUNK) + +# architecture +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(ARCH_DIR "64-bit") +else() +set(ARCH_DIR "32-bit") +endif() + + +set(GAME_SRC + proj.linux/main.cpp + Classes/AppDelegate.cpp + Classes/HelloWorldScene.cpp +) + +set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/cocos2d) + +include_directories( + /usr/local/include/GLFW + ${COCOS2D_ROOT} + ${COCOS2D_ROOT}/cocos + ${COCOS2D_ROOT}/cocos/audio/include + ${COCOS2D_ROOT}/cocos/2d + ${COCOS2D_ROOT}/cocos/2d/renderer + ${COCOS2D_ROOT}/cocos/2d/platform + ${COCOS2D_ROOT}/cocos/2d/platform/desktop + ${COCOS2D_ROOT}/cocos/2d/platform/linux + ${COCOS2D_ROOT}/cocos/base + ${COCOS2D_ROOT}/cocos/physics + ${COCOS2D_ROOT}/cocos/editor-support + ${COCOS2D_ROOT}/cocos/math/kazmath/include + ${COCOS2D_ROOT}/extensions + ${COCOS2D_ROOT}/external + ${COCOS2D_ROOT}/external/edtaa3func + ${COCOS2D_ROOT}/external/jpeg/include/linux + ${COCOS2D_ROOT}/external/tiff/include/linux + ${COCOS2D_ROOT}/external/webp/include/linux + ${COCOS2D_ROOT}/external/tinyxml2 + ${COCOS2D_ROOT}/external/unzip + ${COCOS2D_ROOT}/external/chipmunk/include/chipmunk + ${COCOS2D_ROOT}/external/freetype2/include/linux + ${COCOS2D_ROOT}/external/websockets/include/linux + ${COCOS2D_ROOT}/external/spidermonkey/include/linux + ${COCOS2D_ROOT}/external/linux-specific/fmod/include/${ARCH_DIR} +) + +link_directories( + /usr/local/lib + ${COCOS2D_ROOT}/external/jpeg/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/tiff/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/webp/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/freetype2/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/websockets/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/spidermonkey/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/linux-specific/fmod/prebuilt/${ARCH_DIR} +) + +# kazmath +add_subdirectory(${COCOS2D_ROOT}/cocos/math/kazmath) + +# chipmunk library +add_subdirectory(${COCOS2D_ROOT}/external/chipmunk/src) + +# box2d library +add_subdirectory(${COCOS2D_ROOT}/external/Box2D) + +# unzip library +add_subdirectory(${COCOS2D_ROOT}/external/unzip) + +# tinyxml2 library +add_subdirectory(${COCOS2D_ROOT}/external/tinyxml2) + +# audio +add_subdirectory(${COCOS2D_ROOT}/cocos/audio) + +# cocos base library +add_subdirectory(${COCOS2D_ROOT}/cocos/base) + +# cocos 2d library +add_subdirectory(${COCOS2D_ROOT}/cocos/2d) + +# cocos storage +add_subdirectory(${COCOS2D_ROOT}/cocos/storage) + +# gui +add_subdirectory(${COCOS2D_ROOT}/cocos/gui) + +# network +add_subdirectory(${COCOS2D_ROOT}/cocos/network) + +# extensions +add_subdirectory(${COCOS2D_ROOT}/extensions) + +## Editor Support + +# spine +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/spine) + +# cocosbuilder +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocosbuilder) + +# cocostudio +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocostudio) + +# add the executable +add_executable(${APP_NAME} + ${GAME_SRC} +) + +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(FMOD_LIB "fmodex64") +else() +set(FMOD_LIB "fmodex") +endif() + +target_link_libraries(${APP_NAME} + gui + network + storage + spine + cocostudio + cocosbuilder + extensions + audio + cocos2d + ) + +set(APP_BIN_DIR "${CMAKE_BINARY_DIR}/bin") + +set_target_properties(${APP_NAME} PROPERTIES + RUNTIME_OUTPUT_DIRECTORY "${APP_BIN_DIR}") + +pre_build(${APP_NAME} + COMMAND ${CMAKE_COMMAND} -E remove_directory ${APP_BIN_DIR}/Resources + COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/Resources ${APP_BIN_DIR}/Resources + ) + diff --git a/DemoMap/Classes/AppDelegate.cpp b/DemoMap/Classes/AppDelegate.cpp new file mode 100644 index 0000000..948f059 --- /dev/null +++ b/DemoMap/Classes/AppDelegate.cpp @@ -0,0 +1,72 @@ +#include "AppDelegate.h" +#include "HelloWorldScene.h" +#include "CocosGUIExamplesMapScene.h" + +USING_NS_CC; + +AppDelegate::AppDelegate() { + +} + +AppDelegate::~AppDelegate() +{ +} + +bool AppDelegate::applicationDidFinishLaunching() { + // initialize director + auto director = Director::getInstance(); + auto glview = director->getOpenGLView(); + if(!glview) { + glview = GLView::create("My Game"); + director->setOpenGLView(glview); + } + + // turn on display FPS + director->setDisplayStats(true); + + // set FPS. the default value is 1.0/60 if you don't call this + director->setAnimationInterval(1.0 / 60); + + auto screenSize = glview->getFrameSize(); + + auto designSize = Size(480, 320); + + auto fileUtils = FileUtils::getInstance(); + std::vector searchPaths; + + if (screenSize.height > 320) + { + auto resourceSize = Size(960, 640); + searchPaths.push_back("hd"); + director->setContentScaleFactor(resourceSize.height/designSize.height); + } + + fileUtils->setSearchPaths(searchPaths); + + // glview->setDesignResolutionSize(screenSize.width, screenSize.height, ResolutionPolicy::NO_BORDER); + glview->setDesignResolutionSize(designSize.width, designSize.height, ResolutionPolicy::NO_BORDER); + + // create a scene. it's an autorelease object + auto scene = new CocosGUIExamplesMapScene(); + scene->autorelease(); + // 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::sharedEngine()->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::sharedEngine()->resumeBackgroundMusic(); +} diff --git a/DemoMap/Classes/AppDelegate.h b/DemoMap/Classes/AppDelegate.h new file mode 100644 index 0000000..01cbb7c --- /dev/null +++ b/DemoMap/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/DemoMap/Classes/CocosGUIExamplesMapScene.cpp b/DemoMap/Classes/CocosGUIExamplesMapScene.cpp new file mode 100644 index 0000000..6ff4b99 --- /dev/null +++ b/DemoMap/Classes/CocosGUIExamplesMapScene.cpp @@ -0,0 +1,152 @@ + + +#include "CocosGUIExamplesMapScene.h" +#include "cocostudio/CCSSceneReader.h" +#include "cocostudio/CCSGUIReader.h" +#include "cocostudio/CCActionManagerEx.h" + +const char* buildPngPaths[4] = +{ + "cocosgui/gui_examples/DemoMap/purple_ball1.png", + "cocosgui/gui_examples/DemoMap/blue1.png", + "cocosgui/gui_examples/DemoMap/orange1.png", + "cocosgui/gui_examples/DemoMap/blue_ball1.png", +}; + +const char* buildNames[4] = +{ + "purple", + "blue star", + "orange", + "blue ball", +}; + +CocosGUIExamplesMapScene::CocosGUIExamplesMapScene() +{ + CCScene::init(); +} + +CocosGUIExamplesMapScene::~CocosGUIExamplesMapScene() +{ + +} + +void CocosGUIExamplesMapScene::onEnter() +{ + CCScene::onEnter(); + + m_pUILayer = Layer::create(); + m_pUILayer->scheduleUpdate(); + addChild(m_pUILayer); + + MapInit(); + MapAlertInit(); +} + +void CocosGUIExamplesMapScene::onExit() +{ + m_pUILayer->removeFromParent(); + + cocostudio::SceneReader::destroyInstance(); + cocostudio::GUIReader::destroyInstance(); + cocostudio::ActionManagerEx::destroyInstance(); + + CCScene::onExit(); +} + +void CocosGUIExamplesMapScene::menuCloseCallback(Ref* pSender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + CCDirector::getInstance()->end(); + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + exit(0); +#endif + } +} + +void CocosGUIExamplesMapScene::MapInit() +{ + // map root from json + _root = static_cast(cocostudio::GUIReader::getInstance()->widgetFromJsonFile("cocosgui/gui_examples/DemoMap/DemoMap.json")); + + m_pUILayer->addChild(_root); + + // build button on map root + Layout* button_layout = static_cast(Helper::seekWidgetByName(_root, "button_Panel")); + + for (int i = 0; i < button_layout->getChildren().size(); ++i) + { + Button* build_button = static_cast(button_layout->getChildren().at(i)); + build_button->setTag(MAP_BUTTON_TAG + i); + build_button->addTouchEventListener(this, toucheventselector(CocosGUIExamplesMapScene::buildTouchEvent)); + } + + // back button + Button* back_button = static_cast(Helper::seekWidgetByName(_root, "back_Button")); + back_button->addTouchEventListener(this, toucheventselector(CocosGUIExamplesMapScene::menuCloseCallback)); +} + +void CocosGUIExamplesMapScene::buildTouchEvent(Ref *pSender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + Button* build_button = dynamic_cast(pSender); + + Layout* alert_panel = dynamic_cast(Helper::seekWidgetByName(_root, "alert_Panel")); + alert_panel->setVisible(true); + + ImageView* alert_imageview = dynamic_cast(alert_panel->getChildByName("alert_ImageView")); + int index = build_button->getTag() - MAP_BUTTON_TAG; + alert_imageview->loadTexture(buildPngPaths[index]); + + Text* alert_label = dynamic_cast(alert_panel->getChildByName("alert_Label")); + alert_label->setColor(Color3B::BLACK); + alert_label->setTextHorizontalAlignment(TextHAlignment::CENTER); + alert_label->setTextVerticalAlignment(TextVAlignment::CENTER); + alert_label->setText(buildNames[index]); + + // drag panel + ui::ScrollView* dragPanel = static_cast(Helper::seekWidgetByName(_root, "DragPanel")); + dragPanel->setTouchEnabled(false); + + // build button on map root + Layout* button_layout = static_cast(Helper::seekWidgetByName(_root, "button_Panel")); + for (auto& obj : button_layout->getChildren()) + { + Button* build_button = static_cast(obj); + build_button->setTouchEnabled(false); + } + } +} + +void CocosGUIExamplesMapScene::MapAlertInit() +{ + // map alert from json + Layout* alert_panel = static_cast(Helper::seekWidgetByName(_root, "alert_Panel")); + + Button* close_button = static_cast(alert_panel->getChildByName("close_Button")); + close_button->addTouchEventListener(this, toucheventselector(CocosGUIExamplesMapScene::MapAlertClose)); +} + +void CocosGUIExamplesMapScene::MapAlertClose(Ref* pSender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + Layout* map_alert_root = static_cast(Helper::seekWidgetByName(_root, "alert_Panel")); + map_alert_root->setVisible(false); + + // drag panel + ui::ScrollView* dragPanel = static_cast(Helper::seekWidgetByName(_root, "DragPanel")); + dragPanel->setTouchEnabled(true); + + // build button on map root + Layout* button_layout = static_cast(Helper::seekWidgetByName(_root, "button_Panel")); + for (auto& obj : button_layout->getChildren()) + { + Button* build_button = static_cast(obj); + build_button->setTouchEnabled(true); + } + } +} diff --git a/DemoMap/Classes/CocosGUIExamplesMapScene.h b/DemoMap/Classes/CocosGUIExamplesMapScene.h new file mode 100644 index 0000000..1b0a86e --- /dev/null +++ b/DemoMap/Classes/CocosGUIExamplesMapScene.h @@ -0,0 +1,64 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__CocosGUIExamplesMapScene__ +#define __TestCpp__CocosGUIExamplesMapScene__ + +#include "cocos2d.h" +#include "cocos-ext.h" +#include "gui/CocosGUI.H" + +USING_NS_CC; +USING_NS_CC_EXT; +using namespace ui; + +#define MAP_BUTTON_TAG 1000 + +class CocosGUIExamplesMapScene : public Scene +{ +public: + CocosGUIExamplesMapScene(); + ~CocosGUIExamplesMapScene(); + + virtual void onEnter(); + virtual void onExit(); + +protected: + // a selector callback + void menuCloseCallback(Ref* pSender, TouchEventType type); + + // map + void MapInit(); + void buildTouchEvent(Ref* pSender, TouchEventType type); + + // map alert + void MapAlertInit(); + void MapAlertClose(Ref* pSender, TouchEventType type); + +protected: + Layer* m_pUILayer; + Layout* _root; +}; + +#endif /* defined(__TestCpp__CocosGUIExamplesMapScene__) */ diff --git a/DemoMap/Classes/HelloWorldScene.cpp b/DemoMap/Classes/HelloWorldScene.cpp new file mode 100644 index 0000000..cdd15a5 --- /dev/null +++ b/DemoMap/Classes/HelloWorldScene.cpp @@ -0,0 +1,86 @@ +#include "HelloWorldScene.h" + +USING_NS_CC; + +Scene* HelloWorld::createScene() +{ + // 'scene' is an autorelease object + 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(); + Point origin = Director::getInstance()->getVisibleOrigin(); + + ///////////////////////////// + // 2. add a menu item with "X" image, which is clicked to quit the program + // you may modify it. + + // add a "close" icon to exit the progress. it's an autorelease object + auto closeItem = MenuItemImage::create( + "CloseNormal.png", + "CloseSelected.png", + CC_CALLBACK_1(HelloWorld::menuCloseCallback, this)); + + closeItem->setPosition(Point(origin.x + visibleSize.width - closeItem->getContentSize().width/2 , + origin.y + closeItem->getContentSize().height/2)); + + // create menu, it's an autorelease object + auto menu = Menu::create(closeItem, NULL); + menu->setPosition(Point::ZERO); + this->addChild(menu, 1); + + ///////////////////////////// + // 3. add your codes below... + + // add a label shows "Hello World" + // create and initialize a label + + auto label = LabelTTF::create("Hello World", "Arial", 24); + + // position the label on the center of the screen + label->setPosition(Point(origin.x + visibleSize.width/2, + origin.y + visibleSize.height - label->getContentSize().height)); + + // add the label as a child to this layer + this->addChild(label, 1); + + // add "HelloWorld" splash screen" + auto sprite = Sprite::create("HelloWorld.png"); + + // position the sprite on the center of the screen + sprite->setPosition(Point(visibleSize.width/2 + origin.x, visibleSize.height/2 + origin.y)); + + // add the sprite as a child to this layer + this->addChild(sprite, 0); + + return true; +} + + +void HelloWorld::menuCloseCallback(Ref* pSender) +{ + Director::getInstance()->end(); + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + exit(0); +#endif +} diff --git a/DemoMap/Classes/HelloWorldScene.h b/DemoMap/Classes/HelloWorldScene.h new file mode 100644 index 0000000..3473313 --- /dev/null +++ b/DemoMap/Classes/HelloWorldScene.h @@ -0,0 +1,22 @@ +#ifndef __HELLOWORLD_SCENE_H__ +#define __HELLOWORLD_SCENE_H__ + +#include "cocos2d.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(); + + // a selector callback + void menuCloseCallback(cocos2d::Ref* pSender); + + // implement the "static create()" method manually + CREATE_FUNC(HelloWorld); +}; + +#endif // __HELLOWORLD_SCENE_H__ diff --git a/DemoMap/DemoMap_editor/DemoMap.xml.ui b/DemoMap/DemoMap_editor/DemoMap.xml.ui new file mode 100644 index 0000000..9cf7561 --- /dev/null +++ b/DemoMap/DemoMap_editor/DemoMap.xml.ui @@ -0,0 +1,20 @@ + + + D:\工作\2013\DemoMap_editor\DemoMap.xml.ui + 1.2.0.1 + DemoMap + D:\工作\2013\DemoMap_editor + DemoMap.json + D:\工作\2013\DemoMap_editor\Resources + D:\工作\2013\DemoMap_editor\Json + + DemoMap.json + + + .json + DemoMap.json + + 480 + 320 + + \ No newline at end of file diff --git a/DemoMap/DemoMap_editor/Json/DemoMap.json b/DemoMap/DemoMap_editor/Json/DemoMap.json new file mode 100644 index 0000000..584f292 --- /dev/null +++ b/DemoMap/DemoMap_editor/Json/DemoMap.json @@ -0,0 +1,1026 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "dataScale": 1, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "1.2.0.1", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "bg_ImageView", + "ZOrder": 0, + "actiontag": 35, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 100, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": -1.405, + "positionPercentY": -0.71, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1.5, + "sizePercentY": 0.5, + "sizeType": 0, + "tag": 15, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 300, + "x": -281, + "y": -142, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "alert_bg.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": true, + "scale9Height": 100, + "scale9Width": 300 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "close_Button", + "ZOrder": 0, + "actiontag": 36, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 40, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": -0.785, + "positionPercentY": -0.565, + "positionType": 0, + "rotation": 0, + "scaleX": 0.75, + "scaleY": 0.75, + "sizePercentX": 0.31, + "sizePercentY": 0.2, + "sizeType": 0, + "tag": 16, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 62, + "x": -157, + "y": -113, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "close1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "close2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": true, + "scale9Height": 40, + "scale9Width": 62, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "alert_ImageView", + "ZOrder": 0, + "actiontag": 37, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 148, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": -1.845, + "positionPercentY": -0.72, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4, + "sizePercentY": 0.4, + "sizeType": 0, + "tag": 17, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 419, + "x": -369, + "y": -144, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "alert_bg.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 148, + "scale9Width": 419 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "alert_Label", + "ZOrder": 0, + "actiontag": 38, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": -1.29, + "positionPercentY": -0.72, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.475, + "sizePercentY": 0.135, + "sizeType": 0, + "tag": 18, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": -258, + "y": -144, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "宋体", + "fontSize": 20, + "hAlignment": 0, + "text": "Text Label", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "alert_Panel", + "ZOrder": 3, + "actiontag": 34, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 1.08541667, + "positionPercentY": 0.9, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.416666657, + "sizePercentY": 0.625, + "sizeType": 0, + "tag": 14, + "touchAble": false, + "useMergedTexture": false, + "visible": false, + "width": 200, + "x": 521, + "y": 288, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "back_Button", + "ZOrder": 0, + "actiontag": 30, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 16, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.495145619, + "positionPercentY": 0.084375, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.25, + "sizePercentY": 0.125, + "sizeType": 0, + "tag": 10, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 55, + "x": 204, + "y": 27, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "button1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 11, + "fontType": 0, + "normal": null, + "normalData": { + "path": "button1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "button2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 16, + "scale9Width": 55, + "text": "Back", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "title_Label", + "ZOrder": 0, + "actiontag": 51, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.490291268, + "positionPercentY": 0.909375, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.23058252, + "sizePercentY": 0.084375, + "sizeType": 0, + "tag": 19, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 202, + "y": 291, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 13, + "hAlignment": 0, + "text": "Map", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "box_Panel", + "ZOrder": 2, + "actiontag": 29, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.06875, + "positionPercentY": 0, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.858333349, + "sizePercentY": 1, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 412, + "x": 33, + "y": 0, + "backGroundImage": null, + "backGroundImageData": { + "path": "box.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "ScrollView", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "map_ImageView", + "ZOrder": 0, + "actiontag": 40, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 419, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.500956, + "positionPercentY": 0.50358, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.152963668, + "sizePercentY": 0.190930784, + "sizeType": 0, + "tag": 18, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 523, + "x": 262, + "y": 211, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "map.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 419, + "scale9Width": 523 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "purple_Button", + "ZOrder": 0, + "actiontag": 25, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 74, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.3040153, + "positionPercentY": 0.489260137, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.19694072, + "sizePercentY": 0.09546539, + "sizeType": 0, + "tag": 5, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 80, + "x": 159, + "y": 205, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "purple_ball1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "purple_ball1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "purple_ball2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 74, + "scale9Width": 80, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "blue star_Button", + "ZOrder": 0, + "actiontag": 26, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 68, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.497131944, + "positionPercentY": 0.3293556, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.19694072, + "sizePercentY": 0.09546539, + "sizeType": 0, + "tag": 6, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 68, + "x": 260, + "y": 138, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "blue1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "blue1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "blue2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 68, + "scale9Width": 68, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "orange_Button", + "ZOrder": 0, + "actiontag": 27, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 75, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8413002, + "positionPercentY": 0.3078759, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.19694072, + "sizePercentY": 0.09546539, + "sizeType": 0, + "tag": 7, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 75, + "x": 440, + "y": 129, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "orange1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "orange1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "orange2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 75, + "scale9Width": 75, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "blue ball_Button", + "ZOrder": 0, + "actiontag": 28, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 77, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.791587, + "positionPercentY": 0.701670647, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.19694072, + "sizePercentY": 0.09546539, + "sizeType": 0, + "tag": 8, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 80, + "x": 414, + "y": 294, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "blue_ball1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "blue_ball1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "blue_ball2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 77, + "scale9Width": 80, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "button_Panel", + "ZOrder": 0, + "actiontag": 33, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 419, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.00191204587, + "positionPercentY": 0.00477327, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1, + "sizePercentY": 1, + "sizeType": 0, + "tag": 13, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 523, + "x": 1, + "y": 2, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIScrollViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ScrollView", + "name": "DragPanel", + "ZOrder": 1, + "actiontag": 39, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 253, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.104166664, + "positionPercentY": 0.078125, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.7875, + "sizePercentY": 0.790625, + "sizeType": 0, + "tag": 17, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 378, + "x": 50, + "y": 25, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 102, + "bgColorOpacity": 100, + "bgColorR": 187, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 213, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "bounceEnable": false, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": true, + "colorType": 1, + "direction": 3, + "innerHeight": 419, + "innerWidth": 523, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.01, + "sizePercentY": 0.01, + "sizeType": 0, + "tag": 16, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "y": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/DemoMap/DemoMap_editor/Resources/Heiti12.fnt b/DemoMap/DemoMap_editor/Resources/Heiti12.fnt new file mode 100644 index 0000000..6f326d9 --- /dev/null +++ b/DemoMap/DemoMap_editor/Resources/Heiti12.fnt @@ -0,0 +1,99 @@ +info face="STHeitiSC-Light" size=12 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=2,2 +common lineHeight=12 base=10 scaleW=256 scaleH=128 pages=1 packed=0 +page id=0 file="Heiti12.png" +chars count=95 +char id=36 x=2 y=2 width=11 height=16 xoffset=0 yoffset=-3 xadvance=6 page=0 chnl=0 letter="$" +char id=123 x=15 y=2 width=8 height=16 xoffset=0 yoffset=-2 xadvance=4 page=0 chnl=0 letter="{" +char id=125 x=25 y=2 width=8 height=16 xoffset=0 yoffset=-2 xadvance=4 page=0 chnl=0 letter="}" +char id=41 x=35 y=2 width=7 height=16 xoffset=1 yoffset=-2 xadvance=4 page=0 chnl=0 letter=")" +char id=40 x=44 y=2 width=6 height=16 xoffset=2 yoffset=-2 xadvance=4 page=0 chnl=0 letter="(" +char id=93 x=52 y=2 width=6 height=16 xoffset=1 yoffset=-2 xadvance=4 page=0 chnl=0 letter="]" +char id=91 x=60 y=2 width=6 height=16 xoffset=2 yoffset=-2 xadvance=4 page=0 chnl=0 letter="[" +char id=124 x=68 y=2 width=5 height=16 xoffset=2 yoffset=-1 xadvance=6 page=0 chnl=0 letter="|" +char id=106 x=75 y=2 width=6 height=15 xoffset=0 yoffset=-1 xadvance=2 page=0 chnl=0 letter="j" +char id=71 x=83 y=2 width=14 height=14 xoffset=1 yoffset=-1 xadvance=10 page=0 chnl=0 letter="G" +char id=79 x=99 y=2 width=14 height=14 xoffset=1 yoffset=-1 xadvance=10 page=0 chnl=0 letter="O" +char id=37 x=115 y=2 width=13 height=14 xoffset=0 yoffset=-1 xadvance=9 page=0 chnl=0 letter="%" +char id=64 x=130 y=2 width=13 height=14 xoffset=1 yoffset=-1 xadvance=10 page=0 chnl=0 letter="@" +char id=81 x=145 y=2 width=13 height=14 xoffset=1 yoffset=-1 xadvance=10 page=0 chnl=0 letter="Q" +char id=67 x=160 y=2 width=13 height=14 xoffset=1 yoffset=-1 xadvance=10 page=0 chnl=0 letter="C" +char id=68 x=175 y=2 width=12 height=14 xoffset=1 yoffset=-1 xadvance=9 page=0 chnl=0 letter="D" +char id=38 x=189 y=2 width=12 height=14 xoffset=1 yoffset=-1 xadvance=9 page=0 chnl=0 letter="&" +char id=100 x=203 y=2 width=11 height=14 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="d" +char id=98 x=216 y=2 width=11 height=14 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="b" +char id=92 x=229 y=2 width=11 height=14 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="\" +char id=56 x=242 y=2 width=11 height=14 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="8" +char id=48 x=2 y=20 width=11 height=14 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="0" +char id=51 x=15 y=20 width=11 height=14 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="3" +char id=50 x=28 y=20 width=10 height=14 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="2" +char id=104 x=40 y=20 width=10 height=14 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="h" +char id=85 x=52 y=20 width=10 height=14 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="U" +char id=53 x=64 y=20 width=10 height=14 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="5" +char id=57 x=76 y=20 width=10 height=14 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="9" +char id=54 x=88 y=20 width=10 height=14 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="6" +char id=82 x=100 y=20 width=10 height=14 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="R" +char id=80 x=112 y=20 width=10 height=14 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="P" +char id=63 x=124 y=20 width=10 height=14 xoffset=0 yoffset=-1 xadvance=6 page=0 chnl=0 letter="?" +char id=66 x=136 y=20 width=10 height=14 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="B" +char id=83 x=148 y=20 width=9 height=14 xoffset=0 yoffset=-1 xadvance=6 page=0 chnl=0 letter="S" +char id=47 x=159 y=20 width=9 height=14 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="/" +char id=74 x=170 y=20 width=9 height=14 xoffset=1 yoffset=-1 xadvance=6 page=0 chnl=0 letter="J" +char id=116 x=181 y=20 width=8 height=14 xoffset=1 yoffset=-1 xadvance=4 page=0 chnl=0 letter="t" +char id=102 x=191 y=20 width=8 height=14 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="f" +char id=33 x=201 y=20 width=6 height=14 xoffset=1 yoffset=-1 xadvance=4 page=0 chnl=0 letter="!" +char id=105 x=209 y=20 width=6 height=14 xoffset=1 yoffset=-1 xadvance=2 page=0 chnl=0 letter="i" +char id=87 x=217 y=20 width=15 height=13 xoffset=1 yoffset=-1 xadvance=12 page=0 chnl=0 letter="W" +char id=77 x=234 y=20 width=14 height=13 xoffset=1 yoffset=-1 xadvance=11 page=0 chnl=0 letter="M" +char id=65 x=2 y=36 width=13 height=13 xoffset=0 yoffset=-1 xadvance=9 page=0 chnl=0 letter="A" +char id=86 x=17 y=36 width=12 height=13 xoffset=0 yoffset=-1 xadvance=8 page=0 chnl=0 letter="V" +char id=113 x=31 y=36 width=11 height=13 xoffset=1 yoffset=2 xadvance=8 page=0 chnl=0 letter="q" +char id=103 x=44 y=36 width=11 height=13 xoffset=1 yoffset=2 xadvance=8 page=0 chnl=0 letter="g" +char id=112 x=57 y=36 width=11 height=13 xoffset=1 yoffset=2 xadvance=8 page=0 chnl=0 letter="p" +char id=78 x=70 y=36 width=11 height=13 xoffset=1 yoffset=-1 xadvance=9 page=0 chnl=0 letter="N" +char id=35 x=83 y=36 width=11 height=13 xoffset=1 yoffset=-1 xadvance=9 page=0 chnl=0 letter="#" +char id=88 x=96 y=36 width=11 height=13 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="X" +char id=89 x=109 y=36 width=11 height=13 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="Y" +char id=72 x=122 y=36 width=11 height=13 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="H" +char id=52 x=135 y=36 width=10 height=13 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="4" +char id=121 x=147 y=36 width=10 height=13 xoffset=0 yoffset=2 xadvance=6 page=0 chnl=0 letter="y" +char id=75 x=159 y=36 width=10 height=13 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="K" +char id=55 x=171 y=36 width=10 height=13 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="7" +char id=107 x=183 y=36 width=9 height=13 xoffset=1 yoffset=-1 xadvance=6 page=0 chnl=0 letter="k" +char id=69 x=194 y=36 width=9 height=13 xoffset=1 yoffset=-1 xadvance=6 page=0 chnl=0 letter="E" +char id=90 x=205 y=36 width=9 height=13 xoffset=0 yoffset=-1 xadvance=6 page=0 chnl=0 letter="Z" +char id=84 x=216 y=36 width=9 height=13 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="T" +char id=70 x=227 y=36 width=9 height=13 xoffset=1 yoffset=-1 xadvance=6 page=0 chnl=0 letter="F" +char id=76 x=238 y=36 width=9 height=13 xoffset=1 yoffset=-1 xadvance=6 page=0 chnl=0 letter="L" +char id=49 x=2 y=51 width=7 height=13 xoffset=2 yoffset=-1 xadvance=7 page=0 chnl=0 letter="1" +char id=73 x=11 y=51 width=5 height=13 xoffset=1 yoffset=-1 xadvance=3 page=0 chnl=0 letter="I" +char id=108 x=18 y=51 width=5 height=13 xoffset=1 yoffset=-1 xadvance=2 page=0 chnl=0 letter="l" +char id=109 x=25 y=51 width=14 height=12 xoffset=1 yoffset=1 xadvance=11 page=0 chnl=0 letter="m" +char id=97 x=41 y=51 width=11 height=12 xoffset=1 yoffset=1 xadvance=8 page=0 chnl=0 letter="a" +char id=111 x=54 y=51 width=11 height=12 xoffset=1 yoffset=1 xadvance=8 page=0 chnl=0 letter="o" +char id=101 x=67 y=51 width=11 height=12 xoffset=1 yoffset=1 xadvance=8 page=0 chnl=0 letter="e" +char id=99 x=80 y=51 width=11 height=12 xoffset=1 yoffset=1 xadvance=8 page=0 chnl=0 letter="c" +char id=110 x=93 y=51 width=10 height=12 xoffset=1 yoffset=1 xadvance=7 page=0 chnl=0 letter="n" +char id=117 x=105 y=51 width=10 height=12 xoffset=1 yoffset=1 xadvance=7 page=0 chnl=0 letter="u" +char id=115 x=117 y=51 width=8 height=12 xoffset=0 yoffset=1 xadvance=5 page=0 chnl=0 letter="s" +char id=114 x=127 y=51 width=7 height=12 xoffset=1 yoffset=1 xadvance=4 page=0 chnl=0 letter="r" +char id=59 x=136 y=51 width=6 height=12 xoffset=1 yoffset=1 xadvance=3 page=0 chnl=0 letter=";" +char id=58 x=144 y=51 width=6 height=12 xoffset=1 yoffset=1 xadvance=3 page=0 chnl=0 letter=":" +char id=119 x=152 y=51 width=14 height=11 xoffset=0 yoffset=1 xadvance=10 page=0 chnl=0 letter="w" +char id=94 x=168 y=51 width=11 height=11 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="^" +char id=60 x=181 y=51 width=11 height=11 xoffset=1 yoffset=0 xadvance=7 page=0 chnl=0 letter="<" +char id=118 x=194 y=51 width=10 height=11 xoffset=0 yoffset=1 xadvance=7 page=0 chnl=0 letter="v" +char id=62 x=206 y=51 width=10 height=11 xoffset=1 yoffset=0 xadvance=7 page=0 chnl=0 letter=">" +char id=120 x=218 y=51 width=10 height=11 xoffset=0 yoffset=1 xadvance=6 page=0 chnl=0 letter="x" +char id=122 x=230 y=51 width=9 height=11 xoffset=0 yoffset=1 xadvance=5 page=0 chnl=0 letter="z" +char id=43 x=241 y=51 width=10 height=10 xoffset=1 yoffset=1 xadvance=7 page=0 chnl=0 letter="+" +char id=42 x=2 y=66 width=8 height=9 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="*" +char id=61 x=12 y=66 width=10 height=8 xoffset=1 yoffset=2 xadvance=7 page=0 chnl=0 letter="=" +char id=34 x=24 y=66 width=8 height=7 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter=""" +char id=44 x=34 y=66 width=6 height=7 xoffset=1 yoffset=6 xadvance=3 page=0 chnl=0 letter="," +char id=39 x=42 y=66 width=5 height=7 xoffset=1 yoffset=-1 xadvance=2 page=0 chnl=0 letter="'" +char id=126 x=49 y=66 width=10 height=6 xoffset=1 yoffset=3 xadvance=7 page=0 chnl=0 letter="~" +char id=96 x=61 y=66 width=7 height=6 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="`" +char id=46 x=70 y=66 width=6 height=6 xoffset=1 yoffset=7 xadvance=3 page=0 chnl=0 letter="." +char id=95 x=78 y=66 width=10 height=5 xoffset=0 yoffset=9 xadvance=6 page=0 chnl=0 letter="_" +char id=45 x=90 y=66 width=8 height=5 xoffset=0 yoffset=4 xadvance=4 page=0 chnl=0 letter="-" +char id=32 x=100 y=66 width=0 height=0 xoffset=3 yoffset=30 xadvance=3 page=0 chnl=0 letter="space" diff --git a/DemoMap/DemoMap_editor/Resources/Heiti12.png b/DemoMap/DemoMap_editor/Resources/Heiti12.png new file mode 100644 index 0000000..0b91b0e Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/Heiti12.png differ diff --git a/DemoMap/DemoMap_editor/Resources/Heiti16.fnt b/DemoMap/DemoMap_editor/Resources/Heiti16.fnt new file mode 100644 index 0000000..cf1164d --- /dev/null +++ b/DemoMap/DemoMap_editor/Resources/Heiti16.fnt @@ -0,0 +1,99 @@ +info face="STHeitiSC-Light" size=16 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=2,2 +common lineHeight=16 base=14 scaleW=256 scaleH=128 pages=1 packed=0 +page id=0 file="Heiti16.png" +chars count=95 +char id=123 x=2 y=2 width=9 height=20 xoffset=1 yoffset=-1 xadvance=6 page=0 chnl=0 letter="{" +char id=125 x=13 y=2 width=9 height=20 xoffset=1 yoffset=-1 xadvance=6 page=0 chnl=0 letter="}" +char id=41 x=24 y=2 width=7 height=20 xoffset=1 yoffset=-1 xadvance=6 page=0 chnl=0 letter=")" +char id=40 x=33 y=2 width=7 height=20 xoffset=2 yoffset=-1 xadvance=6 page=0 chnl=0 letter="(" +char id=124 x=42 y=2 width=6 height=20 xoffset=3 yoffset=-1 xadvance=8 page=0 chnl=0 letter="|" +char id=36 x=50 y=2 width=13 height=19 xoffset=0 yoffset=-1 xadvance=9 page=0 chnl=0 letter="$" +char id=93 x=65 y=2 width=7 height=19 xoffset=1 yoffset=-0 xadvance=6 page=0 chnl=0 letter="]" +char id=91 x=74 y=2 width=7 height=19 xoffset=2 yoffset=-0 xadvance=6 page=0 chnl=0 letter="[" +char id=106 x=83 y=2 width=7 height=19 xoffset=0 yoffset=-0 xadvance=3 page=0 chnl=0 letter="j" +char id=92 x=92 y=2 width=13 height=18 xoffset=1 yoffset=-0 xadvance=10 page=0 chnl=0 letter="\" +char id=47 x=107 y=2 width=10 height=18 xoffset=1 yoffset=-0 xadvance=7 page=0 chnl=0 letter="/" +char id=71 x=119 y=2 width=17 height=17 xoffset=1 yoffset=-0 xadvance=14 page=0 chnl=0 letter="G" +char id=79 x=138 y=2 width=17 height=17 xoffset=1 yoffset=-0 xadvance=14 page=0 chnl=0 letter="O" +char id=81 x=157 y=2 width=17 height=17 xoffset=1 yoffset=-0 xadvance=14 page=0 chnl=0 letter="Q" +char id=37 x=176 y=2 width=16 height=17 xoffset=0 yoffset=-0 xadvance=12 page=0 chnl=0 letter="%" +char id=64 x=194 y=2 width=16 height=17 xoffset=1 yoffset=-0 xadvance=14 page=0 chnl=0 letter="@" +char id=67 x=212 y=2 width=16 height=17 xoffset=1 yoffset=-0 xadvance=13 page=0 chnl=0 letter="C" +char id=38 x=230 y=2 width=15 height=17 xoffset=1 yoffset=-0 xadvance=12 page=0 chnl=0 letter="&" +char id=68 x=2 y=24 width=14 height=17 xoffset=1 yoffset=-0 xadvance=12 page=0 chnl=0 letter="D" +char id=100 x=18 y=24 width=14 height=17 xoffset=1 yoffset=-0 xadvance=11 page=0 chnl=0 letter="d" +char id=98 x=34 y=24 width=13 height=17 xoffset=1 yoffset=-0 xadvance=11 page=0 chnl=0 letter="b" +char id=56 x=49 y=24 width=13 height=17 xoffset=1 yoffset=-0 xadvance=9 page=0 chnl=0 letter="8" +char id=85 x=64 y=24 width=13 height=17 xoffset=1 yoffset=-0 xadvance=10 page=0 chnl=0 letter="U" +char id=48 x=79 y=24 width=12 height=17 xoffset=1 yoffset=-0 xadvance=9 page=0 chnl=0 letter="0" +char id=51 x=93 y=24 width=12 height=17 xoffset=1 yoffset=-0 xadvance=9 page=0 chnl=0 letter="3" +char id=50 x=107 y=24 width=12 height=17 xoffset=0 yoffset=-0 xadvance=9 page=0 chnl=0 letter="2" +char id=57 x=121 y=24 width=12 height=17 xoffset=1 yoffset=-0 xadvance=9 page=0 chnl=0 letter="9" +char id=54 x=135 y=24 width=12 height=17 xoffset=1 yoffset=-0 xadvance=9 page=0 chnl=0 letter="6" +char id=53 x=149 y=24 width=12 height=17 xoffset=1 yoffset=-0 xadvance=9 page=0 chnl=0 letter="5" +char id=83 x=163 y=24 width=11 height=17 xoffset=0 yoffset=-0 xadvance=8 page=0 chnl=0 letter="S" +char id=66 x=176 y=24 width=11 height=17 xoffset=1 yoffset=-0 xadvance=9 page=0 chnl=0 letter="B" +char id=74 x=189 y=24 width=11 height=17 xoffset=1 yoffset=-0 xadvance=8 page=0 chnl=0 letter="J" +char id=116 x=202 y=24 width=9 height=17 xoffset=1 yoffset=-0 xadvance=5 page=0 chnl=0 letter="t" +char id=33 x=213 y=24 width=6 height=17 xoffset=1 yoffset=-0 xadvance=5 page=0 chnl=0 letter="!" +char id=87 x=221 y=24 width=18 height=16 xoffset=1 yoffset=-0 xadvance=15 page=0 chnl=0 letter="W" +char id=77 x=2 y=43 width=17 height=16 xoffset=1 yoffset=-0 xadvance=15 page=0 chnl=0 letter="M" +char id=65 x=21 y=43 width=15 height=16 xoffset=0 yoffset=-0 xadvance=12 page=0 chnl=0 letter="A" +char id=86 x=38 y=43 width=15 height=16 xoffset=1 yoffset=-0 xadvance=11 page=0 chnl=0 letter="V" +char id=113 x=55 y=43 width=14 height=16 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 letter="q" +char id=78 x=71 y=43 width=14 height=16 xoffset=1 yoffset=-0 xadvance=12 page=0 chnl=0 letter="N" +char id=103 x=87 y=43 width=13 height=16 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 letter="g" +char id=112 x=102 y=43 width=13 height=16 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 letter="p" +char id=35 x=117 y=43 width=13 height=16 xoffset=1 yoffset=-0 xadvance=12 page=0 chnl=0 letter="#" +char id=88 x=132 y=43 width=13 height=16 xoffset=1 yoffset=-0 xadvance=10 page=0 chnl=0 letter="X" +char id=89 x=147 y=43 width=13 height=16 xoffset=0 yoffset=-0 xadvance=9 page=0 chnl=0 letter="Y" +char id=72 x=162 y=43 width=13 height=16 xoffset=1 yoffset=-0 xadvance=11 page=0 chnl=0 letter="H" +char id=104 x=177 y=43 width=12 height=16 xoffset=1 yoffset=-0 xadvance=10 page=0 chnl=0 letter="h" +char id=82 x=191 y=43 width=12 height=16 xoffset=1 yoffset=-0 xadvance=10 page=0 chnl=0 letter="R" +char id=80 x=205 y=43 width=12 height=16 xoffset=1 yoffset=-0 xadvance=9 page=0 chnl=0 letter="P" +char id=55 x=219 y=43 width=12 height=16 xoffset=1 yoffset=-0 xadvance=9 page=0 chnl=0 letter="7" +char id=52 x=233 y=43 width=12 height=16 xoffset=0 yoffset=-0 xadvance=9 page=0 chnl=0 letter="4" +char id=121 x=2 y=61 width=12 height=16 xoffset=0 yoffset=3 xadvance=9 page=0 chnl=0 letter="y" +char id=75 x=16 y=61 width=12 height=16 xoffset=1 yoffset=-0 xadvance=9 page=0 chnl=0 letter="K" +char id=107 x=30 y=61 width=11 height=16 xoffset=1 yoffset=-0 xadvance=8 page=0 chnl=0 letter="k" +char id=63 x=43 y=61 width=11 height=16 xoffset=0 yoffset=-0 xadvance=8 page=0 chnl=0 letter="?" +char id=69 x=56 y=61 width=11 height=16 xoffset=1 yoffset=-0 xadvance=9 page=0 chnl=0 letter="E" +char id=90 x=69 y=61 width=11 height=16 xoffset=0 yoffset=-0 xadvance=8 page=0 chnl=0 letter="Z" +char id=84 x=82 y=61 width=11 height=16 xoffset=0 yoffset=-0 xadvance=7 page=0 chnl=0 letter="T" +char id=70 x=95 y=61 width=10 height=16 xoffset=1 yoffset=-0 xadvance=8 page=0 chnl=0 letter="F" +char id=76 x=107 y=61 width=10 height=16 xoffset=1 yoffset=-0 xadvance=7 page=0 chnl=0 letter="L" +char id=102 x=119 y=61 width=9 height=16 xoffset=1 yoffset=-0 xadvance=5 page=0 chnl=0 letter="f" +char id=49 x=130 y=61 width=7 height=16 xoffset=2 yoffset=-0 xadvance=9 page=0 chnl=0 letter="1" +char id=105 x=139 y=61 width=6 height=16 xoffset=1 yoffset=-0 xadvance=3 page=0 chnl=0 letter="i" +char id=108 x=147 y=61 width=6 height=16 xoffset=1 yoffset=-0 xadvance=3 page=0 chnl=0 letter="l" +char id=73 x=155 y=61 width=6 height=16 xoffset=1 yoffset=-0 xadvance=4 page=0 chnl=0 letter="I" +char id=59 x=163 y=61 width=7 height=15 xoffset=1 yoffset=2 xadvance=4 page=0 chnl=0 letter=";" +char id=97 x=172 y=61 width=14 height=14 xoffset=1 yoffset=3 xadvance=11 page=0 chnl=0 letter="a" +char id=111 x=188 y=61 width=13 height=14 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 letter="o" +char id=101 x=203 y=61 width=13 height=14 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 letter="e" +char id=99 x=218 y=61 width=13 height=14 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 letter="c" +char id=117 x=233 y=61 width=12 height=14 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 letter="u" +char id=115 x=2 y=79 width=10 height=14 xoffset=0 yoffset=3 xadvance=6 page=0 chnl=0 letter="s" +char id=58 x=14 y=79 width=6 height=14 xoffset=1 yoffset=3 xadvance=4 page=0 chnl=0 letter=":" +char id=119 x=22 y=79 width=18 height=13 xoffset=0 yoffset=3 xadvance=13 page=0 chnl=0 letter="w" +char id=109 x=42 y=79 width=17 height=13 xoffset=1 yoffset=3 xadvance=15 page=0 chnl=0 letter="m" +char id=94 x=61 y=79 width=13 height=13 xoffset=1 yoffset=-0 xadvance=11 page=0 chnl=0 letter="^" +char id=60 x=76 y=79 width=13 height=13 xoffset=1 yoffset=1 xadvance=10 page=0 chnl=0 letter="<" +char id=62 x=91 y=79 width=13 height=13 xoffset=1 yoffset=1 xadvance=10 page=0 chnl=0 letter=">" +char id=110 x=106 y=79 width=12 height=13 xoffset=1 yoffset=3 xadvance=10 page=0 chnl=0 letter="n" +char id=118 x=120 y=79 width=12 height=13 xoffset=0 yoffset=3 xadvance=9 page=0 chnl=0 letter="v" +char id=120 x=134 y=79 width=12 height=13 xoffset=0 yoffset=3 xadvance=8 page=0 chnl=0 letter="x" +char id=122 x=148 y=79 width=11 height=13 xoffset=0 yoffset=3 xadvance=7 page=0 chnl=0 letter="z" +char id=114 x=161 y=79 width=8 height=13 xoffset=1 yoffset=3 xadvance=5 page=0 chnl=0 letter="r" +char id=43 x=171 y=79 width=12 height=12 xoffset=1 yoffset=2 xadvance=10 page=0 chnl=0 letter="+" +char id=42 x=185 y=79 width=10 height=10 xoffset=1 yoffset=-0 xadvance=7 page=0 chnl=0 letter="*" +char id=61 x=197 y=79 width=12 height=9 xoffset=1 yoffset=4 xadvance=10 page=0 chnl=0 letter="=" +char id=34 x=211 y=79 width=9 height=8 xoffset=0 yoffset=-0 xadvance=5 page=0 chnl=0 letter=""" +char id=44 x=222 y=79 width=7 height=8 xoffset=1 yoffset=9 xadvance=4 page=0 chnl=0 letter="," +char id=39 x=231 y=79 width=6 height=8 xoffset=1 yoffset=-0 xadvance=3 page=0 chnl=0 letter="'" +char id=126 x=239 y=79 width=12 height=7 xoffset=1 yoffset=5 xadvance=10 page=0 chnl=0 letter="~" +char id=96 x=2 y=95 width=8 height=7 xoffset=1 yoffset=-1 xadvance=6 page=0 chnl=0 letter="`" +char id=46 x=12 y=95 width=6 height=7 xoffset=1 yoffset=10 xadvance=4 page=0 chnl=0 letter="." +char id=45 x=20 y=95 width=9 height=6 xoffset=1 yoffset=6 xadvance=5 page=0 chnl=0 letter="-" +char id=95 x=31 y=95 width=12 height=5 xoffset=0 yoffset=13 xadvance=8 page=0 chnl=0 letter="_" +char id=32 x=45 y=95 width=0 height=0 xoffset=4 yoffset=34 xadvance=4 page=0 chnl=0 letter="space" diff --git a/DemoMap/DemoMap_editor/Resources/Heiti16.png b/DemoMap/DemoMap_editor/Resources/Heiti16.png new file mode 100644 index 0000000..6cbc2ee Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/Heiti16.png differ diff --git a/DemoMap/DemoMap_editor/Resources/Heiti9.fnt b/DemoMap/DemoMap_editor/Resources/Heiti9.fnt new file mode 100644 index 0000000..813bb8a --- /dev/null +++ b/DemoMap/DemoMap_editor/Resources/Heiti9.fnt @@ -0,0 +1,99 @@ +info face="STHeitiSC-Light" size=9 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=2,2 +common lineHeight=9 base=8 scaleW=128 scaleH=128 pages=1 packed=0 +page id=0 file="Heiti9.png" +chars count=95 +char id=36 x=2 y=2 width=9 height=13 xoffset=0 yoffset=-2 xadvance=5 page=0 chnl=0 letter="$" +char id=123 x=13 y=2 width=7 height=13 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="{" +char id=125 x=22 y=2 width=7 height=13 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="}" +char id=41 x=31 y=2 width=6 height=13 xoffset=1 yoffset=-1 xadvance=3 page=0 chnl=0 letter=")" +char id=40 x=39 y=2 width=6 height=13 xoffset=1 yoffset=-1 xadvance=3 page=0 chnl=0 letter="(" +char id=93 x=47 y=2 width=6 height=13 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="]" +char id=91 x=55 y=2 width=6 height=13 xoffset=1 yoffset=-1 xadvance=3 page=0 chnl=0 letter="[" +char id=106 x=63 y=2 width=6 height=13 xoffset=0 yoffset=-1 xadvance=2 page=0 chnl=0 letter="j" +char id=124 x=71 y=2 width=5 height=13 xoffset=2 yoffset=-1 xadvance=4 page=0 chnl=0 letter="|" +char id=79 x=78 y=2 width=12 height=12 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="O" +char id=81 x=92 y=2 width=12 height=12 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="Q" +char id=37 x=106 y=2 width=11 height=12 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="%" +char id=64 x=2 y=17 width=11 height=12 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="@" +char id=71 x=15 y=17 width=11 height=12 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="G" +char id=67 x=28 y=17 width=11 height=12 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="C" +char id=68 x=41 y=17 width=10 height=12 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="D" +char id=92 x=53 y=17 width=9 height=12 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="\" +char id=100 x=64 y=17 width=9 height=12 xoffset=0 yoffset=-1 xadvance=6 page=0 chnl=0 letter="d" +char id=98 x=75 y=17 width=9 height=12 xoffset=1 yoffset=-1 xadvance=6 page=0 chnl=0 letter="b" +char id=56 x=86 y=17 width=9 height=12 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="8" +char id=48 x=97 y=17 width=9 height=12 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="0" +char id=51 x=108 y=17 width=9 height=12 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="3" +char id=50 x=2 y=31 width=9 height=12 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="2" +char id=104 x=13 y=31 width=9 height=12 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="h" +char id=53 x=24 y=31 width=9 height=12 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="5" +char id=47 x=35 y=31 width=8 height=12 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="/" +char id=57 x=45 y=31 width=8 height=12 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="9" +char id=54 x=55 y=31 width=8 height=12 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="6" +char id=82 x=65 y=31 width=8 height=12 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="R" +char id=80 x=75 y=31 width=8 height=12 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="P" +char id=63 x=85 y=31 width=8 height=12 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="?" +char id=66 x=95 y=31 width=8 height=12 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="B" +char id=83 x=105 y=31 width=8 height=12 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="S" +char id=116 x=115 y=31 width=7 height=12 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="t" +char id=102 x=2 y=45 width=7 height=12 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="f" +char id=33 x=11 y=45 width=5 height=12 xoffset=1 yoffset=-1 xadvance=3 page=0 chnl=0 letter="!" +char id=105 x=18 y=45 width=5 height=12 xoffset=0 yoffset=-1 xadvance=2 page=0 chnl=0 letter="i" +char id=87 x=25 y=45 width=12 height=11 xoffset=0 yoffset=-0 xadvance=9 page=0 chnl=0 letter="W" +char id=77 x=39 y=45 width=12 height=11 xoffset=0 yoffset=-1 xadvance=8 page=0 chnl=0 letter="M" +char id=65 x=53 y=45 width=11 height=11 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="A" +char id=38 x=66 y=45 width=10 height=11 xoffset=1 yoffset=-0 xadvance=7 page=0 chnl=0 letter="&" +char id=86 x=78 y=45 width=10 height=11 xoffset=0 yoffset=-0 xadvance=6 page=0 chnl=0 letter="V" +char id=78 x=90 y=45 width=10 height=11 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="N" +char id=113 x=102 y=45 width=9 height=11 xoffset=0 yoffset=1 xadvance=6 page=0 chnl=0 letter="q" +char id=103 x=113 y=45 width=9 height=11 xoffset=1 yoffset=1 xadvance=6 page=0 chnl=0 letter="g" +char id=112 x=2 y=59 width=9 height=11 xoffset=1 yoffset=1 xadvance=6 page=0 chnl=0 letter="p" +char id=35 x=13 y=59 width=9 height=11 xoffset=1 yoffset=-1 xadvance=6 page=0 chnl=0 letter="#" +char id=88 x=24 y=59 width=9 height=11 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="X" +char id=89 x=35 y=59 width=9 height=11 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="Y" +char id=72 x=46 y=59 width=9 height=11 xoffset=1 yoffset=-1 xadvance=6 page=0 chnl=0 letter="H" +char id=85 x=57 y=59 width=9 height=11 xoffset=1 yoffset=-0 xadvance=6 page=0 chnl=0 letter="U" +char id=52 x=68 y=59 width=9 height=11 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="4" +char id=121 x=79 y=59 width=9 height=11 xoffset=0 yoffset=1 xadvance=5 page=0 chnl=0 letter="y" +char id=75 x=90 y=59 width=9 height=11 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="K" +char id=55 x=101 y=59 width=8 height=11 xoffset=1 yoffset=-0 xadvance=5 page=0 chnl=0 letter="7" +char id=107 x=111 y=59 width=8 height=11 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="k" +char id=69 x=2 y=72 width=8 height=11 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="E" +char id=74 x=12 y=72 width=8 height=11 xoffset=0 yoffset=-0 xadvance=4 page=0 chnl=0 letter="J" +char id=90 x=22 y=72 width=8 height=11 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="Z" +char id=84 x=32 y=72 width=8 height=11 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="T" +char id=70 x=42 y=72 width=8 height=11 xoffset=1 yoffset=-1 xadvance=4 page=0 chnl=0 letter="F" +char id=76 x=52 y=72 width=8 height=11 xoffset=1 yoffset=-1 xadvance=4 page=0 chnl=0 letter="L" +char id=49 x=62 y=72 width=6 height=11 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="1" +char id=108 x=70 y=72 width=5 height=11 xoffset=1 yoffset=-1 xadvance=2 page=0 chnl=0 letter="l" +char id=73 x=77 y=72 width=5 height=11 xoffset=1 yoffset=-1 xadvance=2 page=0 chnl=0 letter="I" +char id=109 x=84 y=72 width=12 height=10 xoffset=1 yoffset=1 xadvance=8 page=0 chnl=0 letter="m" +char id=97 x=98 y=72 width=9 height=10 xoffset=0 yoffset=1 xadvance=6 page=0 chnl=0 letter="a" +char id=111 x=109 y=72 width=9 height=10 xoffset=0 yoffset=1 xadvance=6 page=0 chnl=0 letter="o" +char id=101 x=2 y=85 width=9 height=10 xoffset=0 yoffset=1 xadvance=6 page=0 chnl=0 letter="e" +char id=99 x=13 y=85 width=9 height=10 xoffset=0 yoffset=1 xadvance=6 page=0 chnl=0 letter="c" +char id=110 x=24 y=85 width=9 height=10 xoffset=1 yoffset=1 xadvance=5 page=0 chnl=0 letter="n" +char id=117 x=35 y=85 width=9 height=10 xoffset=1 yoffset=1 xadvance=5 page=0 chnl=0 letter="u" +char id=115 x=46 y=85 width=7 height=10 xoffset=0 yoffset=1 xadvance=3 page=0 chnl=0 letter="s" +char id=114 x=55 y=85 width=7 height=10 xoffset=0 yoffset=1 xadvance=3 page=0 chnl=0 letter="r" +char id=59 x=64 y=85 width=6 height=10 xoffset=1 yoffset=1 xadvance=2 page=0 chnl=0 letter=";" +char id=58 x=72 y=85 width=5 height=10 xoffset=1 yoffset=1 xadvance=2 page=0 chnl=0 letter=":" +char id=119 x=79 y=85 width=12 height=9 xoffset=0 yoffset=2 xadvance=7 page=0 chnl=0 letter="w" +char id=94 x=93 y=85 width=9 height=9 xoffset=1 yoffset=-0 xadvance=6 page=0 chnl=0 letter="^" +char id=60 x=104 y=85 width=9 height=9 xoffset=0 yoffset=1 xadvance=5 page=0 chnl=0 letter="<" +char id=118 x=115 y=85 width=9 height=9 xoffset=0 yoffset=2 xadvance=5 page=0 chnl=0 letter="v" +char id=62 x=2 y=97 width=9 height=9 xoffset=0 yoffset=1 xadvance=5 page=0 chnl=0 letter=">" +char id=120 x=13 y=97 width=9 height=9 xoffset=0 yoffset=1 xadvance=4 page=0 chnl=0 letter="x" +char id=43 x=24 y=97 width=9 height=9 xoffset=1 yoffset=-0 xadvance=5 page=0 chnl=0 letter="+" +char id=122 x=35 y=97 width=8 height=9 xoffset=0 yoffset=1 xadvance=4 page=0 chnl=0 letter="z" +char id=42 x=45 y=97 width=7 height=8 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="*" +char id=61 x=54 y=97 width=9 height=7 xoffset=1 yoffset=1 xadvance=5 page=0 chnl=0 letter="=" +char id=34 x=65 y=97 width=7 height=7 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter=""" +char id=126 x=74 y=97 width=9 height=6 xoffset=0 yoffset=2 xadvance=5 page=0 chnl=0 letter="~" +char id=44 x=85 y=97 width=6 height=6 xoffset=1 yoffset=5 xadvance=2 page=0 chnl=0 letter="," +char id=96 x=93 y=97 width=6 height=6 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="`" +char id=39 x=101 y=97 width=5 height=6 xoffset=1 yoffset=-0 xadvance=2 page=0 chnl=0 letter="'" +char id=46 x=108 y=97 width=5 height=6 xoffset=1 yoffset=5 xadvance=2 page=0 chnl=0 letter="." +char id=95 x=115 y=97 width=9 height=5 xoffset=0 yoffset=7 xadvance=4 page=0 chnl=0 letter="_" +char id=45 x=2 y=108 width=7 height=5 xoffset=0 yoffset=3 xadvance=3 page=0 chnl=0 letter="-" +char id=32 x=11 y=108 width=0 height=0 xoffset=2 yoffset=28 xadvance=2 page=0 chnl=0 letter="space" diff --git a/DemoMap/DemoMap_editor/Resources/Heiti9.png b/DemoMap/DemoMap_editor/Resources/Heiti9.png new file mode 100644 index 0000000..7c2669a Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/Heiti9.png differ diff --git a/DemoMap/DemoMap_editor/Resources/alert_bg.png b/DemoMap/DemoMap_editor/Resources/alert_bg.png new file mode 100644 index 0000000..9771747 Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/alert_bg.png differ diff --git a/DemoMap/DemoMap_editor/Resources/blue1.png b/DemoMap/DemoMap_editor/Resources/blue1.png new file mode 100644 index 0000000..fd35423 Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/blue1.png differ diff --git a/DemoMap/DemoMap_editor/Resources/blue2.png b/DemoMap/DemoMap_editor/Resources/blue2.png new file mode 100644 index 0000000..82b2ee6 Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/blue2.png differ diff --git a/DemoMap/DemoMap_editor/Resources/blue_ball1.png b/DemoMap/DemoMap_editor/Resources/blue_ball1.png new file mode 100644 index 0000000..b18295e Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/blue_ball1.png differ diff --git a/DemoMap/DemoMap_editor/Resources/blue_ball2.png b/DemoMap/DemoMap_editor/Resources/blue_ball2.png new file mode 100644 index 0000000..18c35c5 Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/blue_ball2.png differ diff --git a/DemoMap/DemoMap_editor/Resources/box.png b/DemoMap/DemoMap_editor/Resources/box.png new file mode 100644 index 0000000..50d8b8a Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/box.png differ diff --git a/DemoMap/DemoMap_editor/Resources/button1.png b/DemoMap/DemoMap_editor/Resources/button1.png new file mode 100644 index 0000000..92caf71 Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/button1.png differ diff --git a/DemoMap/DemoMap_editor/Resources/button2.png b/DemoMap/DemoMap_editor/Resources/button2.png new file mode 100644 index 0000000..0bc33f7 Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/button2.png differ diff --git a/DemoMap/DemoMap_editor/Resources/close1.png b/DemoMap/DemoMap_editor/Resources/close1.png new file mode 100644 index 0000000..5aae7e8 Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/close1.png differ diff --git a/DemoMap/DemoMap_editor/Resources/close2.png b/DemoMap/DemoMap_editor/Resources/close2.png new file mode 100644 index 0000000..72f631a Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/close2.png differ diff --git a/DemoMap/DemoMap_editor/Resources/green.png b/DemoMap/DemoMap_editor/Resources/green.png new file mode 100644 index 0000000..4c8238b Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/green.png differ diff --git a/DemoMap/DemoMap_editor/Resources/green1.png b/DemoMap/DemoMap_editor/Resources/green1.png new file mode 100644 index 0000000..b78649b Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/green1.png differ diff --git a/DemoMap/DemoMap_editor/Resources/map.png b/DemoMap/DemoMap_editor/Resources/map.png new file mode 100644 index 0000000..3a475c9 Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/map.png differ diff --git a/DemoMap/DemoMap_editor/Resources/orange1.png b/DemoMap/DemoMap_editor/Resources/orange1.png new file mode 100644 index 0000000..367e571 Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/orange1.png differ diff --git a/DemoMap/DemoMap_editor/Resources/orange2.png b/DemoMap/DemoMap_editor/Resources/orange2.png new file mode 100644 index 0000000..71fcacb Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/orange2.png differ diff --git a/DemoMap/DemoMap_editor/Resources/purple_ball1.png b/DemoMap/DemoMap_editor/Resources/purple_ball1.png new file mode 100644 index 0000000..82db4cf Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/purple_ball1.png differ diff --git a/DemoMap/DemoMap_editor/Resources/purple_ball2.png b/DemoMap/DemoMap_editor/Resources/purple_ball2.png new file mode 100644 index 0000000..59b28d8 Binary files /dev/null and b/DemoMap/DemoMap_editor/Resources/purple_ball2.png differ diff --git a/DemoMap/Resources/CloseNormal.png b/DemoMap/Resources/CloseNormal.png new file mode 100644 index 0000000..5657a13 Binary files /dev/null and b/DemoMap/Resources/CloseNormal.png differ diff --git a/DemoMap/Resources/CloseSelected.png b/DemoMap/Resources/CloseSelected.png new file mode 100644 index 0000000..e4c82da Binary files /dev/null and b/DemoMap/Resources/CloseSelected.png differ diff --git a/DemoMap/Resources/HelloWorld.png b/DemoMap/Resources/HelloWorld.png new file mode 100644 index 0000000..5fe89fb Binary files /dev/null and b/DemoMap/Resources/HelloWorld.png differ diff --git a/DemoMap/Resources/cocosgui/UITest/UITest.json b/DemoMap/Resources/cocosgui/UITest/UITest.json new file mode 100644 index 0000000..3712068 --- /dev/null +++ b/DemoMap/Resources/cocosgui/UITest/UITest.json @@ -0,0 +1,446 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "0.3.2.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 1, + "actiontag": 109, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 82, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 263, + "yProportion": 0.821875, + "backGroundImage": null, + "backGroundImageData": { + "path": "ribbon.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 66.6666641, + "capInsetsWidth": 66.6666641, + "capInsetsX": 66.6666641, + "capInsetsY": 66.6666641, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "UItest", + "ZOrder": 1, + "actiontag": 115, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 20, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 88, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 70, + "x": 240, + "xProportion": 0.5, + "y": 307, + "yProportion": 0.959375, + "fontName": "SongTypeFont", + "fontSize": 20, + "fontType": 0, + "text": "UI_test", + "touchSacleEnable": false + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "right_Button", + "ZOrder": 5, + "actiontag": 113, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 86, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 338, + "xProportion": 0.704166651, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "f1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "left_Button", + "ZOrder": 4, + "actiontag": 112, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 85, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 142, + "xProportion": 0.295833319, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "b1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "middle_Button", + "ZOrder": 3, + "actiontag": 111, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 84, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 49, + "x": 240, + "xProportion": 0.5, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 16.333334, + "capInsetsX": 16.333334, + "capInsetsY": 15.666667, + "disabled": null, + "disabledData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "r1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 49 + } + }, + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "background_Panel", + "ZOrder": 2, + "actiontag": 110, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 170, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 83, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 300, + "x": 90, + "xProportion": 0.1875, + "y": 75, + "yProportion": 0.234375, + "backGroundImage": null, + "backGroundImageData": { + "path": "buttonBackground.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "back", + "ZOrder": 6, + "actiontag": 114, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 24, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 87, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 48, + "x": 430, + "xProportion": 0.8958333, + "y": 30, + "yProportion": 0.09375, + "fontName": "SongTypeFont", + "fontSize": 24, + "fontType": 0, + "text": "Back", + "touchSacleEnable": true + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "root_Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 81, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": { + "path": "background.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 255, + "bgColorOpacity": 255, + "bgColorR": 255, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 106.666664, + "capInsetsWidth": 160, + "capInsetsX": 160, + "capInsetsY": 106.666664, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/DemoMap/Resources/cocosgui/UITest/b1.png b/DemoMap/Resources/cocosgui/UITest/b1.png new file mode 100644 index 0000000..547e1c7 Binary files /dev/null and b/DemoMap/Resources/cocosgui/UITest/b1.png differ diff --git a/DemoMap/Resources/cocosgui/UITest/b2.png b/DemoMap/Resources/cocosgui/UITest/b2.png new file mode 100644 index 0000000..2818054 Binary files /dev/null and b/DemoMap/Resources/cocosgui/UITest/b2.png differ diff --git a/DemoMap/Resources/cocosgui/UITest/background.png b/DemoMap/Resources/cocosgui/UITest/background.png new file mode 100644 index 0000000..500d959 Binary files /dev/null and b/DemoMap/Resources/cocosgui/UITest/background.png differ diff --git a/DemoMap/Resources/cocosgui/UITest/buttonBackground.png b/DemoMap/Resources/cocosgui/UITest/buttonBackground.png new file mode 100644 index 0000000..a467061 Binary files /dev/null and b/DemoMap/Resources/cocosgui/UITest/buttonBackground.png differ diff --git a/DemoMap/Resources/cocosgui/UITest/f1.png b/DemoMap/Resources/cocosgui/UITest/f1.png new file mode 100644 index 0000000..4fd7bdb Binary files /dev/null and b/DemoMap/Resources/cocosgui/UITest/f1.png differ diff --git a/DemoMap/Resources/cocosgui/UITest/f2.png b/DemoMap/Resources/cocosgui/UITest/f2.png new file mode 100644 index 0000000..e752eda Binary files /dev/null and b/DemoMap/Resources/cocosgui/UITest/f2.png differ diff --git a/DemoMap/Resources/cocosgui/UITest/r1.png b/DemoMap/Resources/cocosgui/UITest/r1.png new file mode 100644 index 0000000..827a772 Binary files /dev/null and b/DemoMap/Resources/cocosgui/UITest/r1.png differ diff --git a/DemoMap/Resources/cocosgui/UITest/r2.png b/DemoMap/Resources/cocosgui/UITest/r2.png new file mode 100644 index 0000000..727a1c6 Binary files /dev/null and b/DemoMap/Resources/cocosgui/UITest/r2.png differ diff --git a/DemoMap/Resources/cocosgui/UITest/ribbon.png b/DemoMap/Resources/cocosgui/UITest/ribbon.png new file mode 100644 index 0000000..b80fb94 Binary files /dev/null and b/DemoMap/Resources/cocosgui/UITest/ribbon.png differ diff --git a/DemoMap/Resources/cocosgui/gui_examples/DemoMap/DemoMap.json b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/DemoMap.json new file mode 100644 index 0000000..584f292 --- /dev/null +++ b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/DemoMap.json @@ -0,0 +1,1026 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "dataScale": 1, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "1.2.0.1", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "bg_ImageView", + "ZOrder": 0, + "actiontag": 35, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 100, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": -1.405, + "positionPercentY": -0.71, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1.5, + "sizePercentY": 0.5, + "sizeType": 0, + "tag": 15, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 300, + "x": -281, + "y": -142, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "alert_bg.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": true, + "scale9Height": 100, + "scale9Width": 300 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "close_Button", + "ZOrder": 0, + "actiontag": 36, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 40, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": -0.785, + "positionPercentY": -0.565, + "positionType": 0, + "rotation": 0, + "scaleX": 0.75, + "scaleY": 0.75, + "sizePercentX": 0.31, + "sizePercentY": 0.2, + "sizeType": 0, + "tag": 16, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 62, + "x": -157, + "y": -113, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "close1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "close2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": true, + "scale9Height": 40, + "scale9Width": 62, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "alert_ImageView", + "ZOrder": 0, + "actiontag": 37, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 148, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": -1.845, + "positionPercentY": -0.72, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4, + "sizePercentY": 0.4, + "sizeType": 0, + "tag": 17, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 419, + "x": -369, + "y": -144, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "alert_bg.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 148, + "scale9Width": 419 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "alert_Label", + "ZOrder": 0, + "actiontag": 38, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": -1.29, + "positionPercentY": -0.72, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.475, + "sizePercentY": 0.135, + "sizeType": 0, + "tag": 18, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": -258, + "y": -144, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "宋体", + "fontSize": 20, + "hAlignment": 0, + "text": "Text Label", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "alert_Panel", + "ZOrder": 3, + "actiontag": 34, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 1.08541667, + "positionPercentY": 0.9, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.416666657, + "sizePercentY": 0.625, + "sizeType": 0, + "tag": 14, + "touchAble": false, + "useMergedTexture": false, + "visible": false, + "width": 200, + "x": 521, + "y": 288, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "back_Button", + "ZOrder": 0, + "actiontag": 30, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 16, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.495145619, + "positionPercentY": 0.084375, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.25, + "sizePercentY": 0.125, + "sizeType": 0, + "tag": 10, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 55, + "x": 204, + "y": 27, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "button1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 11, + "fontType": 0, + "normal": null, + "normalData": { + "path": "button1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "button2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 16, + "scale9Width": 55, + "text": "Back", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "title_Label", + "ZOrder": 0, + "actiontag": 51, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.490291268, + "positionPercentY": 0.909375, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.23058252, + "sizePercentY": 0.084375, + "sizeType": 0, + "tag": 19, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 202, + "y": 291, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 13, + "hAlignment": 0, + "text": "Map", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "box_Panel", + "ZOrder": 2, + "actiontag": 29, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.06875, + "positionPercentY": 0, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.858333349, + "sizePercentY": 1, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 412, + "x": 33, + "y": 0, + "backGroundImage": null, + "backGroundImageData": { + "path": "box.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "ScrollView", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "map_ImageView", + "ZOrder": 0, + "actiontag": 40, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 419, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.500956, + "positionPercentY": 0.50358, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.152963668, + "sizePercentY": 0.190930784, + "sizeType": 0, + "tag": 18, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 523, + "x": 262, + "y": 211, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "map.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 419, + "scale9Width": 523 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "purple_Button", + "ZOrder": 0, + "actiontag": 25, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 74, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.3040153, + "positionPercentY": 0.489260137, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.19694072, + "sizePercentY": 0.09546539, + "sizeType": 0, + "tag": 5, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 80, + "x": 159, + "y": 205, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "purple_ball1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "purple_ball1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "purple_ball2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 74, + "scale9Width": 80, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "blue star_Button", + "ZOrder": 0, + "actiontag": 26, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 68, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.497131944, + "positionPercentY": 0.3293556, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.19694072, + "sizePercentY": 0.09546539, + "sizeType": 0, + "tag": 6, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 68, + "x": 260, + "y": 138, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "blue1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "blue1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "blue2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 68, + "scale9Width": 68, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "orange_Button", + "ZOrder": 0, + "actiontag": 27, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 75, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8413002, + "positionPercentY": 0.3078759, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.19694072, + "sizePercentY": 0.09546539, + "sizeType": 0, + "tag": 7, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 75, + "x": 440, + "y": 129, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "orange1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "orange1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "orange2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 75, + "scale9Width": 75, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "blue ball_Button", + "ZOrder": 0, + "actiontag": 28, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 77, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.791587, + "positionPercentY": 0.701670647, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.19694072, + "sizePercentY": 0.09546539, + "sizeType": 0, + "tag": 8, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 80, + "x": 414, + "y": 294, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "blue_ball1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "blue_ball1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "blue_ball2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 77, + "scale9Width": 80, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "button_Panel", + "ZOrder": 0, + "actiontag": 33, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 419, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.00191204587, + "positionPercentY": 0.00477327, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1, + "sizePercentY": 1, + "sizeType": 0, + "tag": 13, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 523, + "x": 1, + "y": 2, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIScrollViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ScrollView", + "name": "DragPanel", + "ZOrder": 1, + "actiontag": 39, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 253, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.104166664, + "positionPercentY": 0.078125, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.7875, + "sizePercentY": 0.790625, + "sizeType": 0, + "tag": 17, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 378, + "x": 50, + "y": 25, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 102, + "bgColorOpacity": 100, + "bgColorR": 187, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 213, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "bounceEnable": false, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": true, + "colorType": 1, + "direction": 3, + "innerHeight": 419, + "innerWidth": 523, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.01, + "sizePercentY": 0.01, + "sizeType": 0, + "tag": 16, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "y": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/DemoMap/Resources/cocosgui/gui_examples/DemoMap/alert_bg.png b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/alert_bg.png new file mode 100644 index 0000000..9771747 Binary files /dev/null and b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/alert_bg.png differ diff --git a/DemoMap/Resources/cocosgui/gui_examples/DemoMap/blue1.png b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/blue1.png new file mode 100644 index 0000000..fd35423 Binary files /dev/null and b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/blue1.png differ diff --git a/DemoMap/Resources/cocosgui/gui_examples/DemoMap/blue2.png b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/blue2.png new file mode 100644 index 0000000..82b2ee6 Binary files /dev/null and b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/blue2.png differ diff --git a/DemoMap/Resources/cocosgui/gui_examples/DemoMap/blue_ball1.png b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/blue_ball1.png new file mode 100644 index 0000000..b18295e Binary files /dev/null and b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/blue_ball1.png differ diff --git a/DemoMap/Resources/cocosgui/gui_examples/DemoMap/blue_ball2.png b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/blue_ball2.png new file mode 100644 index 0000000..18c35c5 Binary files /dev/null and b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/blue_ball2.png differ diff --git a/DemoMap/Resources/cocosgui/gui_examples/DemoMap/box.png b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/box.png new file mode 100644 index 0000000..50d8b8a Binary files /dev/null and b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/box.png differ diff --git a/DemoMap/Resources/cocosgui/gui_examples/DemoMap/button1.png b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/button1.png new file mode 100644 index 0000000..92caf71 Binary files /dev/null and b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/button1.png differ diff --git a/DemoMap/Resources/cocosgui/gui_examples/DemoMap/button2.png b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/button2.png new file mode 100644 index 0000000..0bc33f7 Binary files /dev/null and b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/button2.png differ diff --git a/DemoMap/Resources/cocosgui/gui_examples/DemoMap/close1.png b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/close1.png new file mode 100644 index 0000000..5aae7e8 Binary files /dev/null and b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/close1.png differ diff --git a/DemoMap/Resources/cocosgui/gui_examples/DemoMap/close2.png b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/close2.png new file mode 100644 index 0000000..72f631a Binary files /dev/null and b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/close2.png differ diff --git a/DemoMap/Resources/cocosgui/gui_examples/DemoMap/map.png b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/map.png new file mode 100644 index 0000000..3a475c9 Binary files /dev/null and b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/map.png differ diff --git a/DemoMap/Resources/cocosgui/gui_examples/DemoMap/orange1.png b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/orange1.png new file mode 100644 index 0000000..367e571 Binary files /dev/null and b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/orange1.png differ diff --git a/DemoMap/Resources/cocosgui/gui_examples/DemoMap/orange2.png b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/orange2.png new file mode 100644 index 0000000..71fcacb Binary files /dev/null and b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/orange2.png differ diff --git a/DemoMap/Resources/cocosgui/gui_examples/DemoMap/purple_ball1.png b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/purple_ball1.png new file mode 100644 index 0000000..82db4cf Binary files /dev/null and b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/purple_ball1.png differ diff --git a/DemoMap/Resources/cocosgui/gui_examples/DemoMap/purple_ball2.png b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/purple_ball2.png new file mode 100644 index 0000000..59b28d8 Binary files /dev/null and b/DemoMap/Resources/cocosgui/gui_examples/DemoMap/purple_ball2.png differ diff --git a/DemoMap/Resources/fonts/Marker Felt.ttf b/DemoMap/Resources/fonts/Marker Felt.ttf new file mode 100644 index 0000000..3752ef3 Binary files /dev/null and b/DemoMap/Resources/fonts/Marker Felt.ttf differ diff --git a/DemoMap/Resources/hd/cocosgui/UITest/UITest.json b/DemoMap/Resources/hd/cocosgui/UITest/UITest.json new file mode 100644 index 0000000..3712068 --- /dev/null +++ b/DemoMap/Resources/hd/cocosgui/UITest/UITest.json @@ -0,0 +1,446 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "0.3.2.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 1, + "actiontag": 109, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 82, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 263, + "yProportion": 0.821875, + "backGroundImage": null, + "backGroundImageData": { + "path": "ribbon.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 66.6666641, + "capInsetsWidth": 66.6666641, + "capInsetsX": 66.6666641, + "capInsetsY": 66.6666641, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "UItest", + "ZOrder": 1, + "actiontag": 115, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 20, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 88, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 70, + "x": 240, + "xProportion": 0.5, + "y": 307, + "yProportion": 0.959375, + "fontName": "SongTypeFont", + "fontSize": 20, + "fontType": 0, + "text": "UI_test", + "touchSacleEnable": false + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "right_Button", + "ZOrder": 5, + "actiontag": 113, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 86, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 338, + "xProportion": 0.704166651, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "f1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "left_Button", + "ZOrder": 4, + "actiontag": 112, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 85, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 142, + "xProportion": 0.295833319, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "b1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "middle_Button", + "ZOrder": 3, + "actiontag": 111, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 84, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 49, + "x": 240, + "xProportion": 0.5, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 16.333334, + "capInsetsX": 16.333334, + "capInsetsY": 15.666667, + "disabled": null, + "disabledData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "r1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 49 + } + }, + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "background_Panel", + "ZOrder": 2, + "actiontag": 110, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 170, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 83, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 300, + "x": 90, + "xProportion": 0.1875, + "y": 75, + "yProportion": 0.234375, + "backGroundImage": null, + "backGroundImageData": { + "path": "buttonBackground.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "back", + "ZOrder": 6, + "actiontag": 114, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 24, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 87, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 48, + "x": 430, + "xProportion": 0.8958333, + "y": 30, + "yProportion": 0.09375, + "fontName": "SongTypeFont", + "fontSize": 24, + "fontType": 0, + "text": "Back", + "touchSacleEnable": true + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "root_Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 81, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": { + "path": "background.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 255, + "bgColorOpacity": 255, + "bgColorR": 255, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 106.666664, + "capInsetsWidth": 160, + "capInsetsX": 160, + "capInsetsY": 106.666664, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/DemoMap/Resources/hd/cocosgui/UITest/b1.png b/DemoMap/Resources/hd/cocosgui/UITest/b1.png new file mode 100644 index 0000000..a3c16ad Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/UITest/b1.png differ diff --git a/DemoMap/Resources/hd/cocosgui/UITest/b2.png b/DemoMap/Resources/hd/cocosgui/UITest/b2.png new file mode 100644 index 0000000..ffa527c Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/UITest/b2.png differ diff --git a/DemoMap/Resources/hd/cocosgui/UITest/background.png b/DemoMap/Resources/hd/cocosgui/UITest/background.png new file mode 100644 index 0000000..eff519b Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/UITest/background.png differ diff --git a/DemoMap/Resources/hd/cocosgui/UITest/buttonBackground.png b/DemoMap/Resources/hd/cocosgui/UITest/buttonBackground.png new file mode 100644 index 0000000..a467061 Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/UITest/buttonBackground.png differ diff --git a/DemoMap/Resources/hd/cocosgui/UITest/f1.png b/DemoMap/Resources/hd/cocosgui/UITest/f1.png new file mode 100644 index 0000000..606181f Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/UITest/f1.png differ diff --git a/DemoMap/Resources/hd/cocosgui/UITest/f2.png b/DemoMap/Resources/hd/cocosgui/UITest/f2.png new file mode 100644 index 0000000..8cd548b Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/UITest/f2.png differ diff --git a/DemoMap/Resources/hd/cocosgui/UITest/r1.png b/DemoMap/Resources/hd/cocosgui/UITest/r1.png new file mode 100644 index 0000000..6b51dc4 Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/UITest/r1.png differ diff --git a/DemoMap/Resources/hd/cocosgui/UITest/r2.png b/DemoMap/Resources/hd/cocosgui/UITest/r2.png new file mode 100644 index 0000000..ef1f2b4 Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/UITest/r2.png differ diff --git a/DemoMap/Resources/hd/cocosgui/UITest/ribbon.png b/DemoMap/Resources/hd/cocosgui/UITest/ribbon.png new file mode 100644 index 0000000..28583f5 Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/UITest/ribbon.png differ diff --git a/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/DemoMap.json b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/DemoMap.json new file mode 100644 index 0000000..584f292 --- /dev/null +++ b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/DemoMap.json @@ -0,0 +1,1026 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "dataScale": 1, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "1.2.0.1", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "bg_ImageView", + "ZOrder": 0, + "actiontag": 35, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 100, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": -1.405, + "positionPercentY": -0.71, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1.5, + "sizePercentY": 0.5, + "sizeType": 0, + "tag": 15, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 300, + "x": -281, + "y": -142, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "alert_bg.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": true, + "scale9Height": 100, + "scale9Width": 300 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "close_Button", + "ZOrder": 0, + "actiontag": 36, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 40, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": -0.785, + "positionPercentY": -0.565, + "positionType": 0, + "rotation": 0, + "scaleX": 0.75, + "scaleY": 0.75, + "sizePercentX": 0.31, + "sizePercentY": 0.2, + "sizeType": 0, + "tag": 16, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 62, + "x": -157, + "y": -113, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "close1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "close2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": true, + "scale9Height": 40, + "scale9Width": 62, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "alert_ImageView", + "ZOrder": 0, + "actiontag": 37, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 148, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": -1.845, + "positionPercentY": -0.72, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4, + "sizePercentY": 0.4, + "sizeType": 0, + "tag": 17, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 419, + "x": -369, + "y": -144, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "alert_bg.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 148, + "scale9Width": 419 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "alert_Label", + "ZOrder": 0, + "actiontag": 38, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": -1.29, + "positionPercentY": -0.72, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.475, + "sizePercentY": 0.135, + "sizeType": 0, + "tag": 18, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": -258, + "y": -144, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "宋体", + "fontSize": 20, + "hAlignment": 0, + "text": "Text Label", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "alert_Panel", + "ZOrder": 3, + "actiontag": 34, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 1.08541667, + "positionPercentY": 0.9, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.416666657, + "sizePercentY": 0.625, + "sizeType": 0, + "tag": 14, + "touchAble": false, + "useMergedTexture": false, + "visible": false, + "width": 200, + "x": 521, + "y": 288, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "back_Button", + "ZOrder": 0, + "actiontag": 30, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 16, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.495145619, + "positionPercentY": 0.084375, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.25, + "sizePercentY": 0.125, + "sizeType": 0, + "tag": 10, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 55, + "x": 204, + "y": 27, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "button1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 11, + "fontType": 0, + "normal": null, + "normalData": { + "path": "button1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "button2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 16, + "scale9Width": 55, + "text": "Back", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "title_Label", + "ZOrder": 0, + "actiontag": 51, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.490291268, + "positionPercentY": 0.909375, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.23058252, + "sizePercentY": 0.084375, + "sizeType": 0, + "tag": 19, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 202, + "y": 291, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 13, + "hAlignment": 0, + "text": "Map", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "box_Panel", + "ZOrder": 2, + "actiontag": 29, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.06875, + "positionPercentY": 0, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.858333349, + "sizePercentY": 1, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 412, + "x": 33, + "y": 0, + "backGroundImage": null, + "backGroundImageData": { + "path": "box.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "ScrollView", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "map_ImageView", + "ZOrder": 0, + "actiontag": 40, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 419, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.500956, + "positionPercentY": 0.50358, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.152963668, + "sizePercentY": 0.190930784, + "sizeType": 0, + "tag": 18, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 523, + "x": 262, + "y": 211, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "map.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 419, + "scale9Width": 523 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "purple_Button", + "ZOrder": 0, + "actiontag": 25, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 74, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.3040153, + "positionPercentY": 0.489260137, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.19694072, + "sizePercentY": 0.09546539, + "sizeType": 0, + "tag": 5, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 80, + "x": 159, + "y": 205, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "purple_ball1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "purple_ball1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "purple_ball2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 74, + "scale9Width": 80, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "blue star_Button", + "ZOrder": 0, + "actiontag": 26, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 68, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.497131944, + "positionPercentY": 0.3293556, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.19694072, + "sizePercentY": 0.09546539, + "sizeType": 0, + "tag": 6, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 68, + "x": 260, + "y": 138, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "blue1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "blue1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "blue2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 68, + "scale9Width": 68, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "orange_Button", + "ZOrder": 0, + "actiontag": 27, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 75, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8413002, + "positionPercentY": 0.3078759, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.19694072, + "sizePercentY": 0.09546539, + "sizeType": 0, + "tag": 7, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 75, + "x": 440, + "y": 129, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "orange1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "orange1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "orange2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 75, + "scale9Width": 75, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "blue ball_Button", + "ZOrder": 0, + "actiontag": 28, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 77, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.791587, + "positionPercentY": 0.701670647, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.19694072, + "sizePercentY": 0.09546539, + "sizeType": 0, + "tag": 8, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 80, + "x": 414, + "y": 294, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "blue_ball1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "blue_ball1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "blue_ball2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 77, + "scale9Width": 80, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "button_Panel", + "ZOrder": 0, + "actiontag": 33, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 419, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.00191204587, + "positionPercentY": 0.00477327, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1, + "sizePercentY": 1, + "sizeType": 0, + "tag": 13, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 523, + "x": 1, + "y": 2, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIScrollViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ScrollView", + "name": "DragPanel", + "ZOrder": 1, + "actiontag": 39, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 253, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.104166664, + "positionPercentY": 0.078125, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.7875, + "sizePercentY": 0.790625, + "sizeType": 0, + "tag": 17, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 378, + "x": 50, + "y": 25, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 102, + "bgColorOpacity": 100, + "bgColorR": 187, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 213, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "bounceEnable": false, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": true, + "colorType": 1, + "direction": 3, + "innerHeight": 419, + "innerWidth": 523, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.01, + "sizePercentY": 0.01, + "sizeType": 0, + "tag": 16, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "y": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/alert_bg.png b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/alert_bg.png new file mode 100644 index 0000000..9771747 Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/alert_bg.png differ diff --git a/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/blue1.png b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/blue1.png new file mode 100644 index 0000000..b4cd5f9 Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/blue1.png differ diff --git a/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/blue2.png b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/blue2.png new file mode 100644 index 0000000..e3e6cb5 Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/blue2.png differ diff --git a/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/blue_ball1.png b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/blue_ball1.png new file mode 100644 index 0000000..b5bb21c Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/blue_ball1.png differ diff --git a/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/blue_ball2.png b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/blue_ball2.png new file mode 100644 index 0000000..b24e102 Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/blue_ball2.png differ diff --git a/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/box.png b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/box.png new file mode 100644 index 0000000..f5a4170 Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/box.png differ diff --git a/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/button1.png b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/button1.png new file mode 100644 index 0000000..cd2a5da Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/button1.png differ diff --git a/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/button2.png b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/button2.png new file mode 100644 index 0000000..7870207 Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/button2.png differ diff --git a/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/close1.png b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/close1.png new file mode 100644 index 0000000..38b6014 Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/close1.png differ diff --git a/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/close2.png b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/close2.png new file mode 100644 index 0000000..adac699 Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/close2.png differ diff --git a/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/map.png b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/map.png new file mode 100644 index 0000000..b1f2476 Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/map.png differ diff --git a/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/orange1.png b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/orange1.png new file mode 100644 index 0000000..4d2f7ee Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/orange1.png differ diff --git a/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/orange2.png b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/orange2.png new file mode 100644 index 0000000..616f706 Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/orange2.png differ diff --git a/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/purple_ball1.png b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/purple_ball1.png new file mode 100644 index 0000000..e1171f2 Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/purple_ball1.png differ diff --git a/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/purple_ball2.png b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/purple_ball2.png new file mode 100644 index 0000000..3f5b8d2 Binary files /dev/null and b/DemoMap/Resources/hd/cocosgui/gui_examples/DemoMap/purple_ball2.png differ diff --git a/DemoMap/cocos2d/readme b/DemoMap/cocos2d/readme new file mode 100644 index 0000000..00bfca5 --- /dev/null +++ b/DemoMap/cocos2d/readme @@ -0,0 +1 @@ +put cocos2d here what in a project created by create_project.py \ No newline at end of file diff --git a/DemoMap/proj.android/.classpath b/DemoMap/proj.android/.classpath new file mode 100644 index 0000000..ce3da48 --- /dev/null +++ b/DemoMap/proj.android/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/DemoMap/proj.android/.project b/DemoMap/proj.android/.project new file mode 100644 index 0000000..87b0d26 --- /dev/null +++ b/DemoMap/proj.android/.project @@ -0,0 +1,65 @@ + + + DemoMap + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + Classes + 2 + COCOS2DX/projects/DemoMap/Classes + + + cocos2dx + 2 + COCOS2DX/cocos2dx + + + extensions + 2 + COCOS2DX/extensions + + + scripting + 2 + COCOS2DX/scripting + + + diff --git a/DemoMap/proj.android/AndroidManifest.xml b/DemoMap/proj.android/AndroidManifest.xml new file mode 100644 index 0000000..12b7962 --- /dev/null +++ b/DemoMap/proj.android/AndroidManifest.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/DemoMap/proj.android/README.md b/DemoMap/proj.android/README.md new file mode 100644 index 0000000..aefa86b --- /dev/null +++ b/DemoMap/proj.android/README.md @@ -0,0 +1,87 @@ +## Prerequisites: + +* Android NDK +* Android SDK **OR** Eclipse ADT Bundle +* Android AVD target installed + +## Building project + +There are two ways of building Android projects. + +1. Eclipse +2. Command Line + +### Import Project in Eclipse + +#### Features: + +1. Complete workflow from Eclipse, including: + * Build C++. + * Clean C++. + * Build and Run whole project. + * Logcat view. + * Debug Java code. + * Javascript editor. + * Project management. +2. True C++ editing, including: + * Code completion. + * Jump to definition. + * Refactoring tools etc. + * Quick open C++ files. + + +#### Setup Eclipse Environment (only once) + + +**NOTE:** This step needs to be done only once to setup the Eclipse environment for cocos2d-x projects. Skip this section if you've done this before. + +1. Download Eclipse ADT bundle from [Google ADT homepage](http://developer.android.com/sdk/index.html) + + **OR** + + Install Eclipse with Java. Add ADT and CDT plugins. + +2. Only for Windows + 1. Install [Cygwin](http://www.cygwin.com/) with make (select make package from the list during the install). + 2. Add `Cygwin\bin` directory to system PATH variable. + 3. Add this line `none /cygdrive cygdrive binary,noacl,posix=0,user 0 0` to `Cygwin\etc\fstab` file. + +3. Set up Variables: + 1. Path Variable `COCOS2DX`: + * Eclipse->Preferences->General->Workspace->**Linked Resources** + * Click **New** button to add a Path Variable `COCOS2DX` pointing to the root cocos2d-x directory. + ![Example](https://lh5.googleusercontent.com/-oPpk9kg3e5w/UUOYlq8n7aI/AAAAAAAAsdQ/zLA4eghBH9U/s400/cocos2d-x-eclipse-vars.png) + + 2. C/C++ Environment Variable `NDK_ROOT`: + * Eclipse->Preferences->C/C++->Build->**Environment**. + * Click **Add** button and add a new variable `NDK_ROOT` pointing to the root NDK directory. + ![Example](https://lh3.googleusercontent.com/-AVcY8IAT0_g/UUOYltoRobI/AAAAAAAAsdM/22D2J9u3sig/s400/cocos2d-x-eclipse-ndk.png) + * Only for Windows: Add new variables **CYGWIN** with value `nodosfilewarning` and **SHELLOPTS** with value `igncr` + +4. Import libcocos2dx library project: + 1. File->New->Project->Android Project From Existing Code. + 2. Click **Browse** button and open `cocos2d-x/cocos2dx/platform/android/java` directory. + 3. Click **Finish** to add project. + +#### Adding and running from Eclipse + +![Example](https://lh3.googleusercontent.com/-SLBOu6e3QbE/UUOcOXYaGqI/AAAAAAAAsdo/tYBY2SylOSM/s288/cocos2d-x-eclipse-project-from-code.png) ![Import](https://lh5.googleusercontent.com/-XzC9Pn65USc/UUOcOTAwizI/AAAAAAAAsdk/4b6YM-oim9Y/s400/cocos2d-x-eclipse-import-project.png) + +1. File->New->Project->Android Project From Existing Code +2. **Browse** to your project directory. eg: `cocos2d-x/cocos2dx/samples/Cpp/TestCpp/proj.android/` +3. Add the project +4. Click **Run** or **Debug** to compile C++ followed by Java and to run on connected device or emulator. + + +### Running project from Command Line + + $ cd cocos2d-x/samples/Cpp/TestCpp/proj.android/ + $ export NDK_ROOT=/path/to/ndk + $ ./build_native.sh + $ ant debug install + +If the last command results in sdk.dir missing error then do: + + $ android list target + $ android update project -p . -t (id from step 6) + $ android update project -p cocos2d/cocos/2d/platform/android/java/ -t (id from step 6) diff --git a/DemoMap/proj.android/ant.properties b/DemoMap/proj.android/ant.properties new file mode 100644 index 0000000..a51e6a0 --- /dev/null +++ b/DemoMap/proj.android/ant.properties @@ -0,0 +1,17 @@ +# This file is used to override default values used by the Ant build system. +# +# This file must be checked into Version Control Systems, as it is +# integral to the build system of your project. + +# This file is only used by the Ant script. + +# You can use this to override default values such as +# 'source.dir' for the location of your java source folder and +# 'out.dir' for the location of your output folder. + +# You can also use it define how the release builds are signed by declaring +# the following properties: +# 'key.store' for the location of your keystore and +# 'key.alias' for the name of the key to use. +# The password will be asked during the build when you use the 'release' target. + diff --git a/DemoMap/proj.android/build.xml b/DemoMap/proj.android/build.xml new file mode 100644 index 0000000..0504e9f --- /dev/null +++ b/DemoMap/proj.android/build.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/DemoMap/proj.android/build_native.py b/DemoMap/proj.android/build_native.py new file mode 100644 index 0000000..5eec448 --- /dev/null +++ b/DemoMap/proj.android/build_native.py @@ -0,0 +1,166 @@ +#!/usr/bin/python +# build_native.py +# Build native codes + + +import sys +import os, os.path +import shutil +from optparse import OptionParser + +def get_num_of_cpu(): + ''' The build process can be accelerated by running multiple concurrent job processes using the -j-option. + ''' + try: + platform = sys.platform + if platform == 'win32': + if 'NUMBER_OF_PROCESSORS' in os.environ: + return int(os.environ['NUMBER_OF_PROCESSORS']) + else: + return 1 + else: + from numpy.distutils import cpuinfo + return cpuinfo.cpu._getNCPUs() + except Exception: + print "Can't know cpuinfo, use default 1 cpu" + return 1 + +def check_environment_variables_sdk(): + ''' Checking the environment ANDROID_SDK_ROOT, which will be used for building + ''' + + try: + SDK_ROOT = os.environ['ANDROID_SDK_ROOT'] + except Exception: + print "ANDROID_SDK_ROOT not defined. Please define ANDROID_SDK_ROOT in your environment" + sys.exit(1) + + return SDK_ROOT + +def check_environment_variables(): + ''' Checking the environment NDK_ROOT, which will be used for building + ''' + + try: + NDK_ROOT = os.environ['NDK_ROOT'] + except Exception: + print "NDK_ROOT not defined. Please define NDK_ROOT in your environment" + sys.exit(1) + + return NDK_ROOT + +def select_toolchain_version(): + '''Because ndk-r8e uses gcc4.6 as default. gcc4.6 doesn't support c++11. So we should select gcc4.7 when + using ndk-r8e. But gcc4.7 is removed in ndk-r9, so we should determine whether gcc4.7 exist. + Conclution: + ndk-r8e -> use gcc4.7 + ndk-r9 -> use gcc4.8 + ''' + + ndk_root = check_environment_variables() + if os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.8")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.8' + print "The Selected NDK toolchain version was 4.8 !" + elif os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.7")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.7' + print "The Selected NDK toolchain version was 4.7 !" + else: + print "Couldn't find the gcc toolchain." + exit(1) + +def do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode): + + ndk_path = os.path.join(ndk_root, "ndk-build") + + # windows should use ";" to seperate module paths + platform = sys.platform + if platform == 'win32': + ndk_module_path = 'NDK_MODULE_PATH=%s;%s/external;%s/cocos' % (cocos_root, cocos_root, cocos_root) + else: + ndk_module_path = 'NDK_MODULE_PATH=%s:%s/external:%s/cocos' % (cocos_root, cocos_root, cocos_root) + + num_of_cpu = get_num_of_cpu() + + if ndk_build_param == None: + command = '%s -j%d -C %s %s' % (ndk_path, num_of_cpu, app_android_root, ndk_module_path) + else: + command = '%s -j%d -C %s %s %s' % (ndk_path, num_of_cpu, app_android_root, ''.join(str(e) for e in ndk_build_param), ndk_module_path) + if os.system(command) != 0: + raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!") + elif android_platform is not None: + sdk_tool_path = os.path.join(sdk_root, "tools/android") + cocoslib_path = os.path.join(cocos_root, "cocos/2d/platform/android/java") + command = '%s update lib-project -t %s -p %s' % (sdk_tool_path,android_platform,cocoslib_path) + if os.system(command) != 0: + raise Exception("update cocos lib-project [ " + cocoslib_path + " ] fails!") + command = '%s update project -t %s -p %s -s' % (sdk_tool_path,android_platform,app_android_root) + if os.system(command) != 0: + raise Exception("update project [ " + app_android_root + " ] fails!") + buildfile_path = os.path.join(app_android_root, "build.xml") + command = 'ant clean %s -f %s -Dsdk.dir=%s' % (build_mode,buildfile_path,sdk_root) + os.system(command) + +def copy_files(src, dst): + + for item in os.listdir(src): + path = os.path.join(src, item) + # Android can not package the file that ends with ".gz" + if not item.startswith('.') and not item.endswith('.gz') and os.path.isfile(path): + shutil.copy(path, dst) + if os.path.isdir(path): + new_dst = os.path.join(dst, item) + os.mkdir(new_dst) + copy_files(path, new_dst) + +def copy_resources(app_android_root): + + # remove app_android_root/assets if it exists + assets_dir = os.path.join(app_android_root, "assets") + if os.path.isdir(assets_dir): + shutil.rmtree(assets_dir) + + # copy resources + os.mkdir(assets_dir) + resources_dir = os.path.join(app_android_root, "../Resources") + if os.path.isdir(resources_dir): + copy_files(resources_dir, assets_dir) + +def build(ndk_build_param,android_platform,build_mode): + + ndk_root = check_environment_variables() + sdk_root = None + select_toolchain_version() + + current_dir = os.path.dirname(os.path.realpath(__file__)) + cocos_root = os.path.join(current_dir, "../cocos2d") + + app_android_root = current_dir + copy_resources(app_android_root) + + if android_platform is not None: + sdk_root = check_environment_variables_sdk() + if android_platform.isdigit(): + android_platform = 'android-'+android_platform + else: + print 'please use vaild android platform' + exit(1) + + if build_mode is None: + build_mode = 'debug' + elif build_mode != 'release': + build_mode = 'debug' + + do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode) + +# -------------- main -------------- +if __name__ == '__main__': + + parser = OptionParser() + parser.add_option("-n", "--ndk", dest="ndk_build_param", help='parameter for ndk-build') + parser.add_option("-p", "--platform", dest="android_platform", + help='parameter for android-update.Without the parameter,the script just build dynamic library for project. Valid android-platform are:[10|11|12|13|14|15|16|17|18|19]') + parser.add_option("-b", "--build", dest="build_mode", + help='the build mode for java project,debug[default] or release.Get more information,please refer to http://developer.android.com/tools/building/building-cmdline.html') + (opts, args) = parser.parse_args() + + build(opts.ndk_build_param,opts.android_platform,opts.build_mode) diff --git a/DemoMap/proj.android/jni/Android.mk b/DemoMap/proj.android/jni/Android.mk new file mode 100644 index 0000000..29fd39b --- /dev/null +++ b/DemoMap/proj.android/jni/Android.mk @@ -0,0 +1,34 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := cocos2dcpp_shared + +LOCAL_MODULE_FILENAME := libcocos2dcpp + +LOCAL_SRC_FILES := hellocpp/main.cpp \ + ../../Classes/AppDelegate.cpp \ + ../../Classes/HelloWorldScene.cpp \ + ../../Classes/CocosGUIExamplesMapScene.cpp + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \ + $(LOCAL_PATH)/../../cocos2d \ + $(LOCAL_PATH)/../../cocos2d/extensions \ + $(LOCAL_PATH)/../../cocos2d/cocos \ + $(LOCAL_PATH)/../../cocos2d/cocos/gui \ + $(LOCAL_PATH)/../../cocos2d/cocos/editor-support/cocostudio \ + +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static +LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocos_gui_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static + + +include $(BUILD_SHARED_LIBRARY) + +$(call import-module,2d) +$(call import-module,audio/android) +$(call import-module,Box2D) +$(call import-module,gui) +$(call import-module,editor-support/cocostudio) diff --git a/DemoMap/proj.android/jni/Application.mk b/DemoMap/proj.android/jni/Application.mk new file mode 100644 index 0000000..74c3f99 --- /dev/null +++ b/DemoMap/proj.android/jni/Application.mk @@ -0,0 +1,2 @@ +APP_STL := gnustl_static +APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DCOCOS2D_DEBUG=1 -std=c++11 -fsigned-char diff --git a/DemoMap/proj.android/jni/hellocpp/main.cpp b/DemoMap/proj.android/jni/hellocpp/main.cpp new file mode 100644 index 0000000..006a744 --- /dev/null +++ b/DemoMap/proj.android/jni/hellocpp/main.cpp @@ -0,0 +1,16 @@ +#include "AppDelegate.h" +#include "cocos2d.h" +#include "CCEventType.h" +#include "platform/android/jni/JniHelper.h" +#include +#include + +#define LOG_TAG "main" +#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__) + +using namespace cocos2d; + +void cocos_android_app_init (struct android_app* app) { + LOGD("cocos_android_app_init"); + AppDelegate *pAppDelegate = new AppDelegate(); +} diff --git a/DemoMap/proj.android/proguard-project.txt b/DemoMap/proj.android/proguard-project.txt new file mode 100644 index 0000000..b60ae7e --- /dev/null +++ b/DemoMap/proj.android/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/DemoMap/proj.android/project.properties b/DemoMap/proj.android/project.properties new file mode 100644 index 0000000..c959301 --- /dev/null +++ b/DemoMap/proj.android/project.properties @@ -0,0 +1,13 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system use, +# "ant.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-10 + +android.library.reference.1=../cocos2d/cocos/2d/platform/android/java diff --git a/DemoMap/proj.android/res/drawable-hdpi/icon.png b/DemoMap/proj.android/res/drawable-hdpi/icon.png new file mode 100644 index 0000000..8aa4767 Binary files /dev/null and b/DemoMap/proj.android/res/drawable-hdpi/icon.png differ diff --git a/DemoMap/proj.android/res/drawable-ldpi/icon.png b/DemoMap/proj.android/res/drawable-ldpi/icon.png new file mode 100644 index 0000000..17ce11a Binary files /dev/null and b/DemoMap/proj.android/res/drawable-ldpi/icon.png differ diff --git a/DemoMap/proj.android/res/drawable-mdpi/icon.png b/DemoMap/proj.android/res/drawable-mdpi/icon.png new file mode 100644 index 0000000..3780aac Binary files /dev/null and b/DemoMap/proj.android/res/drawable-mdpi/icon.png differ diff --git a/DemoMap/proj.android/res/values/strings.xml b/DemoMap/proj.android/res/values/strings.xml new file mode 100644 index 0000000..f22f4c6 --- /dev/null +++ b/DemoMap/proj.android/res/values/strings.xml @@ -0,0 +1,4 @@ + + + DemoMap + diff --git a/DemoMap/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java b/DemoMap/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java new file mode 100644 index 0000000..d2dfa68 --- /dev/null +++ b/DemoMap/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java @@ -0,0 +1,32 @@ +package org.cocos2dx.cpp; + +import android.app.NativeActivity; +import android.os.Bundle; + +public class Cocos2dxActivity extends NativeActivity{ + + @Override + protected void onCreate(Bundle savedInstanceState) { + // TODO Auto-generated method stub + super.onCreate(savedInstanceState); + + //For supports translucency + + //1.change "attribs" in cocos\2d\platform\android\nativeactivity.cpp + /*const EGLint attribs[] = { + EGL_SURFACE_TYPE, EGL_WINDOW_BIT, + EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, + //EGL_BLUE_SIZE, 5, -->delete + //EGL_GREEN_SIZE, 6, -->delete + //EGL_RED_SIZE, 5, -->delete + EGL_BUFFER_SIZE, 32, //-->new field + EGL_DEPTH_SIZE, 16, + EGL_STENCIL_SIZE, 8, + EGL_NONE + };*/ + + //2.Set the format of window + // getWindow().setFormat(PixelFormat.TRANSLUCENT); + + } +} diff --git a/DemoMap/proj.ios_mac/DemoMap.xcodeproj/project.pbxproj b/DemoMap/proj.ios_mac/DemoMap.xcodeproj/project.pbxproj new file mode 100644 index 0000000..2845b5a --- /dev/null +++ b/DemoMap/proj.ios_mac/DemoMap.xcodeproj/project.pbxproj @@ -0,0 +1,1038 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */; }; + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */; }; + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */; }; + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */; }; + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */; }; + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */; }; + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */; }; + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */; }; + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */; }; + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */; }; + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 1AFAF8BE16D35E4900DB1158 /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 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 */; }; + 38DEFB1118C81FB10025D030 /* cocosgui in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB0D18C81FB10025D030 /* cocosgui */; }; + 38DEFB1218C81FB10025D030 /* cocosgui in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB0D18C81FB10025D030 /* cocosgui */; }; + 38DEFB1518C81FB10025D030 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB0F18C81FB10025D030 /* fonts */; }; + 38DEFB1618C81FB10025D030 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB0F18C81FB10025D030 /* fonts */; }; + 38DEFB1718C81FB10025D030 /* hd in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB1018C81FB10025D030 /* hd */; }; + 38DEFB1818C81FB10025D030 /* hd in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB1018C81FB10025D030 /* hd */; }; + 38DEFB2118C81FBB0025D030 /* CocosGUIExamplesMapScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB1F18C81FBB0025D030 /* CocosGUIExamplesMapScene.cpp */; }; + 38DEFB2218C81FBB0025D030 /* CocosGUIExamplesMapScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB1F18C81FBB0025D030 /* CocosGUIExamplesMapScene.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 */; }; + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11117EB99EE00D1A890 /* libcurl.dylib */; }; + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11A17EB9C5A00D1A890 /* IOKit.framework */; }; + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.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 */; }; + 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 */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1551A33F158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2FD617814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2CB81780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2D9B1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2ED617814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F31FD1781479B006731B9; + remoteInfo = "jsbindings Mac"; + }; + 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A6FB53017854BC300CDF010; + remoteInfo = "luabindings Mac"; + }; + 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4D641783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4EFC1783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F3B178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F9E1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4FB4178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; + 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A5030178387750073F6A7; + remoteInfo = "jsbindings iOS"; + }; + 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A119791178526AA00D62A44; + remoteInfo = "luabindings iOS"; + }; + 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 1551A33E158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2FC117814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2B781780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2E9817814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2D5D1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4C241783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4E111783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4EFD178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F3C1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F9F178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../cocos2d/build/cocos2d_libs.xcodeproj; sourceTree = ""; }; + 1ACB3243164770DE00914215 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = ""; }; + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AppDelegate.cpp; path = ../Classes/AppDelegate.cpp; sourceTree = ""; }; + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ../Classes/AppDelegate.h; sourceTree = ""; }; + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HelloWorldScene.cpp; path = ../Classes/HelloWorldScene.cpp; sourceTree = ""; }; + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HelloWorldScene.h; path = ../Classes/HelloWorldScene.h; sourceTree = ""; }; + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseNormal.png; sourceTree = ""; }; + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseSelected.png; sourceTree = ""; }; + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = HelloWorld.png; sourceTree = ""; }; + 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 1D6058910D05DD3D006BFB54 /* DemoMap iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "DemoMap iOS.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; }; + 38DEFB0D18C81FB10025D030 /* cocosgui */ = {isa = PBXFileReference; lastKnownFileType = folder; path = cocosgui; sourceTree = ""; }; + 38DEFB0F18C81FB10025D030 /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; path = fonts; sourceTree = ""; }; + 38DEFB1018C81FB10025D030 /* hd */ = {isa = PBXFileReference; lastKnownFileType = folder; path = hd; sourceTree = ""; }; + 38DEFB1F18C81FBB0025D030 /* CocosGUIExamplesMapScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CocosGUIExamplesMapScene.cpp; path = ../Classes/CocosGUIExamplesMapScene.cpp; sourceTree = ""; }; + 38DEFB2018C81FBB0025D030 /* CocosGUIExamplesMapScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CocosGUIExamplesMapScene.h; path = ../Classes/CocosGUIExamplesMapScene.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 /* DemoMap Mac.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "DemoMap Mac.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 = ""; }; + 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; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */, + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */, + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */, + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */, + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a 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 */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75C17EB910900C73F5D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */, + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */, + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */, + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */, + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */, + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */, + 5087E76717EB910900C73F5D /* libz.dylib in Frameworks */, + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */, + 5087E78B17EB975400C73F5D /* OpenGL.framework in Frameworks */, + 5087E78917EB974C00C73F5D /* AppKit.framework in Frameworks */, + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */, + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */, + 5087E76817EB910900C73F5D /* QuartzCore.framework in Frameworks */, + 5087E76917EB910900C73F5D /* OpenAL.framework in Frameworks */, + 5087E76A17EB910900C73F5D /* AVFoundation.framework in Frameworks */, + 5087E76B17EB910900C73F5D /* AudioToolbox.framework 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 = ""; + }; + 15AA9C4015B7EC450033D6C2 /* Classes */ = { + isa = PBXGroup; + children = ( + 38DEFB1F18C81FBB0025D030 /* CocosGUIExamplesMapScene.cpp */, + 38DEFB2018C81FBB0025D030 /* CocosGUIExamplesMapScene.h */, + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */, + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */, + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */, + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */, + ); + name = Classes; + path = ../classes; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 1D6058910D05DD3D006BFB54 /* DemoMap iOS.app */, + 5087E76F17EB910900C73F5D /* DemoMap Mac.app */, + ); + name = Products; + sourceTree = ""; + }; + 1AC6FAE6180E9839004C840B /* Products */ = { + isa = PBXGroup; + children = ( + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */, + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */, + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */, + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */, + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */, + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */, + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */, + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */, + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */, + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */, + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */, + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */, + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */, + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { + isa = PBXGroup; + children = ( + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */, + 15AA9C4015B7EC450033D6C2 /* Classes */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 080E96DDFE201D6D7F000001 /* ios */, + 503AE10617EB990700D1A890 /* mac */, + 19C28FACFE9D520D11CA2CBB /* Products */, + 78C7DDAA14EBA5050085D0C2 /* Resources */, + ); + name = CustomTemplate; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 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 = ""; + }; + 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 = ( + 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; + }; + 78C7DDAA14EBA5050085D0C2 /* Resources */ = { + isa = PBXGroup; + children = ( + 38DEFB0D18C81FB10025D030 /* cocosgui */, + 38DEFB0F18C81FB10025D030 /* fonts */, + 38DEFB1018C81FB10025D030 /* hd */, + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */, + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */, + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */, + ); + name = Resources; + path = ../Resources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1D6058900D05DD3D006BFB54 /* DemoMap iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "DemoMap iOS" */; + buildPhases = ( + 1D60588D0D05DD3D006BFB54 /* Resources */, + 1D60588E0D05DD3D006BFB54 /* Sources */, + 1D60588F0D05DD3D006BFB54 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */, + ); + name = "DemoMap iOS"; + productName = iphone; + productReference = 1D6058910D05DD3D006BFB54 /* DemoMap iOS.app */; + productType = "com.apple.product-type.application"; + }; + 5087E73D17EB910900C73F5D /* DemoMap Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "DemoMap Mac" */; + buildPhases = ( + 5087E74817EB910900C73F5D /* Resources */, + 5087E75617EB910900C73F5D /* Sources */, + 5087E75C17EB910900C73F5D /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */, + 1AC6FB16180E9959004C840B /* PBXTargetDependency */, + 1AC6FB18180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */, + ); + name = "DemoMap Mac"; + productName = iphone; + productReference = 5087E76F17EB910900C73F5D /* DemoMap Mac.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0500; + TargetAttributes = { + 1D6058900D05DD3D006BFB54 = { + DevelopmentTeam = MDDB52YB8L; + }; + }; + }; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "DemoMap" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = 1AC6FAE6180E9839004C840B /* Products */; + ProjectRef = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + 1D6058900D05DD3D006BFB54 /* DemoMap iOS */, + 5087E73D17EB910900C73F5D /* DemoMap Mac */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx Mac.a"; + remoteRef = 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions Mac.a"; + remoteRef = 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk Mac.a"; + remoteRef = 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d Mac.a"; + remoteRef = 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion Mac.a"; + remoteRef = 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings Mac.a"; + remoteRef = 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings Mac.a"; + remoteRef = 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx iOS.a"; + remoteRef = 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions iOS.a"; + remoteRef = 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk iOS.a"; + remoteRef = 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d iOS.a"; + remoteRef = 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion iOS.a"; + remoteRef = 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings iOS.a"; + remoteRef = 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings iOS.a"; + remoteRef = 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXResourcesBuildPhase section */ + 1D60588D0D05DD3D006BFB54 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFB1118C81FB10025D030 /* cocosgui in Resources */, + 5087E78117EB970100C73F5D /* Icon-120.png in Resources */, + 5087E78617EB970100C73F5D /* Icon-76.png in Resources */, + 38DEFB1718C81FB10025D030 /* hd in Resources */, + 5087E77F17EB970100C73F5D /* Default@2x.png in Resources */, + 50EF629917ECD46A001EB2F8 /* Icon-100.png in Resources */, + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */, + 5087E78317EB970100C73F5D /* Icon-152.png in Resources */, + 5087E77D17EB970100C73F5D /* Default-568h@2x.png in Resources */, + 5087E78517EB970100C73F5D /* Icon-72.png in Resources */, + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */, + 50EF62A317ECD613001EB2F8 /* Icon-50.png in Resources */, + 38DEFB1518C81FB10025D030 /* fonts in Resources */, + 5087E78017EB970100C73F5D /* Icon-114.png in Resources */, + 1AFAF8BE16D35E4900DB1158 /* 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 */, + 50EF629717ECD46A001EB2F8 /* Icon-58.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E74817EB910900C73F5D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFB1218C81FB10025D030 /* cocosgui in Resources */, + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */, + 38DEFB1618C81FB10025D030 /* fonts in Resources */, + 503AE0F817EB97AB00D1A890 /* Icon.icns in Resources */, + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */, + 38DEFB1818C81FB10025D030 /* hd in Resources */, + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1D60588E0D05DD3D006BFB54 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 503AE10017EB989F00D1A890 /* AppController.mm in Sources */, + 503AE10217EB989F00D1A890 /* RootViewController.mm in Sources */, + 38DEFB2118C81FBB0025D030 /* CocosGUIExamplesMapScene.cpp in Sources */, + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */, + 503AE10117EB989F00D1A890 /* main.m in Sources */, + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75617EB910900C73F5D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFB2218C81FBB0025D030 /* CocosGUIExamplesMapScene.cpp in Sources */, + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */, + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */, + 503AE10517EB98FF00D1A890 /* main.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1AC6FB16180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx Mac"; + targetProxy = 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB18180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions Mac"; + targetProxy = 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk Mac"; + targetProxy = 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion Mac"; + targetProxy = 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d Mac"; + targetProxy = 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx iOS"; + targetProxy = 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions iOS"; + targetProxy = 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk iOS"; + targetProxy = 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d iOS"; + targetProxy = 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion iOS"; + targetProxy = 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 "DemoMap iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1D6058940D05DD3E006BFB54 /* Debug */, + 1D6058950D05DD3E006BFB54 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "DemoMap Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5087E76D17EB910900C73F5D /* Debug */, + 5087E76E17EB910900C73F5D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "DemoMap" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/DemoMap/proj.ios_mac/ios/AppController.h b/DemoMap/proj.ios_mac/ios/AppController.h new file mode 100644 index 0000000..d0940a5 --- /dev/null +++ b/DemoMap/proj.ios_mac/ios/AppController.h @@ -0,0 +1,11 @@ +#import + +@class RootViewController; + +@interface AppController : NSObject { + UIWindow *window; + RootViewController *viewController; +} + +@end + diff --git a/DemoMap/proj.ios_mac/ios/AppController.mm b/DemoMap/proj.ios_mac/ios/AppController.mm new file mode 100644 index 0000000..3ceacda --- /dev/null +++ b/DemoMap/proj.ios_mac/ios/AppController.mm @@ -0,0 +1,142 @@ +/**************************************************************************** + 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 "CCEAGLView.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 { + + // 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: kEAGLColorFormatRGB565 + depthFormat: GL_DEPTH24_STENCIL8_OES + preserveBackbuffer: NO + sharegroup: nil + multiSampling: NO + numberOfSamples: 0]; + + // 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::GLView::createWithEAGLView(eaglView); + cocos2d::Director::getInstance()->setOpenGLView(glview); + + cocos2d::Application::getInstance()->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/DemoMap/proj.ios_mac/ios/Default-568h@2x.png b/DemoMap/proj.ios_mac/ios/Default-568h@2x.png new file mode 100644 index 0000000..66c6d1c Binary files /dev/null and b/DemoMap/proj.ios_mac/ios/Default-568h@2x.png differ diff --git a/DemoMap/proj.ios_mac/ios/Default.png b/DemoMap/proj.ios_mac/ios/Default.png new file mode 100644 index 0000000..dcb8072 Binary files /dev/null and b/DemoMap/proj.ios_mac/ios/Default.png differ diff --git a/DemoMap/proj.ios_mac/ios/Default@2x.png b/DemoMap/proj.ios_mac/ios/Default@2x.png new file mode 100644 index 0000000..8468988 Binary files /dev/null and b/DemoMap/proj.ios_mac/ios/Default@2x.png differ diff --git a/DemoMap/proj.ios_mac/ios/Icon-100.png b/DemoMap/proj.ios_mac/ios/Icon-100.png new file mode 100644 index 0000000..ef38d45 Binary files /dev/null and b/DemoMap/proj.ios_mac/ios/Icon-100.png differ diff --git a/DemoMap/proj.ios_mac/ios/Icon-114.png b/DemoMap/proj.ios_mac/ios/Icon-114.png new file mode 100644 index 0000000..c380786 Binary files /dev/null and b/DemoMap/proj.ios_mac/ios/Icon-114.png differ diff --git a/DemoMap/proj.ios_mac/ios/Icon-120.png b/DemoMap/proj.ios_mac/ios/Icon-120.png new file mode 100644 index 0000000..a5b49cc Binary files /dev/null and b/DemoMap/proj.ios_mac/ios/Icon-120.png differ diff --git a/DemoMap/proj.ios_mac/ios/Icon-144.png b/DemoMap/proj.ios_mac/ios/Icon-144.png new file mode 100644 index 0000000..1526615 Binary files /dev/null and b/DemoMap/proj.ios_mac/ios/Icon-144.png differ diff --git a/DemoMap/proj.ios_mac/ios/Icon-152.png b/DemoMap/proj.ios_mac/ios/Icon-152.png new file mode 100644 index 0000000..8aa8250 Binary files /dev/null and b/DemoMap/proj.ios_mac/ios/Icon-152.png differ diff --git a/DemoMap/proj.ios_mac/ios/Icon-29.png b/DemoMap/proj.ios_mac/ios/Icon-29.png new file mode 100644 index 0000000..0500184 Binary files /dev/null and b/DemoMap/proj.ios_mac/ios/Icon-29.png differ diff --git a/DemoMap/proj.ios_mac/ios/Icon-40.png b/DemoMap/proj.ios_mac/ios/Icon-40.png new file mode 100644 index 0000000..775685d Binary files /dev/null and b/DemoMap/proj.ios_mac/ios/Icon-40.png differ diff --git a/DemoMap/proj.ios_mac/ios/Icon-50.png b/DemoMap/proj.ios_mac/ios/Icon-50.png new file mode 100644 index 0000000..ac381bc Binary files /dev/null and b/DemoMap/proj.ios_mac/ios/Icon-50.png differ diff --git a/DemoMap/proj.ios_mac/ios/Icon-57.png b/DemoMap/proj.ios_mac/ios/Icon-57.png new file mode 100644 index 0000000..4fcc6fd Binary files /dev/null and b/DemoMap/proj.ios_mac/ios/Icon-57.png differ diff --git a/DemoMap/proj.ios_mac/ios/Icon-58.png b/DemoMap/proj.ios_mac/ios/Icon-58.png new file mode 100644 index 0000000..f0f8b7f Binary files /dev/null and b/DemoMap/proj.ios_mac/ios/Icon-58.png differ diff --git a/DemoMap/proj.ios_mac/ios/Icon-72.png b/DemoMap/proj.ios_mac/ios/Icon-72.png new file mode 100644 index 0000000..2c573c8 Binary files /dev/null and b/DemoMap/proj.ios_mac/ios/Icon-72.png differ diff --git a/DemoMap/proj.ios_mac/ios/Icon-76.png b/DemoMap/proj.ios_mac/ios/Icon-76.png new file mode 100644 index 0000000..8a1fa18 Binary files /dev/null and b/DemoMap/proj.ios_mac/ios/Icon-76.png differ diff --git a/DemoMap/proj.ios_mac/ios/Icon-80.png b/DemoMap/proj.ios_mac/ios/Icon-80.png new file mode 100644 index 0000000..d9c7ab4 Binary files /dev/null and b/DemoMap/proj.ios_mac/ios/Icon-80.png differ diff --git a/DemoMap/proj.ios_mac/ios/Info.plist b/DemoMap/proj.ios_mac/ios/Info.plist new file mode 100644 index 0000000..88a89b9 --- /dev/null +++ b/DemoMap/proj.ios_mac/ios/Info.plist @@ -0,0 +1,70 @@ + + + + + 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.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIAppFonts + + UIPrerenderedIcon + + UISupportedInterfaceOrientations + + UIInterfaceOrientationLandscapeRight + UIInterfaceOrientationLandscapeLeft + + + diff --git a/DemoMap/proj.ios_mac/ios/Prefix.pch b/DemoMap/proj.ios_mac/ios/Prefix.pch new file mode 100644 index 0000000..3737d11 --- /dev/null +++ b/DemoMap/proj.ios_mac/ios/Prefix.pch @@ -0,0 +1,8 @@ +// +// Prefix header for all source files of the 'iphone' target in the 'iphone' project +// + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/DemoMap/proj.ios_mac/ios/RootViewController.h b/DemoMap/proj.ios_mac/ios/RootViewController.h new file mode 100644 index 0000000..6cde57f --- /dev/null +++ b/DemoMap/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/DemoMap/proj.ios_mac/ios/RootViewController.mm b/DemoMap/proj.ios_mac/ios/RootViewController.mm new file mode 100644 index 0000000..c500a44 --- /dev/null +++ b/DemoMap/proj.ios_mac/ios/RootViewController.mm @@ -0,0 +1,108 @@ +/**************************************************************************** + 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 "CCEAGLView.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]; + + cocos2d::GLView *glview = cocos2d::Director::getInstance()->getOpenGLView(); + CCEAGLView *eaglview = (CCEAGLView*) glview->getEAGLView(); + + 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/DemoMap/proj.ios_mac/ios/main.m b/DemoMap/proj.ios_mac/ios/main.m new file mode 100644 index 0000000..84158b2 --- /dev/null +++ b/DemoMap/proj.ios_mac/ios/main.m @@ -0,0 +1,12 @@ +#import + +// Under iOS and the Simulator, we can use an alternate Accelerometer interface +#import "AccelerometerSimulation.h" + +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/DemoMap/proj.ios_mac/mac/Icon.icns b/DemoMap/proj.ios_mac/mac/Icon.icns new file mode 100644 index 0000000..2040fc6 Binary files /dev/null and b/DemoMap/proj.ios_mac/mac/Icon.icns differ diff --git a/DemoMap/proj.ios_mac/mac/Info.plist b/DemoMap/proj.ios_mac/mac/Info.plist new file mode 100644 index 0000000..df93f67 --- /dev/null +++ b/DemoMap/proj.ios_mac/mac/Info.plist @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + Icon + CFBundleIdentifier + org.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + 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/DemoMap/proj.ios_mac/mac/Prefix.pch b/DemoMap/proj.ios_mac/mac/Prefix.pch new file mode 100644 index 0000000..96d93ae --- /dev/null +++ b/DemoMap/proj.ios_mac/mac/Prefix.pch @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'Paralaxer' target in the 'Paralaxer' project +// + +#ifdef __OBJC__ + #import +#endif diff --git a/DemoMap/proj.ios_mac/mac/main.cpp b/DemoMap/proj.ios_mac/mac/main.cpp new file mode 100644 index 0000000..f0b87fb --- /dev/null +++ b/DemoMap/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(); +} diff --git a/DemoMap/proj.linux/main.cpp b/DemoMap/proj.linux/main.cpp new file mode 100644 index 0000000..7742def --- /dev/null +++ b/DemoMap/proj.linux/main.cpp @@ -0,0 +1,15 @@ +#include "../Classes/AppDelegate.h" + +#include +#include +#include +#include + +USING_NS_CC; + +int main(int argc, char **argv) +{ + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/DemoMap/proj.win32/DemoMap.sln b/DemoMap/proj.win32/DemoMap.sln new file mode 100755 index 0000000..65f53d2 --- /dev/null +++ b/DemoMap/proj.win32/DemoMap.sln @@ -0,0 +1,61 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DemoMap", "DemoMap.vcxproj", "{76A39BB2-9B84-4C65-98A5-654D86B86F2A}" + ProjectSection(ProjectDependencies) = postProject + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\cocos2d\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\cocos2d\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\cocos2d\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosStudio", "..\cocos2d\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libGUI", "..\cocos2d\cocos\gui\proj.win32\libGUI.vcxproj", "{7E06E92C-537A-442B-9E4A-4761C84F8A1A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libExtensions", "..\cocos2d\extensions\proj.win32\libExtensions.vcxproj", "{21B2C324-891F-48EA-AD1A-5AE13DE12E28}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.ActiveCfg = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.Build.0 = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.ActiveCfg = Release|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.Build.0 = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.ActiveCfg = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.Build.0 = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.ActiveCfg = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.Build.0 = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.ActiveCfg = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.Build.0 = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.ActiveCfg = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.Build.0 = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.ActiveCfg = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.Build.0 = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.ActiveCfg = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.Build.0 = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.ActiveCfg = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.Build.0 = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.ActiveCfg = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.Build.0 = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.ActiveCfg = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.Build.0 = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.ActiveCfg = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.Build.0 = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.ActiveCfg = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.Build.0 = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.ActiveCfg = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/DemoMap/proj.win32/DemoMap.vcxproj b/DemoMap/proj.win32/DemoMap.vcxproj new file mode 100755 index 0000000..a5eb34a --- /dev/null +++ b/DemoMap/proj.win32/DemoMap.vcxproj @@ -0,0 +1,174 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {76A39BB2-9B84-4C65-98A5-654D86B86F2A} + test_win32 + Win32Proj + + + + Application + Unicode + true + v100 + v110 + v110_xp + + + Application + Unicode + v100 + v110 + v110_xp + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + true + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + false + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;$(EngineRoot);$(EngineRoot)cocos\editor-support;$(EngineRoot)cocos;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + EditAndContinue + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + MaxSpeed + true + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + ProgramDatabase + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + libcurl_imp.lib;websockets.lib;%(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + true + true + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + + + + + + + + + + + + + {98a51ba8-fc3a-415b-ac8f-8c7bd464e93e} + false + + + {f8edd7fa-9a51-4e80-baeb-860825d2eac6} + + + {b57cf53f-2e49-4031-9822-047cc0e6bde2} + + + {7e06e92c-537a-442b-9e4a-4761c84f8a1a} + + + {21b2c324-891f-48ea-ad1a-5ae13de12e28} + + + {207bc7a9-ccf1-4f2f-a04d-45f72242ae25} + + + + + + + + + \ No newline at end of file diff --git a/DemoMap/proj.win32/DemoMap.vcxproj.filters b/DemoMap/proj.win32/DemoMap.vcxproj.filters new file mode 100755 index 0000000..34db837 --- /dev/null +++ b/DemoMap/proj.win32/DemoMap.vcxproj.filters @@ -0,0 +1,47 @@ + + + + + {84a8ebd7-7cf0-47f6-b75e-d441df67da40} + + + {bb6c862e-70e9-49d9-81b7-3829a6f50471} + + + {715254bc-d70b-4ec5-bf29-467dd3ace079} + + + + + win32 + + + Classes + + + Classes + + + Classes + + + + + win32 + + + Classes + + + Classes + + + Classes + + + + + resource + + + \ No newline at end of file diff --git a/DemoMap/proj.win32/DemoMap.vcxproj.user b/DemoMap/proj.win32/DemoMap.vcxproj.user new file mode 100644 index 0000000..314a27a --- /dev/null +++ b/DemoMap/proj.win32/DemoMap.vcxproj.user @@ -0,0 +1,11 @@ + + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + \ No newline at end of file diff --git a/DemoMap/proj.win32/game.rc b/DemoMap/proj.win32/game.rc new file mode 100644 index 0000000..09d7d99 --- /dev/null +++ b/DemoMap/proj.win32/game.rc @@ -0,0 +1,86 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +#undef APSTUDIO_HIDDEN_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +GLFW_ICON ICON "res\\game.ico" + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,1 + PRODUCTVERSION 1,0,0,1 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904B0" + BEGIN + VALUE "CompanyName", "\0" + VALUE "FileDescription", "game Module\0" + VALUE "FileVersion", "1, 0, 0, 1\0" + VALUE "InternalName", "game\0" + VALUE "LegalCopyright", "Copyright \0" + VALUE "OriginalFilename", "game.exe\0" + VALUE "ProductName", "game Module\0" + VALUE "ProductVersion", "1, 0, 0, 1\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0409, 0x04B0 + END +END + +///////////////////////////////////////////////////////////////////////////// +#endif // !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) diff --git a/DemoMap/proj.win32/main.cpp b/DemoMap/proj.win32/main.cpp new file mode 100644 index 0000000..4ef499e --- /dev/null +++ b/DemoMap/proj.win32/main.cpp @@ -0,0 +1,18 @@ +#include "main.h" +#include "AppDelegate.h" +#include "cocos2d.h" + +USING_NS_CC; + +int APIENTRY _tWinMain(HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPTSTR lpCmdLine, + int nCmdShow) +{ + UNREFERENCED_PARAMETER(hPrevInstance); + UNREFERENCED_PARAMETER(lpCmdLine); + + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/DemoMap/proj.win32/main.h b/DemoMap/proj.win32/main.h new file mode 100644 index 0000000..e4d2aa3 --- /dev/null +++ b/DemoMap/proj.win32/main.h @@ -0,0 +1,13 @@ +#ifndef __MAIN_H__ +#define __MAIN_H__ + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers + +// Windows Header Files: +#include +#include + +// C RunTime Header Files +#include "CCStdC.h" + +#endif // __MAIN_H__ diff --git a/DemoMap/proj.win32/res/game.ico b/DemoMap/proj.win32/res/game.ico new file mode 100644 index 0000000..feaf932 Binary files /dev/null and b/DemoMap/proj.win32/res/game.ico differ diff --git a/DemoMap/proj.win32/resource.h b/DemoMap/proj.win32/resource.h new file mode 100644 index 0000000..ecde7ef --- /dev/null +++ b/DemoMap/proj.win32/resource.h @@ -0,0 +1,20 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by game.RC +// + +#define IDS_PROJNAME 100 +#define IDR_TESTJS 100 + +#define ID_FILE_NEW_WINDOW 32771 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 201 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 32775 +#endif +#endif diff --git a/DemoShop/CMakeLists.txt b/DemoShop/CMakeLists.txt new file mode 100644 index 0000000..82a8f20 --- /dev/null +++ b/DemoShop/CMakeLists.txt @@ -0,0 +1,169 @@ +cmake_minimum_required(VERSION 2.6) + +set(APP_NAME MyGame) +project (${APP_NAME}) + +include(cocos2d/build/BuildHelpers.CMakeLists.txt) + +option(USE_CHIPMUNK "Use chipmunk for physics library" ON) +option(USE_BOX2D "Use box2d for physics library" OFF) +option(DEBUG_MODE "Debug or release?" ON) + +if(DEBUG_MODE) + set(CMAKE_BUILD_TYPE DEBUG) +else(DEBUG_MODE) + set(CMAKE_BUILD_TYPE RELEASE) +endif(DEBUG_MODE) + +set(CMAKE_C_FLAGS_DEBUG "-g -Wall -DCOCOS2D_DEBUG=1") +set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) + +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + +if(USE_CHIPMUNK) + message("Using chipmunk ...") + add_definitions(-DLINUX -DCC_ENABLE_CHIPMUNK_INTEGRATION=1) +elseif(USE_BOX2D) + message("Using box2d ...") + add_definitions(-DLINUX -DCC_ENABLE_BOX2D_INTEGRATION=1) +else(USE_CHIPMUNK) + message(FATAL_ERROR "Must choose a physics library.") +endif(USE_CHIPMUNK) + +# architecture +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(ARCH_DIR "64-bit") +else() +set(ARCH_DIR "32-bit") +endif() + + +set(GAME_SRC + proj.linux/main.cpp + Classes/AppDelegate.cpp + Classes/HelloWorldScene.cpp +) + +set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/cocos2d) + +include_directories( + /usr/local/include/GLFW + ${COCOS2D_ROOT} + ${COCOS2D_ROOT}/cocos + ${COCOS2D_ROOT}/cocos/audio/include + ${COCOS2D_ROOT}/cocos/2d + ${COCOS2D_ROOT}/cocos/2d/renderer + ${COCOS2D_ROOT}/cocos/2d/platform + ${COCOS2D_ROOT}/cocos/2d/platform/desktop + ${COCOS2D_ROOT}/cocos/2d/platform/linux + ${COCOS2D_ROOT}/cocos/base + ${COCOS2D_ROOT}/cocos/physics + ${COCOS2D_ROOT}/cocos/editor-support + ${COCOS2D_ROOT}/cocos/math/kazmath/include + ${COCOS2D_ROOT}/extensions + ${COCOS2D_ROOT}/external + ${COCOS2D_ROOT}/external/edtaa3func + ${COCOS2D_ROOT}/external/jpeg/include/linux + ${COCOS2D_ROOT}/external/tiff/include/linux + ${COCOS2D_ROOT}/external/webp/include/linux + ${COCOS2D_ROOT}/external/tinyxml2 + ${COCOS2D_ROOT}/external/unzip + ${COCOS2D_ROOT}/external/chipmunk/include/chipmunk + ${COCOS2D_ROOT}/external/freetype2/include/linux + ${COCOS2D_ROOT}/external/websockets/include/linux + ${COCOS2D_ROOT}/external/spidermonkey/include/linux + ${COCOS2D_ROOT}/external/linux-specific/fmod/include/${ARCH_DIR} +) + +link_directories( + /usr/local/lib + ${COCOS2D_ROOT}/external/jpeg/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/tiff/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/webp/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/freetype2/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/websockets/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/spidermonkey/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/linux-specific/fmod/prebuilt/${ARCH_DIR} +) + +# kazmath +add_subdirectory(${COCOS2D_ROOT}/cocos/math/kazmath) + +# chipmunk library +add_subdirectory(${COCOS2D_ROOT}/external/chipmunk/src) + +# box2d library +add_subdirectory(${COCOS2D_ROOT}/external/Box2D) + +# unzip library +add_subdirectory(${COCOS2D_ROOT}/external/unzip) + +# tinyxml2 library +add_subdirectory(${COCOS2D_ROOT}/external/tinyxml2) + +# audio +add_subdirectory(${COCOS2D_ROOT}/cocos/audio) + +# cocos base library +add_subdirectory(${COCOS2D_ROOT}/cocos/base) + +# cocos 2d library +add_subdirectory(${COCOS2D_ROOT}/cocos/2d) + +# cocos storage +add_subdirectory(${COCOS2D_ROOT}/cocos/storage) + +# gui +add_subdirectory(${COCOS2D_ROOT}/cocos/gui) + +# network +add_subdirectory(${COCOS2D_ROOT}/cocos/network) + +# extensions +add_subdirectory(${COCOS2D_ROOT}/extensions) + +## Editor Support + +# spine +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/spine) + +# cocosbuilder +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocosbuilder) + +# cocostudio +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocostudio) + +# add the executable +add_executable(${APP_NAME} + ${GAME_SRC} +) + +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(FMOD_LIB "fmodex64") +else() +set(FMOD_LIB "fmodex") +endif() + +target_link_libraries(${APP_NAME} + gui + network + storage + spine + cocostudio + cocosbuilder + extensions + audio + cocos2d + ) + +set(APP_BIN_DIR "${CMAKE_BINARY_DIR}/bin") + +set_target_properties(${APP_NAME} PROPERTIES + RUNTIME_OUTPUT_DIRECTORY "${APP_BIN_DIR}") + +pre_build(${APP_NAME} + COMMAND ${CMAKE_COMMAND} -E remove_directory ${APP_BIN_DIR}/Resources + COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/Resources ${APP_BIN_DIR}/Resources + ) + diff --git a/DemoShop/Classes/AppDelegate.cpp b/DemoShop/Classes/AppDelegate.cpp new file mode 100644 index 0000000..9683182 --- /dev/null +++ b/DemoShop/Classes/AppDelegate.cpp @@ -0,0 +1,73 @@ +#include "AppDelegate.h" +#include "HelloWorldScene.h" +#include "CocosGUIExamplesWeaponScene.h" + +USING_NS_CC; + +AppDelegate::AppDelegate() { + +} + +AppDelegate::~AppDelegate() +{ +} + +bool AppDelegate::applicationDidFinishLaunching() { + // initialize director + auto director = Director::getInstance(); + auto glview = director->getOpenGLView(); + if(!glview) { + glview = GLView::create("My Game"); + director->setOpenGLView(glview); + } + + // turn on display FPS + director->setDisplayStats(true); + + // set FPS. the default value is 1.0/60 if you don't call this + director->setAnimationInterval(1.0 / 60); + + auto screenSize = glview->getFrameSize(); + + auto designSize = Size(480, 320); + + auto fileUtils = FileUtils::getInstance(); + std::vector searchPaths; + + if (screenSize.height > 320) + { + auto resourceSize = Size(960, 640); + searchPaths.push_back("hd"); + director->setContentScaleFactor(resourceSize.height/designSize.height); + } + + fileUtils->setSearchPaths(searchPaths); + + // glview->setDesignResolutionSize(screenSize.width, screenSize.height, ResolutionPolicy::NO_BORDER); + glview->setDesignResolutionSize(designSize.width, designSize.height, ResolutionPolicy::NO_BORDER); + + // create a scene. it's an autorelease object + auto scene = new CocosGUIExamplesWeaponScene(); + scene->autorelease(); + + // 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::sharedEngine()->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::sharedEngine()->resumeBackgroundMusic(); +} diff --git a/DemoShop/Classes/AppDelegate.h b/DemoShop/Classes/AppDelegate.h new file mode 100644 index 0000000..01cbb7c --- /dev/null +++ b/DemoShop/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/DemoShop/Classes/CocosGUIExamplesWeaponScene.cpp b/DemoShop/Classes/CocosGUIExamplesWeaponScene.cpp new file mode 100644 index 0000000..5dd2bc3 --- /dev/null +++ b/DemoShop/Classes/CocosGUIExamplesWeaponScene.cpp @@ -0,0 +1,467 @@ + + +#include "CocosGUIExamplesWeaponScene.h" +#include "cocostudio/CCSSceneReader.h" +#include "cocostudio/CCSGUIReader.h" +#include "cocostudio/CCActionManagerEx.h" + + +const char* shop_textures[8] = +{ + "cocosgui/gui_examples/DemoShop/armour.png", + "cocosgui/gui_examples/DemoShop/helmet.png", + "cocosgui/gui_examples/DemoShop/shield.png", + "cocosgui/gui_examples/DemoShop/sword.png", + "cocosgui/gui_examples/DemoShop/gloves.png", + "cocosgui/gui_examples/DemoShop/dimensity.png", + "cocosgui/gui_examples/DemoShop/dart.png", + "cocosgui/gui_examples/DemoShop/backpack.png", +}; + +const char* shop_names[8] = +{ + "Armour", + "Helmet", + "Shield", + "Sword", + "Gloves", + "Dimensity", + "Dart", + "Backpack", +}; + +const char* shop_price_units[8] = +{ + "Counpon", + "Binding", + "Medal", + "Counpon", + "Binding", + "Medal", + "Counpon", + "Binding", +}; + +const int shop_prices[8] = +{ + 19, + 10, + 22, + 20, + 8, + 17, + 5, + 4, +}; + +CocosGUIExamplesWeaponScene::CocosGUIExamplesWeaponScene() +: m_nIndex(-1) +, m_nCount(0) +, m_nCoupon(COUPON_MAX) +, m_nBinding(BINDING_MAX) +, m_nMedal(MEDAL_MAX) +{ + CCScene::init(); +} + +CocosGUIExamplesWeaponScene::~CocosGUIExamplesWeaponScene() +{ + +} + +void CocosGUIExamplesWeaponScene::onEnter() +{ + CCScene::onEnter(); + + m_pUILayer = Layer::create(); + m_pUILayer->scheduleUpdate(); + addChild(m_pUILayer); + + ShopInit(); + popupInit(); +// BuyInit(); +} + +void CocosGUIExamplesWeaponScene::onExit() +{ + m_pUILayer->removeFromParent(); + + cocostudio::SceneReader::destroyInstance(); + cocostudio::GUIReader::destroyInstance(); + cocostudio::ActionManagerEx::destroyInstance(); + + CCScene::onExit(); +} + +void CocosGUIExamplesWeaponScene::menuCloseCallback(Ref* pSender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + CCDirector::getInstance()->end(); + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + exit(0); +#endif + } +} + +// shop +void CocosGUIExamplesWeaponScene::ShopInit() +{ + // shop Layout from json + _root = static_cast(cocostudio::GUIReader::getInstance()->widgetFromJsonFile("cocosgui/gui_examples/DemoShop/DemoShop.json")); + m_pUILayer->addChild(_root); + + // shop scrollview + /* for 3.0 */ + ui::ScrollView* shop_scrollview = static_cast(_root->getChildByName("shop_ScrollView")); + /**/ + // shop scrollview children + /* for 3.0 */ + for (int i = 0; i < shop_scrollview->getChildren().size(); ++i) +// for (int i = 0; i < shop_scrollview->getChildren()->count(); ++i) + /**/ + { + /* for 3.0 */ + Layout* shop_layout = static_cast(shop_scrollview->getChildren().at(i)); +// Layout* shop_layout = static_cast(shop_scrollview->getChildren()->objectAtIndex(i)); + /**/ + shop_layout->setTag(SHOP_ITEM_LAYOUT_TAG + i); + + // buy button + Button* buy_button = static_cast(shop_layout->getChildByName("buy_Button")); + buy_button->addTouchEventListener(this, toucheventselector(CocosGUIExamplesWeaponScene::popupLogic)); + } + + // ranking scrollview + ui::ScrollView* ranking_scrollview = static_cast(_root->getChildByName("ranking_ScrollView")); + // ranking scrollview children + /* for 3.0 */ + for (int i = 0; i < ranking_scrollview->getChildren().size(); ++i) +// for (int i = 0; i < ranking_scrollview->getChildren()->count(); ++i) + /**/ + { + /* for 3.0 */ + Layout* ranking_layout = static_cast(ranking_scrollview->getChildren().at(i)); +// Layout* ranking_layout = static_cast(ranking_scrollview->getChildren()->objectAtIndex(i)); + /**/ + + /* for 3.0 */ + for (int j = 0; j < shop_scrollview->getChildren().size(); ++j) +// for (int j = 0; j < shop_scrollview->getChildren()->count(); ++j) + /**/ + { + /* for 3.0 */ + Layout* shop_layout = static_cast(shop_scrollview->getChildren().at(j)); +// Layout* shop_layout = static_cast(shop_scrollview->getChildren()->objectAtIndex(j)); + /**/ + if (strcmp(ranking_layout->getName(), shop_layout->getName()) == 0) + { + ranking_layout->setTag(RANKING_ITEM_LAYOUT_TAG + (shop_layout->getTag() - SHOP_ITEM_LAYOUT_TAG)); + } + } + } + /* for 3.0 */ + for (int i = 0; i < ranking_scrollview->getChildren().size(); ++i) +// for (int i = 0; i < ranking_scrollview->getChildren()->count(); ++i) + /**/ + { + /* for 3.0 */ + Layout* ranking_layout = static_cast(ranking_scrollview->getChildren().at(i)); +// Layout* ranking_layout = static_cast(ranking_scrollview->getChildren()->objectAtIndex(i)); + /**/ + + // buy button + Button* buy_button = static_cast(ranking_layout->getChildByName("buy_Button")); + buy_button->addTouchEventListener(this, toucheventselector(CocosGUIExamplesWeaponScene::popupLogic)); + } + + // back button + Button* back_button = static_cast(_root->getChildByName("back_Button")); + back_button->addTouchEventListener(this, toucheventselector(CocosGUIExamplesWeaponScene::menuCloseCallback)); +} + +// popup +void CocosGUIExamplesWeaponScene::popupInit() +{ + // buy layout + /* for 3.0 */ + Layout* buy_layout = static_cast(Helper::seekWidgetByName(_root, "buy_Panel")); +// Layout* buy_layout = static_cast(m_pUILayer->getWidgetByName("buy_Panel")); + /**/ + + // add button + Button* add_button = static_cast(buy_layout->getChildByName("add_Button")); + add_button->addTouchEventListener(this, toucheventselector(CocosGUIExamplesWeaponScene::popupCalculate)); + + // sub button + Button* sub_button = static_cast(buy_layout->getChildByName("sub_Button")); + sub_button->addTouchEventListener(this, toucheventselector(CocosGUIExamplesWeaponScene::popupCalculate)); + + // number labelatlas + TextAtlas* number_labelAtlas = static_cast(buy_layout->getChildByName("number_LabelAtlas")); + number_labelAtlas->setStringValue(CCString::createWithFormat("%d", m_nCount)->getCString()); + + // coupon number labelatlas + TextAtlas* couponNumber_labelAtlas = static_cast(buy_layout->getChildByName("coupon_number_LabelAtlas")); + couponNumber_labelAtlas->setStringValue(CCString::createWithFormat("%d", m_nCoupon)->getCString()); + + // binding number labelatlas + TextAtlas* bindingNumber_labelAtlas = static_cast(buy_layout->getChildByName("binding_number_LabelAtlas")); + bindingNumber_labelAtlas->setStringValue(CCString::createWithFormat("%d", m_nBinding)->getCString()); + + // medal number labelatlas + TextAtlas* medalNumber_labelAtlas = static_cast(buy_layout->getChildByName("medal_number_LabelAtlas")); + medalNumber_labelAtlas->setStringValue(CCString::createWithFormat("%d", m_nMedal)->getCString()); + + // buy button + Button* buy_button = static_cast(buy_layout->getChildByName("buy_Button")); + buy_button->addTouchEventListener(this, toucheventselector(CocosGUIExamplesWeaponScene::popupClose)); + buy_button->setTouchEnabled(true); + + // close button + Button* close_button = static_cast(buy_layout->getChildByName("close_Button")); + close_button->addTouchEventListener(this, toucheventselector(CocosGUIExamplesWeaponScene::popupClose)); +} + +void CocosGUIExamplesWeaponScene::popupClose(Ref *pSender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + /* for 3.0 */ + Layout* buy_layout = static_cast(Helper::seekWidgetByName(_root, "buy_Panel")); +// Layout* buy_layout = static_cast(m_pUILayer->getWidgetByName("buy_Panel")); + /**/ + buy_layout->setVisible(false); + + // process shop ranking touchEnabled + /* for 3.0 */ +// Ref* obj = NULL; + /**/ + + // shop scrollview + /* for 3.0 */ + ui::ScrollView* shop_scrollview = static_cast(Helper::seekWidgetByName(_root, "shop_ScrollView")); +// ScrollView* shop_scrollview = static_cast(m_pUILayer->getWidgetByName("shop_ScrollView")); + /**/ + // shop scrollview children + /* for 3.0 */ + for (auto& obj : shop_scrollview->getChildren()) +// CCARRAY_FOREACH(shop_scrollview->getChildren(), obj) + /**/ + { + Layout* shop_layout = static_cast(obj); + + // buy button + Button* buy_button = static_cast(shop_layout->getChildByName("buy_Button")); + buy_button->setTouchEnabled(true); + } + + // ranking scrollview + /* for 3.0 */ + ui::ScrollView* ranking_scrollview = static_cast(Helper::seekWidgetByName(_root, "ranking_ScrollView")); +// ScrollView* ranking_scrollview = static_cast(m_pUILayer->getWidgetByName("ranking_ScrollView")); + /**/ + // ranking scrollview children + /* for 3.0 */ + for (auto& obj : ranking_scrollview->getChildren()) +// CCARRAY_FOREACH(ranking_scrollview->getChildren(), obj) + /**/ + { + Layout* ranking_layout = static_cast(obj); + + // buy button + Button* buy_button = static_cast(ranking_layout->getChildByName("buy_Button")); + buy_button->setTouchEnabled(true); + } + } +} + +void CocosGUIExamplesWeaponScene::popupLogic(Ref *pSender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + Widget* widget = static_cast(pSender); + Widget* parent = static_cast(widget->getParent()); + + // buy layout + /* for 3.0 */ + Layout* buy_layout = static_cast(Helper::seekWidgetByName(_root, "buy_Panel")); +// Layout* buy_layout = static_cast(m_pUILayer->getWidgetByName("buy_Panel")); + /**/ + buy_layout->setVisible(true); + + // icon imageview + ImageView* icon_imageview = static_cast(buy_layout->getChildByName("icon_ImageView")); + // name text + /* for 3.0 */ + Text* name_text = static_cast(buy_layout->getChildByName("name_Label")); +// TextBMFont* name_labelBMFont = static_cast(buy_layout->getChildByName("name_LabelBMFont")); + /**/ + /* for 3.0 */ + // price unit text + Text* priceUnit_text = static_cast(buy_layout->getChildByName("price_unit_Label")); +// TextBMFont* priceUnit_labelBMFont = static_cast(buy_layout->getChildByName("price_unit_LabelBMFont")); + /**/ + /* for 3.0 */ + // price text + Text* price_text = static_cast(buy_layout->getChildByName("price_Label")); +// TextBMFont* price_labelBMFont = static_cast(buy_layout->getChildByName("price_LabelBMFont")); + /**/ + + /* for 3.0 */ + ui::ScrollView* shop_scrollview = static_cast(Helper::seekWidgetByName(_root, "shop_ScrollView")); + ui::ScrollView* ranking_scrollview = static_cast(Helper::seekWidgetByName(_root, "ranking_ScrollView")); +// ScrollView* shop_scrollview = static_cast(m_pUILayer->getWidgetByName("shop_ScrollView")); +// ScrollView* ranking_scrollview = static_cast(m_pUILayer->getWidgetByName("ranking_ScrollView")); + /**/ + int tag = parent->getTag(); + int index = 0; + /* for 3.0 */ + if (tag >= SHOP_ITEM_LAYOUT_TAG && tag <= shop_scrollview->getChildren().size() + SHOP_ITEM_LAYOUT_TAG) +// if (tag >= SHOP_ITEM_LAYOUT_TAG && tag <= shop_scrollview->getChildren()->count() + SHOP_ITEM_LAYOUT_TAG) + { + index = tag - SHOP_ITEM_LAYOUT_TAG; + } + /* for 3.0 */ + else if (tag >= RANKING_ITEM_LAYOUT_TAG && tag <= ranking_scrollview->getChildren().size() + RANKING_ITEM_LAYOUT_TAG) +// else if (tag >= RANKING_ITEM_LAYOUT_TAG && tag <= ranking_scrollview->getChildren()->count() + RANKING_ITEM_LAYOUT_TAG) + /**/ + { + index = tag - RANKING_ITEM_LAYOUT_TAG; + } + m_nIndex = index; + icon_imageview->loadTexture(shop_textures[index]); + name_text->setText(shop_names[index]); + priceUnit_text->setText(shop_price_units[index]); + price_text->setText(CCString::createWithFormat("%d", shop_prices[index])->getCString()); + + + // reset buy property + m_nCount = 0; + // number labelatlas + TextAtlas* number_labelAtlas = static_cast(buy_layout->getChildByName("number_LabelAtlas")); + number_labelAtlas->setStringValue(CCString::createWithFormat("%d", m_nCount)->getCString()); + + m_nCoupon = COUPON_MAX; + m_nBinding = BINDING_MAX; + m_nMedal = MEDAL_MAX; + // coupon number labelatlas + TextAtlas* couponNumber_labelAtlas = static_cast(buy_layout->getChildByName("coupon_number_LabelAtlas")); + couponNumber_labelAtlas->setStringValue(CCString::createWithFormat("%d", m_nCoupon)->getCString()); + + // binding number labelatlas + TextAtlas* bindingNumber_labelAtlas = static_cast(buy_layout->getChildByName("binding_number_LabelAtlas")); + bindingNumber_labelAtlas->setStringValue(CCString::createWithFormat("%d", m_nBinding)->getCString()); + + // medal number labelatlas + TextAtlas* medalNumber_labelAtlas = static_cast(buy_layout->getChildByName("medal_number_LabelAtlas")); + medalNumber_labelAtlas->setStringValue(CCString::createWithFormat("%d", m_nMedal)->getCString()); + + + // process shop ranking touchEnabled + /* for 3.0 */ +// Ref* obj = NULL; + /**/ + + // shop scrollview children + /* for 3.0 */ + for (auto& obj : shop_scrollview->getChildren()) +// CCARRAY_FOREACH(shop_scrollview->getChildren(), obj) + /**/ + { + Layout* shop_layout = static_cast(obj); + + // buy button + Button* buy_button = static_cast(shop_layout->getChildByName("buy_Button")); + buy_button->setTouchEnabled(false); + } + + // ranking scrollview children + /* for 3.0 */ + for (auto& obj : ranking_scrollview->getChildren()) +// CCARRAY_FOREACH(ranking_scrollview->getChildren(), obj) + /**/ + { + Layout* ranking_layout = static_cast(obj); + + // buy button + Button* buy_button = static_cast(ranking_layout->getChildByName("buy_Button")); + buy_button->setTouchEnabled(false); + } + } +} + +void CocosGUIExamplesWeaponScene::popupCalculate(Ref *pSender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + Button* button = static_cast(pSender); + Widget* buy_layout = static_cast(button->getParent()); + + int price = shop_prices[m_nIndex]; + if (strcmp(button->getName(), "add_Button") == 0) // add + { + if (strcmp(shop_price_units[m_nIndex], "Counpon") == 0) + { + if (m_nCoupon >= price) + { + m_nCount++; + m_nCoupon -= price; + } + } + else if (strcmp(shop_price_units[m_nIndex], "Binding") == 0) + { + if (m_nBinding >= price) + { + m_nCount++; + m_nBinding -= price; + } + } + if (strcmp(shop_price_units[m_nIndex], "Medal") == 0) + { + if (m_nMedal >= price) + { + m_nCount++; + m_nMedal -= price; + } + } + } + else if (strcmp(button->getName(), "sub_Button") == 0) // sub + { + if (m_nCount > 0) + { + m_nCount--; + + if (strcmp(shop_price_units[m_nIndex], "Counpon") == 0) + { + m_nCoupon += price; + } + else if (strcmp(shop_price_units[m_nIndex], "Binding") == 0) + { + m_nBinding += price; + } + if (strcmp(shop_price_units[m_nIndex], "Medal") == 0) + { + m_nMedal += price; + } + } + } + + // number labelatlas + TextAtlas* number_labelAtlas = static_cast(buy_layout->getChildByName("number_LabelAtlas")); + number_labelAtlas->setStringValue(CCString::createWithFormat("%d", m_nCount)->getCString()); + + // coupon number labelatlas + TextAtlas* couponNumber_labelAtlas = static_cast(buy_layout->getChildByName("coupon_number_LabelAtlas")); + couponNumber_labelAtlas->setStringValue(CCString::createWithFormat("%d", m_nCoupon)->getCString()); + + // binding number labelatlas + TextAtlas* bindingNumber_labelAtlas = static_cast(buy_layout->getChildByName("binding_number_LabelAtlas")); + bindingNumber_labelAtlas->setStringValue(CCString::createWithFormat("%d", m_nBinding)->getCString()); + + // medal number labelatlas + TextAtlas* medalNumber_labelAtlas = static_cast(buy_layout->getChildByName("medal_number_LabelAtlas")); + medalNumber_labelAtlas->setStringValue(CCString::createWithFormat("%d", m_nMedal)->getCString()); + } +} diff --git a/DemoShop/Classes/CocosGUIExamplesWeaponScene.h b/DemoShop/Classes/CocosGUIExamplesWeaponScene.h new file mode 100644 index 0000000..89e7f17 --- /dev/null +++ b/DemoShop/Classes/CocosGUIExamplesWeaponScene.h @@ -0,0 +1,79 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__CocosGUIExamplesWeaponScene__ +#define __TestCpp__CocosGUIExamplesWeaponScene__ + +#include "cocos2d.h" +#include "cocos-ext.h" +#include "gui/CocosGUI.h" +//#include "../../testBasic.h" + +USING_NS_CC; +USING_NS_CC_EXT; +using namespace ui; + +#define WEAPON_ITEM_LAYOUT_TAG 1 + +#define SHOP_ITEM_LAYOUT_TAG 100 +#define RANKING_ITEM_LAYOUT_TAG 200 + +#define COUPON_MAX 300 +#define BINDING_MAX 400 +#define MEDAL_MAX 500 + +class CocosGUIExamplesWeaponScene : public Scene +{ +public: + CocosGUIExamplesWeaponScene(); + ~CocosGUIExamplesWeaponScene(); + + virtual void onEnter(); + virtual void onExit(); + +protected: + // a selector callback + void menuCloseCallback(Ref* pSender, TouchEventType type); + + // shop + void ShopInit(); + + // popup + void popupInit(); + void popupClose(Ref* pSender, TouchEventType type); + void popupLogic(Ref* pSender, TouchEventType type); + void popupCalculate(Ref* pSender, TouchEventType type); + +protected: + Layer* m_pUILayer; + Layout* _root; + + int m_nIndex; + int m_nCount; + int m_nCoupon; + int m_nBinding; + int m_nMedal; +}; + +#endif /* defined(__TestCpp__CocosGUIExamplesWeaponScene__) */ diff --git a/DemoShop/Classes/HelloWorldScene.cpp b/DemoShop/Classes/HelloWorldScene.cpp new file mode 100644 index 0000000..cdd15a5 --- /dev/null +++ b/DemoShop/Classes/HelloWorldScene.cpp @@ -0,0 +1,86 @@ +#include "HelloWorldScene.h" + +USING_NS_CC; + +Scene* HelloWorld::createScene() +{ + // 'scene' is an autorelease object + 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(); + Point origin = Director::getInstance()->getVisibleOrigin(); + + ///////////////////////////// + // 2. add a menu item with "X" image, which is clicked to quit the program + // you may modify it. + + // add a "close" icon to exit the progress. it's an autorelease object + auto closeItem = MenuItemImage::create( + "CloseNormal.png", + "CloseSelected.png", + CC_CALLBACK_1(HelloWorld::menuCloseCallback, this)); + + closeItem->setPosition(Point(origin.x + visibleSize.width - closeItem->getContentSize().width/2 , + origin.y + closeItem->getContentSize().height/2)); + + // create menu, it's an autorelease object + auto menu = Menu::create(closeItem, NULL); + menu->setPosition(Point::ZERO); + this->addChild(menu, 1); + + ///////////////////////////// + // 3. add your codes below... + + // add a label shows "Hello World" + // create and initialize a label + + auto label = LabelTTF::create("Hello World", "Arial", 24); + + // position the label on the center of the screen + label->setPosition(Point(origin.x + visibleSize.width/2, + origin.y + visibleSize.height - label->getContentSize().height)); + + // add the label as a child to this layer + this->addChild(label, 1); + + // add "HelloWorld" splash screen" + auto sprite = Sprite::create("HelloWorld.png"); + + // position the sprite on the center of the screen + sprite->setPosition(Point(visibleSize.width/2 + origin.x, visibleSize.height/2 + origin.y)); + + // add the sprite as a child to this layer + this->addChild(sprite, 0); + + return true; +} + + +void HelloWorld::menuCloseCallback(Ref* pSender) +{ + Director::getInstance()->end(); + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + exit(0); +#endif +} diff --git a/DemoShop/Classes/HelloWorldScene.h b/DemoShop/Classes/HelloWorldScene.h new file mode 100644 index 0000000..3473313 --- /dev/null +++ b/DemoShop/Classes/HelloWorldScene.h @@ -0,0 +1,22 @@ +#ifndef __HELLOWORLD_SCENE_H__ +#define __HELLOWORLD_SCENE_H__ + +#include "cocos2d.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(); + + // a selector callback + void menuCloseCallback(cocos2d::Ref* pSender); + + // implement the "static create()" method manually + CREATE_FUNC(HelloWorld); +}; + +#endif // __HELLOWORLD_SCENE_H__ diff --git a/DemoShop/DemoShop_editor/DemoShop.xml.ui b/DemoShop/DemoShop_editor/DemoShop.xml.ui new file mode 100644 index 0000000..9870e81 --- /dev/null +++ b/DemoShop/DemoShop_editor/DemoShop.xml.ui @@ -0,0 +1,20 @@ + + + C:\Users\houlong\Desktop\DemoShop_editor\DemoShop.xml.ui + 1.2.0.1 + DemoShop + C:\Users\houlong\Desktop\DemoShop_editor + DemoShop.json + C:\Users\houlong\Desktop\DemoShop_editor\Resources + C:\Users\houlong\Desktop\DemoShop_editor\Json + + DemoShop.json + + + .json + DemoShop.json + + 480 + 320 + + \ No newline at end of file diff --git a/DemoShop/DemoShop_editor/Json/DemoShop.json b/DemoShop/DemoShop_editor/Json/DemoShop.json new file mode 100644 index 0000000..4a11804 --- /dev/null +++ b/DemoShop/DemoShop_editor/Json/DemoShop.json @@ -0,0 +1,6922 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "dataScale": 1, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "1.2.0.1", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ScrollView", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 87, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 54, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "armour.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 54 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 88, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 91, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 227, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 143, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Armour", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 228, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 144, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "19", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "armour_Panel", + "ZOrder": 0, + "actiontag": 84, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.7653061, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 150, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 94, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 37, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "helmet.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 37 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 95, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 98, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 229, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 145, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Helmet", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 230, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 146, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "10", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "helmet_Panel", + "ZOrder": 0, + "actiontag": 93, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5121951, + "positionPercentY": 0.7653061, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 126, + "y": 150, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 101, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 54, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 54, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "shield.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 54, + "scale9Width": 54 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 102, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 105, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 231, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 147, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Shield", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 232, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.593220353, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 148, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 70, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "22", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "shield_Panel", + "ZOrder": 0, + "actiontag": 100, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.5102041, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 100, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 108, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 49, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "sword.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 49 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 109, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 112, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 233, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 149, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Sword", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 234, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 150, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "20", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "sword_Panel", + "ZOrder": 0, + "actiontag": 107, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5121951, + "positionPercentY": 0.5102041, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 126, + "y": 100, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 115, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 50, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 42, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "gloves.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 50, + "scale9Width": 42 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 116, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 119, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 236, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 152, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Gloves", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 237, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 153, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "8", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "gloves_Panel", + "ZOrder": 0, + "actiontag": 114, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.255102038, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 50, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 122, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 48, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "dimensity.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 48 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 123, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 126, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 238, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 154, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Dimensity", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 239, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 155, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "17", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "dimensity_Panel", + "ZOrder": 0, + "actiontag": 121, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5121951, + "positionPercentY": 0.255102038, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 126, + "y": 50, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 129, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.27966103, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 66, + "x": 33, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "dart.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 57, + "scale9Width": 66 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 130, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 133, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 240, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 156, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Dart", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 241, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 157, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "8", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "dart_Panel", + "ZOrder": 0, + "actiontag": 128, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.0102040814, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 2, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 136, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.237288132, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 56, + "x": 28, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "backpack.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 56 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 137, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 140, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 242, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 158, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Backpack", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 243, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 159, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "4", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "backpack_Panel", + "ZOrder": 0, + "actiontag": 135, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5121951, + "positionPercentY": 0.0102040814, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 126, + "y": 2, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIScrollViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ScrollView", + "name": "shop_ScrollView", + "ZOrder": 3, + "actiontag": 86, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 196, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.104166664, + "positionPercentY": 0.209375, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5125, + "sizePercentY": 0.6125, + "sizeType": 0, + "tag": 66, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 246, + "x": 50, + "y": 67, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 100, + "bgColorG": 150, + "bgColorOpacity": 100, + "bgColorR": 255, + "bgEndColorB": 0, + "bgEndColorG": 0, + "bgEndColorR": 255, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "bounceEnable": false, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "direction": 1, + "innerHeight": 196, + "innerWidth": 246, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "ScrollView", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 29, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 54, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.4318182, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 54, + "x": 24, + "y": 19, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "shield.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 54, + "scale9Width": 54 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 30, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 33, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 9, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 244, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 160, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Shield", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 245, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 161, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 9, + "hAlignment": 0, + "text": "22", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "shield_Panel", + "ZOrder": 0, + "actiontag": 29, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.873994648, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 326, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 36, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.186440676, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 49, + "x": 22, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "sword.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 49 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 37, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 40, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 9, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 246, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 162, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Sword", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 247, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 163, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 9, + "hAlignment": 0, + "text": "22", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "sword_Panel", + "ZOrder": 0, + "actiontag": 35, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.750670254, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 280, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 43, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.186440676, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 54, + "x": 22, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "armour.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 54 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 44, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 47, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 9, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 248, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 164, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Armour", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 249, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 165, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "22", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "armour_Panel", + "ZOrder": 0, + "actiontag": 42, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.6246649, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 233, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 50, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.186440676, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 48, + "x": 22, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "dimensity.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 48 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 51, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 54, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 250, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 166, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Dimensity", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 251, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 167, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "17", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "dimensity_Panel", + "ZOrder": 0, + "actiontag": 49, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.5013405, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 187, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 57, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.186440676, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 37, + "x": 22, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "helmet.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 37 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 58, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 61, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 252, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 168, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Helmet", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 253, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 169, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "10", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "helmet_Panel", + "ZOrder": 0, + "actiontag": 56, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.378016084, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 141, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 64, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 50, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.186440676, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 42, + "x": 22, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "gloves.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 50, + "scale9Width": 42 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 65, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 68, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 9, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 254, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 170, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Gloves", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 255, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 171, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "8", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "gloves_Panel", + "ZOrder": 0, + "actiontag": 63, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.2546917, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 95, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 71, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.2542373, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 66, + "x": 30, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "dart.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 57, + "scale9Width": 66 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 72, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 75, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 256, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 172, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Dart", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 257, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 173, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "7", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "dart_Panel", + "ZOrder": 0, + "actiontag": 70, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.1313673, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 49, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 78, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.2542373, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 56, + "x": 30, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "backpack.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 56 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 79, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 82, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label ", + "ZOrder": 0, + "actiontag": 258, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 174, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Backpack", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 259, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 175, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "4", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "backpack_Panel", + "ZOrder": 0, + "actiontag": 77, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.008042895, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 3, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIScrollViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ScrollView", + "name": "ranking_ScrollView", + "ZOrder": 1, + "actiontag": 28, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 210, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.6666667, + "positionPercentY": 0.16875, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.25, + "sizePercentY": 0.65625, + "sizeType": 0, + "tag": 8, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 120, + "x": 320, + "y": 54, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 100, + "bgColorG": 150, + "bgColorOpacity": 100, + "bgColorR": 255, + "bgEndColorB": 0, + "bgEndColorG": 0, + "bgEndColorR": 255, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "bounceEnable": false, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": true, + "colorType": 0, + "direction": 1, + "innerHeight": 373, + "innerWidth": 120, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "back_Button", + "ZOrder": 0, + "actiontag": 23, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 23, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.7895833, + "positionPercentY": 0.075, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.214583337, + "sizePercentY": 0.125, + "sizeType": 0, + "tag": 3, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 50, + "x": 379, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "button_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 14, + "fontType": 0, + "normal": null, + "normalData": { + "path": "button_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "button_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 23, + "scale9Width": 50, + "text": "Back", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "close_Button", + "ZOrder": 0, + "actiontag": 142, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 18, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.877005339, + "positionPercentY": 0.9837838, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5508021, + "sizePercentY": 0.216216221, + "sizeType": 0, + "tag": 122, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 22, + "x": 164, + "y": 182, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "close_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "close_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "close_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 18, + "scale9Width": 22, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 143, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.219251335, + "positionPercentY": 0.7135135, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.42780748, + "sizePercentY": 0.432432443, + "sizeType": 0, + "tag": 123, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 54, + "x": 41, + "y": 132, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "armour.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 54 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "add_Button", + "ZOrder": 0, + "actiontag": 147, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 8, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8342246, + "positionPercentY": 0.5675676, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5508021, + "sizePercentY": 0.216216221, + "sizeType": 0, + "tag": 127, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 25, + "x": 156, + "y": 105, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "add_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "add_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "add_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 8, + "scale9Width": 25, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "sub_Button", + "ZOrder": 0, + "actiontag": 148, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 8, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8342246, + "positionPercentY": 0.518918931, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5508021, + "sizePercentY": 0.216216221, + "sizeType": 0, + "tag": 128, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 25, + "x": 156, + "y": 96, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "sub_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "sub_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "sub_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 8, + "scale9Width": 25, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "LabelAtlas", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelAtlasSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LabelAtlas", + "name": "number_LabelAtlas", + "ZOrder": 0, + "actiontag": 151, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 9, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.56684494, + "positionPercentY": 0.545945942, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1.28342247, + "sizePercentY": 0.172972977, + "sizeType": 0, + "tag": 131, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 8, + "x": 106, + "y": 101, + "charMapFile": null, + "charMapFileData": { + "path": "number.png", + "plistFile": null, + "resourceType": 0 + }, + "itemHeight": 9, + "itemWidth": 8, + "startCharMap": ".", + "stringValue": "1" + } + }, + { + "classname": "LabelAtlas", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelAtlasSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LabelAtlas", + "name": "coupon_number_LabelAtlas", + "ZOrder": 0, + "actiontag": 155, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 9, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.187165782, + "positionPercentY": 0.286486477, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1.28342247, + "sizePercentY": 0.172972977, + "sizeType": 0, + "tag": 135, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 8, + "x": 35, + "y": 53, + "charMapFile": null, + "charMapFileData": { + "path": "number.png", + "plistFile": null, + "resourceType": 0 + }, + "itemHeight": 9, + "itemWidth": 8, + "startCharMap": ".", + "stringValue": "1" + } + }, + { + "classname": "LabelAtlas", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelAtlasSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LabelAtlas", + "name": "binding_number_LabelAtlas", + "ZOrder": 0, + "actiontag": 157, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 9, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.470588237, + "positionPercentY": 0.286486477, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1.28342247, + "sizePercentY": 0.172972977, + "sizeType": 0, + "tag": 135, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 8, + "x": 88, + "y": 53, + "charMapFile": null, + "charMapFileData": { + "path": "number.png", + "plistFile": null, + "resourceType": 0 + }, + "itemHeight": 9, + "itemWidth": 8, + "startCharMap": ".", + "stringValue": "1" + } + }, + { + "classname": "LabelAtlas", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelAtlasSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LabelAtlas", + "name": "medal_number_LabelAtlas", + "ZOrder": 0, + "actiontag": 159, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 9, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.7379679, + "positionPercentY": 0.286486477, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1.28342247, + "sizePercentY": 0.172972977, + "sizeType": 0, + "tag": 135, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 8, + "x": 138, + "y": 53, + "charMapFile": null, + "charMapFileData": { + "path": "number.png", + "plistFile": null, + "resourceType": 0 + }, + "itemHeight": 9, + "itemWidth": 8, + "startCharMap": ".", + "stringValue": "1" + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 152, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 23, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5026738, + "positionPercentY": 0.124324322, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5508021, + "sizePercentY": 0.216216221, + "sizeType": 0, + "tag": 132, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 50, + "x": 94, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "button_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 14, + "fontType": 0, + "normal": null, + "normalData": { + "path": "button_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "button_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 23, + "scale9Width": 50, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "title_Label", + "ZOrder": 0, + "actiontag": 345, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.10695187, + "positionPercentY": 0.940540552, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 125, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 20, + "y": 174, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 14, + "hAlignment": 0, + "text": "Buy", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 346, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.459893048, + "positionPercentY": 0.6972973, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 126, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 86, + "y": 129, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Armour", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 347, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.770053446, + "positionPercentY": 0.7027027, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 127, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 144, + "y": 130, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 9, + "hAlignment": 0, + "text": "19000", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_unit_Label", + "ZOrder": 0, + "actiontag": 348, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.780748665, + "positionPercentY": 0.6594595, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 128, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 146, + "y": 122, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 9, + "hAlignment": 0, + "text": "Coupon", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "number_Label", + "ZOrder": 0, + "actiontag": 349, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.224598929, + "positionPercentY": 0.551351368, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 129, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 42, + "y": 102, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 9, + "hAlignment": 0, + "text": "Number", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "pay_Label", + "ZOrder": 0, + "actiontag": 350, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.144385025, + "positionPercentY": 0.3837838, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 130, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 27, + "y": 71, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "PAY", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "coupon_Label", + "ZOrder": 0, + "actiontag": 354, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.310160428, + "positionPercentY": 0.286486477, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 123, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 58, + "y": 53, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 8, + "hAlignment": 0, + "text": "Coupon", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "binding_Label", + "ZOrder": 0, + "actiontag": 355, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.593582869, + "positionPercentY": 0.288756818, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 124, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 111, + "y": 53, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 8, + "hAlignment": 0, + "text": "Binding", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "medal_Label", + "ZOrder": 0, + "actiontag": 356, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8449198, + "positionPercentY": 0.286486477, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 125, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 158, + "y": 53, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 8, + "hAlignment": 0, + "text": "Medal", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "buy_Panel", + "ZOrder": 4, + "actiontag": 142, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 185, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.1875, + "positionPercentY": 0.2125, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.389583319, + "sizePercentY": 0.578125, + "sizeType": 0, + "tag": 122, + "touchAble": false, + "useMergedTexture": false, + "visible": false, + "width": 187, + "x": 90, + "y": 68, + "backGroundImage": null, + "backGroundImageData": { + "path": "buy_bg.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "Label_225", + "ZOrder": 4, + "actiontag": 225, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.304166675, + "positionPercentY": 0.8625, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.197916672, + "sizePercentY": 0.084375, + "sizeType": 0, + "tag": 141, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 146, + "y": 276, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 20, + "hAlignment": 0, + "text": "Shop", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "Label_226", + "ZOrder": 4, + "actiontag": 226, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.7875, + "positionPercentY": 0.875, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.197916672, + "sizePercentY": 0.084375, + "sizeType": 0, + "tag": 142, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 378, + "y": 280, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 16, + "hAlignment": 0, + "text": "Ranking", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.01, + "sizePercentY": 0.01, + "sizeType": 0, + "tag": 19, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "y": 0, + "backGroundImage": null, + "backGroundImageData": { + "path": "bg.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/DemoShop/DemoShop_editor/Resources/Heiti14.fnt b/DemoShop/DemoShop_editor/Resources/Heiti14.fnt new file mode 100644 index 0000000..f9bd572 --- /dev/null +++ b/DemoShop/DemoShop_editor/Resources/Heiti14.fnt @@ -0,0 +1,99 @@ +info face="STHeitiSC-Light" size=14 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=2,2 +common lineHeight=14 base=12 scaleW=256 scaleH=128 pages=1 packed=0 +page id=0 file="Heiti14.png" +chars count=95 +char id=123 x=2 y=2 width=8 height=18 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="{" +char id=125 x=12 y=2 width=8 height=18 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="}" +char id=41 x=22 y=2 width=7 height=18 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter=")" +char id=40 x=31 y=2 width=7 height=18 xoffset=2 yoffset=-1 xadvance=5 page=0 chnl=0 letter="(" +char id=91 x=40 y=2 width=7 height=18 xoffset=2 yoffset=-2 xadvance=5 page=0 chnl=0 letter="[" +char id=93 x=49 y=2 width=7 height=18 xoffset=1 yoffset=-2 xadvance=5 page=0 chnl=0 letter="]" +char id=124 x=58 y=2 width=5 height=18 xoffset=3 yoffset=-1 xadvance=7 page=0 chnl=0 letter="|" +char id=36 x=65 y=2 width=11 height=17 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="$" +char id=106 x=78 y=2 width=7 height=17 xoffset=0 yoffset=0 xadvance=3 page=0 chnl=0 letter="j" +char id=71 x=87 y=2 width=15 height=16 xoffset=1 yoffset=-1 xadvance=12 page=0 chnl=0 letter="G" +char id=79 x=104 y=2 width=15 height=16 xoffset=1 yoffset=-1 xadvance=12 page=0 chnl=0 letter="O" +char id=37 x=121 y=2 width=15 height=16 xoffset=0 yoffset=-1 xadvance=11 page=0 chnl=0 letter="%" +char id=81 x=138 y=2 width=15 height=16 xoffset=1 yoffset=-1 xadvance=12 page=0 chnl=0 letter="Q" +char id=64 x=155 y=2 width=15 height=16 xoffset=1 yoffset=-1 xadvance=12 page=0 chnl=0 letter="@" +char id=67 x=172 y=2 width=14 height=16 xoffset=1 yoffset=-1 xadvance=11 page=0 chnl=0 letter="C" +char id=100 x=188 y=2 width=12 height=16 xoffset=1 yoffset=-1 xadvance=10 page=0 chnl=0 letter="d" +char id=98 x=202 y=2 width=12 height=16 xoffset=1 yoffset=-1 xadvance=10 page=0 chnl=0 letter="b" +char id=92 x=216 y=2 width=12 height=16 xoffset=0 yoffset=0 xadvance=8 page=0 chnl=0 letter="\" +char id=56 x=230 y=2 width=12 height=16 xoffset=0 yoffset=-1 xadvance=8 page=0 chnl=0 letter="8" +char id=48 x=2 y=22 width=12 height=16 xoffset=0 yoffset=-1 xadvance=8 page=0 chnl=0 letter="0" +char id=51 x=16 y=22 width=12 height=16 xoffset=0 yoffset=-1 xadvance=8 page=0 chnl=0 letter="3" +char id=50 x=30 y=22 width=11 height=16 xoffset=0 yoffset=-1 xadvance=8 page=0 chnl=0 letter="2" +char id=104 x=43 y=22 width=11 height=16 xoffset=1 yoffset=-1 xadvance=9 page=0 chnl=0 letter="h" +char id=57 x=56 y=22 width=11 height=16 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="9" +char id=54 x=69 y=22 width=11 height=16 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="6" +char id=83 x=82 y=22 width=10 height=16 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="S" +char id=47 x=94 y=22 width=10 height=16 xoffset=0 yoffset=0 xadvance=6 page=0 chnl=0 letter="/" +char id=116 x=106 y=22 width=8 height=16 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="t" +char id=102 x=116 y=22 width=8 height=16 xoffset=1 yoffset=-1 xadvance=4 page=0 chnl=0 letter="f" +char id=33 x=126 y=22 width=6 height=16 xoffset=1 yoffset=-1 xadvance=4 page=0 chnl=0 letter="!" +char id=105 x=134 y=22 width=6 height=16 xoffset=1 yoffset=-1 xadvance=3 page=0 chnl=0 letter="i" +char id=87 x=142 y=22 width=17 height=15 xoffset=1 yoffset=-1 xadvance=13 page=0 chnl=0 letter="W" +char id=65 x=161 y=22 width=14 height=15 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0 letter="A" +char id=68 x=177 y=22 width=13 height=15 xoffset=1 yoffset=0 xadvance=10 page=0 chnl=0 letter="D" +char id=38 x=192 y=22 width=13 height=15 xoffset=1 yoffset=0 xadvance=11 page=0 chnl=0 letter="&" +char id=86 x=207 y=22 width=13 height=15 xoffset=0 yoffset=-1 xadvance=10 page=0 chnl=0 letter="V" +char id=113 x=222 y=22 width=12 height=15 xoffset=1 yoffset=2 xadvance=10 page=0 chnl=0 letter="q" +char id=103 x=236 y=22 width=12 height=15 xoffset=1 yoffset=2 xadvance=9 page=0 chnl=0 letter="g" +char id=112 x=2 y=40 width=12 height=15 xoffset=1 yoffset=2 xadvance=10 page=0 chnl=0 letter="p" +char id=78 x=16 y=40 width=12 height=15 xoffset=1 yoffset=-1 xadvance=10 page=0 chnl=0 letter="N" +char id=35 x=30 y=40 width=12 height=15 xoffset=1 yoffset=-1 xadvance=10 page=0 chnl=0 letter="#" +char id=88 x=44 y=40 width=12 height=15 xoffset=0 yoffset=-1 xadvance=9 page=0 chnl=0 letter="X" +char id=89 x=58 y=40 width=12 height=15 xoffset=0 yoffset=-1 xadvance=8 page=0 chnl=0 letter="Y" +char id=72 x=72 y=40 width=12 height=15 xoffset=1 yoffset=-1 xadvance=10 page=0 chnl=0 letter="H" +char id=85 x=86 y=40 width=11 height=15 xoffset=1 yoffset=0 xadvance=9 page=0 chnl=0 letter="U" +char id=53 x=99 y=40 width=11 height=15 xoffset=1 yoffset=0 xadvance=8 page=0 chnl=0 letter="5" +char id=82 x=112 y=40 width=11 height=15 xoffset=1 yoffset=0 xadvance=8 page=0 chnl=0 letter="R" +char id=80 x=125 y=40 width=11 height=15 xoffset=1 yoffset=0 xadvance=8 page=0 chnl=0 letter="P" +char id=63 x=138 y=40 width=11 height=15 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="?" +char id=52 x=151 y=40 width=11 height=15 xoffset=0 yoffset=-1 xadvance=8 page=0 chnl=0 letter="4" +char id=121 x=164 y=40 width=11 height=15 xoffset=0 yoffset=2 xadvance=8 page=0 chnl=0 letter="y" +char id=75 x=177 y=40 width=11 height=15 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="K" +char id=55 x=190 y=40 width=11 height=15 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="7" +char id=66 x=203 y=40 width=10 height=15 xoffset=1 yoffset=0 xadvance=8 page=0 chnl=0 letter="B" +char id=74 x=215 y=40 width=10 height=15 xoffset=1 yoffset=0 xadvance=7 page=0 chnl=0 letter="J" +char id=107 x=227 y=40 width=10 height=15 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="k" +char id=69 x=239 y=40 width=10 height=15 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="E" +char id=90 x=2 y=57 width=10 height=15 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="Z" +char id=84 x=14 y=57 width=10 height=15 xoffset=0 yoffset=-1 xadvance=6 page=0 chnl=0 letter="T" +char id=70 x=26 y=57 width=10 height=15 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="F" +char id=76 x=38 y=57 width=9 height=15 xoffset=1 yoffset=-1 xadvance=6 page=0 chnl=0 letter="L" +char id=49 x=49 y=57 width=7 height=15 xoffset=2 yoffset=-1 xadvance=8 page=0 chnl=0 letter="1" +char id=73 x=58 y=57 width=6 height=15 xoffset=1 yoffset=-1 xadvance=3 page=0 chnl=0 letter="I" +char id=108 x=66 y=57 width=5 height=15 xoffset=1 yoffset=-1 xadvance=3 page=0 chnl=0 letter="l" +char id=77 x=73 y=57 width=16 height=14 xoffset=1 yoffset=0 xadvance=13 page=0 chnl=0 letter="M" +char id=109 x=91 y=57 width=16 height=13 xoffset=1 yoffset=2 xadvance=13 page=0 chnl=0 letter="m" +char id=97 x=109 y=57 width=12 height=13 xoffset=1 yoffset=2 xadvance=10 page=0 chnl=0 letter="a" +char id=111 x=123 y=57 width=12 height=13 xoffset=1 yoffset=2 xadvance=9 page=0 chnl=0 letter="o" +char id=101 x=137 y=57 width=12 height=13 xoffset=1 yoffset=2 xadvance=9 page=0 chnl=0 letter="e" +char id=99 x=151 y=57 width=12 height=13 xoffset=1 yoffset=2 xadvance=9 page=0 chnl=0 letter="c" +char id=117 x=165 y=57 width=11 height=13 xoffset=1 yoffset=2 xadvance=9 page=0 chnl=0 letter="u" +char id=110 x=178 y=57 width=11 height=13 xoffset=1 yoffset=2 xadvance=9 page=0 chnl=0 letter="n" +char id=115 x=191 y=57 width=9 height=13 xoffset=0 yoffset=2 xadvance=5 page=0 chnl=0 letter="s" +char id=114 x=202 y=57 width=8 height=13 xoffset=1 yoffset=2 xadvance=4 page=0 chnl=0 letter="r" +char id=59 x=212 y=57 width=7 height=13 xoffset=1 yoffset=2 xadvance=4 page=0 chnl=0 letter=";" +char id=58 x=221 y=57 width=6 height=13 xoffset=1 yoffset=2 xadvance=4 page=0 chnl=0 letter=":" +char id=119 x=229 y=57 width=16 height=12 xoffset=0 yoffset=2 xadvance=12 page=0 chnl=0 letter="w" +char id=94 x=2 y=74 width=12 height=12 xoffset=1 yoffset=0 xadvance=9 page=0 chnl=0 letter="^" +char id=60 x=16 y=74 width=12 height=12 xoffset=1 yoffset=1 xadvance=8 page=0 chnl=0 letter="<" +char id=62 x=30 y=74 width=12 height=12 xoffset=1 yoffset=1 xadvance=8 page=0 chnl=0 letter=">" +char id=118 x=44 y=74 width=11 height=12 xoffset=0 yoffset=2 xadvance=8 page=0 chnl=0 letter="v" +char id=120 x=57 y=74 width=11 height=12 xoffset=0 yoffset=2 xadvance=7 page=0 chnl=0 letter="x" +char id=122 x=70 y=74 width=10 height=12 xoffset=0 yoffset=2 xadvance=6 page=0 chnl=0 letter="z" +char id=43 x=82 y=74 width=11 height=11 xoffset=1 yoffset=2 xadvance=8 page=0 chnl=0 letter="+" +char id=42 x=95 y=74 width=9 height=9 xoffset=1 yoffset=0 xadvance=6 page=0 chnl=0 letter="*" +char id=61 x=106 y=74 width=11 height=8 xoffset=1 yoffset=3 xadvance=8 page=0 chnl=0 letter="=" +char id=34 x=119 y=74 width=8 height=8 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter=""" +char id=39 x=129 y=74 width=6 height=8 xoffset=1 yoffset=-1 xadvance=3 page=0 chnl=0 letter="'" +char id=126 x=137 y=74 width=11 height=7 xoffset=1 yoffset=4 xadvance=8 page=0 chnl=0 letter="~" +char id=96 x=150 y=74 width=7 height=7 xoffset=1 yoffset=-2 xadvance=5 page=0 chnl=0 letter="`" +char id=44 x=159 y=74 width=6 height=7 xoffset=1 yoffset=8 xadvance=4 page=0 chnl=0 letter="," +char id=46 x=167 y=74 width=6 height=7 xoffset=1 yoffset=8 xadvance=4 page=0 chnl=0 letter="." +char id=95 x=175 y=74 width=11 height=5 xoffset=0 yoffset=11 xadvance=7 page=0 chnl=0 letter="_" +char id=45 x=188 y=74 width=8 height=5 xoffset=0 yoffset=6 xadvance=5 page=0 chnl=0 letter="-" +char id=32 x=198 y=74 width=0 height=0 xoffset=4 yoffset=32 xadvance=4 page=0 chnl=0 letter="space" diff --git a/DemoShop/DemoShop_editor/Resources/Heiti14.png b/DemoShop/DemoShop_editor/Resources/Heiti14.png new file mode 100644 index 0000000..deb1dc5 Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/Heiti14.png differ diff --git a/DemoShop/DemoShop_editor/Resources/Heiti20.fnt b/DemoShop/DemoShop_editor/Resources/Heiti20.fnt new file mode 100644 index 0000000..613bf28 --- /dev/null +++ b/DemoShop/DemoShop_editor/Resources/Heiti20.fnt @@ -0,0 +1,99 @@ +info face="STHeitiSC-Light" size=20 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=2,2 +common lineHeight=20 base=17 scaleW=256 scaleH=128 pages=1 packed=0 +page id=0 file="Heiti20.png" +chars count=95 +char id=41 x=2 y=2 width=9 height=24 xoffset=1 yoffset=-2 xadvance=7 page=0 chnl=0 letter=")" +char id=40 x=13 y=2 width=8 height=24 xoffset=3 yoffset=-2 xadvance=7 page=0 chnl=0 letter="(" +char id=124 x=23 y=2 width=6 height=24 xoffset=4 yoffset=-1 xadvance=10 page=0 chnl=0 letter="|" +char id=36 x=31 y=2 width=15 height=23 xoffset=0 yoffset=-2 xadvance=11 page=0 chnl=0 letter="$" +char id=123 x=48 y=2 width=10 height=23 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="{" +char id=125 x=60 y=2 width=10 height=23 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="}" +char id=91 x=72 y=2 width=8 height=23 xoffset=3 yoffset=-1 xadvance=7 page=0 chnl=0 letter="[" +char id=93 x=82 y=2 width=8 height=23 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="]" +char id=106 x=92 y=2 width=8 height=23 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="j" +char id=37 x=102 y=2 width=19 height=21 xoffset=0 yoffset=-1 xadvance=16 page=0 chnl=0 letter="%" +char id=64 x=123 y=2 width=19 height=21 xoffset=1 yoffset=-1 xadvance=17 page=0 chnl=0 letter="@" +char id=92 x=144 y=2 width=15 height=21 xoffset=1 yoffset=0 xadvance=12 page=0 chnl=0 letter="\" +char id=47 x=161 y=2 width=12 height=21 xoffset=1 yoffset=0 xadvance=9 page=0 chnl=0 letter="/" +char id=81 x=175 y=2 width=20 height=20 xoffset=1 yoffset=0 xadvance=17 page=0 chnl=0 letter="Q" +char id=71 x=197 y=2 width=20 height=20 xoffset=1 yoffset=0 xadvance=17 page=0 chnl=0 letter="G" +char id=79 x=219 y=2 width=20 height=20 xoffset=1 yoffset=0 xadvance=17 page=0 chnl=0 letter="O" +char id=67 x=2 y=28 width=18 height=20 xoffset=1 yoffset=0 xadvance=16 page=0 chnl=0 letter="C" +char id=38 x=22 y=28 width=17 height=20 xoffset=2 yoffset=0 xadvance=15 page=0 chnl=0 letter="&" +char id=100 x=41 y=28 width=16 height=20 xoffset=1 yoffset=0 xadvance=14 page=0 chnl=0 letter="d" +char id=98 x=59 y=28 width=16 height=20 xoffset=2 yoffset=0 xadvance=14 page=0 chnl=0 letter="b" +char id=85 x=77 y=28 width=15 height=20 xoffset=2 yoffset=0 xadvance=13 page=0 chnl=0 letter="U" +char id=56 x=94 y=28 width=14 height=20 xoffset=1 yoffset=0 xadvance=11 page=0 chnl=0 letter="8" +char id=48 x=110 y=28 width=14 height=20 xoffset=1 yoffset=0 xadvance=11 page=0 chnl=0 letter="0" +char id=51 x=126 y=28 width=14 height=20 xoffset=1 yoffset=0 xadvance=11 page=0 chnl=0 letter="3" +char id=53 x=142 y=28 width=14 height=20 xoffset=1 yoffset=0 xadvance=11 page=0 chnl=0 letter="5" +char id=83 x=158 y=28 width=13 height=20 xoffset=0 yoffset=0 xadvance=10 page=0 chnl=0 letter="S" +char id=54 x=173 y=28 width=13 height=20 xoffset=1 yoffset=0 xadvance=11 page=0 chnl=0 letter="6" +char id=74 x=188 y=28 width=12 height=20 xoffset=1 yoffset=0 xadvance=10 page=0 chnl=0 letter="J" +char id=116 x=202 y=28 width=10 height=20 xoffset=1 yoffset=0 xadvance=7 page=0 chnl=0 letter="t" +char id=87 x=214 y=28 width=22 height=19 xoffset=1 yoffset=0 xadvance=19 page=0 chnl=0 letter="W" +char id=77 x=2 y=50 width=21 height=19 xoffset=1 yoffset=0 xadvance=18 page=0 chnl=0 letter="M" +char id=65 x=25 y=50 width=18 height=19 xoffset=0 yoffset=0 xadvance=15 page=0 chnl=0 letter="A" +char id=86 x=45 y=50 width=17 height=19 xoffset=1 yoffset=0 xadvance=14 page=0 chnl=0 letter="V" +char id=68 x=64 y=50 width=17 height=19 xoffset=2 yoffset=0 xadvance=15 page=0 chnl=0 letter="D" +char id=113 x=83 y=50 width=16 height=19 xoffset=1 yoffset=4 xadvance=14 page=0 chnl=0 letter="q" +char id=103 x=101 y=50 width=16 height=19 xoffset=1 yoffset=4 xadvance=13 page=0 chnl=0 letter="g" +char id=112 x=119 y=50 width=16 height=19 xoffset=2 yoffset=4 xadvance=14 page=0 chnl=0 letter="p" +char id=78 x=137 y=50 width=16 height=19 xoffset=2 yoffset=0 xadvance=15 page=0 chnl=0 letter="N" +char id=35 x=155 y=50 width=15 height=19 xoffset=2 yoffset=0 xadvance=14 page=0 chnl=0 letter="#" +char id=88 x=172 y=50 width=15 height=19 xoffset=1 yoffset=0 xadvance=12 page=0 chnl=0 letter="X" +char id=52 x=189 y=50 width=15 height=19 xoffset=0 yoffset=0 xadvance=11 page=0 chnl=0 letter="4" +char id=89 x=206 y=50 width=15 height=19 xoffset=1 yoffset=0 xadvance=12 page=0 chnl=0 letter="Y" +char id=72 x=223 y=50 width=15 height=19 xoffset=2 yoffset=0 xadvance=14 page=0 chnl=0 letter="H" +char id=50 x=240 y=50 width=14 height=19 xoffset=1 yoffset=0 xadvance=11 page=0 chnl=0 letter="2" +char id=104 x=2 y=71 width=14 height=19 xoffset=2 yoffset=0 xadvance=12 page=0 chnl=0 letter="h" +char id=57 x=18 y=71 width=14 height=19 xoffset=1 yoffset=0 xadvance=11 page=0 chnl=0 letter="9" +char id=121 x=34 y=71 width=14 height=19 xoffset=0 yoffset=4 xadvance=11 page=0 chnl=0 letter="y" +char id=82 x=50 y=71 width=14 height=19 xoffset=2 yoffset=0 xadvance=12 page=0 chnl=0 letter="R" +char id=80 x=66 y=71 width=14 height=19 xoffset=2 yoffset=0 xadvance=12 page=0 chnl=0 letter="P" +char id=63 x=82 y=71 width=14 height=19 xoffset=1 yoffset=0 xadvance=10 page=0 chnl=0 letter="?" +char id=75 x=98 y=71 width=14 height=19 xoffset=2 yoffset=0 xadvance=12 page=0 chnl=0 letter="K" +char id=55 x=114 y=71 width=13 height=19 xoffset=1 yoffset=0 xadvance=11 page=0 chnl=0 letter="7" +char id=66 x=129 y=71 width=13 height=19 xoffset=2 yoffset=0 xadvance=11 page=0 chnl=0 letter="B" +char id=107 x=144 y=71 width=13 height=19 xoffset=1 yoffset=0 xadvance=10 page=0 chnl=0 letter="k" +char id=69 x=159 y=71 width=13 height=19 xoffset=2 yoffset=0 xadvance=11 page=0 chnl=0 letter="E" +char id=90 x=174 y=71 width=13 height=19 xoffset=1 yoffset=0 xadvance=10 page=0 chnl=0 letter="Z" +char id=84 x=189 y=71 width=12 height=19 xoffset=0 yoffset=0 xadvance=9 page=0 chnl=0 letter="T" +char id=70 x=203 y=71 width=12 height=19 xoffset=2 yoffset=0 xadvance=10 page=0 chnl=0 letter="F" +char id=76 x=217 y=71 width=11 height=19 xoffset=2 yoffset=0 xadvance=9 page=0 chnl=0 letter="L" +char id=102 x=230 y=71 width=10 height=19 xoffset=1 yoffset=0 xadvance=6 page=0 chnl=0 letter="f" +char id=49 x=242 y=71 width=8 height=19 xoffset=3 yoffset=0 xadvance=11 page=0 chnl=0 letter="1" +char id=33 x=2 y=92 width=7 height=19 xoffset=2 yoffset=0 xadvance=6 page=0 chnl=0 letter="!" +char id=105 x=11 y=92 width=7 height=19 xoffset=1 yoffset=0 xadvance=4 page=0 chnl=0 letter="i" +char id=108 x=20 y=92 width=6 height=19 xoffset=1 yoffset=0 xadvance=4 page=0 chnl=0 letter="l" +char id=73 x=28 y=92 width=6 height=19 xoffset=2 yoffset=0 xadvance=5 page=0 chnl=0 letter="I" +char id=97 x=36 y=92 width=16 height=17 xoffset=1 yoffset=3 xadvance=14 page=0 chnl=0 letter="a" +char id=111 x=54 y=92 width=16 height=17 xoffset=1 yoffset=3 xadvance=13 page=0 chnl=0 letter="o" +char id=101 x=72 y=92 width=15 height=17 xoffset=1 yoffset=3 xadvance=13 page=0 chnl=0 letter="e" +char id=99 x=89 y=92 width=15 height=17 xoffset=1 yoffset=3 xadvance=13 page=0 chnl=0 letter="c" +char id=115 x=106 y=92 width=11 height=17 xoffset=1 yoffset=3 xadvance=8 page=0 chnl=0 letter="s" +char id=59 x=119 y=92 width=7 height=17 xoffset=1 yoffset=3 xadvance=6 page=0 chnl=0 letter=";" +char id=109 x=128 y=92 width=21 height=16 xoffset=2 yoffset=3 xadvance=19 page=0 chnl=0 letter="m" +char id=110 x=151 y=92 width=14 height=16 xoffset=2 yoffset=3 xadvance=12 page=0 chnl=0 letter="n" +char id=114 x=167 y=92 width=9 height=16 xoffset=1 yoffset=3 xadvance=6 page=0 chnl=0 letter="r" +char id=58 x=178 y=92 width=7 height=16 xoffset=2 yoffset=3 xadvance=6 page=0 chnl=0 letter=":" +char id=119 x=187 y=92 width=21 height=15 xoffset=0 yoffset=4 xadvance=17 page=0 chnl=0 letter="w" +char id=94 x=210 y=92 width=15 height=15 xoffset=1 yoffset=0 xadvance=13 page=0 chnl=0 letter="^" +char id=60 x=227 y=92 width=15 height=15 xoffset=1 yoffset=2 xadvance=12 page=0 chnl=0 letter="<" +char id=62 x=2 y=113 width=15 height=15 xoffset=1 yoffset=2 xadvance=12 page=0 chnl=0 letter=">" +char id=117 x=19 y=113 width=14 height=15 xoffset=1 yoffset=4 xadvance=12 page=0 chnl=0 letter="u" +char id=118 x=35 y=113 width=14 height=15 xoffset=1 yoffset=4 xadvance=11 page=0 chnl=0 letter="v" +char id=120 x=51 y=113 width=14 height=15 xoffset=0 yoffset=4 xadvance=10 page=0 chnl=0 letter="x" +char id=122 x=67 y=113 width=13 height=15 xoffset=0 yoffset=4 xadvance=8 page=0 chnl=0 letter="z" +char id=43 x=82 y=113 width=14 height=14 xoffset=1 yoffset=3 xadvance=12 page=0 chnl=0 letter="+" +char id=42 x=98 y=113 width=11 height=11 xoffset=1 yoffset=0 xadvance=8 page=0 chnl=0 letter="*" +char id=61 x=111 y=113 width=14 height=10 xoffset=1 yoffset=4 xadvance=12 page=0 chnl=0 letter="=" +char id=34 x=127 y=113 width=10 height=9 xoffset=0 yoffset=0 xadvance=6 page=0 chnl=0 letter=""" +char id=44 x=139 y=113 width=7 height=9 xoffset=1 yoffset=11 xadvance=6 page=0 chnl=0 letter="," +char id=39 x=148 y=113 width=6 height=9 xoffset=1 yoffset=0 xadvance=4 page=0 chnl=0 letter="'" +char id=126 x=156 y=113 width=14 height=8 xoffset=1 yoffset=6 xadvance=12 page=0 chnl=0 letter="~" +char id=96 x=172 y=113 width=9 height=7 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="`" +char id=46 x=183 y=113 width=7 height=7 xoffset=2 yoffset=12 xadvance=6 page=0 chnl=0 letter="." +char id=45 x=192 y=113 width=10 height=6 xoffset=1 yoffset=8 xadvance=7 page=0 chnl=0 letter="-" +char id=95 x=204 y=113 width=14 height=5 xoffset=0 yoffset=16 xadvance=10 page=0 chnl=0 letter="_" +char id=32 x=220 y=113 width=0 height=0 xoffset=5 yoffset=37 xadvance=5 page=0 chnl=0 letter="space" diff --git a/DemoShop/DemoShop_editor/Resources/Heiti20.png b/DemoShop/DemoShop_editor/Resources/Heiti20.png new file mode 100644 index 0000000..7109a7f Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/Heiti20.png differ diff --git a/DemoShop/DemoShop_editor/Resources/Heiti8.fnt b/DemoShop/DemoShop_editor/Resources/Heiti8.fnt new file mode 100644 index 0000000..15df2a8 --- /dev/null +++ b/DemoShop/DemoShop_editor/Resources/Heiti8.fnt @@ -0,0 +1,99 @@ +info face="STHeitiSC-Light" size=8 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=2,2 +common lineHeight=8 base=7 scaleW=128 scaleH=128 pages=1 packed=0 +page id=0 file="Heiti8.png" +chars count=95 +char id=36 x=2 y=2 width=8 height=12 xoffset=0 yoffset=-2 xadvance=4 page=0 chnl=0 letter="$" +char id=123 x=12 y=2 width=7 height=12 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="{" +char id=125 x=21 y=2 width=7 height=12 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="}" +char id=41 x=30 y=2 width=6 height=12 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter=")" +char id=40 x=38 y=2 width=6 height=12 xoffset=1 yoffset=-1 xadvance=3 page=0 chnl=0 letter="(" +char id=91 x=46 y=2 width=6 height=12 xoffset=1 yoffset=-1 xadvance=3 page=0 chnl=0 letter="[" +char id=93 x=54 y=2 width=6 height=12 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="]" +char id=106 x=62 y=2 width=6 height=12 xoffset=0 yoffset=-1 xadvance=2 page=0 chnl=0 letter="j" +char id=124 x=70 y=2 width=5 height=12 xoffset=2 yoffset=-1 xadvance=4 page=0 chnl=0 letter="|" +char id=79 x=77 y=2 width=10 height=11 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="O" +char id=81 x=89 y=2 width=10 height=11 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="Q" +char id=37 x=101 y=2 width=10 height=11 xoffset=0 yoffset=-1 xadvance=6 page=0 chnl=0 letter="%" +char id=64 x=113 y=2 width=10 height=11 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="@" +char id=71 x=2 y=16 width=10 height=11 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="G" +char id=67 x=14 y=16 width=10 height=11 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="C" +char id=68 x=26 y=16 width=10 height=11 xoffset=1 yoffset=-1 xadvance=6 page=0 chnl=0 letter="D" +char id=92 x=38 y=16 width=9 height=11 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="\" +char id=100 x=49 y=16 width=9 height=11 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="d" +char id=98 x=60 y=16 width=9 height=11 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="b" +char id=48 x=71 y=16 width=9 height=11 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="0" +char id=56 x=82 y=16 width=8 height=11 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="8" +char id=51 x=92 y=16 width=8 height=11 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="3" +char id=50 x=102 y=16 width=8 height=11 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="2" +char id=104 x=112 y=16 width=8 height=11 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="h" +char id=53 x=2 y=29 width=8 height=11 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="5" +char id=57 x=12 y=29 width=8 height=11 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="9" +char id=54 x=22 y=29 width=8 height=11 xoffset=1 yoffset=-1 xadvance=4 page=0 chnl=0 letter="6" +char id=82 x=32 y=29 width=8 height=11 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="R" +char id=80 x=42 y=29 width=8 height=11 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="P" +char id=63 x=52 y=29 width=8 height=11 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="?" +char id=66 x=62 y=29 width=8 height=11 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="B" +char id=83 x=72 y=29 width=8 height=11 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="S" +char id=85 x=82 y=29 width=8 height=11 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="U" +char id=47 x=92 y=29 width=7 height=11 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="/" +char id=116 x=101 y=29 width=7 height=11 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="t" +char id=74 x=110 y=29 width=7 height=11 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="J" +char id=102 x=119 y=29 width=6 height=11 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="f" +char id=33 x=2 y=42 width=5 height=11 xoffset=1 yoffset=-1 xadvance=2 page=0 chnl=0 letter="!" +char id=105 x=9 y=42 width=5 height=11 xoffset=0 yoffset=-1 xadvance=2 page=0 chnl=0 letter="i" +char id=87 x=16 y=42 width=11 height=10 xoffset=0 yoffset=-0 xadvance=8 page=0 chnl=0 letter="W" +char id=77 x=29 y=42 width=11 height=10 xoffset=0 yoffset=-0 xadvance=7 page=0 chnl=0 letter="M" +char id=65 x=42 y=42 width=10 height=10 xoffset=0 yoffset=-0 xadvance=6 page=0 chnl=0 letter="A" +char id=38 x=54 y=42 width=9 height=10 xoffset=1 yoffset=-0 xadvance=6 page=0 chnl=0 letter="&" +char id=86 x=65 y=42 width=9 height=10 xoffset=0 yoffset=-0 xadvance=6 page=0 chnl=0 letter="V" +char id=78 x=76 y=42 width=9 height=10 xoffset=1 yoffset=-0 xadvance=6 page=0 chnl=0 letter="N" +char id=113 x=87 y=42 width=9 height=10 xoffset=0 yoffset=1 xadvance=5 page=0 chnl=0 letter="q" +char id=103 x=98 y=42 width=9 height=10 xoffset=0 yoffset=1 xadvance=5 page=0 chnl=0 letter="g" +char id=112 x=109 y=42 width=9 height=10 xoffset=1 yoffset=1 xadvance=5 page=0 chnl=0 letter="p" +char id=35 x=2 y=55 width=9 height=10 xoffset=1 yoffset=-0 xadvance=6 page=0 chnl=0 letter="#" +char id=88 x=13 y=55 width=9 height=10 xoffset=0 yoffset=-0 xadvance=5 page=0 chnl=0 letter="X" +char id=89 x=24 y=55 width=9 height=10 xoffset=0 yoffset=-0 xadvance=5 page=0 chnl=0 letter="Y" +char id=72 x=35 y=55 width=9 height=10 xoffset=1 yoffset=-0 xadvance=5 page=0 chnl=0 letter="H" +char id=52 x=46 y=55 width=8 height=10 xoffset=0 yoffset=-0 xadvance=4 page=0 chnl=0 letter="4" +char id=121 x=56 y=55 width=8 height=10 xoffset=0 yoffset=1 xadvance=4 page=0 chnl=0 letter="y" +char id=75 x=66 y=55 width=8 height=10 xoffset=1 yoffset=-0 xadvance=5 page=0 chnl=0 letter="K" +char id=55 x=76 y=55 width=8 height=10 xoffset=1 yoffset=-0 xadvance=4 page=0 chnl=0 letter="7" +char id=107 x=86 y=55 width=8 height=10 xoffset=1 yoffset=-0 xadvance=4 page=0 chnl=0 letter="k" +char id=69 x=96 y=55 width=8 height=10 xoffset=1 yoffset=-0 xadvance=4 page=0 chnl=0 letter="E" +char id=90 x=106 y=55 width=8 height=10 xoffset=0 yoffset=-0 xadvance=4 page=0 chnl=0 letter="Z" +char id=84 x=116 y=55 width=8 height=10 xoffset=0 yoffset=-0 xadvance=3 page=0 chnl=0 letter="T" +char id=70 x=2 y=67 width=7 height=10 xoffset=1 yoffset=-0 xadvance=4 page=0 chnl=0 letter="F" +char id=76 x=11 y=67 width=7 height=10 xoffset=1 yoffset=-0 xadvance=4 page=0 chnl=0 letter="L" +char id=49 x=20 y=67 width=6 height=10 xoffset=1 yoffset=-0 xadvance=4 page=0 chnl=0 letter="1" +char id=108 x=28 y=67 width=5 height=10 xoffset=1 yoffset=-0 xadvance=2 page=0 chnl=0 letter="l" +char id=73 x=35 y=67 width=5 height=10 xoffset=1 yoffset=-0 xadvance=2 page=0 chnl=0 letter="I" +char id=109 x=42 y=67 width=11 height=9 xoffset=1 yoffset=1 xadvance=8 page=0 chnl=0 letter="m" +char id=119 x=55 y=67 width=11 height=9 xoffset=0 yoffset=1 xadvance=7 page=0 chnl=0 letter="w" +char id=97 x=68 y=67 width=9 height=9 xoffset=0 yoffset=1 xadvance=5 page=0 chnl=0 letter="a" +char id=111 x=79 y=67 width=9 height=9 xoffset=0 yoffset=1 xadvance=5 page=0 chnl=0 letter="o" +char id=101 x=90 y=67 width=9 height=9 xoffset=0 yoffset=1 xadvance=5 page=0 chnl=0 letter="e" +char id=99 x=101 y=67 width=9 height=9 xoffset=0 yoffset=1 xadvance=5 page=0 chnl=0 letter="c" +char id=94 x=112 y=67 width=9 height=9 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="^" +char id=110 x=2 y=79 width=8 height=9 xoffset=1 yoffset=1 xadvance=5 page=0 chnl=0 letter="n" +char id=117 x=12 y=79 width=8 height=9 xoffset=1 yoffset=1 xadvance=5 page=0 chnl=0 letter="u" +char id=60 x=22 y=79 width=8 height=9 xoffset=0 yoffset=-0 xadvance=5 page=0 chnl=0 letter="<" +char id=118 x=32 y=79 width=8 height=9 xoffset=0 yoffset=1 xadvance=4 page=0 chnl=0 letter="v" +char id=62 x=42 y=79 width=8 height=9 xoffset=0 yoffset=-0 xadvance=5 page=0 chnl=0 letter=">" +char id=120 x=52 y=79 width=8 height=9 xoffset=0 yoffset=1 xadvance=4 page=0 chnl=0 letter="x" +char id=122 x=62 y=79 width=8 height=9 xoffset=0 yoffset=1 xadvance=3 page=0 chnl=0 letter="z" +char id=115 x=72 y=79 width=7 height=9 xoffset=0 yoffset=1 xadvance=3 page=0 chnl=0 letter="s" +char id=114 x=81 y=79 width=6 height=9 xoffset=0 yoffset=1 xadvance=2 page=0 chnl=0 letter="r" +char id=59 x=89 y=79 width=6 height=9 xoffset=0 yoffset=1 xadvance=2 page=0 chnl=0 letter=";" +char id=58 x=97 y=79 width=5 height=9 xoffset=1 yoffset=1 xadvance=2 page=0 chnl=0 letter=":" +char id=43 x=104 y=79 width=8 height=8 xoffset=0 yoffset=1 xadvance=5 page=0 chnl=0 letter="+" +char id=61 x=114 y=79 width=8 height=7 xoffset=0 yoffset=1 xadvance=5 page=0 chnl=0 letter="=" +char id=42 x=2 y=90 width=7 height=7 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="*" +char id=126 x=11 y=90 width=8 height=6 xoffset=0 yoffset=2 xadvance=5 page=0 chnl=0 letter="~" +char id=34 x=21 y=90 width=7 height=6 xoffset=0 yoffset=-1 xadvance=2 page=0 chnl=0 letter=""" +char id=44 x=30 y=90 width=6 height=6 xoffset=0 yoffset=4 xadvance=2 page=0 chnl=0 letter="," +char id=96 x=38 y=90 width=6 height=6 xoffset=0 yoffset=-2 xadvance=3 page=0 chnl=0 letter="`" +char id=39 x=46 y=90 width=5 height=6 xoffset=1 yoffset=-1 xadvance=2 page=0 chnl=0 letter="'" +char id=46 x=53 y=90 width=5 height=6 xoffset=1 yoffset=4 xadvance=2 page=0 chnl=0 letter="." +char id=95 x=60 y=90 width=8 height=5 xoffset=0 yoffset=6 xadvance=4 page=0 chnl=0 letter="_" +char id=45 x=70 y=90 width=7 height=5 xoffset=0 yoffset=3 xadvance=3 page=0 chnl=0 letter="-" +char id=32 x=79 y=90 width=0 height=0 xoffset=2 yoffset=27 xadvance=2 page=0 chnl=0 letter="space" diff --git a/DemoShop/DemoShop_editor/Resources/Heiti8.png b/DemoShop/DemoShop_editor/Resources/Heiti8.png new file mode 100644 index 0000000..5c1eafc Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/Heiti8.png differ diff --git a/DemoShop/DemoShop_editor/Resources/Heiti9.fnt b/DemoShop/DemoShop_editor/Resources/Heiti9.fnt new file mode 100644 index 0000000..813bb8a --- /dev/null +++ b/DemoShop/DemoShop_editor/Resources/Heiti9.fnt @@ -0,0 +1,99 @@ +info face="STHeitiSC-Light" size=9 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=2,2 +common lineHeight=9 base=8 scaleW=128 scaleH=128 pages=1 packed=0 +page id=0 file="Heiti9.png" +chars count=95 +char id=36 x=2 y=2 width=9 height=13 xoffset=0 yoffset=-2 xadvance=5 page=0 chnl=0 letter="$" +char id=123 x=13 y=2 width=7 height=13 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="{" +char id=125 x=22 y=2 width=7 height=13 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="}" +char id=41 x=31 y=2 width=6 height=13 xoffset=1 yoffset=-1 xadvance=3 page=0 chnl=0 letter=")" +char id=40 x=39 y=2 width=6 height=13 xoffset=1 yoffset=-1 xadvance=3 page=0 chnl=0 letter="(" +char id=93 x=47 y=2 width=6 height=13 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="]" +char id=91 x=55 y=2 width=6 height=13 xoffset=1 yoffset=-1 xadvance=3 page=0 chnl=0 letter="[" +char id=106 x=63 y=2 width=6 height=13 xoffset=0 yoffset=-1 xadvance=2 page=0 chnl=0 letter="j" +char id=124 x=71 y=2 width=5 height=13 xoffset=2 yoffset=-1 xadvance=4 page=0 chnl=0 letter="|" +char id=79 x=78 y=2 width=12 height=12 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="O" +char id=81 x=92 y=2 width=12 height=12 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="Q" +char id=37 x=106 y=2 width=11 height=12 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="%" +char id=64 x=2 y=17 width=11 height=12 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="@" +char id=71 x=15 y=17 width=11 height=12 xoffset=1 yoffset=-1 xadvance=8 page=0 chnl=0 letter="G" +char id=67 x=28 y=17 width=11 height=12 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="C" +char id=68 x=41 y=17 width=10 height=12 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="D" +char id=92 x=53 y=17 width=9 height=12 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="\" +char id=100 x=64 y=17 width=9 height=12 xoffset=0 yoffset=-1 xadvance=6 page=0 chnl=0 letter="d" +char id=98 x=75 y=17 width=9 height=12 xoffset=1 yoffset=-1 xadvance=6 page=0 chnl=0 letter="b" +char id=56 x=86 y=17 width=9 height=12 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="8" +char id=48 x=97 y=17 width=9 height=12 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="0" +char id=51 x=108 y=17 width=9 height=12 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="3" +char id=50 x=2 y=31 width=9 height=12 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="2" +char id=104 x=13 y=31 width=9 height=12 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="h" +char id=53 x=24 y=31 width=9 height=12 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="5" +char id=47 x=35 y=31 width=8 height=12 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="/" +char id=57 x=45 y=31 width=8 height=12 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="9" +char id=54 x=55 y=31 width=8 height=12 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="6" +char id=82 x=65 y=31 width=8 height=12 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="R" +char id=80 x=75 y=31 width=8 height=12 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="P" +char id=63 x=85 y=31 width=8 height=12 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="?" +char id=66 x=95 y=31 width=8 height=12 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="B" +char id=83 x=105 y=31 width=8 height=12 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="S" +char id=116 x=115 y=31 width=7 height=12 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="t" +char id=102 x=2 y=45 width=7 height=12 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="f" +char id=33 x=11 y=45 width=5 height=12 xoffset=1 yoffset=-1 xadvance=3 page=0 chnl=0 letter="!" +char id=105 x=18 y=45 width=5 height=12 xoffset=0 yoffset=-1 xadvance=2 page=0 chnl=0 letter="i" +char id=87 x=25 y=45 width=12 height=11 xoffset=0 yoffset=-0 xadvance=9 page=0 chnl=0 letter="W" +char id=77 x=39 y=45 width=12 height=11 xoffset=0 yoffset=-1 xadvance=8 page=0 chnl=0 letter="M" +char id=65 x=53 y=45 width=11 height=11 xoffset=0 yoffset=-1 xadvance=7 page=0 chnl=0 letter="A" +char id=38 x=66 y=45 width=10 height=11 xoffset=1 yoffset=-0 xadvance=7 page=0 chnl=0 letter="&" +char id=86 x=78 y=45 width=10 height=11 xoffset=0 yoffset=-0 xadvance=6 page=0 chnl=0 letter="V" +char id=78 x=90 y=45 width=10 height=11 xoffset=1 yoffset=-1 xadvance=7 page=0 chnl=0 letter="N" +char id=113 x=102 y=45 width=9 height=11 xoffset=0 yoffset=1 xadvance=6 page=0 chnl=0 letter="q" +char id=103 x=113 y=45 width=9 height=11 xoffset=1 yoffset=1 xadvance=6 page=0 chnl=0 letter="g" +char id=112 x=2 y=59 width=9 height=11 xoffset=1 yoffset=1 xadvance=6 page=0 chnl=0 letter="p" +char id=35 x=13 y=59 width=9 height=11 xoffset=1 yoffset=-1 xadvance=6 page=0 chnl=0 letter="#" +char id=88 x=24 y=59 width=9 height=11 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="X" +char id=89 x=35 y=59 width=9 height=11 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="Y" +char id=72 x=46 y=59 width=9 height=11 xoffset=1 yoffset=-1 xadvance=6 page=0 chnl=0 letter="H" +char id=85 x=57 y=59 width=9 height=11 xoffset=1 yoffset=-0 xadvance=6 page=0 chnl=0 letter="U" +char id=52 x=68 y=59 width=9 height=11 xoffset=0 yoffset=-1 xadvance=5 page=0 chnl=0 letter="4" +char id=121 x=79 y=59 width=9 height=11 xoffset=0 yoffset=1 xadvance=5 page=0 chnl=0 letter="y" +char id=75 x=90 y=59 width=9 height=11 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="K" +char id=55 x=101 y=59 width=8 height=11 xoffset=1 yoffset=-0 xadvance=5 page=0 chnl=0 letter="7" +char id=107 x=111 y=59 width=8 height=11 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="k" +char id=69 x=2 y=72 width=8 height=11 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="E" +char id=74 x=12 y=72 width=8 height=11 xoffset=0 yoffset=-0 xadvance=4 page=0 chnl=0 letter="J" +char id=90 x=22 y=72 width=8 height=11 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="Z" +char id=84 x=32 y=72 width=8 height=11 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="T" +char id=70 x=42 y=72 width=8 height=11 xoffset=1 yoffset=-1 xadvance=4 page=0 chnl=0 letter="F" +char id=76 x=52 y=72 width=8 height=11 xoffset=1 yoffset=-1 xadvance=4 page=0 chnl=0 letter="L" +char id=49 x=62 y=72 width=6 height=11 xoffset=1 yoffset=-1 xadvance=5 page=0 chnl=0 letter="1" +char id=108 x=70 y=72 width=5 height=11 xoffset=1 yoffset=-1 xadvance=2 page=0 chnl=0 letter="l" +char id=73 x=77 y=72 width=5 height=11 xoffset=1 yoffset=-1 xadvance=2 page=0 chnl=0 letter="I" +char id=109 x=84 y=72 width=12 height=10 xoffset=1 yoffset=1 xadvance=8 page=0 chnl=0 letter="m" +char id=97 x=98 y=72 width=9 height=10 xoffset=0 yoffset=1 xadvance=6 page=0 chnl=0 letter="a" +char id=111 x=109 y=72 width=9 height=10 xoffset=0 yoffset=1 xadvance=6 page=0 chnl=0 letter="o" +char id=101 x=2 y=85 width=9 height=10 xoffset=0 yoffset=1 xadvance=6 page=0 chnl=0 letter="e" +char id=99 x=13 y=85 width=9 height=10 xoffset=0 yoffset=1 xadvance=6 page=0 chnl=0 letter="c" +char id=110 x=24 y=85 width=9 height=10 xoffset=1 yoffset=1 xadvance=5 page=0 chnl=0 letter="n" +char id=117 x=35 y=85 width=9 height=10 xoffset=1 yoffset=1 xadvance=5 page=0 chnl=0 letter="u" +char id=115 x=46 y=85 width=7 height=10 xoffset=0 yoffset=1 xadvance=3 page=0 chnl=0 letter="s" +char id=114 x=55 y=85 width=7 height=10 xoffset=0 yoffset=1 xadvance=3 page=0 chnl=0 letter="r" +char id=59 x=64 y=85 width=6 height=10 xoffset=1 yoffset=1 xadvance=2 page=0 chnl=0 letter=";" +char id=58 x=72 y=85 width=5 height=10 xoffset=1 yoffset=1 xadvance=2 page=0 chnl=0 letter=":" +char id=119 x=79 y=85 width=12 height=9 xoffset=0 yoffset=2 xadvance=7 page=0 chnl=0 letter="w" +char id=94 x=93 y=85 width=9 height=9 xoffset=1 yoffset=-0 xadvance=6 page=0 chnl=0 letter="^" +char id=60 x=104 y=85 width=9 height=9 xoffset=0 yoffset=1 xadvance=5 page=0 chnl=0 letter="<" +char id=118 x=115 y=85 width=9 height=9 xoffset=0 yoffset=2 xadvance=5 page=0 chnl=0 letter="v" +char id=62 x=2 y=97 width=9 height=9 xoffset=0 yoffset=1 xadvance=5 page=0 chnl=0 letter=">" +char id=120 x=13 y=97 width=9 height=9 xoffset=0 yoffset=1 xadvance=4 page=0 chnl=0 letter="x" +char id=43 x=24 y=97 width=9 height=9 xoffset=1 yoffset=-0 xadvance=5 page=0 chnl=0 letter="+" +char id=122 x=35 y=97 width=8 height=9 xoffset=0 yoffset=1 xadvance=4 page=0 chnl=0 letter="z" +char id=42 x=45 y=97 width=7 height=8 xoffset=0 yoffset=-1 xadvance=4 page=0 chnl=0 letter="*" +char id=61 x=54 y=97 width=9 height=7 xoffset=1 yoffset=1 xadvance=5 page=0 chnl=0 letter="=" +char id=34 x=65 y=97 width=7 height=7 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter=""" +char id=126 x=74 y=97 width=9 height=6 xoffset=0 yoffset=2 xadvance=5 page=0 chnl=0 letter="~" +char id=44 x=85 y=97 width=6 height=6 xoffset=1 yoffset=5 xadvance=2 page=0 chnl=0 letter="," +char id=96 x=93 y=97 width=6 height=6 xoffset=0 yoffset=-1 xadvance=3 page=0 chnl=0 letter="`" +char id=39 x=101 y=97 width=5 height=6 xoffset=1 yoffset=-0 xadvance=2 page=0 chnl=0 letter="'" +char id=46 x=108 y=97 width=5 height=6 xoffset=1 yoffset=5 xadvance=2 page=0 chnl=0 letter="." +char id=95 x=115 y=97 width=9 height=5 xoffset=0 yoffset=7 xadvance=4 page=0 chnl=0 letter="_" +char id=45 x=2 y=108 width=7 height=5 xoffset=0 yoffset=3 xadvance=3 page=0 chnl=0 letter="-" +char id=32 x=11 y=108 width=0 height=0 xoffset=2 yoffset=28 xadvance=2 page=0 chnl=0 letter="space" diff --git a/DemoShop/DemoShop_editor/Resources/Heiti9.png b/DemoShop/DemoShop_editor/Resources/Heiti9.png new file mode 100644 index 0000000..7c2669a Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/Heiti9.png differ diff --git a/DemoShop/DemoShop_editor/Resources/add_1.png b/DemoShop/DemoShop_editor/Resources/add_1.png new file mode 100644 index 0000000..1017724 Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/add_1.png differ diff --git a/DemoShop/DemoShop_editor/Resources/add_2.png b/DemoShop/DemoShop_editor/Resources/add_2.png new file mode 100644 index 0000000..0be642f Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/add_2.png differ diff --git a/DemoShop/DemoShop_editor/Resources/armour.png b/DemoShop/DemoShop_editor/Resources/armour.png new file mode 100644 index 0000000..43f3f5c Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/armour.png differ diff --git a/DemoShop/DemoShop_editor/Resources/backpack.png b/DemoShop/DemoShop_editor/Resources/backpack.png new file mode 100644 index 0000000..3e98add Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/backpack.png differ diff --git a/DemoShop/DemoShop_editor/Resources/bg.png b/DemoShop/DemoShop_editor/Resources/bg.png new file mode 100644 index 0000000..3944979 Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/bg.png differ diff --git a/DemoShop/DemoShop_editor/Resources/button_1.png b/DemoShop/DemoShop_editor/Resources/button_1.png new file mode 100644 index 0000000..bbdc6c4 Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/button_1.png differ diff --git a/DemoShop/DemoShop_editor/Resources/button_2.png b/DemoShop/DemoShop_editor/Resources/button_2.png new file mode 100644 index 0000000..3c66e4e Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/button_2.png differ diff --git a/DemoShop/DemoShop_editor/Resources/buy_1.png b/DemoShop/DemoShop_editor/Resources/buy_1.png new file mode 100644 index 0000000..e2ef22b Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/buy_1.png differ diff --git a/DemoShop/DemoShop_editor/Resources/buy_2.png b/DemoShop/DemoShop_editor/Resources/buy_2.png new file mode 100644 index 0000000..7ad8fb2 Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/buy_2.png differ diff --git a/DemoShop/DemoShop_editor/Resources/buy_bg.png b/DemoShop/DemoShop_editor/Resources/buy_bg.png new file mode 100644 index 0000000..86a0f7a Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/buy_bg.png differ diff --git a/DemoShop/DemoShop_editor/Resources/close_1.png b/DemoShop/DemoShop_editor/Resources/close_1.png new file mode 100644 index 0000000..0483862 Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/close_1.png differ diff --git a/DemoShop/DemoShop_editor/Resources/close_2.png b/DemoShop/DemoShop_editor/Resources/close_2.png new file mode 100644 index 0000000..a128d92 Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/close_2.png differ diff --git a/DemoShop/DemoShop_editor/Resources/coin.png b/DemoShop/DemoShop_editor/Resources/coin.png new file mode 100644 index 0000000..43730ff Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/coin.png differ diff --git a/DemoShop/DemoShop_editor/Resources/dart.png b/DemoShop/DemoShop_editor/Resources/dart.png new file mode 100644 index 0000000..1c682b0 Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/dart.png differ diff --git a/DemoShop/DemoShop_editor/Resources/dimensity.png b/DemoShop/DemoShop_editor/Resources/dimensity.png new file mode 100644 index 0000000..103bf99 Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/dimensity.png differ diff --git a/DemoShop/DemoShop_editor/Resources/fonts_weapon_001-hd.png b/DemoShop/DemoShop_editor/Resources/fonts_weapon_001-hd.png new file mode 100644 index 0000000..ae99fa0 Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/fonts_weapon_001-hd.png differ diff --git a/DemoShop/DemoShop_editor/Resources/gloves.png b/DemoShop/DemoShop_editor/Resources/gloves.png new file mode 100644 index 0000000..5da3b64 Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/gloves.png differ diff --git a/DemoShop/DemoShop_editor/Resources/helmet.png b/DemoShop/DemoShop_editor/Resources/helmet.png new file mode 100644 index 0000000..73dc35b Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/helmet.png differ diff --git a/DemoShop/DemoShop_editor/Resources/number.png b/DemoShop/DemoShop_editor/Resources/number.png new file mode 100644 index 0000000..8fb2f0a Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/number.png differ diff --git a/DemoShop/DemoShop_editor/Resources/shield.png b/DemoShop/DemoShop_editor/Resources/shield.png new file mode 100644 index 0000000..0020938 Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/shield.png differ diff --git a/DemoShop/DemoShop_editor/Resources/slot.png b/DemoShop/DemoShop_editor/Resources/slot.png new file mode 100644 index 0000000..d9e2767 Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/slot.png differ diff --git a/DemoShop/DemoShop_editor/Resources/sub_1.png b/DemoShop/DemoShop_editor/Resources/sub_1.png new file mode 100644 index 0000000..4ec6989 Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/sub_1.png differ diff --git a/DemoShop/DemoShop_editor/Resources/sub_2.png b/DemoShop/DemoShop_editor/Resources/sub_2.png new file mode 100644 index 0000000..0b9752f Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/sub_2.png differ diff --git a/DemoShop/DemoShop_editor/Resources/sword.png b/DemoShop/DemoShop_editor/Resources/sword.png new file mode 100644 index 0000000..a5d77f0 Binary files /dev/null and b/DemoShop/DemoShop_editor/Resources/sword.png differ diff --git a/DemoShop/Resources/CloseNormal.png b/DemoShop/Resources/CloseNormal.png new file mode 100644 index 0000000..5657a13 Binary files /dev/null and b/DemoShop/Resources/CloseNormal.png differ diff --git a/DemoShop/Resources/CloseSelected.png b/DemoShop/Resources/CloseSelected.png new file mode 100644 index 0000000..e4c82da Binary files /dev/null and b/DemoShop/Resources/CloseSelected.png differ diff --git a/DemoShop/Resources/HelloWorld.png b/DemoShop/Resources/HelloWorld.png new file mode 100644 index 0000000..5fe89fb Binary files /dev/null and b/DemoShop/Resources/HelloWorld.png differ diff --git a/DemoShop/Resources/cocosgui/UITest/UITest.json b/DemoShop/Resources/cocosgui/UITest/UITest.json new file mode 100644 index 0000000..3712068 --- /dev/null +++ b/DemoShop/Resources/cocosgui/UITest/UITest.json @@ -0,0 +1,446 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "0.3.2.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 1, + "actiontag": 109, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 82, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 263, + "yProportion": 0.821875, + "backGroundImage": null, + "backGroundImageData": { + "path": "ribbon.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 66.6666641, + "capInsetsWidth": 66.6666641, + "capInsetsX": 66.6666641, + "capInsetsY": 66.6666641, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "UItest", + "ZOrder": 1, + "actiontag": 115, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 20, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 88, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 70, + "x": 240, + "xProportion": 0.5, + "y": 307, + "yProportion": 0.959375, + "fontName": "SongTypeFont", + "fontSize": 20, + "fontType": 0, + "text": "UI_test", + "touchSacleEnable": false + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "right_Button", + "ZOrder": 5, + "actiontag": 113, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 86, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 338, + "xProportion": 0.704166651, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "f1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "left_Button", + "ZOrder": 4, + "actiontag": 112, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 85, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 142, + "xProportion": 0.295833319, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "b1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "middle_Button", + "ZOrder": 3, + "actiontag": 111, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 84, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 49, + "x": 240, + "xProportion": 0.5, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 16.333334, + "capInsetsX": 16.333334, + "capInsetsY": 15.666667, + "disabled": null, + "disabledData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "r1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 49 + } + }, + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "background_Panel", + "ZOrder": 2, + "actiontag": 110, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 170, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 83, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 300, + "x": 90, + "xProportion": 0.1875, + "y": 75, + "yProportion": 0.234375, + "backGroundImage": null, + "backGroundImageData": { + "path": "buttonBackground.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "back", + "ZOrder": 6, + "actiontag": 114, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 24, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 87, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 48, + "x": 430, + "xProportion": 0.8958333, + "y": 30, + "yProportion": 0.09375, + "fontName": "SongTypeFont", + "fontSize": 24, + "fontType": 0, + "text": "Back", + "touchSacleEnable": true + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "root_Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 81, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": { + "path": "background.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 255, + "bgColorOpacity": 255, + "bgColorR": 255, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 106.666664, + "capInsetsWidth": 160, + "capInsetsX": 160, + "capInsetsY": 106.666664, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/DemoShop/Resources/cocosgui/UITest/b1.png b/DemoShop/Resources/cocosgui/UITest/b1.png new file mode 100644 index 0000000..547e1c7 Binary files /dev/null and b/DemoShop/Resources/cocosgui/UITest/b1.png differ diff --git a/DemoShop/Resources/cocosgui/UITest/b2.png b/DemoShop/Resources/cocosgui/UITest/b2.png new file mode 100644 index 0000000..2818054 Binary files /dev/null and b/DemoShop/Resources/cocosgui/UITest/b2.png differ diff --git a/DemoShop/Resources/cocosgui/UITest/background.png b/DemoShop/Resources/cocosgui/UITest/background.png new file mode 100644 index 0000000..500d959 Binary files /dev/null and b/DemoShop/Resources/cocosgui/UITest/background.png differ diff --git a/DemoShop/Resources/cocosgui/UITest/buttonBackground.png b/DemoShop/Resources/cocosgui/UITest/buttonBackground.png new file mode 100644 index 0000000..a467061 Binary files /dev/null and b/DemoShop/Resources/cocosgui/UITest/buttonBackground.png differ diff --git a/DemoShop/Resources/cocosgui/UITest/f1.png b/DemoShop/Resources/cocosgui/UITest/f1.png new file mode 100644 index 0000000..4fd7bdb Binary files /dev/null and b/DemoShop/Resources/cocosgui/UITest/f1.png differ diff --git a/DemoShop/Resources/cocosgui/UITest/f2.png b/DemoShop/Resources/cocosgui/UITest/f2.png new file mode 100644 index 0000000..e752eda Binary files /dev/null and b/DemoShop/Resources/cocosgui/UITest/f2.png differ diff --git a/DemoShop/Resources/cocosgui/UITest/r1.png b/DemoShop/Resources/cocosgui/UITest/r1.png new file mode 100644 index 0000000..827a772 Binary files /dev/null and b/DemoShop/Resources/cocosgui/UITest/r1.png differ diff --git a/DemoShop/Resources/cocosgui/UITest/r2.png b/DemoShop/Resources/cocosgui/UITest/r2.png new file mode 100644 index 0000000..727a1c6 Binary files /dev/null and b/DemoShop/Resources/cocosgui/UITest/r2.png differ diff --git a/DemoShop/Resources/cocosgui/UITest/ribbon.png b/DemoShop/Resources/cocosgui/UITest/ribbon.png new file mode 100644 index 0000000..b80fb94 Binary files /dev/null and b/DemoShop/Resources/cocosgui/UITest/ribbon.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/DemoShop.json b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/DemoShop.json new file mode 100644 index 0000000..4a11804 --- /dev/null +++ b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/DemoShop.json @@ -0,0 +1,6922 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "dataScale": 1, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "1.2.0.1", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ScrollView", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 87, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 54, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "armour.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 54 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 88, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 91, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 227, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 143, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Armour", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 228, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 144, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "19", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "armour_Panel", + "ZOrder": 0, + "actiontag": 84, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.7653061, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 150, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 94, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 37, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "helmet.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 37 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 95, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 98, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 229, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 145, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Helmet", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 230, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 146, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "10", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "helmet_Panel", + "ZOrder": 0, + "actiontag": 93, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5121951, + "positionPercentY": 0.7653061, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 126, + "y": 150, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 101, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 54, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 54, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "shield.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 54, + "scale9Width": 54 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 102, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 105, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 231, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 147, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Shield", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 232, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.593220353, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 148, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 70, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "22", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "shield_Panel", + "ZOrder": 0, + "actiontag": 100, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.5102041, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 100, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 108, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 49, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "sword.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 49 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 109, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 112, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 233, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 149, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Sword", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 234, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 150, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "20", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "sword_Panel", + "ZOrder": 0, + "actiontag": 107, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5121951, + "positionPercentY": 0.5102041, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 126, + "y": 100, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 115, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 50, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 42, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "gloves.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 50, + "scale9Width": 42 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 116, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 119, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 236, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 152, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Gloves", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 237, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 153, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "8", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "gloves_Panel", + "ZOrder": 0, + "actiontag": 114, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.255102038, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 50, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 122, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 48, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "dimensity.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 48 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 123, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 126, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 238, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 154, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Dimensity", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 239, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 155, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "17", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "dimensity_Panel", + "ZOrder": 0, + "actiontag": 121, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5121951, + "positionPercentY": 0.255102038, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 126, + "y": 50, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 129, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.27966103, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 66, + "x": 33, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "dart.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 57, + "scale9Width": 66 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 130, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 133, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 240, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 156, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Dart", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 241, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 157, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "8", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "dart_Panel", + "ZOrder": 0, + "actiontag": 128, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.0102040814, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 2, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 136, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.237288132, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 56, + "x": 28, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "backpack.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 56 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 137, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 140, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 242, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 158, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Backpack", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 243, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 159, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "4", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "backpack_Panel", + "ZOrder": 0, + "actiontag": 135, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5121951, + "positionPercentY": 0.0102040814, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 126, + "y": 2, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIScrollViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ScrollView", + "name": "shop_ScrollView", + "ZOrder": 3, + "actiontag": 86, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 196, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.104166664, + "positionPercentY": 0.209375, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5125, + "sizePercentY": 0.6125, + "sizeType": 0, + "tag": 66, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 246, + "x": 50, + "y": 67, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 100, + "bgColorG": 150, + "bgColorOpacity": 100, + "bgColorR": 255, + "bgEndColorB": 0, + "bgEndColorG": 0, + "bgEndColorR": 255, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "bounceEnable": false, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "direction": 1, + "innerHeight": 196, + "innerWidth": 246, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "ScrollView", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 29, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 54, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.4318182, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 54, + "x": 24, + "y": 19, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "shield.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 54, + "scale9Width": 54 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 30, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 33, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 9, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 244, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 160, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Shield", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 245, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 161, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 9, + "hAlignment": 0, + "text": "22", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "shield_Panel", + "ZOrder": 0, + "actiontag": 29, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.873994648, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 326, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 36, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.186440676, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 49, + "x": 22, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "sword.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 49 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 37, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 40, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 9, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 246, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 162, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Sword", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 247, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 163, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 9, + "hAlignment": 0, + "text": "22", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "sword_Panel", + "ZOrder": 0, + "actiontag": 35, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.750670254, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 280, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 43, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.186440676, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 54, + "x": 22, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "armour.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 54 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 44, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 47, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 9, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 248, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 164, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Armour", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 249, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 165, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "22", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "armour_Panel", + "ZOrder": 0, + "actiontag": 42, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.6246649, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 233, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 50, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.186440676, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 48, + "x": 22, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "dimensity.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 48 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 51, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 54, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 250, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 166, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Dimensity", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 251, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 167, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "17", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "dimensity_Panel", + "ZOrder": 0, + "actiontag": 49, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.5013405, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 187, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 57, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.186440676, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 37, + "x": 22, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "helmet.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 37 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 58, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 61, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 252, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 168, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Helmet", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 253, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 169, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "10", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "helmet_Panel", + "ZOrder": 0, + "actiontag": 56, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.378016084, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 141, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 64, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 50, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.186440676, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 42, + "x": 22, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "gloves.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 50, + "scale9Width": 42 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 65, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 68, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 9, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 254, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 170, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Gloves", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 255, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 171, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "8", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "gloves_Panel", + "ZOrder": 0, + "actiontag": 63, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.2546917, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 95, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 71, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.2542373, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 66, + "x": 30, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "dart.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 57, + "scale9Width": 66 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 72, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 75, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 256, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 172, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Dart", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 257, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 173, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "7", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "dart_Panel", + "ZOrder": 0, + "actiontag": 70, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.1313673, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 49, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 78, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.2542373, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 56, + "x": 30, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "backpack.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 56 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 79, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 82, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label ", + "ZOrder": 0, + "actiontag": 258, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 174, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Backpack", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 259, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 175, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "4", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "backpack_Panel", + "ZOrder": 0, + "actiontag": 77, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.008042895, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 3, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIScrollViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ScrollView", + "name": "ranking_ScrollView", + "ZOrder": 1, + "actiontag": 28, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 210, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.6666667, + "positionPercentY": 0.16875, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.25, + "sizePercentY": 0.65625, + "sizeType": 0, + "tag": 8, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 120, + "x": 320, + "y": 54, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 100, + "bgColorG": 150, + "bgColorOpacity": 100, + "bgColorR": 255, + "bgEndColorB": 0, + "bgEndColorG": 0, + "bgEndColorR": 255, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "bounceEnable": false, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": true, + "colorType": 0, + "direction": 1, + "innerHeight": 373, + "innerWidth": 120, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "back_Button", + "ZOrder": 0, + "actiontag": 23, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 23, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.7895833, + "positionPercentY": 0.075, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.214583337, + "sizePercentY": 0.125, + "sizeType": 0, + "tag": 3, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 50, + "x": 379, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "button_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 14, + "fontType": 0, + "normal": null, + "normalData": { + "path": "button_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "button_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 23, + "scale9Width": 50, + "text": "Back", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "close_Button", + "ZOrder": 0, + "actiontag": 142, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 18, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.877005339, + "positionPercentY": 0.9837838, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5508021, + "sizePercentY": 0.216216221, + "sizeType": 0, + "tag": 122, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 22, + "x": 164, + "y": 182, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "close_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "close_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "close_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 18, + "scale9Width": 22, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 143, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.219251335, + "positionPercentY": 0.7135135, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.42780748, + "sizePercentY": 0.432432443, + "sizeType": 0, + "tag": 123, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 54, + "x": 41, + "y": 132, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "armour.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 54 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "add_Button", + "ZOrder": 0, + "actiontag": 147, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 8, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8342246, + "positionPercentY": 0.5675676, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5508021, + "sizePercentY": 0.216216221, + "sizeType": 0, + "tag": 127, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 25, + "x": 156, + "y": 105, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "add_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "add_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "add_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 8, + "scale9Width": 25, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "sub_Button", + "ZOrder": 0, + "actiontag": 148, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 8, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8342246, + "positionPercentY": 0.518918931, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5508021, + "sizePercentY": 0.216216221, + "sizeType": 0, + "tag": 128, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 25, + "x": 156, + "y": 96, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "sub_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "sub_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "sub_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 8, + "scale9Width": 25, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "LabelAtlas", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelAtlasSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LabelAtlas", + "name": "number_LabelAtlas", + "ZOrder": 0, + "actiontag": 151, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 9, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.56684494, + "positionPercentY": 0.545945942, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1.28342247, + "sizePercentY": 0.172972977, + "sizeType": 0, + "tag": 131, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 8, + "x": 106, + "y": 101, + "charMapFile": null, + "charMapFileData": { + "path": "number.png", + "plistFile": null, + "resourceType": 0 + }, + "itemHeight": 9, + "itemWidth": 8, + "startCharMap": ".", + "stringValue": "1" + } + }, + { + "classname": "LabelAtlas", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelAtlasSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LabelAtlas", + "name": "coupon_number_LabelAtlas", + "ZOrder": 0, + "actiontag": 155, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 9, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.187165782, + "positionPercentY": 0.286486477, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1.28342247, + "sizePercentY": 0.172972977, + "sizeType": 0, + "tag": 135, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 8, + "x": 35, + "y": 53, + "charMapFile": null, + "charMapFileData": { + "path": "number.png", + "plistFile": null, + "resourceType": 0 + }, + "itemHeight": 9, + "itemWidth": 8, + "startCharMap": ".", + "stringValue": "1" + } + }, + { + "classname": "LabelAtlas", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelAtlasSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LabelAtlas", + "name": "binding_number_LabelAtlas", + "ZOrder": 0, + "actiontag": 157, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 9, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.470588237, + "positionPercentY": 0.286486477, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1.28342247, + "sizePercentY": 0.172972977, + "sizeType": 0, + "tag": 135, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 8, + "x": 88, + "y": 53, + "charMapFile": null, + "charMapFileData": { + "path": "number.png", + "plistFile": null, + "resourceType": 0 + }, + "itemHeight": 9, + "itemWidth": 8, + "startCharMap": ".", + "stringValue": "1" + } + }, + { + "classname": "LabelAtlas", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelAtlasSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LabelAtlas", + "name": "medal_number_LabelAtlas", + "ZOrder": 0, + "actiontag": 159, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 9, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.7379679, + "positionPercentY": 0.286486477, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1.28342247, + "sizePercentY": 0.172972977, + "sizeType": 0, + "tag": 135, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 8, + "x": 138, + "y": 53, + "charMapFile": null, + "charMapFileData": { + "path": "number.png", + "plistFile": null, + "resourceType": 0 + }, + "itemHeight": 9, + "itemWidth": 8, + "startCharMap": ".", + "stringValue": "1" + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 152, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 23, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5026738, + "positionPercentY": 0.124324322, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5508021, + "sizePercentY": 0.216216221, + "sizeType": 0, + "tag": 132, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 50, + "x": 94, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "button_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 14, + "fontType": 0, + "normal": null, + "normalData": { + "path": "button_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "button_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 23, + "scale9Width": 50, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "title_Label", + "ZOrder": 0, + "actiontag": 345, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.10695187, + "positionPercentY": 0.940540552, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 125, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 20, + "y": 174, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 14, + "hAlignment": 0, + "text": "Buy", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 346, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.459893048, + "positionPercentY": 0.6972973, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 126, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 86, + "y": 129, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Armour", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 347, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.770053446, + "positionPercentY": 0.7027027, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 127, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 144, + "y": 130, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 9, + "hAlignment": 0, + "text": "19000", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_unit_Label", + "ZOrder": 0, + "actiontag": 348, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.780748665, + "positionPercentY": 0.6594595, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 128, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 146, + "y": 122, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 9, + "hAlignment": 0, + "text": "Coupon", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "number_Label", + "ZOrder": 0, + "actiontag": 349, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.224598929, + "positionPercentY": 0.551351368, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 129, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 42, + "y": 102, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 9, + "hAlignment": 0, + "text": "Number", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "pay_Label", + "ZOrder": 0, + "actiontag": 350, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.144385025, + "positionPercentY": 0.3837838, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 130, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 27, + "y": 71, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "PAY", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "coupon_Label", + "ZOrder": 0, + "actiontag": 354, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.310160428, + "positionPercentY": 0.286486477, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 123, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 58, + "y": 53, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 8, + "hAlignment": 0, + "text": "Coupon", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "binding_Label", + "ZOrder": 0, + "actiontag": 355, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.593582869, + "positionPercentY": 0.288756818, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 124, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 111, + "y": 53, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 8, + "hAlignment": 0, + "text": "Binding", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "medal_Label", + "ZOrder": 0, + "actiontag": 356, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8449198, + "positionPercentY": 0.286486477, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 125, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 158, + "y": 53, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 8, + "hAlignment": 0, + "text": "Medal", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "buy_Panel", + "ZOrder": 4, + "actiontag": 142, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 185, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.1875, + "positionPercentY": 0.2125, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.389583319, + "sizePercentY": 0.578125, + "sizeType": 0, + "tag": 122, + "touchAble": false, + "useMergedTexture": false, + "visible": false, + "width": 187, + "x": 90, + "y": 68, + "backGroundImage": null, + "backGroundImageData": { + "path": "buy_bg.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "Label_225", + "ZOrder": 4, + "actiontag": 225, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.304166675, + "positionPercentY": 0.8625, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.197916672, + "sizePercentY": 0.084375, + "sizeType": 0, + "tag": 141, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 146, + "y": 276, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 20, + "hAlignment": 0, + "text": "Shop", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "Label_226", + "ZOrder": 4, + "actiontag": 226, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.7875, + "positionPercentY": 0.875, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.197916672, + "sizePercentY": 0.084375, + "sizeType": 0, + "tag": 142, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 378, + "y": 280, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 16, + "hAlignment": 0, + "text": "Ranking", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.01, + "sizePercentY": 0.01, + "sizeType": 0, + "tag": 19, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "y": 0, + "backGroundImage": null, + "backGroundImageData": { + "path": "bg.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/add_1.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/add_1.png new file mode 100644 index 0000000..1017724 Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/add_1.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/add_2.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/add_2.png new file mode 100644 index 0000000..0be642f Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/add_2.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/armour.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/armour.png new file mode 100644 index 0000000..43f3f5c Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/armour.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/backpack.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/backpack.png new file mode 100644 index 0000000..3e98add Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/backpack.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/bg.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/bg.png new file mode 100644 index 0000000..3944979 Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/bg.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/button_1.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/button_1.png new file mode 100644 index 0000000..bbdc6c4 Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/button_1.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/button_2.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/button_2.png new file mode 100644 index 0000000..3c66e4e Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/button_2.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/buy_1.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/buy_1.png new file mode 100644 index 0000000..e2ef22b Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/buy_1.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/buy_2.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/buy_2.png new file mode 100644 index 0000000..7ad8fb2 Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/buy_2.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/buy_bg.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/buy_bg.png new file mode 100644 index 0000000..86a0f7a Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/buy_bg.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/close_1.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/close_1.png new file mode 100644 index 0000000..0483862 Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/close_1.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/close_2.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/close_2.png new file mode 100644 index 0000000..a128d92 Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/close_2.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/coin.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/coin.png new file mode 100644 index 0000000..43730ff Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/coin.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/dart.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/dart.png new file mode 100644 index 0000000..1c682b0 Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/dart.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/dimensity.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/dimensity.png new file mode 100644 index 0000000..103bf99 Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/dimensity.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/gloves.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/gloves.png new file mode 100644 index 0000000..5da3b64 Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/gloves.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/helmet.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/helmet.png new file mode 100644 index 0000000..73dc35b Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/helmet.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/number.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/number.png new file mode 100644 index 0000000..8fb2f0a Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/number.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/shield.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/shield.png new file mode 100644 index 0000000..0020938 Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/shield.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/slot.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/slot.png new file mode 100644 index 0000000..d9e2767 Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/slot.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/sub_1.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/sub_1.png new file mode 100644 index 0000000..4ec6989 Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/sub_1.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/sub_2.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/sub_2.png new file mode 100644 index 0000000..0b9752f Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/sub_2.png differ diff --git a/DemoShop/Resources/cocosgui/gui_examples/DemoShop/sword.png b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/sword.png new file mode 100644 index 0000000..a5d77f0 Binary files /dev/null and b/DemoShop/Resources/cocosgui/gui_examples/DemoShop/sword.png differ diff --git a/DemoShop/Resources/fonts/Marker Felt.ttf b/DemoShop/Resources/fonts/Marker Felt.ttf new file mode 100644 index 0000000..3752ef3 Binary files /dev/null and b/DemoShop/Resources/fonts/Marker Felt.ttf differ diff --git a/DemoShop/Resources/hd/cocosgui/UITest/UITest.json b/DemoShop/Resources/hd/cocosgui/UITest/UITest.json new file mode 100644 index 0000000..3712068 --- /dev/null +++ b/DemoShop/Resources/hd/cocosgui/UITest/UITest.json @@ -0,0 +1,446 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "0.3.2.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 1, + "actiontag": 109, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 82, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 263, + "yProportion": 0.821875, + "backGroundImage": null, + "backGroundImageData": { + "path": "ribbon.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 66.6666641, + "capInsetsWidth": 66.6666641, + "capInsetsX": 66.6666641, + "capInsetsY": 66.6666641, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "UItest", + "ZOrder": 1, + "actiontag": 115, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 20, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 88, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 70, + "x": 240, + "xProportion": 0.5, + "y": 307, + "yProportion": 0.959375, + "fontName": "SongTypeFont", + "fontSize": 20, + "fontType": 0, + "text": "UI_test", + "touchSacleEnable": false + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "right_Button", + "ZOrder": 5, + "actiontag": 113, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 86, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 338, + "xProportion": 0.704166651, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "f1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "left_Button", + "ZOrder": 4, + "actiontag": 112, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 85, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 142, + "xProportion": 0.295833319, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "b1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "middle_Button", + "ZOrder": 3, + "actiontag": 111, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 84, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 49, + "x": 240, + "xProportion": 0.5, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 16.333334, + "capInsetsX": 16.333334, + "capInsetsY": 15.666667, + "disabled": null, + "disabledData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "r1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 49 + } + }, + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "background_Panel", + "ZOrder": 2, + "actiontag": 110, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 170, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 83, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 300, + "x": 90, + "xProportion": 0.1875, + "y": 75, + "yProportion": 0.234375, + "backGroundImage": null, + "backGroundImageData": { + "path": "buttonBackground.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "back", + "ZOrder": 6, + "actiontag": 114, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 24, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 87, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 48, + "x": 430, + "xProportion": 0.8958333, + "y": 30, + "yProportion": 0.09375, + "fontName": "SongTypeFont", + "fontSize": 24, + "fontType": 0, + "text": "Back", + "touchSacleEnable": true + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "root_Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 81, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": { + "path": "background.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 255, + "bgColorOpacity": 255, + "bgColorR": 255, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 106.666664, + "capInsetsWidth": 160, + "capInsetsX": 160, + "capInsetsY": 106.666664, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/DemoShop/Resources/hd/cocosgui/UITest/b1.png b/DemoShop/Resources/hd/cocosgui/UITest/b1.png new file mode 100644 index 0000000..a3c16ad Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/UITest/b1.png differ diff --git a/DemoShop/Resources/hd/cocosgui/UITest/b2.png b/DemoShop/Resources/hd/cocosgui/UITest/b2.png new file mode 100644 index 0000000..ffa527c Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/UITest/b2.png differ diff --git a/DemoShop/Resources/hd/cocosgui/UITest/background.png b/DemoShop/Resources/hd/cocosgui/UITest/background.png new file mode 100644 index 0000000..eff519b Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/UITest/background.png differ diff --git a/DemoShop/Resources/hd/cocosgui/UITest/buttonBackground.png b/DemoShop/Resources/hd/cocosgui/UITest/buttonBackground.png new file mode 100644 index 0000000..a467061 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/UITest/buttonBackground.png differ diff --git a/DemoShop/Resources/hd/cocosgui/UITest/f1.png b/DemoShop/Resources/hd/cocosgui/UITest/f1.png new file mode 100644 index 0000000..606181f Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/UITest/f1.png differ diff --git a/DemoShop/Resources/hd/cocosgui/UITest/f2.png b/DemoShop/Resources/hd/cocosgui/UITest/f2.png new file mode 100644 index 0000000..8cd548b Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/UITest/f2.png differ diff --git a/DemoShop/Resources/hd/cocosgui/UITest/r1.png b/DemoShop/Resources/hd/cocosgui/UITest/r1.png new file mode 100644 index 0000000..6b51dc4 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/UITest/r1.png differ diff --git a/DemoShop/Resources/hd/cocosgui/UITest/r2.png b/DemoShop/Resources/hd/cocosgui/UITest/r2.png new file mode 100644 index 0000000..ef1f2b4 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/UITest/r2.png differ diff --git a/DemoShop/Resources/hd/cocosgui/UITest/ribbon.png b/DemoShop/Resources/hd/cocosgui/UITest/ribbon.png new file mode 100644 index 0000000..28583f5 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/UITest/ribbon.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/DemoShop.json b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/DemoShop.json new file mode 100644 index 0000000..4a11804 --- /dev/null +++ b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/DemoShop.json @@ -0,0 +1,6922 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "dataScale": 1, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "1.2.0.1", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ScrollView", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 87, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 54, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "armour.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 54 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 88, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 91, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 227, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 143, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Armour", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 228, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 144, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "19", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "armour_Panel", + "ZOrder": 0, + "actiontag": 84, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.7653061, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 150, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 94, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 37, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "helmet.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 37 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 95, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 98, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 229, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 145, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Helmet", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 230, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 146, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "10", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "helmet_Panel", + "ZOrder": 0, + "actiontag": 93, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5121951, + "positionPercentY": 0.7653061, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 126, + "y": 150, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 101, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 54, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 54, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "shield.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 54, + "scale9Width": 54 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 102, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 105, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 231, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 147, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Shield", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 232, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.593220353, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 148, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 70, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "22", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "shield_Panel", + "ZOrder": 0, + "actiontag": 100, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.5102041, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 100, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 108, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 49, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "sword.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 49 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 109, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 112, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 233, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 149, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Sword", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 234, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 150, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "20", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "sword_Panel", + "ZOrder": 0, + "actiontag": 107, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5121951, + "positionPercentY": 0.5102041, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 126, + "y": 100, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 115, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 50, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 42, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "gloves.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 50, + "scale9Width": 42 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 116, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 119, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 236, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 152, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Gloves", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 237, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 153, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "8", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "gloves_Panel", + "ZOrder": 0, + "actiontag": 114, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.255102038, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 50, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 122, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 48, + "x": 24, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "dimensity.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 48 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 123, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 126, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 238, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 154, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Dimensity", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 239, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 155, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "17", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "dimensity_Panel", + "ZOrder": 0, + "actiontag": 121, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5121951, + "positionPercentY": 0.255102038, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 126, + "y": 50, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 129, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.27966103, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 66, + "x": 33, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "dart.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 57, + "scale9Width": 66 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 130, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 133, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 240, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 156, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Dart", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 241, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 157, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "8", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "dart_Panel", + "ZOrder": 0, + "actiontag": 128, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.0102040814, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 2, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 136, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.237288132, + "positionPercentY": 0.477272719, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 67, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 56, + "x": 28, + "y": 21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "backpack.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 56 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 137, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.545454562, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 68, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 140, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5677966, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 71, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 67, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 242, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.8636364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 158, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 38, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Backpack", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 243, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.584745765, + "positionPercentY": 0.6363636, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 159, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 69, + "y": 28, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "4", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "backpack_Panel", + "ZOrder": 0, + "actiontag": 135, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5121951, + "positionPercentY": 0.0102040814, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.4796748, + "sizePercentY": 0.2244898, + "sizeType": 0, + "tag": 64, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 126, + "y": 2, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIScrollViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ScrollView", + "name": "shop_ScrollView", + "ZOrder": 3, + "actiontag": 86, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 196, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.104166664, + "positionPercentY": 0.209375, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5125, + "sizePercentY": 0.6125, + "sizeType": 0, + "tag": 66, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 246, + "x": 50, + "y": 67, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 100, + "bgColorG": 150, + "bgColorOpacity": 100, + "bgColorR": 255, + "bgEndColorB": 0, + "bgEndColorG": 0, + "bgEndColorR": 255, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "bounceEnable": false, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "direction": 1, + "innerHeight": 196, + "innerWidth": 246, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "ScrollView", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 29, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 54, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.203389823, + "positionPercentY": 0.4318182, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 54, + "x": 24, + "y": 19, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "shield.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 54, + "scale9Width": 54 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 30, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 33, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 9, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 244, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 160, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Shield", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 245, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 161, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 9, + "hAlignment": 0, + "text": "22", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "shield_Panel", + "ZOrder": 0, + "actiontag": 29, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.873994648, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 326, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 36, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.186440676, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 49, + "x": 22, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "sword.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 49 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 37, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 40, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 9, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 246, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 162, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Sword", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 247, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 163, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 9, + "hAlignment": 0, + "text": "22", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "sword_Panel", + "ZOrder": 0, + "actiontag": 35, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.750670254, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 280, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 43, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.186440676, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 54, + "x": 22, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "armour.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 54 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 44, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 47, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 9, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 248, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 164, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Armour", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 249, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 165, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "22", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "armour_Panel", + "ZOrder": 0, + "actiontag": 42, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.6246649, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 233, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 50, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.186440676, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 48, + "x": 22, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "dimensity.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 48 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 51, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 54, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 250, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 166, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Dimensity", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 251, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 167, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "17", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "dimensity_Panel", + "ZOrder": 0, + "actiontag": 49, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.5013405, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 187, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 57, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.186440676, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 37, + "x": 22, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "helmet.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 37 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 58, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 61, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 252, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 168, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Helmet", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 253, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 169, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "10", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "helmet_Panel", + "ZOrder": 0, + "actiontag": 56, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.378016084, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 141, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 64, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 50, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.186440676, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 42, + "x": 22, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "gloves.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 50, + "scale9Width": 42 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 65, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 68, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 9, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 254, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 170, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Gloves", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 255, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 171, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "8", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "gloves_Panel", + "ZOrder": 0, + "actiontag": 63, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.2546917, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 95, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 71, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.2542373, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 66, + "x": 30, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "dart.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 57, + "scale9Width": 66 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 72, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 75, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 256, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 172, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Dart", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 257, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 173, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "7", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "dart_Panel", + "ZOrder": 0, + "actiontag": 70, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.1313673, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 49, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 78, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.2542373, + "positionPercentY": 0.454545468, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 56, + "x": 30, + "y": 20, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "backpack.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 56 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "coin_ImageView", + "ZOrder": 0, + "actiontag": 79, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 21, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.864406765, + "positionPercentY": 0.522727251, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.6779661, + "sizePercentY": 1.81818187, + "sizeType": 0, + "tag": 10, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 21, + "x": 102, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "coin.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 21, + "scale9Width": 21 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 82, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 17, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.272727281, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.872881353, + "sizePercentY": 0.909090936, + "sizeType": 0, + "tag": 13, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 36, + "x": 66, + "y": 12, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 10, + "fontType": 0, + "normal": null, + "normalData": { + "path": "buy_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "buy_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 17, + "scale9Width": 36, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label ", + "ZOrder": 0, + "actiontag": 258, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.840909064, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 174, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 37, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Backpack", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 259, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.559322059, + "positionPercentY": 0.6136364, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.805084765, + "sizePercentY": 0.6136364, + "sizeType": 0, + "tag": 175, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 66, + "y": 27, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "4", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "backpack_Panel", + "ZOrder": 0, + "actiontag": 77, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 44, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.008042895, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.983333349, + "sizePercentY": 0.117962465, + "sizeType": 0, + "tag": 9, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 118, + "x": 0, + "y": 3, + "backGroundImage": null, + "backGroundImageData": { + "path": "slot.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIScrollViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ScrollView", + "name": "ranking_ScrollView", + "ZOrder": 1, + "actiontag": 28, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 210, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.6666667, + "positionPercentY": 0.16875, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.25, + "sizePercentY": 0.65625, + "sizeType": 0, + "tag": 8, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 120, + "x": 320, + "y": 54, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 100, + "bgColorG": 150, + "bgColorOpacity": 100, + "bgColorR": 255, + "bgEndColorB": 0, + "bgEndColorG": 0, + "bgEndColorR": 255, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "bounceEnable": false, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": true, + "colorType": 0, + "direction": 1, + "innerHeight": 373, + "innerWidth": 120, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "back_Button", + "ZOrder": 0, + "actiontag": 23, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 23, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.7895833, + "positionPercentY": 0.075, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.214583337, + "sizePercentY": 0.125, + "sizeType": 0, + "tag": 3, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 50, + "x": 379, + "y": 24, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "button_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 14, + "fontType": 0, + "normal": null, + "normalData": { + "path": "button_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "button_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 23, + "scale9Width": 50, + "text": "Back", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "close_Button", + "ZOrder": 0, + "actiontag": 142, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 18, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.877005339, + "positionPercentY": 0.9837838, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5508021, + "sizePercentY": 0.216216221, + "sizeType": 0, + "tag": 122, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 22, + "x": 164, + "y": 182, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "close_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "close_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "close_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 18, + "scale9Width": 22, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "icon_ImageView", + "ZOrder": 0, + "actiontag": 143, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.219251335, + "positionPercentY": 0.7135135, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.42780748, + "sizePercentY": 0.432432443, + "sizeType": 0, + "tag": 123, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 54, + "x": 41, + "y": 132, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "armour.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 54 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "add_Button", + "ZOrder": 0, + "actiontag": 147, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 8, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8342246, + "positionPercentY": 0.5675676, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5508021, + "sizePercentY": 0.216216221, + "sizeType": 0, + "tag": 127, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 25, + "x": 156, + "y": 105, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "add_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "add_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "add_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 8, + "scale9Width": 25, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "sub_Button", + "ZOrder": 0, + "actiontag": 148, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 8, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8342246, + "positionPercentY": 0.518918931, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5508021, + "sizePercentY": 0.216216221, + "sizeType": 0, + "tag": 128, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 25, + "x": 156, + "y": 96, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "sub_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 0, + "fontType": 0, + "normal": null, + "normalData": { + "path": "sub_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "sub_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 8, + "scale9Width": 25, + "text": null, + "textColorB": 0, + "textColorG": 0, + "textColorR": 0 + } + }, + { + "classname": "LabelAtlas", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelAtlasSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LabelAtlas", + "name": "number_LabelAtlas", + "ZOrder": 0, + "actiontag": 151, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 9, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.56684494, + "positionPercentY": 0.545945942, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1.28342247, + "sizePercentY": 0.172972977, + "sizeType": 0, + "tag": 131, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 8, + "x": 106, + "y": 101, + "charMapFile": null, + "charMapFileData": { + "path": "number.png", + "plistFile": null, + "resourceType": 0 + }, + "itemHeight": 9, + "itemWidth": 8, + "startCharMap": ".", + "stringValue": "1" + } + }, + { + "classname": "LabelAtlas", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelAtlasSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LabelAtlas", + "name": "coupon_number_LabelAtlas", + "ZOrder": 0, + "actiontag": 155, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 9, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.187165782, + "positionPercentY": 0.286486477, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1.28342247, + "sizePercentY": 0.172972977, + "sizeType": 0, + "tag": 135, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 8, + "x": 35, + "y": 53, + "charMapFile": null, + "charMapFileData": { + "path": "number.png", + "plistFile": null, + "resourceType": 0 + }, + "itemHeight": 9, + "itemWidth": 8, + "startCharMap": ".", + "stringValue": "1" + } + }, + { + "classname": "LabelAtlas", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelAtlasSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LabelAtlas", + "name": "binding_number_LabelAtlas", + "ZOrder": 0, + "actiontag": 157, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 9, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.470588237, + "positionPercentY": 0.286486477, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1.28342247, + "sizePercentY": 0.172972977, + "sizeType": 0, + "tag": 135, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 8, + "x": 88, + "y": 53, + "charMapFile": null, + "charMapFileData": { + "path": "number.png", + "plistFile": null, + "resourceType": 0 + }, + "itemHeight": 9, + "itemWidth": 8, + "startCharMap": ".", + "stringValue": "1" + } + }, + { + "classname": "LabelAtlas", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelAtlasSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LabelAtlas", + "name": "medal_number_LabelAtlas", + "ZOrder": 0, + "actiontag": 159, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 9, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.7379679, + "positionPercentY": 0.286486477, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1.28342247, + "sizePercentY": 0.172972977, + "sizeType": 0, + "tag": 135, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 8, + "x": 138, + "y": 53, + "charMapFile": null, + "charMapFileData": { + "path": "number.png", + "plistFile": null, + "resourceType": 0 + }, + "itemHeight": 9, + "itemWidth": 8, + "startCharMap": ".", + "stringValue": "1" + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "buy_Button", + "ZOrder": 0, + "actiontag": 152, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 23, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5026738, + "positionPercentY": 0.124324322, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5508021, + "sizePercentY": 0.216216221, + "sizeType": 0, + "tag": 132, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 50, + "x": 94, + "y": 23, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "button_1.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "微软雅黑", + "fontSize": 14, + "fontType": 0, + "normal": null, + "normalData": { + "path": "button_1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "button_2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 23, + "scale9Width": 50, + "text": "Buy", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "title_Label", + "ZOrder": 0, + "actiontag": 345, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.10695187, + "positionPercentY": 0.940540552, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 125, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 20, + "y": 174, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 14, + "hAlignment": 0, + "text": "Buy", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "name_Label", + "ZOrder": 0, + "actiontag": 346, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.459893048, + "positionPercentY": 0.6972973, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 126, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 86, + "y": 129, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "Armour", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_Label", + "ZOrder": 0, + "actiontag": 347, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.770053446, + "positionPercentY": 0.7027027, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 127, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 144, + "y": 130, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 9, + "hAlignment": 0, + "text": "19000", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "price_unit_Label", + "ZOrder": 0, + "actiontag": 348, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.780748665, + "positionPercentY": 0.6594595, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 128, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 146, + "y": 122, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 9, + "hAlignment": 0, + "text": "Coupon", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "number_Label", + "ZOrder": 0, + "actiontag": 349, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.224598929, + "positionPercentY": 0.551351368, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 129, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 42, + "y": 102, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 9, + "hAlignment": 0, + "text": "Number", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "pay_Label", + "ZOrder": 0, + "actiontag": 350, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.144385025, + "positionPercentY": 0.3837838, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 130, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 27, + "y": 71, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 10, + "hAlignment": 0, + "text": "PAY", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "coupon_Label", + "ZOrder": 0, + "actiontag": 354, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.310160428, + "positionPercentY": 0.286486477, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 123, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 58, + "y": 53, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 8, + "hAlignment": 0, + "text": "Coupon", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "binding_Label", + "ZOrder": 0, + "actiontag": 355, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.593582869, + "positionPercentY": 0.288756818, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 124, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 111, + "y": 53, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 8, + "hAlignment": 0, + "text": "Binding", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "medal_Label", + "ZOrder": 0, + "actiontag": 356, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8449198, + "positionPercentY": 0.286486477, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.5080214, + "sizePercentY": 0.145945951, + "sizeType": 0, + "tag": 125, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 158, + "y": 53, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 8, + "hAlignment": 0, + "text": "Medal", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "buy_Panel", + "ZOrder": 4, + "actiontag": 142, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 185, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.1875, + "positionPercentY": 0.2125, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.389583319, + "sizePercentY": 0.578125, + "sizeType": 0, + "tag": 122, + "touchAble": false, + "useMergedTexture": false, + "visible": false, + "width": 187, + "x": 90, + "y": 68, + "backGroundImage": null, + "backGroundImageData": { + "path": "buy_bg.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "Label_225", + "ZOrder": 4, + "actiontag": 225, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.304166675, + "positionPercentY": 0.8625, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.197916672, + "sizePercentY": 0.084375, + "sizeType": 0, + "tag": 141, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 146, + "y": 276, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 20, + "hAlignment": 0, + "text": "Shop", + "touchScaleEnable": false, + "vAlignment": 0 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "Label_226", + "ZOrder": 4, + "actiontag": 226, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.7875, + "positionPercentY": 0.875, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.197916672, + "sizePercentY": 0.084375, + "sizeType": 0, + "tag": 142, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 95, + "x": 378, + "y": 280, + "areaHeight": 0, + "areaWidth": 0, + "fontFile": null, + "fontName": "微软雅黑", + "fontSize": 16, + "hAlignment": 0, + "text": "Ranking", + "touchScaleEnable": false, + "vAlignment": 0 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.01, + "sizePercentY": 0.01, + "sizeType": 0, + "tag": 19, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "y": 0, + "backGroundImage": null, + "backGroundImageData": { + "path": "bg.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/add_1.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/add_1.png new file mode 100644 index 0000000..9d6ba70 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/add_1.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/add_2.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/add_2.png new file mode 100644 index 0000000..43f7928 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/add_2.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/armour.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/armour.png new file mode 100644 index 0000000..31c1a75 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/armour.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/backpack.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/backpack.png new file mode 100644 index 0000000..06276c6 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/backpack.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/bg.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/bg.png new file mode 100644 index 0000000..8749afb Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/bg.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/button_1.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/button_1.png new file mode 100644 index 0000000..1a7c5b7 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/button_1.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/button_2.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/button_2.png new file mode 100644 index 0000000..0f41c2f Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/button_2.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/buy_1.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/buy_1.png new file mode 100644 index 0000000..a0d206d Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/buy_1.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/buy_2.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/buy_2.png new file mode 100644 index 0000000..a11bd34 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/buy_2.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/buy_bg.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/buy_bg.png new file mode 100644 index 0000000..50eda12 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/buy_bg.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/close_1.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/close_1.png new file mode 100644 index 0000000..0fa7a7d Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/close_1.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/close_2.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/close_2.png new file mode 100644 index 0000000..ad84965 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/close_2.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/coin.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/coin.png new file mode 100644 index 0000000..2076a37 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/coin.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/dart.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/dart.png new file mode 100644 index 0000000..fc5c7d5 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/dart.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/dimensity.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/dimensity.png new file mode 100644 index 0000000..4f220d1 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/dimensity.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/gloves.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/gloves.png new file mode 100644 index 0000000..1c97f6d Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/gloves.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/helmet.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/helmet.png new file mode 100644 index 0000000..f67717c Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/helmet.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/number.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/number.png new file mode 100644 index 0000000..77bb0f1 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/number.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/shield.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/shield.png new file mode 100644 index 0000000..c3ef634 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/shield.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/slot.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/slot.png new file mode 100644 index 0000000..f66dd77 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/slot.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/sub_1.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/sub_1.png new file mode 100644 index 0000000..a55b982 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/sub_1.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/sub_2.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/sub_2.png new file mode 100644 index 0000000..0448584 Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/sub_2.png differ diff --git a/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/sword.png b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/sword.png new file mode 100644 index 0000000..315f29c Binary files /dev/null and b/DemoShop/Resources/hd/cocosgui/gui_examples/DemoShop/sword.png differ diff --git a/DemoShop/cocos2d/readme b/DemoShop/cocos2d/readme new file mode 100644 index 0000000..00bfca5 --- /dev/null +++ b/DemoShop/cocos2d/readme @@ -0,0 +1 @@ +put cocos2d here what in a project created by create_project.py \ No newline at end of file diff --git a/DemoShop/proj.android/.classpath b/DemoShop/proj.android/.classpath new file mode 100644 index 0000000..ce3da48 --- /dev/null +++ b/DemoShop/proj.android/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/DemoShop/proj.android/.project b/DemoShop/proj.android/.project new file mode 100644 index 0000000..fe680aa --- /dev/null +++ b/DemoShop/proj.android/.project @@ -0,0 +1,65 @@ + + + DemoShop + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + Classes + 2 + COCOS2DX/projects/DemoShop/Classes + + + cocos2dx + 2 + COCOS2DX/cocos2dx + + + extensions + 2 + COCOS2DX/extensions + + + scripting + 2 + COCOS2DX/scripting + + + diff --git a/DemoShop/proj.android/AndroidManifest.xml b/DemoShop/proj.android/AndroidManifest.xml new file mode 100644 index 0000000..f020e27 --- /dev/null +++ b/DemoShop/proj.android/AndroidManifest.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/DemoShop/proj.android/README.md b/DemoShop/proj.android/README.md new file mode 100644 index 0000000..aefa86b --- /dev/null +++ b/DemoShop/proj.android/README.md @@ -0,0 +1,87 @@ +## Prerequisites: + +* Android NDK +* Android SDK **OR** Eclipse ADT Bundle +* Android AVD target installed + +## Building project + +There are two ways of building Android projects. + +1. Eclipse +2. Command Line + +### Import Project in Eclipse + +#### Features: + +1. Complete workflow from Eclipse, including: + * Build C++. + * Clean C++. + * Build and Run whole project. + * Logcat view. + * Debug Java code. + * Javascript editor. + * Project management. +2. True C++ editing, including: + * Code completion. + * Jump to definition. + * Refactoring tools etc. + * Quick open C++ files. + + +#### Setup Eclipse Environment (only once) + + +**NOTE:** This step needs to be done only once to setup the Eclipse environment for cocos2d-x projects. Skip this section if you've done this before. + +1. Download Eclipse ADT bundle from [Google ADT homepage](http://developer.android.com/sdk/index.html) + + **OR** + + Install Eclipse with Java. Add ADT and CDT plugins. + +2. Only for Windows + 1. Install [Cygwin](http://www.cygwin.com/) with make (select make package from the list during the install). + 2. Add `Cygwin\bin` directory to system PATH variable. + 3. Add this line `none /cygdrive cygdrive binary,noacl,posix=0,user 0 0` to `Cygwin\etc\fstab` file. + +3. Set up Variables: + 1. Path Variable `COCOS2DX`: + * Eclipse->Preferences->General->Workspace->**Linked Resources** + * Click **New** button to add a Path Variable `COCOS2DX` pointing to the root cocos2d-x directory. + ![Example](https://lh5.googleusercontent.com/-oPpk9kg3e5w/UUOYlq8n7aI/AAAAAAAAsdQ/zLA4eghBH9U/s400/cocos2d-x-eclipse-vars.png) + + 2. C/C++ Environment Variable `NDK_ROOT`: + * Eclipse->Preferences->C/C++->Build->**Environment**. + * Click **Add** button and add a new variable `NDK_ROOT` pointing to the root NDK directory. + ![Example](https://lh3.googleusercontent.com/-AVcY8IAT0_g/UUOYltoRobI/AAAAAAAAsdM/22D2J9u3sig/s400/cocos2d-x-eclipse-ndk.png) + * Only for Windows: Add new variables **CYGWIN** with value `nodosfilewarning` and **SHELLOPTS** with value `igncr` + +4. Import libcocos2dx library project: + 1. File->New->Project->Android Project From Existing Code. + 2. Click **Browse** button and open `cocos2d-x/cocos2dx/platform/android/java` directory. + 3. Click **Finish** to add project. + +#### Adding and running from Eclipse + +![Example](https://lh3.googleusercontent.com/-SLBOu6e3QbE/UUOcOXYaGqI/AAAAAAAAsdo/tYBY2SylOSM/s288/cocos2d-x-eclipse-project-from-code.png) ![Import](https://lh5.googleusercontent.com/-XzC9Pn65USc/UUOcOTAwizI/AAAAAAAAsdk/4b6YM-oim9Y/s400/cocos2d-x-eclipse-import-project.png) + +1. File->New->Project->Android Project From Existing Code +2. **Browse** to your project directory. eg: `cocos2d-x/cocos2dx/samples/Cpp/TestCpp/proj.android/` +3. Add the project +4. Click **Run** or **Debug** to compile C++ followed by Java and to run on connected device or emulator. + + +### Running project from Command Line + + $ cd cocos2d-x/samples/Cpp/TestCpp/proj.android/ + $ export NDK_ROOT=/path/to/ndk + $ ./build_native.sh + $ ant debug install + +If the last command results in sdk.dir missing error then do: + + $ android list target + $ android update project -p . -t (id from step 6) + $ android update project -p cocos2d/cocos/2d/platform/android/java/ -t (id from step 6) diff --git a/DemoShop/proj.android/ant.properties b/DemoShop/proj.android/ant.properties new file mode 100644 index 0000000..a51e6a0 --- /dev/null +++ b/DemoShop/proj.android/ant.properties @@ -0,0 +1,17 @@ +# This file is used to override default values used by the Ant build system. +# +# This file must be checked into Version Control Systems, as it is +# integral to the build system of your project. + +# This file is only used by the Ant script. + +# You can use this to override default values such as +# 'source.dir' for the location of your java source folder and +# 'out.dir' for the location of your output folder. + +# You can also use it define how the release builds are signed by declaring +# the following properties: +# 'key.store' for the location of your keystore and +# 'key.alias' for the name of the key to use. +# The password will be asked during the build when you use the 'release' target. + diff --git a/DemoShop/proj.android/build.xml b/DemoShop/proj.android/build.xml new file mode 100644 index 0000000..5a0f6b5 --- /dev/null +++ b/DemoShop/proj.android/build.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/DemoShop/proj.android/build_native.py b/DemoShop/proj.android/build_native.py new file mode 100644 index 0000000..5eec448 --- /dev/null +++ b/DemoShop/proj.android/build_native.py @@ -0,0 +1,166 @@ +#!/usr/bin/python +# build_native.py +# Build native codes + + +import sys +import os, os.path +import shutil +from optparse import OptionParser + +def get_num_of_cpu(): + ''' The build process can be accelerated by running multiple concurrent job processes using the -j-option. + ''' + try: + platform = sys.platform + if platform == 'win32': + if 'NUMBER_OF_PROCESSORS' in os.environ: + return int(os.environ['NUMBER_OF_PROCESSORS']) + else: + return 1 + else: + from numpy.distutils import cpuinfo + return cpuinfo.cpu._getNCPUs() + except Exception: + print "Can't know cpuinfo, use default 1 cpu" + return 1 + +def check_environment_variables_sdk(): + ''' Checking the environment ANDROID_SDK_ROOT, which will be used for building + ''' + + try: + SDK_ROOT = os.environ['ANDROID_SDK_ROOT'] + except Exception: + print "ANDROID_SDK_ROOT not defined. Please define ANDROID_SDK_ROOT in your environment" + sys.exit(1) + + return SDK_ROOT + +def check_environment_variables(): + ''' Checking the environment NDK_ROOT, which will be used for building + ''' + + try: + NDK_ROOT = os.environ['NDK_ROOT'] + except Exception: + print "NDK_ROOT not defined. Please define NDK_ROOT in your environment" + sys.exit(1) + + return NDK_ROOT + +def select_toolchain_version(): + '''Because ndk-r8e uses gcc4.6 as default. gcc4.6 doesn't support c++11. So we should select gcc4.7 when + using ndk-r8e. But gcc4.7 is removed in ndk-r9, so we should determine whether gcc4.7 exist. + Conclution: + ndk-r8e -> use gcc4.7 + ndk-r9 -> use gcc4.8 + ''' + + ndk_root = check_environment_variables() + if os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.8")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.8' + print "The Selected NDK toolchain version was 4.8 !" + elif os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.7")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.7' + print "The Selected NDK toolchain version was 4.7 !" + else: + print "Couldn't find the gcc toolchain." + exit(1) + +def do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode): + + ndk_path = os.path.join(ndk_root, "ndk-build") + + # windows should use ";" to seperate module paths + platform = sys.platform + if platform == 'win32': + ndk_module_path = 'NDK_MODULE_PATH=%s;%s/external;%s/cocos' % (cocos_root, cocos_root, cocos_root) + else: + ndk_module_path = 'NDK_MODULE_PATH=%s:%s/external:%s/cocos' % (cocos_root, cocos_root, cocos_root) + + num_of_cpu = get_num_of_cpu() + + if ndk_build_param == None: + command = '%s -j%d -C %s %s' % (ndk_path, num_of_cpu, app_android_root, ndk_module_path) + else: + command = '%s -j%d -C %s %s %s' % (ndk_path, num_of_cpu, app_android_root, ''.join(str(e) for e in ndk_build_param), ndk_module_path) + if os.system(command) != 0: + raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!") + elif android_platform is not None: + sdk_tool_path = os.path.join(sdk_root, "tools/android") + cocoslib_path = os.path.join(cocos_root, "cocos/2d/platform/android/java") + command = '%s update lib-project -t %s -p %s' % (sdk_tool_path,android_platform,cocoslib_path) + if os.system(command) != 0: + raise Exception("update cocos lib-project [ " + cocoslib_path + " ] fails!") + command = '%s update project -t %s -p %s -s' % (sdk_tool_path,android_platform,app_android_root) + if os.system(command) != 0: + raise Exception("update project [ " + app_android_root + " ] fails!") + buildfile_path = os.path.join(app_android_root, "build.xml") + command = 'ant clean %s -f %s -Dsdk.dir=%s' % (build_mode,buildfile_path,sdk_root) + os.system(command) + +def copy_files(src, dst): + + for item in os.listdir(src): + path = os.path.join(src, item) + # Android can not package the file that ends with ".gz" + if not item.startswith('.') and not item.endswith('.gz') and os.path.isfile(path): + shutil.copy(path, dst) + if os.path.isdir(path): + new_dst = os.path.join(dst, item) + os.mkdir(new_dst) + copy_files(path, new_dst) + +def copy_resources(app_android_root): + + # remove app_android_root/assets if it exists + assets_dir = os.path.join(app_android_root, "assets") + if os.path.isdir(assets_dir): + shutil.rmtree(assets_dir) + + # copy resources + os.mkdir(assets_dir) + resources_dir = os.path.join(app_android_root, "../Resources") + if os.path.isdir(resources_dir): + copy_files(resources_dir, assets_dir) + +def build(ndk_build_param,android_platform,build_mode): + + ndk_root = check_environment_variables() + sdk_root = None + select_toolchain_version() + + current_dir = os.path.dirname(os.path.realpath(__file__)) + cocos_root = os.path.join(current_dir, "../cocos2d") + + app_android_root = current_dir + copy_resources(app_android_root) + + if android_platform is not None: + sdk_root = check_environment_variables_sdk() + if android_platform.isdigit(): + android_platform = 'android-'+android_platform + else: + print 'please use vaild android platform' + exit(1) + + if build_mode is None: + build_mode = 'debug' + elif build_mode != 'release': + build_mode = 'debug' + + do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode) + +# -------------- main -------------- +if __name__ == '__main__': + + parser = OptionParser() + parser.add_option("-n", "--ndk", dest="ndk_build_param", help='parameter for ndk-build') + parser.add_option("-p", "--platform", dest="android_platform", + help='parameter for android-update.Without the parameter,the script just build dynamic library for project. Valid android-platform are:[10|11|12|13|14|15|16|17|18|19]') + parser.add_option("-b", "--build", dest="build_mode", + help='the build mode for java project,debug[default] or release.Get more information,please refer to http://developer.android.com/tools/building/building-cmdline.html') + (opts, args) = parser.parse_args() + + build(opts.ndk_build_param,opts.android_platform,opts.build_mode) diff --git a/DemoShop/proj.android/jni/Android.mk b/DemoShop/proj.android/jni/Android.mk new file mode 100644 index 0000000..10f4dce --- /dev/null +++ b/DemoShop/proj.android/jni/Android.mk @@ -0,0 +1,34 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := cocos2dcpp_shared + +LOCAL_MODULE_FILENAME := libcocos2dcpp + +LOCAL_SRC_FILES := hellocpp/main.cpp \ + ../../Classes/AppDelegate.cpp \ + ../../Classes/HelloWorldScene.cpp \ + ../../Classes/CocosGUIExamplesWeaponScene.cpp + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \ + $(LOCAL_PATH)/../../cocos2d \ + $(LOCAL_PATH)/../../cocos2d/extensions \ + $(LOCAL_PATH)/../../cocos2d/cocos \ + $(LOCAL_PATH)/../../cocos2d/cocos/gui \ + $(LOCAL_PATH)/../../cocos2d/cocos/editor-support/cocostudio \ + +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static +LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocos_gui_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static + + +include $(BUILD_SHARED_LIBRARY) + +$(call import-module,2d) +$(call import-module,audio/android) +$(call import-module,Box2D) +$(call import-module,gui) +$(call import-module,editor-support/cocostudio) diff --git a/DemoShop/proj.android/jni/Application.mk b/DemoShop/proj.android/jni/Application.mk new file mode 100644 index 0000000..74c3f99 --- /dev/null +++ b/DemoShop/proj.android/jni/Application.mk @@ -0,0 +1,2 @@ +APP_STL := gnustl_static +APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DCOCOS2D_DEBUG=1 -std=c++11 -fsigned-char diff --git a/DemoShop/proj.android/jni/hellocpp/main.cpp b/DemoShop/proj.android/jni/hellocpp/main.cpp new file mode 100644 index 0000000..006a744 --- /dev/null +++ b/DemoShop/proj.android/jni/hellocpp/main.cpp @@ -0,0 +1,16 @@ +#include "AppDelegate.h" +#include "cocos2d.h" +#include "CCEventType.h" +#include "platform/android/jni/JniHelper.h" +#include +#include + +#define LOG_TAG "main" +#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__) + +using namespace cocos2d; + +void cocos_android_app_init (struct android_app* app) { + LOGD("cocos_android_app_init"); + AppDelegate *pAppDelegate = new AppDelegate(); +} diff --git a/DemoShop/proj.android/proguard-project.txt b/DemoShop/proj.android/proguard-project.txt new file mode 100644 index 0000000..b60ae7e --- /dev/null +++ b/DemoShop/proj.android/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/DemoShop/proj.android/project.properties b/DemoShop/proj.android/project.properties new file mode 100644 index 0000000..c959301 --- /dev/null +++ b/DemoShop/proj.android/project.properties @@ -0,0 +1,13 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system use, +# "ant.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-10 + +android.library.reference.1=../cocos2d/cocos/2d/platform/android/java diff --git a/DemoShop/proj.android/res/drawable-hdpi/icon.png b/DemoShop/proj.android/res/drawable-hdpi/icon.png new file mode 100644 index 0000000..8aa4767 Binary files /dev/null and b/DemoShop/proj.android/res/drawable-hdpi/icon.png differ diff --git a/DemoShop/proj.android/res/drawable-ldpi/icon.png b/DemoShop/proj.android/res/drawable-ldpi/icon.png new file mode 100644 index 0000000..17ce11a Binary files /dev/null and b/DemoShop/proj.android/res/drawable-ldpi/icon.png differ diff --git a/DemoShop/proj.android/res/drawable-mdpi/icon.png b/DemoShop/proj.android/res/drawable-mdpi/icon.png new file mode 100644 index 0000000..3780aac Binary files /dev/null and b/DemoShop/proj.android/res/drawable-mdpi/icon.png differ diff --git a/DemoShop/proj.android/res/values/strings.xml b/DemoShop/proj.android/res/values/strings.xml new file mode 100644 index 0000000..b814585 --- /dev/null +++ b/DemoShop/proj.android/res/values/strings.xml @@ -0,0 +1,4 @@ + + + DemoShop + diff --git a/DemoShop/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java b/DemoShop/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java new file mode 100644 index 0000000..d2dfa68 --- /dev/null +++ b/DemoShop/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java @@ -0,0 +1,32 @@ +package org.cocos2dx.cpp; + +import android.app.NativeActivity; +import android.os.Bundle; + +public class Cocos2dxActivity extends NativeActivity{ + + @Override + protected void onCreate(Bundle savedInstanceState) { + // TODO Auto-generated method stub + super.onCreate(savedInstanceState); + + //For supports translucency + + //1.change "attribs" in cocos\2d\platform\android\nativeactivity.cpp + /*const EGLint attribs[] = { + EGL_SURFACE_TYPE, EGL_WINDOW_BIT, + EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, + //EGL_BLUE_SIZE, 5, -->delete + //EGL_GREEN_SIZE, 6, -->delete + //EGL_RED_SIZE, 5, -->delete + EGL_BUFFER_SIZE, 32, //-->new field + EGL_DEPTH_SIZE, 16, + EGL_STENCIL_SIZE, 8, + EGL_NONE + };*/ + + //2.Set the format of window + // getWindow().setFormat(PixelFormat.TRANSLUCENT); + + } +} diff --git a/DemoShop/proj.ios_mac/DemoShop.xcodeproj/project.pbxproj b/DemoShop/proj.ios_mac/DemoShop.xcodeproj/project.pbxproj new file mode 100644 index 0000000..6f45272 --- /dev/null +++ b/DemoShop/proj.ios_mac/DemoShop.xcodeproj/project.pbxproj @@ -0,0 +1,1038 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */; }; + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */; }; + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */; }; + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */; }; + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */; }; + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */; }; + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */; }; + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */; }; + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */; }; + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */; }; + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 1AFAF8BE16D35E4900DB1158 /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 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 */; }; + 38DEFB2A18C8210A0025D030 /* cocosgui in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB2618C8210A0025D030 /* cocosgui */; }; + 38DEFB2B18C8210A0025D030 /* cocosgui in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB2618C8210A0025D030 /* cocosgui */; }; + 38DEFB2E18C8210A0025D030 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB2818C8210A0025D030 /* fonts */; }; + 38DEFB2F18C8210A0025D030 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB2818C8210A0025D030 /* fonts */; }; + 38DEFB3018C8210A0025D030 /* hd in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB2918C8210A0025D030 /* hd */; }; + 38DEFB3118C8210A0025D030 /* hd in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB2918C8210A0025D030 /* hd */; }; + 38DEFB3A18C821130025D030 /* CocosGUIExamplesWeaponScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB3818C821130025D030 /* CocosGUIExamplesWeaponScene.cpp */; }; + 38DEFB3B18C821130025D030 /* CocosGUIExamplesWeaponScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB3818C821130025D030 /* CocosGUIExamplesWeaponScene.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 */; }; + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11117EB99EE00D1A890 /* libcurl.dylib */; }; + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11A17EB9C5A00D1A890 /* IOKit.framework */; }; + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.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 */; }; + 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 */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1551A33F158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2FD617814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2CB81780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2D9B1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2ED617814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F31FD1781479B006731B9; + remoteInfo = "jsbindings Mac"; + }; + 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A6FB53017854BC300CDF010; + remoteInfo = "luabindings Mac"; + }; + 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4D641783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4EFC1783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F3B178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F9E1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4FB4178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; + 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A5030178387750073F6A7; + remoteInfo = "jsbindings iOS"; + }; + 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A119791178526AA00D62A44; + remoteInfo = "luabindings iOS"; + }; + 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 1551A33E158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2FC117814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2B781780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2E9817814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2D5D1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4C241783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4E111783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4EFD178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F3C1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F9F178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../cocos2d/build/cocos2d_libs.xcodeproj; sourceTree = ""; }; + 1ACB3243164770DE00914215 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = ""; }; + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AppDelegate.cpp; path = ../Classes/AppDelegate.cpp; sourceTree = ""; }; + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ../Classes/AppDelegate.h; sourceTree = ""; }; + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HelloWorldScene.cpp; path = ../Classes/HelloWorldScene.cpp; sourceTree = ""; }; + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HelloWorldScene.h; path = ../Classes/HelloWorldScene.h; sourceTree = ""; }; + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseNormal.png; sourceTree = ""; }; + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseSelected.png; sourceTree = ""; }; + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = HelloWorld.png; sourceTree = ""; }; + 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 1D6058910D05DD3D006BFB54 /* DemoShop iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "DemoShop iOS.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; }; + 38DEFB2618C8210A0025D030 /* cocosgui */ = {isa = PBXFileReference; lastKnownFileType = folder; path = cocosgui; sourceTree = ""; }; + 38DEFB2818C8210A0025D030 /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; path = fonts; sourceTree = ""; }; + 38DEFB2918C8210A0025D030 /* hd */ = {isa = PBXFileReference; lastKnownFileType = folder; path = hd; sourceTree = ""; }; + 38DEFB3818C821130025D030 /* CocosGUIExamplesWeaponScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CocosGUIExamplesWeaponScene.cpp; path = ../Classes/CocosGUIExamplesWeaponScene.cpp; sourceTree = ""; }; + 38DEFB3918C821130025D030 /* CocosGUIExamplesWeaponScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CocosGUIExamplesWeaponScene.h; path = ../Classes/CocosGUIExamplesWeaponScene.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 /* DemoShop Mac.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "DemoShop Mac.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 = ""; }; + 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; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */, + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */, + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */, + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */, + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a 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 */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75C17EB910900C73F5D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */, + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */, + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */, + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */, + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */, + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */, + 5087E76717EB910900C73F5D /* libz.dylib in Frameworks */, + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */, + 5087E78B17EB975400C73F5D /* OpenGL.framework in Frameworks */, + 5087E78917EB974C00C73F5D /* AppKit.framework in Frameworks */, + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */, + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */, + 5087E76817EB910900C73F5D /* QuartzCore.framework in Frameworks */, + 5087E76917EB910900C73F5D /* OpenAL.framework in Frameworks */, + 5087E76A17EB910900C73F5D /* AVFoundation.framework in Frameworks */, + 5087E76B17EB910900C73F5D /* AudioToolbox.framework 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 = ""; + }; + 15AA9C4015B7EC450033D6C2 /* Classes */ = { + isa = PBXGroup; + children = ( + 38DEFB3818C821130025D030 /* CocosGUIExamplesWeaponScene.cpp */, + 38DEFB3918C821130025D030 /* CocosGUIExamplesWeaponScene.h */, + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */, + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */, + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */, + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */, + ); + name = Classes; + path = ../classes; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 1D6058910D05DD3D006BFB54 /* DemoShop iOS.app */, + 5087E76F17EB910900C73F5D /* DemoShop Mac.app */, + ); + name = Products; + sourceTree = ""; + }; + 1AC6FAE6180E9839004C840B /* Products */ = { + isa = PBXGroup; + children = ( + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */, + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */, + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */, + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */, + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */, + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */, + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */, + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */, + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */, + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */, + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */, + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */, + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */, + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { + isa = PBXGroup; + children = ( + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */, + 15AA9C4015B7EC450033D6C2 /* Classes */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 080E96DDFE201D6D7F000001 /* ios */, + 503AE10617EB990700D1A890 /* mac */, + 19C28FACFE9D520D11CA2CBB /* Products */, + 78C7DDAA14EBA5050085D0C2 /* Resources */, + ); + name = CustomTemplate; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 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 = ""; + }; + 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 = ( + 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; + }; + 78C7DDAA14EBA5050085D0C2 /* Resources */ = { + isa = PBXGroup; + children = ( + 38DEFB2618C8210A0025D030 /* cocosgui */, + 38DEFB2818C8210A0025D030 /* fonts */, + 38DEFB2918C8210A0025D030 /* hd */, + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */, + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */, + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */, + ); + name = Resources; + path = ../Resources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1D6058900D05DD3D006BFB54 /* DemoShop iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "DemoShop iOS" */; + buildPhases = ( + 1D60588D0D05DD3D006BFB54 /* Resources */, + 1D60588E0D05DD3D006BFB54 /* Sources */, + 1D60588F0D05DD3D006BFB54 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */, + ); + name = "DemoShop iOS"; + productName = iphone; + productReference = 1D6058910D05DD3D006BFB54 /* DemoShop iOS.app */; + productType = "com.apple.product-type.application"; + }; + 5087E73D17EB910900C73F5D /* DemoShop Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "DemoShop Mac" */; + buildPhases = ( + 5087E74817EB910900C73F5D /* Resources */, + 5087E75617EB910900C73F5D /* Sources */, + 5087E75C17EB910900C73F5D /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */, + 1AC6FB16180E9959004C840B /* PBXTargetDependency */, + 1AC6FB18180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */, + ); + name = "DemoShop Mac"; + productName = iphone; + productReference = 5087E76F17EB910900C73F5D /* DemoShop Mac.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0500; + TargetAttributes = { + 1D6058900D05DD3D006BFB54 = { + DevelopmentTeam = MDDB52YB8L; + }; + }; + }; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "DemoShop" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = 1AC6FAE6180E9839004C840B /* Products */; + ProjectRef = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + 1D6058900D05DD3D006BFB54 /* DemoShop iOS */, + 5087E73D17EB910900C73F5D /* DemoShop Mac */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx Mac.a"; + remoteRef = 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions Mac.a"; + remoteRef = 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk Mac.a"; + remoteRef = 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d Mac.a"; + remoteRef = 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion Mac.a"; + remoteRef = 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings Mac.a"; + remoteRef = 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings Mac.a"; + remoteRef = 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx iOS.a"; + remoteRef = 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions iOS.a"; + remoteRef = 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk iOS.a"; + remoteRef = 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d iOS.a"; + remoteRef = 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion iOS.a"; + remoteRef = 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings iOS.a"; + remoteRef = 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings iOS.a"; + remoteRef = 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXResourcesBuildPhase section */ + 1D60588D0D05DD3D006BFB54 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFB2A18C8210A0025D030 /* cocosgui in Resources */, + 5087E78117EB970100C73F5D /* Icon-120.png in Resources */, + 5087E78617EB970100C73F5D /* Icon-76.png in Resources */, + 38DEFB3018C8210A0025D030 /* hd in Resources */, + 5087E77F17EB970100C73F5D /* Default@2x.png in Resources */, + 50EF629917ECD46A001EB2F8 /* Icon-100.png in Resources */, + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */, + 5087E78317EB970100C73F5D /* Icon-152.png in Resources */, + 5087E77D17EB970100C73F5D /* Default-568h@2x.png in Resources */, + 5087E78517EB970100C73F5D /* Icon-72.png in Resources */, + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */, + 50EF62A317ECD613001EB2F8 /* Icon-50.png in Resources */, + 38DEFB2E18C8210A0025D030 /* fonts in Resources */, + 5087E78017EB970100C73F5D /* Icon-114.png in Resources */, + 1AFAF8BE16D35E4900DB1158 /* 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 */, + 50EF629717ECD46A001EB2F8 /* Icon-58.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E74817EB910900C73F5D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFB2B18C8210A0025D030 /* cocosgui in Resources */, + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */, + 38DEFB2F18C8210A0025D030 /* fonts in Resources */, + 503AE0F817EB97AB00D1A890 /* Icon.icns in Resources */, + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */, + 38DEFB3118C8210A0025D030 /* hd in Resources */, + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1D60588E0D05DD3D006BFB54 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 503AE10017EB989F00D1A890 /* AppController.mm in Sources */, + 38DEFB3A18C821130025D030 /* CocosGUIExamplesWeaponScene.cpp in Sources */, + 503AE10217EB989F00D1A890 /* RootViewController.mm in Sources */, + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */, + 503AE10117EB989F00D1A890 /* main.m in Sources */, + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75617EB910900C73F5D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */, + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */, + 503AE10517EB98FF00D1A890 /* main.cpp in Sources */, + 38DEFB3B18C821130025D030 /* CocosGUIExamplesWeaponScene.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1AC6FB16180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx Mac"; + targetProxy = 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB18180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions Mac"; + targetProxy = 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk Mac"; + targetProxy = 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion Mac"; + targetProxy = 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d Mac"; + targetProxy = 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx iOS"; + targetProxy = 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions iOS"; + targetProxy = 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk iOS"; + targetProxy = 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d iOS"; + targetProxy = 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion iOS"; + targetProxy = 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 "DemoShop iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1D6058940D05DD3E006BFB54 /* Debug */, + 1D6058950D05DD3E006BFB54 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "DemoShop Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5087E76D17EB910900C73F5D /* Debug */, + 5087E76E17EB910900C73F5D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "DemoShop" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/DemoShop/proj.ios_mac/ios/AppController.h b/DemoShop/proj.ios_mac/ios/AppController.h new file mode 100644 index 0000000..d0940a5 --- /dev/null +++ b/DemoShop/proj.ios_mac/ios/AppController.h @@ -0,0 +1,11 @@ +#import + +@class RootViewController; + +@interface AppController : NSObject { + UIWindow *window; + RootViewController *viewController; +} + +@end + diff --git a/DemoShop/proj.ios_mac/ios/AppController.mm b/DemoShop/proj.ios_mac/ios/AppController.mm new file mode 100644 index 0000000..3ceacda --- /dev/null +++ b/DemoShop/proj.ios_mac/ios/AppController.mm @@ -0,0 +1,142 @@ +/**************************************************************************** + 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 "CCEAGLView.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 { + + // 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: kEAGLColorFormatRGB565 + depthFormat: GL_DEPTH24_STENCIL8_OES + preserveBackbuffer: NO + sharegroup: nil + multiSampling: NO + numberOfSamples: 0]; + + // 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::GLView::createWithEAGLView(eaglView); + cocos2d::Director::getInstance()->setOpenGLView(glview); + + cocos2d::Application::getInstance()->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/DemoShop/proj.ios_mac/ios/Default-568h@2x.png b/DemoShop/proj.ios_mac/ios/Default-568h@2x.png new file mode 100644 index 0000000..66c6d1c Binary files /dev/null and b/DemoShop/proj.ios_mac/ios/Default-568h@2x.png differ diff --git a/DemoShop/proj.ios_mac/ios/Default.png b/DemoShop/proj.ios_mac/ios/Default.png new file mode 100644 index 0000000..dcb8072 Binary files /dev/null and b/DemoShop/proj.ios_mac/ios/Default.png differ diff --git a/DemoShop/proj.ios_mac/ios/Default@2x.png b/DemoShop/proj.ios_mac/ios/Default@2x.png new file mode 100644 index 0000000..8468988 Binary files /dev/null and b/DemoShop/proj.ios_mac/ios/Default@2x.png differ diff --git a/DemoShop/proj.ios_mac/ios/Icon-100.png b/DemoShop/proj.ios_mac/ios/Icon-100.png new file mode 100644 index 0000000..ef38d45 Binary files /dev/null and b/DemoShop/proj.ios_mac/ios/Icon-100.png differ diff --git a/DemoShop/proj.ios_mac/ios/Icon-114.png b/DemoShop/proj.ios_mac/ios/Icon-114.png new file mode 100644 index 0000000..c380786 Binary files /dev/null and b/DemoShop/proj.ios_mac/ios/Icon-114.png differ diff --git a/DemoShop/proj.ios_mac/ios/Icon-120.png b/DemoShop/proj.ios_mac/ios/Icon-120.png new file mode 100644 index 0000000..a5b49cc Binary files /dev/null and b/DemoShop/proj.ios_mac/ios/Icon-120.png differ diff --git a/DemoShop/proj.ios_mac/ios/Icon-144.png b/DemoShop/proj.ios_mac/ios/Icon-144.png new file mode 100644 index 0000000..1526615 Binary files /dev/null and b/DemoShop/proj.ios_mac/ios/Icon-144.png differ diff --git a/DemoShop/proj.ios_mac/ios/Icon-152.png b/DemoShop/proj.ios_mac/ios/Icon-152.png new file mode 100644 index 0000000..8aa8250 Binary files /dev/null and b/DemoShop/proj.ios_mac/ios/Icon-152.png differ diff --git a/DemoShop/proj.ios_mac/ios/Icon-29.png b/DemoShop/proj.ios_mac/ios/Icon-29.png new file mode 100644 index 0000000..0500184 Binary files /dev/null and b/DemoShop/proj.ios_mac/ios/Icon-29.png differ diff --git a/DemoShop/proj.ios_mac/ios/Icon-40.png b/DemoShop/proj.ios_mac/ios/Icon-40.png new file mode 100644 index 0000000..775685d Binary files /dev/null and b/DemoShop/proj.ios_mac/ios/Icon-40.png differ diff --git a/DemoShop/proj.ios_mac/ios/Icon-50.png b/DemoShop/proj.ios_mac/ios/Icon-50.png new file mode 100644 index 0000000..ac381bc Binary files /dev/null and b/DemoShop/proj.ios_mac/ios/Icon-50.png differ diff --git a/DemoShop/proj.ios_mac/ios/Icon-57.png b/DemoShop/proj.ios_mac/ios/Icon-57.png new file mode 100644 index 0000000..4fcc6fd Binary files /dev/null and b/DemoShop/proj.ios_mac/ios/Icon-57.png differ diff --git a/DemoShop/proj.ios_mac/ios/Icon-58.png b/DemoShop/proj.ios_mac/ios/Icon-58.png new file mode 100644 index 0000000..f0f8b7f Binary files /dev/null and b/DemoShop/proj.ios_mac/ios/Icon-58.png differ diff --git a/DemoShop/proj.ios_mac/ios/Icon-72.png b/DemoShop/proj.ios_mac/ios/Icon-72.png new file mode 100644 index 0000000..2c573c8 Binary files /dev/null and b/DemoShop/proj.ios_mac/ios/Icon-72.png differ diff --git a/DemoShop/proj.ios_mac/ios/Icon-76.png b/DemoShop/proj.ios_mac/ios/Icon-76.png new file mode 100644 index 0000000..8a1fa18 Binary files /dev/null and b/DemoShop/proj.ios_mac/ios/Icon-76.png differ diff --git a/DemoShop/proj.ios_mac/ios/Icon-80.png b/DemoShop/proj.ios_mac/ios/Icon-80.png new file mode 100644 index 0000000..d9c7ab4 Binary files /dev/null and b/DemoShop/proj.ios_mac/ios/Icon-80.png differ diff --git a/DemoShop/proj.ios_mac/ios/Info.plist b/DemoShop/proj.ios_mac/ios/Info.plist new file mode 100644 index 0000000..88a89b9 --- /dev/null +++ b/DemoShop/proj.ios_mac/ios/Info.plist @@ -0,0 +1,70 @@ + + + + + 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.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIAppFonts + + UIPrerenderedIcon + + UISupportedInterfaceOrientations + + UIInterfaceOrientationLandscapeRight + UIInterfaceOrientationLandscapeLeft + + + diff --git a/DemoShop/proj.ios_mac/ios/Prefix.pch b/DemoShop/proj.ios_mac/ios/Prefix.pch new file mode 100644 index 0000000..3737d11 --- /dev/null +++ b/DemoShop/proj.ios_mac/ios/Prefix.pch @@ -0,0 +1,8 @@ +// +// Prefix header for all source files of the 'iphone' target in the 'iphone' project +// + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/DemoShop/proj.ios_mac/ios/RootViewController.h b/DemoShop/proj.ios_mac/ios/RootViewController.h new file mode 100644 index 0000000..6cde57f --- /dev/null +++ b/DemoShop/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/DemoShop/proj.ios_mac/ios/RootViewController.mm b/DemoShop/proj.ios_mac/ios/RootViewController.mm new file mode 100644 index 0000000..c500a44 --- /dev/null +++ b/DemoShop/proj.ios_mac/ios/RootViewController.mm @@ -0,0 +1,108 @@ +/**************************************************************************** + 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 "CCEAGLView.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]; + + cocos2d::GLView *glview = cocos2d::Director::getInstance()->getOpenGLView(); + CCEAGLView *eaglview = (CCEAGLView*) glview->getEAGLView(); + + 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/DemoShop/proj.ios_mac/ios/main.m b/DemoShop/proj.ios_mac/ios/main.m new file mode 100644 index 0000000..84158b2 --- /dev/null +++ b/DemoShop/proj.ios_mac/ios/main.m @@ -0,0 +1,12 @@ +#import + +// Under iOS and the Simulator, we can use an alternate Accelerometer interface +#import "AccelerometerSimulation.h" + +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/DemoShop/proj.ios_mac/mac/Icon.icns b/DemoShop/proj.ios_mac/mac/Icon.icns new file mode 100644 index 0000000..2040fc6 Binary files /dev/null and b/DemoShop/proj.ios_mac/mac/Icon.icns differ diff --git a/DemoShop/proj.ios_mac/mac/Info.plist b/DemoShop/proj.ios_mac/mac/Info.plist new file mode 100644 index 0000000..df93f67 --- /dev/null +++ b/DemoShop/proj.ios_mac/mac/Info.plist @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + Icon + CFBundleIdentifier + org.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + 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/DemoShop/proj.ios_mac/mac/Prefix.pch b/DemoShop/proj.ios_mac/mac/Prefix.pch new file mode 100644 index 0000000..96d93ae --- /dev/null +++ b/DemoShop/proj.ios_mac/mac/Prefix.pch @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'Paralaxer' target in the 'Paralaxer' project +// + +#ifdef __OBJC__ + #import +#endif diff --git a/DemoShop/proj.ios_mac/mac/main.cpp b/DemoShop/proj.ios_mac/mac/main.cpp new file mode 100644 index 0000000..f0b87fb --- /dev/null +++ b/DemoShop/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(); +} diff --git a/DemoShop/proj.linux/main.cpp b/DemoShop/proj.linux/main.cpp new file mode 100644 index 0000000..7742def --- /dev/null +++ b/DemoShop/proj.linux/main.cpp @@ -0,0 +1,15 @@ +#include "../Classes/AppDelegate.h" + +#include +#include +#include +#include + +USING_NS_CC; + +int main(int argc, char **argv) +{ + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/DemoShop/proj.win32/DemoShop.sln b/DemoShop/proj.win32/DemoShop.sln new file mode 100755 index 0000000..8a198d6 --- /dev/null +++ b/DemoShop/proj.win32/DemoShop.sln @@ -0,0 +1,61 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DemoShop", "DemoShop.vcxproj", "{76A39BB2-9B84-4C65-98A5-654D86B86F2A}" + ProjectSection(ProjectDependencies) = postProject + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\cocos2d\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\cocos2d\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\cocos2d\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosStudio", "..\cocos2d\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libGUI", "..\cocos2d\cocos\gui\proj.win32\libGUI.vcxproj", "{7E06E92C-537A-442B-9E4A-4761C84F8A1A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libExtensions", "..\cocos2d\extensions\proj.win32\libExtensions.vcxproj", "{21B2C324-891F-48EA-AD1A-5AE13DE12E28}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.ActiveCfg = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.Build.0 = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.ActiveCfg = Release|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.Build.0 = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.ActiveCfg = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.Build.0 = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.ActiveCfg = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.Build.0 = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.ActiveCfg = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.Build.0 = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.ActiveCfg = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.Build.0 = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.ActiveCfg = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.Build.0 = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.ActiveCfg = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.Build.0 = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.ActiveCfg = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.Build.0 = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.ActiveCfg = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.Build.0 = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.ActiveCfg = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.Build.0 = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.ActiveCfg = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.Build.0 = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.ActiveCfg = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.Build.0 = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.ActiveCfg = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/DemoShop/proj.win32/DemoShop.vcxproj b/DemoShop/proj.win32/DemoShop.vcxproj new file mode 100755 index 0000000..931cabd --- /dev/null +++ b/DemoShop/proj.win32/DemoShop.vcxproj @@ -0,0 +1,174 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {76A39BB2-9B84-4C65-98A5-654D86B86F2A} + test_win32 + Win32Proj + + + + Application + Unicode + true + v100 + v110 + v110_xp + + + Application + Unicode + v100 + v110 + v110_xp + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + true + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + false + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;$(EngineRoot);$(EngineRoot)cocos\editor-support;$(EngineRoot)cocos;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + EditAndContinue + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + MaxSpeed + true + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + ProgramDatabase + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + libcurl_imp.lib;websockets.lib;%(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + true + true + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + + + + + + + + + + + + + {98a51ba8-fc3a-415b-ac8f-8c7bd464e93e} + false + + + {f8edd7fa-9a51-4e80-baeb-860825d2eac6} + + + {b57cf53f-2e49-4031-9822-047cc0e6bde2} + + + {7e06e92c-537a-442b-9e4a-4761c84f8a1a} + + + {21b2c324-891f-48ea-ad1a-5ae13de12e28} + + + {207bc7a9-ccf1-4f2f-a04d-45f72242ae25} + + + + + + + + + \ No newline at end of file diff --git a/DemoShop/proj.win32/DemoShop.vcxproj.filters b/DemoShop/proj.win32/DemoShop.vcxproj.filters new file mode 100755 index 0000000..284b090 --- /dev/null +++ b/DemoShop/proj.win32/DemoShop.vcxproj.filters @@ -0,0 +1,47 @@ + + + + + {84a8ebd7-7cf0-47f6-b75e-d441df67da40} + + + {bb6c862e-70e9-49d9-81b7-3829a6f50471} + + + {715254bc-d70b-4ec5-bf29-467dd3ace079} + + + + + win32 + + + Classes + + + Classes + + + Classes + + + + + win32 + + + Classes + + + Classes + + + Classes + + + + + resource + + + \ No newline at end of file diff --git a/DemoShop/proj.win32/DemoShop.vcxproj.user b/DemoShop/proj.win32/DemoShop.vcxproj.user new file mode 100644 index 0000000..314a27a --- /dev/null +++ b/DemoShop/proj.win32/DemoShop.vcxproj.user @@ -0,0 +1,11 @@ + + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + \ No newline at end of file diff --git a/DemoShop/proj.win32/game.rc b/DemoShop/proj.win32/game.rc new file mode 100644 index 0000000..09d7d99 --- /dev/null +++ b/DemoShop/proj.win32/game.rc @@ -0,0 +1,86 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +#undef APSTUDIO_HIDDEN_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +GLFW_ICON ICON "res\\game.ico" + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,1 + PRODUCTVERSION 1,0,0,1 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904B0" + BEGIN + VALUE "CompanyName", "\0" + VALUE "FileDescription", "game Module\0" + VALUE "FileVersion", "1, 0, 0, 1\0" + VALUE "InternalName", "game\0" + VALUE "LegalCopyright", "Copyright \0" + VALUE "OriginalFilename", "game.exe\0" + VALUE "ProductName", "game Module\0" + VALUE "ProductVersion", "1, 0, 0, 1\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0409, 0x04B0 + END +END + +///////////////////////////////////////////////////////////////////////////// +#endif // !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) diff --git a/DemoShop/proj.win32/main.cpp b/DemoShop/proj.win32/main.cpp new file mode 100644 index 0000000..4ef499e --- /dev/null +++ b/DemoShop/proj.win32/main.cpp @@ -0,0 +1,18 @@ +#include "main.h" +#include "AppDelegate.h" +#include "cocos2d.h" + +USING_NS_CC; + +int APIENTRY _tWinMain(HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPTSTR lpCmdLine, + int nCmdShow) +{ + UNREFERENCED_PARAMETER(hPrevInstance); + UNREFERENCED_PARAMETER(lpCmdLine); + + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/DemoShop/proj.win32/main.h b/DemoShop/proj.win32/main.h new file mode 100644 index 0000000..e4d2aa3 --- /dev/null +++ b/DemoShop/proj.win32/main.h @@ -0,0 +1,13 @@ +#ifndef __MAIN_H__ +#define __MAIN_H__ + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers + +// Windows Header Files: +#include +#include + +// C RunTime Header Files +#include "CCStdC.h" + +#endif // __MAIN_H__ diff --git a/DemoShop/proj.win32/res/game.ico b/DemoShop/proj.win32/res/game.ico new file mode 100644 index 0000000..feaf932 Binary files /dev/null and b/DemoShop/proj.win32/res/game.ico differ diff --git a/DemoShop/proj.win32/resource.h b/DemoShop/proj.win32/resource.h new file mode 100644 index 0000000..ecde7ef --- /dev/null +++ b/DemoShop/proj.win32/resource.h @@ -0,0 +1,20 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by game.RC +// + +#define IDS_PROJNAME 100 +#define IDR_TESTJS 100 + +#define ID_FILE_NEW_WINDOW 32771 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 201 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 32775 +#endif +#endif diff --git a/SampleChangeEquip/CMakeLists.txt b/SampleChangeEquip/CMakeLists.txt new file mode 100644 index 0000000..82a8f20 --- /dev/null +++ b/SampleChangeEquip/CMakeLists.txt @@ -0,0 +1,169 @@ +cmake_minimum_required(VERSION 2.6) + +set(APP_NAME MyGame) +project (${APP_NAME}) + +include(cocos2d/build/BuildHelpers.CMakeLists.txt) + +option(USE_CHIPMUNK "Use chipmunk for physics library" ON) +option(USE_BOX2D "Use box2d for physics library" OFF) +option(DEBUG_MODE "Debug or release?" ON) + +if(DEBUG_MODE) + set(CMAKE_BUILD_TYPE DEBUG) +else(DEBUG_MODE) + set(CMAKE_BUILD_TYPE RELEASE) +endif(DEBUG_MODE) + +set(CMAKE_C_FLAGS_DEBUG "-g -Wall -DCOCOS2D_DEBUG=1") +set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) + +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + +if(USE_CHIPMUNK) + message("Using chipmunk ...") + add_definitions(-DLINUX -DCC_ENABLE_CHIPMUNK_INTEGRATION=1) +elseif(USE_BOX2D) + message("Using box2d ...") + add_definitions(-DLINUX -DCC_ENABLE_BOX2D_INTEGRATION=1) +else(USE_CHIPMUNK) + message(FATAL_ERROR "Must choose a physics library.") +endif(USE_CHIPMUNK) + +# architecture +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(ARCH_DIR "64-bit") +else() +set(ARCH_DIR "32-bit") +endif() + + +set(GAME_SRC + proj.linux/main.cpp + Classes/AppDelegate.cpp + Classes/HelloWorldScene.cpp +) + +set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/cocos2d) + +include_directories( + /usr/local/include/GLFW + ${COCOS2D_ROOT} + ${COCOS2D_ROOT}/cocos + ${COCOS2D_ROOT}/cocos/audio/include + ${COCOS2D_ROOT}/cocos/2d + ${COCOS2D_ROOT}/cocos/2d/renderer + ${COCOS2D_ROOT}/cocos/2d/platform + ${COCOS2D_ROOT}/cocos/2d/platform/desktop + ${COCOS2D_ROOT}/cocos/2d/platform/linux + ${COCOS2D_ROOT}/cocos/base + ${COCOS2D_ROOT}/cocos/physics + ${COCOS2D_ROOT}/cocos/editor-support + ${COCOS2D_ROOT}/cocos/math/kazmath/include + ${COCOS2D_ROOT}/extensions + ${COCOS2D_ROOT}/external + ${COCOS2D_ROOT}/external/edtaa3func + ${COCOS2D_ROOT}/external/jpeg/include/linux + ${COCOS2D_ROOT}/external/tiff/include/linux + ${COCOS2D_ROOT}/external/webp/include/linux + ${COCOS2D_ROOT}/external/tinyxml2 + ${COCOS2D_ROOT}/external/unzip + ${COCOS2D_ROOT}/external/chipmunk/include/chipmunk + ${COCOS2D_ROOT}/external/freetype2/include/linux + ${COCOS2D_ROOT}/external/websockets/include/linux + ${COCOS2D_ROOT}/external/spidermonkey/include/linux + ${COCOS2D_ROOT}/external/linux-specific/fmod/include/${ARCH_DIR} +) + +link_directories( + /usr/local/lib + ${COCOS2D_ROOT}/external/jpeg/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/tiff/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/webp/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/freetype2/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/websockets/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/spidermonkey/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/linux-specific/fmod/prebuilt/${ARCH_DIR} +) + +# kazmath +add_subdirectory(${COCOS2D_ROOT}/cocos/math/kazmath) + +# chipmunk library +add_subdirectory(${COCOS2D_ROOT}/external/chipmunk/src) + +# box2d library +add_subdirectory(${COCOS2D_ROOT}/external/Box2D) + +# unzip library +add_subdirectory(${COCOS2D_ROOT}/external/unzip) + +# tinyxml2 library +add_subdirectory(${COCOS2D_ROOT}/external/tinyxml2) + +# audio +add_subdirectory(${COCOS2D_ROOT}/cocos/audio) + +# cocos base library +add_subdirectory(${COCOS2D_ROOT}/cocos/base) + +# cocos 2d library +add_subdirectory(${COCOS2D_ROOT}/cocos/2d) + +# cocos storage +add_subdirectory(${COCOS2D_ROOT}/cocos/storage) + +# gui +add_subdirectory(${COCOS2D_ROOT}/cocos/gui) + +# network +add_subdirectory(${COCOS2D_ROOT}/cocos/network) + +# extensions +add_subdirectory(${COCOS2D_ROOT}/extensions) + +## Editor Support + +# spine +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/spine) + +# cocosbuilder +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocosbuilder) + +# cocostudio +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocostudio) + +# add the executable +add_executable(${APP_NAME} + ${GAME_SRC} +) + +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(FMOD_LIB "fmodex64") +else() +set(FMOD_LIB "fmodex") +endif() + +target_link_libraries(${APP_NAME} + gui + network + storage + spine + cocostudio + cocosbuilder + extensions + audio + cocos2d + ) + +set(APP_BIN_DIR "${CMAKE_BINARY_DIR}/bin") + +set_target_properties(${APP_NAME} PROPERTIES + RUNTIME_OUTPUT_DIRECTORY "${APP_BIN_DIR}") + +pre_build(${APP_NAME} + COMMAND ${CMAKE_COMMAND} -E remove_directory ${APP_BIN_DIR}/Resources + COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/Resources ${APP_BIN_DIR}/Resources + ) + diff --git a/SampleChangeEquip/Classes/AppDelegate.cpp b/SampleChangeEquip/Classes/AppDelegate.cpp new file mode 100644 index 0000000..98b2b49 --- /dev/null +++ b/SampleChangeEquip/Classes/AppDelegate.cpp @@ -0,0 +1,71 @@ +#include "AppDelegate.h" +#include "HelloWorldScene.h" +#include "cocostudio/CocoStudio.h" + + +USING_NS_CC; + +AppDelegate::AppDelegate() { + +} + +AppDelegate::~AppDelegate() +{ +} + +bool AppDelegate::applicationDidFinishLaunching() { + // initialize director + auto director = Director::getInstance(); + auto glview = director->getOpenGLView(); + if(!glview) { + glview = GLView::create("My Game"); + director->setOpenGLView(glview); + } + + CCSize screenSize = glview->getFrameSize(); + + CCSize designSize = CCSizeMake(480, 320); + + CCFileUtils* pFileUtils = CCFileUtils::sharedFileUtils(); + + if (screenSize.height > 320) + { + CCSize resourceSize = CCSizeMake(960, 640); + std::vector searchPaths; + searchPaths.push_back("hd"); + pFileUtils->setSearchPaths(searchPaths); + director->setContentScaleFactor(resourceSize.height/designSize.height); + } + + glview->setDesignResolutionSize(designSize.width, designSize.height, kResolutionShowAll); + + // turn on display FPS + director->setDisplayStats(true); + + // 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 + CCScene *pScene = HelloWorld::createScene(); + + // run + director->runWithScene(pScene); + + 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::sharedEngine()->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::sharedEngine()->resumeBackgroundMusic(); +} diff --git a/SampleChangeEquip/Classes/AppDelegate.h b/SampleChangeEquip/Classes/AppDelegate.h new file mode 100644 index 0000000..01cbb7c --- /dev/null +++ b/SampleChangeEquip/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/SampleChangeEquip/Classes/Bag.cpp b/SampleChangeEquip/Classes/Bag.cpp new file mode 100644 index 0000000..3f631e2 --- /dev/null +++ b/SampleChangeEquip/Classes/Bag.cpp @@ -0,0 +1,357 @@ +#include "Bag.h" +#include "gui/UIHelper.h" +//#include "UIScene.h" + + + +enum +{ + EQUIP_TYPE_HELMET = 1, + EQUIP_TYPE_NECKLACE, + EQUIP_TYPE_ARMOUR, + + EQUIP_TYPE_WEAPON, + EQUIP_TYPE_SKILL, + EQUIP_TYPE_SHIELD, + + EQUIP_TYPE_OTHER, + EQUIP_TYPE_BELT, + EQUIP_TYPE_GLOVE +}; + + +Bag* Bag::create() +{ + Bag *pRet = new Bag(); + if (pRet && pRet->init()) + { + pRet->autorelease(); + return pRet; + } + else + { + CC_SAFE_DELETE(pRet); + return NULL; + } +} + +bool Bag::init() +{ + if(!CCLayer::init()) return false; + + initUILayer(); + initArmature(); + initEquips(); + initPlayerEquipGrid(); + + return true; +} +void Bag::initUILayer() +{ + Widget* widget = dynamic_cast(GUIReader::shareReader()->widgetFromJsonFile("SampleChangeEquip_UI_1/SampleChangeEquip_UI_1.ExportJson")); + widget->setTag(10001); + uiLayer = Layer::create(); + uiLayer->addChild(widget); + this->addChild(uiLayer); + + + Widget* root = static_cast(uiLayer->getChildByTag(10001)); + + Button* closeButton = static_cast(ui::Helper::seekWidgetByName(root, "closebutton")); + closeButton->addTouchEventListener(this,toucheventselector(Bag::closeCallback)); + +} +void Bag::initArmature() +{ + ArmatureDataManager::sharedArmatureDataManager()-> + addArmatureFileInfo("ArmatureAndEquip/newbaganimation.ExportJson"); + armature = CCArmature::create("newbaganimation"); + armature->getAnimation()->play("loading"); + // call "loading" back after any animation + armature->getAnimation()->setMovementEventCallFunc(this,movementEvent_selector(Bag::loading)); + armature->setScale(0.16); + armature->setPosition(ccp(CCDirector::sharedDirector()->getVisibleSize().width * 0.28, + CCDirector::sharedDirector()->getVisibleSize().height * 0.40)); + Widget* armatureWidget = Widget::create(); + uiLayer->addChild(armatureWidget); + armatureWidget->addNode(armature); + + initArmatureOriginEquips(); +} +void Bag::initArmatureOriginEquips() +{ + armature->getBone("beltbone")->changeDisplayByIndex(-1,true); + armature->getBone("necklacebone")->changeDisplayByIndex(-1,true); + armature->getBone("weaponbone")->changeDisplayByIndex(-1,true); + armature->getBone("helmetbone")->changeDisplayByIndex(-1,true); + armature->getBone("armourbone")->changeDisplayByIndex(-1,true); +} + +void Bag::initEquips() +{ + Widget* root = static_cast(uiLayer->getChildByTag(10001)); + Layout* equipPanel = static_cast(ui::Helper::seekWidgetByName(root,"equippanel")); + Vector equips = equipPanel->getChildren(); + Vector::iterator object; + + int bagGridCount = 1; + + int equipType = EQUIP_TYPE_HELMET; //the first type of equip + + for (object=equips.begin();object != equips.end(); object++) + { + Vector equipchildren = (*object)->getChildren(); + int equipStartNum = 1; + Vector::iterator objectchild; + for (objectchild=equipchildren.begin();objectchild != equipchildren.end(); objectchild++) + { + Widget* equip = static_cast(*objectchild); + equip->addTouchEventListener(this,toucheventselector(Bag::touchEvent)); + initEquipID(equip,equipType,equipStartNum); + + Widget* bagGrid = getBagGrid(bagGridCount++); + changeParent(bagGrid,equip); + + equipStartNum++; + } + equipType++; + } +} + +Widget* Bag::getBagGrid(int count) +{ + Widget* root = static_cast(uiLayer->getChildByTag(10001)); + CCString* ccstring = CCString::createWithFormat("baggrid%d",count); + Widget* bagGrid = static_cast(ui::Helper::seekWidgetByName(root, ccstring->getCString())); + return bagGrid; +} + +void Bag::initEquipID(Widget* pEquip,int type,int num) +{ + pEquip->setTag(type*100 + num *10); +} + +void Bag::initPlayerEquipGrid() +{ + Widget* root = static_cast(uiLayer->getChildByTag(10001)); + Layout* playerPanel = static_cast(ui::Helper::seekWidgetByName(root, "playerpanel")); + + Vector equipGrids = playerPanel->getChildren(); + Vector::iterator object; + + int gridType = EQUIP_TYPE_HELMET; + for (object=equipGrids.begin();object != equipGrids.end(); object++) + { + Widget* equipGrid = (Widget*)(*object); + equipGrid->setTag(gridType * 100); + gridType++; + } +} + +void Bag::touchEvent(CCObject* pSender,TouchEventType type) +{ + Widget* equip = (Widget*)pSender; + if (type == TOUCH_EVENT_BEGAN) + { + touchBeganEvent(equip); + } + if (type == TOUCH_EVENT_MOVED) + { + touchMoveEvent(equip); + } + if (type == TOUCH_EVENT_ENDED) + { + touchEndedEvent(equip); + } +} + +void Bag::touchBeganEvent(Widget* pEquip) +{ + startGrid = (Widget*)pEquip->getParent(); + + pEquip->retain(); + pEquip->removeFromParent(); + pEquip->setPosition(CCPointZero); + pEquip->setPosition(pEquip->getTouchStartPos()); + uiLayer->addChild(pEquip); + pEquip->release(); + + pEquip->setZOrder(2); +} +void Bag::touchMoveEvent(Widget* pEquip) +{ + CCPoint point = pEquip->getTouchMovePos(); + + pEquip->setPosition(point); +} +void Bag::touchEndedEvent(Widget* pEquip) +{ + Widget* root = static_cast(uiLayer->getChildByTag(10001)); + Layout* bagPanel = static_cast(ui::Helper::seekWidgetByName(root, "bagpanel")); + Layout* playerPanel = static_cast(ui::Helper::seekWidgetByName(root, "playerpanel")); + + if(hitTestPanel(bagPanel,pEquip)) + { + if (targetGrid->getChildren().size()>0) + { + Widget* originEquip = (Widget*)targetGrid->getChildren().at(0); + changeParent(startGrid, originEquip); + if(startGrid->getTag() >= 100) changeEquip(originEquip, startGrid); + } + else if(startGrid->getTag()>=100) unequipEquip(); + changeParent(targetGrid, pEquip); + return; + } + if(hitTestPanel(playerPanel,pEquip)) + { + if (targetGrid->getChildren().size()>0) + { + Widget* originEquip = (Widget*)targetGrid->getChildren().at(0); + changeParent(startGrid, originEquip); + } + changeParent(targetGrid, pEquip); + changeEquip(pEquip, targetGrid); + return; + } + + changeParent(startGrid,pEquip); + +} +bool Bag::hitTestPanel(Layout* pPanel,Widget* pEquip) +{ + Vector::iterator object; + Vector equips = pPanel->getChildren(); + for(object=equips.begin();object!= equips.end();object++) + { + Widget* grid = (Widget*)(*object); + + if(grid->hitTest(pEquip->getPosition())) + { + if(equipAndGridInSameType(pEquip,grid)) + { + targetGrid = grid; + return true; + } + } + } + return false; +} +bool Bag::equipAndGridInSameType(Widget* pEquip,Widget* pGrid) +{ + int gridType = pGrid->getTag()*0.01; + //pGrid is bagGrid and have no children + if((pGrid->getTag() < 100)&&(!pGrid->getChildren().size())) return true; + //pgrid and startGrid is baggrid + else if((pGrid->getTag() <100)&&(startGrid->getTag() <100)) return true; + //pGrid and equip in same type + else if(gridType == (int(pEquip->getTag()*0.01))) return true; + else if(pGrid->getChildren().size()) + { + int originEquipType = ((Widget*) pGrid->getChildren().at(0))->getTag()*0.01; + int newEquip = pEquip->getTag()*0.01; + if(originEquipType == newEquip) return true; + } + return false; +} + +void Bag::swapEquipGrid(Widget* pExistEquip,Widget* newEquip) +{ + Widget* parentGrid = (Widget*)pExistEquip->getParent(); + changeParent(startGrid,pExistEquip); + changeParent(parentGrid,newEquip); +} + +void Bag::changeEquip(Widget* pWeapon,Widget* pGrid) +{ + int equipType = pGrid->getTag()/100; + CCString* weaponName ; + switch (equipType) + { + case EQUIP_TYPE_SKILL: + case EQUIP_TYPE_SHIELD: + case EQUIP_TYPE_OTHER: + return; + case EQUIP_TYPE_GLOVE: + weaponName = CCString::createWithFormat("%stex.png",pWeapon->getName()); + + armature->getBone("leftglovebone")->changeDisplayByName(weaponName->getCString(),true); + armature->getBone("rightglovebone")->changeDisplayByName(weaponName->getCString(),true); + break; + default: + weaponName = CCString::createWithFormat("%stex.png",pWeapon->getName()); + CCString* boneName = CCString::createWithFormat("%sbone",pGrid->getName()); + armature->getBone(boneName->getCString())->changeDisplayByName(weaponName->getCString(),true); + break; + } + /// animations play + if(equipType==EQUIP_TYPE_GLOVE || equipType== EQUIP_TYPE_WEAPON || equipType== EQUIP_TYPE_HELMET) + armature->getAnimation()->play(pGrid->getName()); + +} +void Bag::unequipEquip() +{ + int equipType = startGrid->getTag() * 0.01; + CCString* boneName = CCString::createWithFormat("%sbone",startGrid->getName()); + switch (equipType) + { + case EQUIP_TYPE_WEAPON: + case EQUIP_TYPE_BELT: + case EQUIP_TYPE_HELMET: + case EQUIP_TYPE_NECKLACE: + armature->getBone(boneName->getCString())->changeDisplayByIndex(-1,true); + break; + case EQUIP_TYPE_GLOVE: + armature->getBone("leftglovebone")->changeDisplayByIndex(-1,true); + armature->getBone("rightglovebone")->changeDisplayByIndex(-1,true); + break; + case EQUIP_TYPE_SKILL: + case EQUIP_TYPE_SHIELD: + case EQUIP_TYPE_OTHER: + break; + default: + { + CCString* equipName = CCString::createWithFormat("%s0tex.png",startGrid->getName()); + Skin* equipDefaultSkin = Skin::createWithSpriteFrameName(equipName->getCString()); + armature->getBone(boneName->getCString())->addDisplay(equipDefaultSkin,0); + break; + } + } +} + +void Bag::changeParent(Widget* pGrid,Widget* pEquip) +{ + pEquip->retain(); + pEquip->removeFromParent(); + pEquip->setPosition(CCPointZero); + pGrid->addChild(pEquip); + pEquip->release(); +} + + + + +void Bag::closeCallback(CCObject* pSender,TouchEventType type) +{ + + CCDirector::sharedDirector()->end(); +#if (CC_TARGET_PLATFORM != CC_PLATFORM_ANDROID) + CCDirector::sharedDirector()->end(); +#endif +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) + exit(0); +#endif +} + +Bag::~Bag(void) +{ +} + + + +void Bag::loading( Armature *pArmature, MovementEventType eventType, const char *animationID ) +{ + if (eventType == COMPLETE) + { + armature->getAnimation()->play("loading"); + } +} diff --git a/SampleChangeEquip/Classes/Bag.h b/SampleChangeEquip/Classes/Bag.h new file mode 100644 index 0000000..dc9052b --- /dev/null +++ b/SampleChangeEquip/Classes/Bag.h @@ -0,0 +1,62 @@ +#ifndef __BAG_H__ +#define __BAG_H__ + +#include "cocos2d.h" +#include "cocos-ext.h" +#include "cocostudio/CocoStudio.h" +#include "gui/CocosGUI.h" + +USING_NS_CC; +USING_NS_CC_EXT; + +using namespace cocos2d::ui; +using namespace cocostudio; + + + +class Bag : public Layer +{ +public: + static Bag* create(); + virtual bool init(); + virtual ~Bag(void); + + void touchEvent(cocos2d::CCObject* pSender, + cocos2d::ui::TouchEventType type); + void closeCallback(cocos2d::CCObject* pSender, cocos2d::ui::TouchEventType type); +private: + void touchBeganEvent(cocos2d::ui::Widget* pEquip); + void touchMoveEvent(cocos2d::ui::Widget* pEquip); + void touchEndedEvent(cocos2d::ui::Widget* pEquip); + void initUILayer(); + void initArmature(); + void initArmatureOriginEquips(); + void initEquips(); + void initEquipID(cocos2d::ui::Widget* pEeuip,int type,int num); + cocos2d::ui::Widget* getBagGrid(int count); + + void initPlayerEquipGrid(); + + bool hitTestPanel(cocos2d::ui::Layout* pPanel, + cocos2d::ui::Widget* pEquip); + bool equipAndGridInSameType(cocos2d::ui::Widget* pEquip, + cocos2d::ui::Widget* pGrid); + void swapEquipGrid(cocos2d::ui::Widget* pExistEquip, + cocos2d::ui::Widget* newEquip); + + void changeEquip(cocos2d::ui::Widget* pWeapon, + cocos2d::ui::Widget* pGrid); + void unequipEquip(); + + void changeParent(cocos2d::ui::Widget* pGrid, + cocos2d::ui::Widget* pEquip); + void loading(Armature *pArmature, MovementEventType eventType, const char *animationID); + + cocos2d::Layer* uiLayer; + cocos2d::ui::Widget* startGrid; + cocos2d::ui::Widget* targetGrid; + cocostudio::Armature* armature; +}; + + +#endif \ No newline at end of file diff --git a/SampleChangeEquip/Classes/HelloWorldScene.cpp b/SampleChangeEquip/Classes/HelloWorldScene.cpp new file mode 100644 index 0000000..818789e --- /dev/null +++ b/SampleChangeEquip/Classes/HelloWorldScene.cpp @@ -0,0 +1,50 @@ +#include "HelloWorldScene.h" +#include "cocostudio/CocoStudio.h" +#include "Bag.h" + +USING_NS_CC; +using namespace cocostudio; +Scene* HelloWorld::createScene() +{ + // 'scene' is an autorelease object + 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(); + Point origin = Director::getInstance()->getVisibleOrigin(); + + + Bag* bag =Bag::create(); + addChild(bag); + + return true; +} + + +void HelloWorld::menuCloseCallback(Ref* pSender) +{ + Director::getInstance()->end(); + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + exit(0); +#endif +} diff --git a/SampleChangeEquip/Classes/HelloWorldScene.h b/SampleChangeEquip/Classes/HelloWorldScene.h new file mode 100644 index 0000000..9345946 --- /dev/null +++ b/SampleChangeEquip/Classes/HelloWorldScene.h @@ -0,0 +1,24 @@ +#ifndef __HELLOWORLD_SCENE_H__ +#define __HELLOWORLD_SCENE_H__ + +#include "cocos2d.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(); + + // a selector callback + void menuCloseCallback(cocos2d::Ref* pSender); + + // implement the "static create()" method manually + CREATE_FUNC(HelloWorld); + +}; + +#endif // __HELLOWORLD_SCENE_H__ diff --git a/SampleChangeEquip/Resources/ArmatureAndEquip/newbaganimation.ExportJson b/SampleChangeEquip/Resources/ArmatureAndEquip/newbaganimation.ExportJson new file mode 100644 index 0000000..6cbe790 --- /dev/null +++ b/SampleChangeEquip/Resources/ArmatureAndEquip/newbaganimation.ExportJson @@ -0,0 +1 @@ +{"content_scale":1.0,"armature_data":[{"strVersion":"1.2.0.1","version":1.201,"name":"newbaganimation","bone_data":[{"name":"Layer4","parent":"","x":138.99998474121094,"y":315.34671020507812,"z":18,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"arrow_x":4.2676925659179688E-05,"arrow_y":-1.5813508071005344E-05,"effectbyskeleton":true,"display_data":[{"name":"pieces.png","displayType":0,"skin_data":[{"x":0.0,"y":0.0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0}]}]},{"name":"bodybone","parent":"","x":-5.8333425521850586,"y":389.45559692382812,"z":2,"cX":1.0,"cY":1.0,"kX":1.58432293,"kY":-1.58432293,"arrow_x":218.33973693847656,"arrow_y":-4.8597539716865867E-05,"effectbyskeleton":true,"display_data":[{"name":"chestbody.png","displayType":0,"skin_data":[{"x":76.71533,"y":6.08118629,"cX":1.0,"cY":1.0,"kX":-1.56316674,"kY":1.563163}]}]},{"name":"necklacebone","parent":"bodybone","x":-3.174497127532959,"y":-3.5726521015167236,"z":13,"cX":1.0,"cY":1.0,"kX":-1.57382739,"kY":1.57382739,"arrow_x":5.817413330078125E-05,"arrow_y":3.6560697481036186E-05,"effectbyskeleton":true,"display_data":[{"name":"necklace0tex.png","displayType":0,"skin_data":[{"x":0.0,"y":0.0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0}]},{"name":"necklace1tex.png","displayType":0,"skin_data":[{"x":0.0,"y":0.0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0}]}]},{"name":"armourbone","parent":"bodybone","x":66.8826675415039,"y":0.0708247721195221,"z":12,"cX":1.0,"cY":1.0,"kX":-1.58432293,"kY":1.58432293,"arrow_x":3.0040740966796875E-05,"arrow_y":-3.1655363272875547E-05,"effectbyskeleton":true,"display_data":[{"name":"armour0tex.png","displayType":0,"skin_data":[{"x":1.666667,"y":46.66667,"cX":1.0,"cY":1.0,"kX":0.001558179,"kY":-0.001558179}]},{"name":"armour1tex.png","displayType":0,"skin_data":[{"x":5.0,"y":41.6666679,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0}]},{"name":"armour2tex.png","displayType":0,"skin_data":[{"x":1.66666663,"y":13.33333,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0}]},{"name":"armour3tex.png","displayType":0,"skin_data":[{"x":-2.861023E-06,"y":20.0000057,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0}]}]},{"name":"beltbone","parent":"bodybone","x":147.67762756347656,"y":-20.219139099121094,"z":11,"cX":1.0,"cY":1.0,"kX":-1.57382739,"kY":1.57382739,"arrow_x":-6.67572021484375E-06,"arrow_y":-1.5576370060443878E-07,"effectbyskeleton":true,"display_data":[{"name":"belt1tex.png","displayType":0,"skin_data":[{"x":0.0,"y":0.0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0}]},{"name":"belt0tex.png","displayType":0,"skin_data":[{"x":0.0,"y":0.0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0}]}]},{"name":"rightlegbone","parent":"bodybone","x":153.33338928222656,"y":-39.999965667724609,"z":7,"cX":1.0,"cY":1.0,"kX":0.468477249,"kY":-0.468477249,"arrow_x":155.67953491210938,"arrow_y":-4.0483195334672928E-05,"effectbyskeleton":true,"display_data":[{"name":"rightleg.png","displayType":0,"skin_data":[{"x":71.39565,"y":5.85156727,"cX":1.0,"cY":1.0,"kX":4.33153439,"kY":1.95165277}]}]},{"name":"Layer8","parent":"rightlegbone","x":141.459716796875,"y":-0.051245726644992828,"z":8,"cX":1.0,"cY":1.0,"kX":-0.321336985,"kY":0.321336985,"arrow_x":136.47344970703125,"arrow_y":3.5105867937090807E-06,"effectbyskeleton":true,"display_data":[{"name":"foot.png","displayType":0,"skin_data":[{"x":65.68161,"y":26.69413,"cX":1.0,"cY":1.0,"kX":4.565311,"kY":1.71787143}]}]},{"name":"leftlegbone","parent":"bodybone","x":202.78225708007813,"y":43.333351135253906,"z":6,"cX":1.0,"cY":1.0,"kX":-0.337886333,"kY":0.337886333,"arrow_x":112.87160491943359,"arrow_y":-1.9229482859373093E-06,"effectbyskeleton":true,"display_data":[{"name":"leftleg.png","displayType":0,"skin_data":[{"x":50.0529747,"y":9.695381,"cX":1.0,"cY":1.0,"kX":-1.07796109,"kY":1.07795775}]}]},{"name":"Layer2","parent":"leftlegbone","x":79.292266845703125,"y":-7.219597339630127,"z":9,"cX":1.0,"cY":1.0,"kX":6.41920328,"kY":-6.41920328,"arrow_x":107.04213714599609,"arrow_y":1.5305253327824175E-05,"effectbyskeleton":true,"display_data":[{"name":"leftfoot.png","displayType":0,"skin_data":[{"x":81.32832,"y":-7.50023651,"cX":1.0,"cY":1.0,"kX":-1.40394175,"kY":1.40393889}]}]},{"name":"leftarmbone","parent":"bodybone","x":-23.342447280883789,"y":108.00000762939453,"z":5,"cX":-1.0,"cY":1.0,"kX":2.55467224,"kY":-2.55467224,"arrow_x":110.36555480957031,"arrow_y":5.9751328080892563E-06,"effectbyskeleton":true,"display_data":[{"name":"arm.png","displayType":0,"skin_data":[{"x":44.2122231,"y":6.044983,"cX":1.0,"cY":1.0,"kX":4.055246,"kY":2.22793484}]}]},{"name":"Layer3","parent":"leftarmbone","x":109.99045562744141,"y":-1.1313345432281494,"z":15,"cX":-1.0,"cY":1.0,"kX":-3.17731953,"kY":3.17731953,"arrow_x":112.445556640625,"arrow_y":-8.340110071003437E-06,"effectbyskeleton":true,"display_data":[{"name":"hand.png","displayType":0,"skin_data":[{"x":64.51002,"y":-20.3479042,"cX":1.0,"cY":1.0,"kX":-0.8988322,"kY":0.8988352}]}]},{"name":"leftglovebone","parent":"Layer3","x":105.71973419189453,"y":-9.0368118286132812,"z":16,"cX":-1.0,"cY":1.0,"kX":-0.961675644,"kY":0.961675644,"arrow_x":-6.29425048828125E-05,"arrow_y":3.7497957237064838E-06,"effectbyskeleton":true,"display_data":[{"name":"glove0tex.png","displayType":0,"skin_data":[{"x":24.0,"y":14.0,"cX":-1.0,"cY":1.0,"kX":-0.134986952,"kY":0.134986952}]},{"name":"glove1tex.png","displayType":0,"skin_data":[{"x":36.0,"y":36.0,"cX":1.0,"cY":1.0,"kX":-0.06542636,"kY":0.06542636}]},{"name":"glove3tex.png","displayType":0,"skin_data":[{"x":36.0,"y":38.0,"cX":1.0,"cY":1.0,"kX":-0.06542636,"kY":0.06542636}]},{"name":"glove2tex.png","displayType":0,"skin_data":[{"x":24.0,"y":14.0,"cX":-1.0,"cY":1.0,"kX":-0.134986952,"kY":0.134986952}]}]},{"name":"rightarmbone","parent":"bodybone","x":-26.348482131958008,"y":-93.342475891113281,"z":4,"cX":1.0,"cY":1.0,"kX":0.6237514,"kY":-0.6237514,"arrow_x":110.36555480957031,"arrow_y":5.9751328080892563E-06,"effectbyskeleton":true,"display_data":[{"name":"arm.png","displayType":0,"skin_data":[{"x":48.554142,"y":1.81697917,"cX":1.0,"cY":1.0,"kX":4.055246,"kY":2.22793484}]}]},{"name":"Layer3_Copy6","parent":"rightarmbone","x":103.12863922119141,"y":-3.5786988735198975,"z":14,"cX":-1.0,"cY":1.0,"kX":9.343908,"kY":-9.343908,"arrow_x":112.445556640625,"arrow_y":-8.340110071003437E-06,"effectbyskeleton":true,"display_data":[{"name":"hand.png","displayType":0,"skin_data":[{"x":76.08001,"y":-20.7175369,"cX":1.0,"cY":1.0,"kX":-0.8988322,"kY":0.8988352}]}]},{"name":"rightglovebone","parent":"Layer3_Copy6","x":95.5882568359375,"y":-22.022451400756836,"z":17,"cX":-1.0,"cY":1.0,"kX":-11.5519829,"kY":11.5519829,"arrow_x":-7.3909759521484375E-06,"arrow_y":-3.475480480119586E-05,"effectbyskeleton":true,"display_data":[{"name":"glove0tex.png","displayType":0,"skin_data":[{"x":0.0,"y":1.66666412,"cX":-1.0,"cY":1.0,"kX":-6.41345072,"kY":6.41345072}]},{"name":"glove1tex.png","displayType":0,"skin_data":[{"x":6.0,"y":25.6666641,"cX":1.0,"cY":1.0,"kX":-6.56219053,"kY":6.56219053}]},{"name":"glove3tex.png","displayType":0,"skin_data":[{"x":6.0,"y":25.6666641,"cX":1.0,"cY":1.0,"kX":-6.56219053,"kY":6.56219053}]},{"name":"glove2tex.png","displayType":0,"skin_data":[{"x":0.0,"y":1.66666412,"cX":-1.0,"cY":1.0,"kX":-6.41345072,"kY":6.41345072}]}]},{"name":"headbone","parent":"bodybone","x":-74.934196472167969,"y":8.9055700302124023,"z":3,"cX":1.0,"cY":1.0,"kX":-3.18845034,"kY":3.18845034,"arrow_x":71.686080932617188,"arrow_y":-1.9542943846317939E-05,"effectbyskeleton":true,"display_data":[{"name":"head.png","displayType":0,"skin_data":[{"x":127.2321,"y":7.057061,"cX":1.0,"cY":1.0,"kX":1.5940479,"kY":-1.59404516}]}]},{"name":"helmetbone","parent":"headbone","x":148.07987976074219,"y":2.8454937934875488,"z":10,"cX":1.0,"cY":1.0,"kX":1.614623,"kY":-1.614623,"arrow_x":5.817413330078125E-05,"arrow_y":7.8999204561114311E-05,"effectbyskeleton":true,"display_data":[{"name":"helmet0tex.png","displayType":0,"skin_data":[{"x":0.0,"y":0.0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0}]},{"name":"helmet2tex.png","displayType":0,"skin_data":[{"x":0.0,"y":0.0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0}]},{"name":"helmet1tex.png","displayType":0,"skin_data":[{"x":0.0,"y":0.0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0}]},{"name":"helmet3tex.png","displayType":0,"skin_data":[{"x":0.0,"y":0.0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0}]}]},{"name":"weaponbone","parent":"bodybone","x":14.973602294921875,"y":46.878913879394531,"z":1,"cX":1.0,"cY":1.0,"kX":0.801473141,"kY":-0.801473141,"arrow_x":277.59017944335938,"arrow_y":-3.6657438613474369E-06,"effectbyskeleton":true,"display_data":[{"name":"weapon0tex.png","displayType":0,"skin_data":[{"x":0.0,"y":0.0,"cX":1.0,"cY":1.0,"kX":-2.35862827,"kY":2.35862827}]},{"name":"weapon1tex.png","displayType":0,"skin_data":[{"x":0.0,"y":0.0,"cX":1.0,"cY":1.0,"kX":-2.34411359,"kY":2.34411359}]},{"name":"weapon2tex.png","displayType":0,"skin_data":[{"x":0.0,"y":0.0,"cX":1.0,"cY":1.0,"kX":-2.29354429,"kY":2.29354429}]},{"name":"weapon3tex.png","displayType":0,"skin_data":[{"x":-1.37173462,"y":-1.45545,"cX":1.0,"cY":1.0,"kX":-2.27475667,"kY":2.27475667}]}]}]}],"animation_data":[{"name":"newbaganimation","mov_data":[{"name":"loading","dr":11,"lp":true,"to":0,"drTW":0,"twE":0,"sc":0.166666672,"mov_bone_data":[{"name":"rightglovebone","dl":0.0,"frame_data":[{"dI":-2,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-2,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":5,"twE":0,"tweenFrame":true},{"dI":-2,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true}]},{"name":"leftglovebone","dl":0.0,"frame_data":[{"dI":-2,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-2,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":5,"twE":0,"tweenFrame":true},{"dI":-2,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true}]},{"name":"Layer3","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true}]},{"name":"Layer3_Copy6","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true}]},{"name":"necklacebone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":5,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true}]},{"name":"armourbone","dl":0.0,"frame_data":[{"dI":-1,"x":-2.499755859375,"y":-0.0338134765625,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":-7.49932861328125,"y":-0.1014404296875,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":5,"twE":0,"tweenFrame":true},{"dI":-1,"x":-2.499755859375,"y":-0.0338134765625,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true}]},{"name":"beltbone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":5,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true}]},{"name":"helmetbone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":5,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true}]},{"name":"Layer2","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":2.3696365356445312,"y":-0.7967529296875,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":4,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true}]},{"name":"Layer8","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":2.21514892578125,"y":1.15887451171875,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":4,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true}]},{"name":"rightlegbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":4,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true}]},{"name":"leftlegbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":4,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true}]},{"name":"leftarmbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":-4.99951171875,"y":-0.067626953125,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":4,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true}]},{"name":"rightarmbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":-4.99951171875,"y":-0.067626953125,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":4,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true}]},{"name":"headbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true}]},{"name":"bodybone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true}]},{"name":"weaponbone","dl":0.0,"frame_data":[{"dI":-1,"x":-4.99945068359375,"y":-0.067626953125,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":-9.99908447265625,"y":-0.13525390625,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":5,"twE":0,"tweenFrame":true},{"dI":-1,"x":-4.99945068359375,"y":-0.067626953125,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true}]}]},{"name":"helmet","dr":15,"lp":false,"to":0,"drTW":0,"twE":0,"sc":0.333333343,"mov_bone_data":[{"name":"rightglovebone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":5,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"leftglovebone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"Layer3","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"Layer3_Copy6","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"necklacebone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"armourbone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"beltbone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":5,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"helmetbone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":5,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"Layer2","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"Layer8","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"rightlegbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"leftlegbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"leftarmbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"rightarmbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"headbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":-0.1270185,"kY":0.1270185,"fi":5,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.14245221,"kY":-0.14245221,"fi":10,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"bodybone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"weaponbone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":5,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]}]},{"name":"weapon","dr":16,"lp":false,"to":0,"drTW":0,"twE":0,"sc":0.25,"mov_bone_data":[{"name":"Layer4","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":89.000015258789062,"y":64.0,"z":0,"cX":2.0,"cY":4.0,"kX":1.01361418,"kY":-1.01361418,"fi":5,"twE":0,"tweenFrame":true,"color":{"a":255,"r":255,"g":255,"b":255}},{"dI":0,"x":89.000015258789062,"y":64.0,"z":0,"cX":2.0,"cY":4.0,"kX":1.01361418,"kY":-1.01361418,"fi":6,"twE":0,"tweenFrame":true,"color":{"a":255,"r":255,"g":255,"b":255}},{"dI":-2,"x":89.000015258789062,"y":64.0,"z":0,"cX":2.0,"cY":4.0,"kX":1.01361418,"kY":-1.01361418,"fi":7,"twE":0,"tweenFrame":true,"color":{"a":255,"r":255,"g":255,"b":255}}]},{"name":"rightglovebone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-2,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"leftglovebone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-2,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"Layer3","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":-2.3155818,"kY":2.3155818,"fi":5,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.006378275,"kY":-0.006378275,"fi":10,"twE":0,"tweenFrame":true,"color":{"a":255,"r":255,"g":255,"b":255}},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0366431735,"kY":-0.0366431735,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"Layer3_Copy6","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"necklacebone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"armourbone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"beltbone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":5,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":10,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"helmetbone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"Layer2","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"Layer8","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"rightlegbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"leftlegbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"leftarmbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":-0.8153592,"kY":0.8153592,"fi":5,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":-0.7651576,"kY":0.7651576,"fi":10,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":-0.288566619,"kY":0.288566619,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"rightarmbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"headbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"bodybone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true}]},{"name":"weaponbone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":-144.2791748046875,"y":130.5604248046875,"z":0,"cX":1.0,"cY":1.0,"kX":0.005001477,"kY":-0.005001477,"fi":5,"twE":0,"tweenFrame":true},{"dI":-1,"x":64.5494384765625,"y":403.41012573242188,"z":0,"cX":1.0,"cY":1.0,"kX":-2.06424284,"kY":2.06424284,"fi":10,"twE":0,"tweenFrame":true},{"dI":-1,"x":254.93792724609375,"y":375.98281860351562,"z":0,"cX":1.0,"cY":1.0,"kX":-1.70875406,"kY":1.70875406,"fi":15,"twE":0,"tweenFrame":true}]}]},{"name":"glove","dr":16,"lp":false,"to":0,"drTW":0,"twE":0,"sc":0.166666672,"mov_bone_data":[{"name":"rightglovebone","dl":0.0,"frame_data":[{"dI":-2,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-2,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"leftglovebone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"Layer3","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":-6.37506103515625,"y":16.9516544342041,"z":0,"cX":1.0,"cY":1.0,"kX":1.29967749,"kY":-1.29967749,"fi":5,"twE":0,"tweenFrame":true},{"dI":0,"x":-11.209136962890625,"y":24.786190032958984,"z":0,"cX":1.0,"cY":1.0,"kX":1.68860793,"kY":-1.68860793,"fi":7,"twE":0,"tweenFrame":true},{"dI":0,"x":-3.422607421875,"y":17.784427642822266,"z":0,"cX":1.0,"cY":1.0,"kX":1.52169228,"kY":-1.52169228,"fi":9,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"Layer3_Copy6","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":-1.16589856,"kY":1.16589856,"fi":5,"twE":0,"tweenFrame":true},{"dI":0,"x":-0.09705352783203125,"y":8.4847259521484375,"z":0,"cX":1.0,"cY":1.0,"kX":-1.60178053,"kY":1.60178053,"fi":7,"twE":0,"tweenFrame":true},{"dI":0,"x":-3.087127685546875,"y":5.1448612213134766,"z":0,"cX":1.0,"cY":1.0,"kX":-1.46519506,"kY":1.46519506,"fi":9,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"necklacebone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"armourbone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"beltbone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"helmetbone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"Layer2","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"Layer8","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"rightlegbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"leftlegbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"leftarmbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":1.99981689453125,"y":0.02704620361328125,"z":0,"cX":1.0,"cY":1.0,"kX":0.3243398,"kY":-0.3243398,"fi":5,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":-0.149814516,"kY":0.149814516,"fi":7,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.272611558,"kY":-0.272611558,"fi":9,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"rightarmbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":-0.29506588,"kY":0.29506588,"fi":5,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.15955776,"kY":-0.15955776,"fi":7,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":-0.09682785,"kY":0.09682785,"fi":9,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"headbone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"bodybone","dl":0.0,"frame_data":[{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":0,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]},{"name":"weaponbone","dl":0.0,"frame_data":[{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":0,"twE":0,"tweenFrame":true},{"dI":-1,"x":0.0,"y":0.0,"z":0,"cX":1.0,"cY":1.0,"kX":0.0,"kY":0.0,"fi":15,"twE":0,"tweenFrame":true}]}]},{"name":"weapondown","dr":0,"lp":true,"to":0,"drTW":0,"twE":0,"sc":1.0,"mov_bone_data":[]}]}],"texture_data":[{"name":"chestbody","width":226.0,"height":290.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"head","width":232.0,"height":281.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"helmet1tex","width":300.0,"height":302.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"helmet2tex","width":300.0,"height":302.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"arm","width":111.0,"height":145.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"rightleg","width":165.0,"height":180.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"leftleg","width":190.0,"height":164.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"foot","width":147.0,"height":194.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"leftfoot","width":190.0,"height":164.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"hand","width":155.0,"height":187.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"stock_draw_circle","width":0.0,"height":0.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"weapon0tex","width":633.0,"height":687.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"weapon1tex","width":633.0,"height":687.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"weapon2tex","width":640.0,"height":960.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"weapon3tex","width":640.0,"height":960.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"helmet0tex","width":300.0,"height":302.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"helmet3tex","width":204.0,"height":155.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"armour0tex","width":351.0,"height":208.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"armour1tex","width":348.0,"height":211.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"armour2tex","width":338.0,"height":255.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"armour3tex","width":338.0,"height":266.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"necklace0tex","width":0.0,"height":0.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"necklace1tex","width":186.0,"height":178.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"glove0tex","width":142.0,"height":169.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"belt1tex","width":0.0,"height":0.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"belt0tex","width":0.0,"height":0.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"glove1tex","width":171.0,"height":214.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"glove3tex","width":171.0,"height":214.0,"pX":0.497076035,"pY":0.5,"plistFile":""},{"name":"glove0","width":0.0,"height":0.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"glove3","width":0.0,"height":0.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"glove1","width":0.0,"height":0.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"glove2tex","width":0.0,"height":0.0,"pX":0.5,"pY":0.5,"plistFile":""},{"name":"pieces","width":15.0,"height":12.0,"pX":0.5,"pY":0.5,"plistFile":""}],"config_file_path":["newbaganimation0.plist","newbaganimation1.plist","newbaganimation2.plist","newbaganimation3.plist","newbaganimation4.plist","newbaganimation5.plist"]} \ No newline at end of file diff --git a/SampleChangeEquip/Resources/ArmatureAndEquip/newbaganimation0.plist b/SampleChangeEquip/Resources/ArmatureAndEquip/newbaganimation0.plist new file mode 100644 index 0000000..faba206 --- /dev/null +++ b/SampleChangeEquip/Resources/ArmatureAndEquip/newbaganimation0.plist @@ -0,0 +1,412 @@ + + + + + frames + + arm.png + + frame + {{1912,3438},{222,290}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{222,290}} + sourceSize + {222,290} + + armour0tex.png + + frame + {{1152,1378},{702,416}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{702,416}} + sourceSize + {702,416} + + armour1tex.png + + frame + {{1270,2},{690,420}} + offset + {-3,1} + rotated + + sourceColorRect + {{0,0},{690,420}} + sourceSize + {696,422} + + armour2tex.png + + frame + {{1692,2},{676,510}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{676,510}} + sourceSize + {676,510} + + armour3tex.png + + frame + {{1270,694},{676,532}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{676,532}} + sourceSize + {676,532} + + belt0tex.png + + frame + {{2204,2},{580,294}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{580,294}} + sourceSize + {580,294} + + belt1tex.png + + frame + {{2204,2},{580,294}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{580,294}} + sourceSize + {580,294} + + chestbody.png + + frame + {{1804,680},{450,580}} + offset + {-1,0} + rotated + + sourceColorRect + {{0,0},{450,580}} + sourceSize + {452,580} + + foot.png + + frame + {{1600,3662},{294,388}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{294,388}} + sourceSize + {294,388} + + glove0tex.png + + frame + {{2226,3800},{284,338}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{284,338}} + sourceSize + {284,338} + + glove1tex.png + + frame + {{1258,3670},{340,416}} + offset + {0,-6} + rotated + + sourceColorRect + {{1,12},{340,416}} + sourceSize + {342,428} + + glove2tex.png + + frame + {{2226,3800},{284,338}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{284,338}} + sourceSize + {284,338} + + glove3tex.png + + frame + {{1258,3252},{340,416}} + offset + {0,-6} + rotated + + sourceColorRect + {{1,12},{340,416}} + sourceSize + {342,428} + + hand.png + + frame + {{1708,2688},{310,374}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{310,374}} + sourceSize + {310,374} + + head.png + + frame + {{1258,2688},{448,562}} + offset + {1,0} + rotated + + sourceColorRect + {{9,0},{448,562}} + sourceSize + {464,562} + + helmet0tex.png + + frame + {{1152,2082},{600,604}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{600,604}} + sourceSize + {600,604} + + helmet1tex.png + + frame + {{1570,1372},{600,602}} + offset + {0,0} + rotated + + sourceColorRect + {{0,1},{600,602}} + sourceSize + {600,604} + + helmet2tex.png + + frame + {{1152,2082},{600,604}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{600,604}} + sourceSize + {600,604} + + helmet3tex.png + + frame + {{1600,3252},{408,310}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{408,310}} + sourceSize + {408,310} + + leftfoot.png + + frame + {{1754,1976},{298,328}} + offset + {0,0} + rotated + + sourceColorRect + {{41,0},{298,328}} + sourceSize + {380,328} + + leftleg.png + + frame + {{1896,3662},{380,328}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{380,328}} + sourceSize + {380,328} + + necklace0tex.png + + frame + {{1912,3064},{372,356}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{372,356}} + sourceSize + {372,356} + + necklace1tex.png + + frame + {{1912,3064},{372,356}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{372,356}} + sourceSize + {372,356} + + pieces.png + + frame + {{2,4006},{22,20}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{22,20}} + sourceSize + {22,20} + + rightleg.png + + frame + {{2226,3438},{304,360}} + offset + {0,0} + rotated + + sourceColorRect + {{13,0},{304,360}} + sourceSize + {330,360} + + stock_draw_circle.png + + frame + {{2,4030},{16,16}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{16,16}} + sourceSize + {16,16} + + weapon0tex.png + + frame + {{2,2},{1266,1374}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{1266,1374}} + sourceSize + {1266,1374} + + weapon1tex.png + + frame + {{2,2},{1266,1374}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{1266,1374}} + sourceSize + {1266,1374} + + weapon2tex.png + + frame + {{2,1378},{1148,1334}} + offset + {-25,-18} + rotated + + sourceColorRect + {{41,311},{1148,1334}} + sourceSize + {1280,1920} + + weapon3tex.png + + frame + {{2,2714},{1254,1290}} + offset + {-2,8} + rotated + + sourceColorRect + {{11,307},{1254,1290}} + sourceSize + {1280,1920} + + + metadata + + format + 2 + realTextureFileName + newbaganimation0.png + size + {4096,4096} + smartupdate + $TexturePacker:SmartUpdate:f02c9b270f851dfb221293b380a1545b:f43d850c0ebea893c0bf14b7709aa25d:264b691857c4f41b9d17678ea1add4d3$ + textureFileName + newbaganimation0.png + + + diff --git a/SampleChangeEquip/Resources/ArmatureAndEquip/newbaganimation0.png b/SampleChangeEquip/Resources/ArmatureAndEquip/newbaganimation0.png new file mode 100644 index 0000000..2f04ec2 Binary files /dev/null and b/SampleChangeEquip/Resources/ArmatureAndEquip/newbaganimation0.png differ diff --git a/SampleChangeEquip/Resources/CloseNormal.png b/SampleChangeEquip/Resources/CloseNormal.png new file mode 100644 index 0000000..5657a13 Binary files /dev/null and b/SampleChangeEquip/Resources/CloseNormal.png differ diff --git a/SampleChangeEquip/Resources/CloseSelected.png b/SampleChangeEquip/Resources/CloseSelected.png new file mode 100644 index 0000000..e4c82da Binary files /dev/null and b/SampleChangeEquip/Resources/CloseSelected.png differ diff --git a/SampleChangeEquip/Resources/HelloWorld.png b/SampleChangeEquip/Resources/HelloWorld.png new file mode 100644 index 0000000..5fe89fb Binary files /dev/null and b/SampleChangeEquip/Resources/HelloWorld.png differ diff --git a/SampleChangeEquip/Resources/SampleChangeEquip_UI_1/SampleChangeEquip_UI0.plist b/SampleChangeEquip/Resources/SampleChangeEquip_UI_1/SampleChangeEquip_UI0.plist new file mode 100644 index 0000000..3ab7f26 --- /dev/null +++ b/SampleChangeEquip/Resources/SampleChangeEquip_UI_1/SampleChangeEquip_UI0.plist @@ -0,0 +1,464 @@ + + + + + frames + + armor.png + + frame + {{405,659},{64,64}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{64,64}} + sourceSize + {64,64} + + armour1.png + + frame + {{409,593},{60,51}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{60,51}} + sourceSize + {60,51} + + armour2.png + + frame + {{204,888},{76,67}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{76,67}} + sourceSize + {76,67} + + armour3.png + + frame + {{899,457},{134,115}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{134,115}} + sourceSize + {134,115} + + bag.png + + frame + {{462,593},{52,52}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{52,52}} + sourceSize + {52,52} + + bag1.png + + frame + {{145,670},{60,67}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{60,67}} + sourceSize + {60,67} + + bagbg.png + + frame + {{2,2},{895,576}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{895,576}} + sourceSize + {895,576} + + bagfix.png + + frame + {{346,725},{64,64}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{64,64}} + sourceSize + {64,64} + + bagpress.png + + frame + {{204,966},{56,56}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{56,56}} + sourceSize + {56,56} + + belt.png + + frame + {{343,593},{64,64}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{64,64}} + sourceSize + {64,64} + + belt1.png + + frame + {{298,791},{52,25}} + offset + {0,-1} + rotated + + sourceColorRect + {{0,2},{52,25}} + sourceSize + {52,27} + + closenormal.png + + frame + {{251,839},{53,35}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{53,35}} + sourceSize + {53,35} + + closepress.png + + frame + {{214,802},{53,35}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{53,35}} + sourceSize + {53,35} + + empty_equipment_grid.png + + frame + {{339,659},{64,64}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{64,64}} + sourceSize + {64,64} + + glove.png + + frame + {{280,725},{64,64}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{64,64}} + sourceSize + {64,64} + + glove1.png + + frame + {{145,593},{64,75}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{64,75}} + sourceSize + {64,75} + + glove2.png + + frame + {{262,966},{58,53}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{58,53}} + sourceSize + {58,53} + + glove3.png + + frame + {{899,2},{104,122}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{104,122}} + sourceSize + {104,122} + + helmet.png + + frame + {{277,593},{64,64}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{64,64}} + sourceSize + {64,64} + + helmet1.png + + frame + {{198,841},{45,51}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{45,51}} + sourceSize + {45,51} + + helmet2.png + + frame + {{110,892},{92,110}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{92,110}} + sourceSize + {92,110} + + helmet3.png + + frame + {{269,802},{27,27}} + offset + {2,0} + rotated + + sourceColorRect + {{4,0},{27,27}} + sourceSize + {31,27} + + necklace.png + + frame + {{273,659},{64,64}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{64,64}} + sourceSize + {64,64} + + necklace1.png + + frame + {{137,756},{83,75}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{83,75}} + sourceSize + {83,75} + + shield.png + + frame + {{214,736},{64,64}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{64,64}} + sourceSize + {64,64} + + shield1.png + + frame + {{137,841},{45,59}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{45,59}} + sourceSize + {45,59} + + shield2.png + + frame + {{2,756},{133,134}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{133,134}} + sourceSize + {133,134} + + skill.png + + frame + {{211,593},{64,64}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{64,64}} + sourceSize + {64,64} + + skill1.png + + frame + {{2,593},{161,141}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{161,141}} + sourceSize + {161,141} + + skill2.png + + frame + {{899,239},{119,112}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{119,112}} + sourceSize + {119,112} + + weapon.png + + frame + {{207,670},{64,64}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{64,64}} + sourceSize + {64,64} + + weapon1.png + + frame + {{899,108},{121,129}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{121,129}} + sourceSize + {121,129} + + weapon2.png + + frame + {{2,892},{112,106}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{112,106}} + sourceSize + {112,106} + + weapon3.png + + frame + {{899,353},{102,117}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{102,117}} + sourceSize + {102,117} + + + metadata + + format + 2 + realTextureFileName + SampleChangeEquip_UI0.png + size + {1024,1024} + smartupdate + $TexturePacker:SmartUpdate:03ab1fcfa05c43688db4ba2dbe9dada9:f524d7e7e362d45be1f1c48d1457a98b:7a0a06afae355044d15f46cf2435d2d0$ + textureFileName + SampleChangeEquip_UI0.png + + + diff --git a/SampleChangeEquip/Resources/SampleChangeEquip_UI_1/SampleChangeEquip_UI0.png b/SampleChangeEquip/Resources/SampleChangeEquip_UI_1/SampleChangeEquip_UI0.png new file mode 100644 index 0000000..40458c0 Binary files /dev/null and b/SampleChangeEquip/Resources/SampleChangeEquip_UI_1/SampleChangeEquip_UI0.png differ diff --git a/SampleChangeEquip/Resources/SampleChangeEquip_UI_1/SampleChangeEquip_UI_1.ExportJson b/SampleChangeEquip/Resources/SampleChangeEquip_UI_1/SampleChangeEquip_UI_1.ExportJson new file mode 100644 index 0000000..ca2fcc0 --- /dev/null +++ b/SampleChangeEquip/Resources/SampleChangeEquip_UI_1/SampleChangeEquip_UI_1.ExportJson @@ -0,0 +1,4117 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [ + "SampleChangeEquip_UI0.plist" + ], + "version": "0.4.0.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [ + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "closebutton", + "ZOrder": 0, + "actiontag": 63, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 35, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 43, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 53, + "x": 399, + "xProportion": 0.44581005, + "y": 269, + "yProportion": 0.4670139, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "closenormal.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "closepress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 35, + "scale9Width": 53 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid30", + "ZOrder": 0, + "actiontag": 39, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 334, + "xProportion": 1.67, + "y": -76, + "yProportion": -0.38, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid24", + "ZOrder": 0, + "actiontag": 40, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 334, + "xProportion": 1.67, + "y": -16, + "yProportion": -0.08, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid18", + "ZOrder": 0, + "actiontag": 41, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 334, + "xProportion": 1.67, + "y": 42, + "yProportion": 0.21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid12", + "ZOrder": 0, + "actiontag": 42, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 334, + "xProportion": 1.67, + "y": 102, + "yProportion": 0.51, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid6", + "ZOrder": 0, + "actiontag": 43, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 334, + "xProportion": 1.67, + "y": 163, + "yProportion": 0.815, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid29", + "ZOrder": 0, + "actiontag": 49, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 275, + "xProportion": 1.375, + "y": -77, + "yProportion": -0.385, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid23", + "ZOrder": 0, + "actiontag": 50, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 275, + "xProportion": 1.375, + "y": -17, + "yProportion": -0.085, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid17", + "ZOrder": 0, + "actiontag": 51, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 275, + "xProportion": 1.375, + "y": 42, + "yProportion": 0.21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid11", + "ZOrder": 0, + "actiontag": 52, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 275, + "xProportion": 1.375, + "y": 102, + "yProportion": 0.51, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid5", + "ZOrder": 0, + "actiontag": 53, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 275, + "xProportion": 1.375, + "y": 163, + "yProportion": 0.815, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid22", + "ZOrder": 0, + "actiontag": 55, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 215, + "xProportion": 1.075, + "y": -17, + "yProportion": -0.085, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid28", + "ZOrder": 0, + "actiontag": 54, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 215, + "xProportion": 1.075, + "y": -77, + "yProportion": -0.385, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid16", + "ZOrder": 0, + "actiontag": 56, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 215, + "xProportion": 1.075, + "y": 42, + "yProportion": 0.21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid10", + "ZOrder": 0, + "actiontag": 57, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 215, + "xProportion": 1.075, + "y": 102, + "yProportion": 0.51, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid4", + "ZOrder": 0, + "actiontag": 58, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 215, + "xProportion": 1.075, + "y": 163, + "yProportion": 0.815, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid27", + "ZOrder": 0, + "actiontag": 59, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 155, + "xProportion": 0.775, + "y": -77, + "yProportion": -0.385, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid21", + "ZOrder": 0, + "actiontag": 60, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 155, + "xProportion": 0.775, + "y": -17, + "yProportion": -0.085, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid15", + "ZOrder": 0, + "actiontag": 61, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 155, + "xProportion": 0.775, + "y": 42, + "yProportion": 0.21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid9", + "ZOrder": 0, + "actiontag": 62, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 155, + "xProportion": 0.775, + "y": 102, + "yProportion": 0.51, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid3", + "ZOrder": 0, + "actiontag": 63, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 155, + "xProportion": 0.775, + "y": 163, + "yProportion": 0.815, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid26", + "ZOrder": 0, + "actiontag": 64, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 95, + "xProportion": 0.475, + "y": -76, + "yProportion": -0.38, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid20", + "ZOrder": 0, + "actiontag": 65, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 95, + "xProportion": 0.475, + "y": -17, + "yProportion": -0.085, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid14", + "ZOrder": 0, + "actiontag": 66, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 95, + "xProportion": 0.475, + "y": 42, + "yProportion": 0.21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid8", + "ZOrder": 0, + "actiontag": 67, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 95, + "xProportion": 0.475, + "y": 102, + "yProportion": 0.51, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid2", + "ZOrder": 0, + "actiontag": 68, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 95, + "xProportion": 0.475, + "y": 163, + "yProportion": 0.815, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid25", + "ZOrder": 0, + "actiontag": 69, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 34, + "xProportion": 0.17, + "y": -77, + "yProportion": -0.385, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid19", + "ZOrder": 0, + "actiontag": 70, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 34, + "xProportion": 0.17, + "y": -17, + "yProportion": -0.085, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid13", + "ZOrder": 0, + "actiontag": 71, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 34, + "xProportion": 0.17, + "y": 42, + "yProportion": 0.21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid7", + "ZOrder": 0, + "actiontag": 72, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 34, + "xProportion": 0.17, + "y": 102, + "yProportion": 0.51, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid1", + "ZOrder": 0, + "actiontag": 73, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 34, + "xProportion": 0.17, + "y": 164, + "yProportion": 0.82, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "bagpanel", + "ZOrder": 0, + "actiontag": 67, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 47, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 22, + "xProportion": 0.0245810058, + "y": -33, + "yProportion": -0.0572916679, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "helmet", + "ZOrder": 0, + "actiontag": 73, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": -49, + "xProportion": -0.245, + "y": 162, + "yProportion": 0.81, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "helmet.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "necklace", + "ZOrder": 0, + "actiontag": 71, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": -49, + "xProportion": -0.245, + "y": 91, + "yProportion": 0.455, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "necklace.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "armour", + "ZOrder": 0, + "actiontag": 72, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": -49, + "xProportion": -0.245, + "y": 22, + "yProportion": 0.11, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "armor.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "weapon", + "ZOrder": 0, + "actiontag": 64, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": 39, + "xProportion": 0.195, + "y": -31, + "yProportion": -0.155, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "weapon.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "skill", + "ZOrder": 0, + "actiontag": 69, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": 108, + "xProportion": 0.54, + "y": -31, + "yProportion": -0.155, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "skill.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "shield", + "ZOrder": 0, + "actiontag": 70, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": 174, + "xProportion": 0.87, + "y": -30, + "yProportion": -0.15, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "shield.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "bag", + "ZOrder": 0, + "actiontag": 74, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": 261, + "xProportion": 1.305, + "y": 22, + "yProportion": 0.11, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bagfix.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "belt", + "ZOrder": 0, + "actiontag": 75, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": 261, + "xProportion": 1.305, + "y": 91, + "yProportion": 0.455, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "belt.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "glove", + "ZOrder": 0, + "actiontag": 74, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": 261, + "xProportion": 1.305, + "y": 162, + "yProportion": 0.81, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "glove.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "playerpanel", + "ZOrder": 0, + "actiontag": 69, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 49, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": -311, + "xProportion": -0.347486019, + "y": -86, + "yProportion": -0.149305552, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "helmet1", + "ZOrder": 0, + "actiontag": 76, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 51, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 56, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 45, + "x": 29, + "xProportion": 0.145, + "y": 164, + "yProportion": 0.82, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "helmet1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 51, + "scale9Width": 45 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "helmet2", + "ZOrder": 0, + "actiontag": 77, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 110, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.509966731, + "scaleY": 0.537318766, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 92, + "x": 89, + "xProportion": 0.445, + "y": 163, + "yProportion": 0.815, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "helmet2.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 110, + "scale9Width": 92 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "helmet3", + "ZOrder": 0, + "actiontag": 94, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1.50868249, + "scaleY": 1.50868249, + "tag": 74, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 31, + "x": 145, + "xProportion": 0.725, + "y": 161, + "yProportion": 0.805, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "helmet3.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 27, + "scale9Width": 31 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "helmetpanel", + "ZOrder": 0, + "actiontag": 75, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 55, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 205, + "xProportion": 1.025, + "y": 207, + "yProportion": 1.035, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "necklace1", + "ZOrder": 0, + "actiontag": 89, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 75, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.747671366, + "scaleY": 0.747671366, + "tag": 69, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 83, + "x": 48, + "xProportion": 0.24, + "y": 166, + "yProportion": 0.83, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "necklace1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 75, + "scale9Width": 83 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "necklacepanel", + "ZOrder": 0, + "actiontag": 88, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 68, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 411, + "xProportion": 2.055, + "y": 207, + "yProportion": 1.035, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "armour3", + "ZOrder": 0, + "actiontag": 79, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 115, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.3996511, + "scaleY": 0.3996511, + "tag": 56, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 134, + "x": 91, + "xProportion": 0.455, + "y": 164, + "yProportion": 0.82, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "armour3.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 115, + "scale9Width": 134 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "armour2", + "ZOrder": 0, + "actiontag": 78, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 67, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 56, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 76, + "x": 157, + "xProportion": 0.785, + "y": 163, + "yProportion": 0.815, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "armour2.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 67, + "scale9Width": 76 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "armour1", + "ZOrder": 0, + "actiontag": 76, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 51, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.768251657, + "scaleY": 0.768251657, + "tag": 56, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 60, + "x": 36, + "xProportion": 0.18, + "y": 168, + "yProportion": 0.84, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "armour1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 51, + "scale9Width": 60 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "armourpanel", + "ZOrder": 0, + "actiontag": 75, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 55, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 618, + "xProportion": 3.09, + "y": 207, + "yProportion": 1.035, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "weapon1", + "ZOrder": 0, + "actiontag": 73, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 129, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.4533542, + "scaleY": 0.4533542, + "tag": 53, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 121, + "x": 34, + "xProportion": 0.17, + "y": 165, + "yProportion": 0.825, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "weapon1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 129, + "scale9Width": 121 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "weapon2", + "ZOrder": 0, + "actiontag": 91, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 106, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.4661865, + "scaleY": 0.4661865, + "tag": 71, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 112, + "x": 145, + "xProportion": 0.725, + "y": 164, + "yProportion": 0.82, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "weapon2.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 106, + "scale9Width": 112 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "weapon3", + "ZOrder": 0, + "actiontag": 92, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 117, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.366951078, + "scaleY": 0.366951078, + "tag": 72, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 102, + "x": 92, + "xProportion": 0.46, + "y": 164, + "yProportion": 0.82, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "weapon3.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 117, + "scale9Width": 102 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "weaponpanel", + "ZOrder": 0, + "actiontag": 72, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 52, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 205, + "xProportion": 1.025, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "skill1", + "ZOrder": 0, + "actiontag": 84, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 141, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.362923682, + "scaleY": 0.391443163, + "tag": 61, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 161, + "x": 114, + "xProportion": 0.57, + "y": 166, + "yProportion": 0.83, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "skill1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 141, + "scale9Width": 161 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "skill2", + "ZOrder": 0, + "actiontag": 81, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 112, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.5739528, + "scaleY": 0.5739528, + "tag": 61, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 119, + "x": 46, + "xProportion": 0.23, + "y": 162, + "yProportion": 0.81, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "skill2.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 112, + "scale9Width": 119 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "skillpanel", + "ZOrder": 0, + "actiontag": 91, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 71, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 411, + "xProportion": 2.055, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "shield2", + "ZOrder": 0, + "actiontag": 87, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 134, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.3996323, + "scaleY": 0.4140739, + "tag": 66, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 133, + "x": 100, + "xProportion": 0.5, + "y": 166, + "yProportion": 0.83, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "shield2.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 134, + "scale9Width": 133 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "shield1", + "ZOrder": 0, + "actiontag": 86, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 59, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1.06999362, + "scaleY": 1.06999362, + "tag": 66, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 45, + "x": 37, + "xProportion": 0.185, + "y": 162, + "yProportion": 0.81, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "shield1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 59, + "scale9Width": 45 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "shieldpanel", + "ZOrder": 0, + "actiontag": 85, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 65, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 618, + "xProportion": 3.09, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "bag1", + "ZOrder": 0, + "actiontag": 80, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 67, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.990386069, + "scaleY": 0.990386069, + "tag": 61, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 60, + "x": 37, + "xProportion": 0.185, + "y": 164, + "yProportion": 0.82, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "bag1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 67, + "scale9Width": 60 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "otherpanel", + "ZOrder": 0, + "actiontag": 80, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 60, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 205, + "xProportion": 1.025, + "y": -206, + "yProportion": -1.03, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "belt1", + "ZOrder": 0, + "actiontag": 93, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.7082088, + "scaleY": 0.7082088, + "tag": 73, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 33, + "xProportion": 0.165, + "y": 171, + "yProportion": 0.855, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "belt1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 27, + "scale9Width": 52 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "beltpanel", + "ZOrder": 0, + "actiontag": 92, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 72, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 411, + "xProportion": 2.055, + "y": -206, + "yProportion": -1.03, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "glove1", + "ZOrder": 0, + "actiontag": 84, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 75, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 0.897974, + "tag": 62, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": 104, + "xProportion": 0.52, + "y": 168, + "yProportion": 0.84, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "glove1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 75, + "scale9Width": 64 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "glove2", + "ZOrder": 0, + "actiontag": 82, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 53, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.891936839, + "scaleY": 0.891936839, + "tag": 62, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 58, + "x": 164, + "xProportion": 0.82, + "y": 174, + "yProportion": 0.87, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "glove2.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 53, + "scale9Width": 58 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "glove3", + "ZOrder": 0, + "actiontag": 83, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 122, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.465939, + "scaleY": 0.465939, + "tag": 62, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 104, + "x": 43, + "xProportion": 0.215, + "y": 169, + "yProportion": 0.845, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "glove3.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 122, + "scale9Width": 104 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "glovepanel", + "ZOrder": 0, + "actiontag": 81, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 61, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 618, + "xProportion": 3.09, + "y": -206, + "yProportion": -1.03, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "equippanel", + "ZOrder": 0, + "actiontag": 70, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 50, + "touchAble": false, + "useMergedTexture": true, + "visible": false, + "width": 200, + "x": 443, + "xProportion": 0.49497208, + "y": -51, + "yProportion": -0.0885416642, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "ImageView", + "ZOrder": 1, + "actiontag": 23, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 576, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.5417897, + "scaleY": 0.540441, + "tag": 3, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 895, + "x": 241, + "xProportion": 0.251041681, + "y": 163, + "yProportion": 0.2546875, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "bagbg.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 576, + "scale9Width": 895 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "rootpanel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 640, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 1, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 960, + "x": 0, + "xProportion": 0, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/SampleChangeEquip/Resources/bg.jpg b/SampleChangeEquip/Resources/bg.jpg new file mode 100644 index 0000000..f64cb2e Binary files /dev/null and b/SampleChangeEquip/Resources/bg.jpg differ diff --git a/SampleChangeEquip/Resources/fonts/Marker Felt.ttf b/SampleChangeEquip/Resources/fonts/Marker Felt.ttf new file mode 100644 index 0000000..3752ef3 Binary files /dev/null and b/SampleChangeEquip/Resources/fonts/Marker Felt.ttf differ diff --git a/SampleChangeEquip/Resources/hd/ArmatureAndEquip/newbaganimation0.plist b/SampleChangeEquip/Resources/hd/ArmatureAndEquip/newbaganimation0.plist new file mode 100644 index 0000000..faba206 --- /dev/null +++ b/SampleChangeEquip/Resources/hd/ArmatureAndEquip/newbaganimation0.plist @@ -0,0 +1,412 @@ + + + + + frames + + arm.png + + frame + {{1912,3438},{222,290}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{222,290}} + sourceSize + {222,290} + + armour0tex.png + + frame + {{1152,1378},{702,416}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{702,416}} + sourceSize + {702,416} + + armour1tex.png + + frame + {{1270,2},{690,420}} + offset + {-3,1} + rotated + + sourceColorRect + {{0,0},{690,420}} + sourceSize + {696,422} + + armour2tex.png + + frame + {{1692,2},{676,510}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{676,510}} + sourceSize + {676,510} + + armour3tex.png + + frame + {{1270,694},{676,532}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{676,532}} + sourceSize + {676,532} + + belt0tex.png + + frame + {{2204,2},{580,294}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{580,294}} + sourceSize + {580,294} + + belt1tex.png + + frame + {{2204,2},{580,294}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{580,294}} + sourceSize + {580,294} + + chestbody.png + + frame + {{1804,680},{450,580}} + offset + {-1,0} + rotated + + sourceColorRect + {{0,0},{450,580}} + sourceSize + {452,580} + + foot.png + + frame + {{1600,3662},{294,388}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{294,388}} + sourceSize + {294,388} + + glove0tex.png + + frame + {{2226,3800},{284,338}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{284,338}} + sourceSize + {284,338} + + glove1tex.png + + frame + {{1258,3670},{340,416}} + offset + {0,-6} + rotated + + sourceColorRect + {{1,12},{340,416}} + sourceSize + {342,428} + + glove2tex.png + + frame + {{2226,3800},{284,338}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{284,338}} + sourceSize + {284,338} + + glove3tex.png + + frame + {{1258,3252},{340,416}} + offset + {0,-6} + rotated + + sourceColorRect + {{1,12},{340,416}} + sourceSize + {342,428} + + hand.png + + frame + {{1708,2688},{310,374}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{310,374}} + sourceSize + {310,374} + + head.png + + frame + {{1258,2688},{448,562}} + offset + {1,0} + rotated + + sourceColorRect + {{9,0},{448,562}} + sourceSize + {464,562} + + helmet0tex.png + + frame + {{1152,2082},{600,604}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{600,604}} + sourceSize + {600,604} + + helmet1tex.png + + frame + {{1570,1372},{600,602}} + offset + {0,0} + rotated + + sourceColorRect + {{0,1},{600,602}} + sourceSize + {600,604} + + helmet2tex.png + + frame + {{1152,2082},{600,604}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{600,604}} + sourceSize + {600,604} + + helmet3tex.png + + frame + {{1600,3252},{408,310}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{408,310}} + sourceSize + {408,310} + + leftfoot.png + + frame + {{1754,1976},{298,328}} + offset + {0,0} + rotated + + sourceColorRect + {{41,0},{298,328}} + sourceSize + {380,328} + + leftleg.png + + frame + {{1896,3662},{380,328}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{380,328}} + sourceSize + {380,328} + + necklace0tex.png + + frame + {{1912,3064},{372,356}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{372,356}} + sourceSize + {372,356} + + necklace1tex.png + + frame + {{1912,3064},{372,356}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{372,356}} + sourceSize + {372,356} + + pieces.png + + frame + {{2,4006},{22,20}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{22,20}} + sourceSize + {22,20} + + rightleg.png + + frame + {{2226,3438},{304,360}} + offset + {0,0} + rotated + + sourceColorRect + {{13,0},{304,360}} + sourceSize + {330,360} + + stock_draw_circle.png + + frame + {{2,4030},{16,16}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{16,16}} + sourceSize + {16,16} + + weapon0tex.png + + frame + {{2,2},{1266,1374}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{1266,1374}} + sourceSize + {1266,1374} + + weapon1tex.png + + frame + {{2,2},{1266,1374}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{1266,1374}} + sourceSize + {1266,1374} + + weapon2tex.png + + frame + {{2,1378},{1148,1334}} + offset + {-25,-18} + rotated + + sourceColorRect + {{41,311},{1148,1334}} + sourceSize + {1280,1920} + + weapon3tex.png + + frame + {{2,2714},{1254,1290}} + offset + {-2,8} + rotated + + sourceColorRect + {{11,307},{1254,1290}} + sourceSize + {1280,1920} + + + metadata + + format + 2 + realTextureFileName + newbaganimation0.png + size + {4096,4096} + smartupdate + $TexturePacker:SmartUpdate:f02c9b270f851dfb221293b380a1545b:f43d850c0ebea893c0bf14b7709aa25d:264b691857c4f41b9d17678ea1add4d3$ + textureFileName + newbaganimation0.png + + + diff --git a/SampleChangeEquip/Resources/hd/ArmatureAndEquip/newbaganimation0.png b/SampleChangeEquip/Resources/hd/ArmatureAndEquip/newbaganimation0.png new file mode 100644 index 0000000..2f04ec2 Binary files /dev/null and b/SampleChangeEquip/Resources/hd/ArmatureAndEquip/newbaganimation0.png differ diff --git a/SampleChangeEquip/Resources/hd/SampleChangeEquip_UI_1/SampleChangeEquip_UI0.plist b/SampleChangeEquip/Resources/hd/SampleChangeEquip_UI_1/SampleChangeEquip_UI0.plist new file mode 100644 index 0000000..3eb27a1 --- /dev/null +++ b/SampleChangeEquip/Resources/hd/SampleChangeEquip_UI_1/SampleChangeEquip_UI0.plist @@ -0,0 +1,464 @@ + + + + + frames + + armor.png + + frame + {{552,1434},{128,128}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{128,128}} + sourceSize + {128,128} + + armour1.png + + frame + {{676,1174},{120,102}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{120,102}} + sourceSize + {120,102} + + armour2.png + + frame + {{422,1564},{92,74}} + offset + {-5,7} + rotated + + sourceColorRect + {{25,23},{92,74}} + sourceSize + {152,134} + + armour3.png + + frame + {{1794,904},{268,230}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{268,230}} + sourceSize + {268,230} + + bag.png + + frame + {{532,1756},{104,104}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{104,104}} + sourceSize + {104,104} + + bag1.png + + frame + {{572,1564},{102,74}} + offset + {9,7} + rotated + + sourceColorRect + {{18,23},{102,74}} + sourceSize + {120,134} + + bagbg.png + + frame + {{2,2},{1790,1152}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{1790,1152}} + sourceSize + {1790,1152} + + bagfix.png + + frame + {{546,1304},{128,128}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{128,128}} + sourceSize + {128,128} + + bagpress.png + + frame + {{676,1296},{112,112}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{112,112}} + sourceSize + {112,112} + + belt.png + + frame + {{546,1174},{128,128}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{128,128}} + sourceSize + {128,128} + + belt1.png + + frame + {{2,1994},{104,50}} + offset + {0,-2} + rotated + + sourceColorRect + {{0,4},{104,50}} + sourceSize + {104,54} + + closenormal.png + + frame + {{780,1174},{106,70}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{106,70}} + sourceSize + {106,70} + + closepress.png + + frame + {{510,1648},{106,70}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{106,70}} + sourceSize + {106,70} + + empty_equipment_grid.png + + frame + {{422,1434},{128,128}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{128,128}} + sourceSize + {128,128} + + glove.png + + frame + {{416,1304},{128,128}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{128,128}} + sourceSize + {128,128} + + glove1.png + + frame + {{270,1666},{74,96}} + offset + {-4,10} + rotated + + sourceColorRect + {{23,17},{74,96}} + sourceSize + {128,150} + + glove2.png + + frame + {{346,1666},{92,86}} + offset + {-1,1} + rotated + + sourceColorRect + {{11,9},{92,86}} + sourceSize + {116,106} + + glove3.png + + frame + {{1794,2},{208,244}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{208,244}} + sourceSize + {208,244} + + helmet.png + + frame + {{416,1174},{128,128}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{128,128}} + sourceSize + {128,128} + + helmet1.png + + frame + {{498,1564},{72,82}} + offset + {0,-4} + rotated + + sourceColorRect + {{9,14},{72,82}} + sourceSize + {90,102} + + helmet2.png + + frame + {{216,1768},{184,220}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{184,220}} + sourceSize + {184,220} + + helmet3.png + + frame + {{216,1990},{54,54}} + offset + {4,0} + rotated + + sourceColorRect + {{8,0},{54,54}} + sourceSize + {62,54} + + necklace.png + + frame + {{286,1304},{128,128}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{128,128}} + sourceSize + {128,128} + + necklace1.png + + frame + {{270,1498},{166,150}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{166,150}} + sourceSize + {166,150} + + shield.png + + frame + {{286,1174},{128,128}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{128,128}} + sourceSize + {128,128} + + shield1.png + + frame + {{434,1658},{74,82}} + offset + {-1,7} + rotated + + sourceColorRect + {{7,11},{74,82}} + sourceSize + {90,118} + + shield2.png + + frame + {{2,1498},{266,268}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{266,268}} + sourceSize + {266,268} + + skill.png + + frame + {{402,1890},{128,128}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{128,128}} + sourceSize + {128,128} + + skill1.png + + frame + {{2,1174},{322,282}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{322,282}} + sourceSize + {322,282} + + skill2.png + + frame + {{1794,472},{238,224}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{238,224}} + sourceSize + {238,224} + + weapon.png + + frame + {{402,1760},{128,128}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{128,128}} + sourceSize + {128,128} + + weapon1.png + + frame + {{1794,212},{242,258}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{242,258}} + sourceSize + {242,258} + + weapon2.png + + frame + {{2,1768},{224,212}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{224,212}} + sourceSize + {224,212} + + weapon3.png + + frame + {{1794,698},{204,234}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{204,234}} + sourceSize + {204,234} + + + metadata + + format + 2 + realTextureFileName + SampleChangeEquip_UI0.png + size + {2048,2048} + smartupdate + $TexturePacker:SmartUpdate:2772c3f6ec89c93f266690ff4cdb82e1$ + textureFileName + SampleChangeEquip_UI0.png + + + diff --git a/SampleChangeEquip/Resources/hd/SampleChangeEquip_UI_1/SampleChangeEquip_UI0.png b/SampleChangeEquip/Resources/hd/SampleChangeEquip_UI_1/SampleChangeEquip_UI0.png new file mode 100644 index 0000000..e1294be Binary files /dev/null and b/SampleChangeEquip/Resources/hd/SampleChangeEquip_UI_1/SampleChangeEquip_UI0.png differ diff --git a/SampleChangeEquip/Resources/hd/SampleChangeEquip_UI_1/SampleChangeEquip_UI_1.ExportJson b/SampleChangeEquip/Resources/hd/SampleChangeEquip_UI_1/SampleChangeEquip_UI_1.ExportJson new file mode 100644 index 0000000..ca2fcc0 --- /dev/null +++ b/SampleChangeEquip/Resources/hd/SampleChangeEquip_UI_1/SampleChangeEquip_UI_1.ExportJson @@ -0,0 +1,4117 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [ + "SampleChangeEquip_UI0.plist" + ], + "version": "0.4.0.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [ + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "closebutton", + "ZOrder": 0, + "actiontag": 63, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 35, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 43, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 53, + "x": 399, + "xProportion": 0.44581005, + "y": 269, + "yProportion": 0.4670139, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "closenormal.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "closepress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 35, + "scale9Width": 53 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid30", + "ZOrder": 0, + "actiontag": 39, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 334, + "xProportion": 1.67, + "y": -76, + "yProportion": -0.38, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid24", + "ZOrder": 0, + "actiontag": 40, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 334, + "xProportion": 1.67, + "y": -16, + "yProportion": -0.08, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid18", + "ZOrder": 0, + "actiontag": 41, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 334, + "xProportion": 1.67, + "y": 42, + "yProportion": 0.21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid12", + "ZOrder": 0, + "actiontag": 42, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 334, + "xProportion": 1.67, + "y": 102, + "yProportion": 0.51, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid6", + "ZOrder": 0, + "actiontag": 43, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 334, + "xProportion": 1.67, + "y": 163, + "yProportion": 0.815, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid29", + "ZOrder": 0, + "actiontag": 49, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 275, + "xProportion": 1.375, + "y": -77, + "yProportion": -0.385, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid23", + "ZOrder": 0, + "actiontag": 50, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 275, + "xProportion": 1.375, + "y": -17, + "yProportion": -0.085, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid17", + "ZOrder": 0, + "actiontag": 51, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 275, + "xProportion": 1.375, + "y": 42, + "yProportion": 0.21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid11", + "ZOrder": 0, + "actiontag": 52, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 275, + "xProportion": 1.375, + "y": 102, + "yProportion": 0.51, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid5", + "ZOrder": 0, + "actiontag": 53, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 275, + "xProportion": 1.375, + "y": 163, + "yProportion": 0.815, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid22", + "ZOrder": 0, + "actiontag": 55, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 215, + "xProportion": 1.075, + "y": -17, + "yProportion": -0.085, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid28", + "ZOrder": 0, + "actiontag": 54, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 215, + "xProportion": 1.075, + "y": -77, + "yProportion": -0.385, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid16", + "ZOrder": 0, + "actiontag": 56, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 215, + "xProportion": 1.075, + "y": 42, + "yProportion": 0.21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid10", + "ZOrder": 0, + "actiontag": 57, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 215, + "xProportion": 1.075, + "y": 102, + "yProportion": 0.51, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid4", + "ZOrder": 0, + "actiontag": 58, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 215, + "xProportion": 1.075, + "y": 163, + "yProportion": 0.815, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid27", + "ZOrder": 0, + "actiontag": 59, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 155, + "xProportion": 0.775, + "y": -77, + "yProportion": -0.385, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid21", + "ZOrder": 0, + "actiontag": 60, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 155, + "xProportion": 0.775, + "y": -17, + "yProportion": -0.085, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid15", + "ZOrder": 0, + "actiontag": 61, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 155, + "xProportion": 0.775, + "y": 42, + "yProportion": 0.21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid9", + "ZOrder": 0, + "actiontag": 62, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 155, + "xProportion": 0.775, + "y": 102, + "yProportion": 0.51, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid3", + "ZOrder": 0, + "actiontag": 63, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 155, + "xProportion": 0.775, + "y": 163, + "yProportion": 0.815, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid26", + "ZOrder": 0, + "actiontag": 64, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 95, + "xProportion": 0.475, + "y": -76, + "yProportion": -0.38, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid20", + "ZOrder": 0, + "actiontag": 65, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 95, + "xProportion": 0.475, + "y": -17, + "yProportion": -0.085, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid14", + "ZOrder": 0, + "actiontag": 66, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 95, + "xProportion": 0.475, + "y": 42, + "yProportion": 0.21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid8", + "ZOrder": 0, + "actiontag": 67, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 95, + "xProportion": 0.475, + "y": 102, + "yProportion": 0.51, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid2", + "ZOrder": 0, + "actiontag": 68, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 95, + "xProportion": 0.475, + "y": 163, + "yProportion": 0.815, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid25", + "ZOrder": 0, + "actiontag": 69, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 34, + "xProportion": 0.17, + "y": -77, + "yProportion": -0.385, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid19", + "ZOrder": 0, + "actiontag": 70, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 34, + "xProportion": 0.17, + "y": -17, + "yProportion": -0.085, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid13", + "ZOrder": 0, + "actiontag": 71, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 34, + "xProportion": 0.17, + "y": 42, + "yProportion": 0.21, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid7", + "ZOrder": 0, + "actiontag": 72, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 34, + "xProportion": 0.17, + "y": 102, + "yProportion": 0.51, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "baggrid1", + "ZOrder": 0, + "actiontag": 73, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 52, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 34, + "xProportion": 0.17, + "y": 164, + "yProportion": 0.82, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bag.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "bagpress.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 52, + "scale9Width": 52 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "bagpanel", + "ZOrder": 0, + "actiontag": 67, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 47, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 22, + "xProportion": 0.0245810058, + "y": -33, + "yProportion": -0.0572916679, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "helmet", + "ZOrder": 0, + "actiontag": 73, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": -49, + "xProportion": -0.245, + "y": 162, + "yProportion": 0.81, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "helmet.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "necklace", + "ZOrder": 0, + "actiontag": 71, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": -49, + "xProportion": -0.245, + "y": 91, + "yProportion": 0.455, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "necklace.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "armour", + "ZOrder": 0, + "actiontag": 72, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": -49, + "xProportion": -0.245, + "y": 22, + "yProportion": 0.11, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "armor.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "weapon", + "ZOrder": 0, + "actiontag": 64, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": 39, + "xProportion": 0.195, + "y": -31, + "yProportion": -0.155, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "weapon.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "skill", + "ZOrder": 0, + "actiontag": 69, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": 108, + "xProportion": 0.54, + "y": -31, + "yProportion": -0.155, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "skill.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "shield", + "ZOrder": 0, + "actiontag": 70, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": 174, + "xProportion": 0.87, + "y": -30, + "yProportion": -0.15, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "shield.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "bag", + "ZOrder": 0, + "actiontag": 74, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": 261, + "xProportion": 1.305, + "y": 22, + "yProportion": 0.11, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "bagfix.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "belt", + "ZOrder": 0, + "actiontag": 75, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": 261, + "xProportion": 1.305, + "y": 91, + "yProportion": 0.455, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "belt.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "glove", + "ZOrder": 0, + "actiontag": 74, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 64, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.874818563, + "scaleY": 0.874818563, + "tag": 44, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": 261, + "xProportion": 1.305, + "y": 162, + "yProportion": 0.81, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": null, + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "glove.png", + "plistFile": null, + "resourceType": 1 + }, + "pressed": null, + "pressedData": { + "path": "empty_equipment_grid.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 64, + "scale9Width": 64 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "playerpanel", + "ZOrder": 0, + "actiontag": 69, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 49, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": -311, + "xProportion": -0.347486019, + "y": -86, + "yProportion": -0.149305552, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "helmet1", + "ZOrder": 0, + "actiontag": 76, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 51, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 56, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 45, + "x": 29, + "xProportion": 0.145, + "y": 164, + "yProportion": 0.82, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "helmet1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 51, + "scale9Width": 45 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "helmet2", + "ZOrder": 0, + "actiontag": 77, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 110, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.509966731, + "scaleY": 0.537318766, + "tag": 57, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 92, + "x": 89, + "xProportion": 0.445, + "y": 163, + "yProportion": 0.815, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "helmet2.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 110, + "scale9Width": 92 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "helmet3", + "ZOrder": 0, + "actiontag": 94, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1.50868249, + "scaleY": 1.50868249, + "tag": 74, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 31, + "x": 145, + "xProportion": 0.725, + "y": 161, + "yProportion": 0.805, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "helmet3.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 27, + "scale9Width": 31 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "helmetpanel", + "ZOrder": 0, + "actiontag": 75, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 55, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 205, + "xProportion": 1.025, + "y": 207, + "yProportion": 1.035, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "necklace1", + "ZOrder": 0, + "actiontag": 89, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 75, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.747671366, + "scaleY": 0.747671366, + "tag": 69, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 83, + "x": 48, + "xProportion": 0.24, + "y": 166, + "yProportion": 0.83, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "necklace1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 75, + "scale9Width": 83 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "necklacepanel", + "ZOrder": 0, + "actiontag": 88, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 68, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 411, + "xProportion": 2.055, + "y": 207, + "yProportion": 1.035, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "armour3", + "ZOrder": 0, + "actiontag": 79, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 115, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.3996511, + "scaleY": 0.3996511, + "tag": 56, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 134, + "x": 91, + "xProportion": 0.455, + "y": 164, + "yProportion": 0.82, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "armour3.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 115, + "scale9Width": 134 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "armour2", + "ZOrder": 0, + "actiontag": 78, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 67, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 56, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 76, + "x": 157, + "xProportion": 0.785, + "y": 163, + "yProportion": 0.815, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "armour2.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 67, + "scale9Width": 76 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "armour1", + "ZOrder": 0, + "actiontag": 76, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 51, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.768251657, + "scaleY": 0.768251657, + "tag": 56, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 60, + "x": 36, + "xProportion": 0.18, + "y": 168, + "yProportion": 0.84, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "armour1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 51, + "scale9Width": 60 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "armourpanel", + "ZOrder": 0, + "actiontag": 75, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 55, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 618, + "xProportion": 3.09, + "y": 207, + "yProportion": 1.035, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "weapon1", + "ZOrder": 0, + "actiontag": 73, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 129, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.4533542, + "scaleY": 0.4533542, + "tag": 53, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 121, + "x": 34, + "xProportion": 0.17, + "y": 165, + "yProportion": 0.825, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "weapon1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 129, + "scale9Width": 121 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "weapon2", + "ZOrder": 0, + "actiontag": 91, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 106, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.4661865, + "scaleY": 0.4661865, + "tag": 71, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 112, + "x": 145, + "xProportion": 0.725, + "y": 164, + "yProportion": 0.82, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "weapon2.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 106, + "scale9Width": 112 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "weapon3", + "ZOrder": 0, + "actiontag": 92, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 117, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.366951078, + "scaleY": 0.366951078, + "tag": 72, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 102, + "x": 92, + "xProportion": 0.46, + "y": 164, + "yProportion": 0.82, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "weapon3.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 117, + "scale9Width": 102 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "weaponpanel", + "ZOrder": 0, + "actiontag": 72, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 52, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 205, + "xProportion": 1.025, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "skill1", + "ZOrder": 0, + "actiontag": 84, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 141, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.362923682, + "scaleY": 0.391443163, + "tag": 61, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 161, + "x": 114, + "xProportion": 0.57, + "y": 166, + "yProportion": 0.83, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "skill1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 141, + "scale9Width": 161 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "skill2", + "ZOrder": 0, + "actiontag": 81, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 112, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.5739528, + "scaleY": 0.5739528, + "tag": 61, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 119, + "x": 46, + "xProportion": 0.23, + "y": 162, + "yProportion": 0.81, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "skill2.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 112, + "scale9Width": 119 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "skillpanel", + "ZOrder": 0, + "actiontag": 91, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 71, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 411, + "xProportion": 2.055, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "shield2", + "ZOrder": 0, + "actiontag": 87, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 134, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.3996323, + "scaleY": 0.4140739, + "tag": 66, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 133, + "x": 100, + "xProportion": 0.5, + "y": 166, + "yProportion": 0.83, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "shield2.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 134, + "scale9Width": 133 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "shield1", + "ZOrder": 0, + "actiontag": 86, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 59, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1.06999362, + "scaleY": 1.06999362, + "tag": 66, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 45, + "x": 37, + "xProportion": 0.185, + "y": 162, + "yProportion": 0.81, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "shield1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 59, + "scale9Width": 45 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "shieldpanel", + "ZOrder": 0, + "actiontag": 85, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 65, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 618, + "xProportion": 3.09, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "bag1", + "ZOrder": 0, + "actiontag": 80, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 67, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.990386069, + "scaleY": 0.990386069, + "tag": 61, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 60, + "x": 37, + "xProportion": 0.185, + "y": 164, + "yProportion": 0.82, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "bag1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 67, + "scale9Width": 60 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "otherpanel", + "ZOrder": 0, + "actiontag": 80, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 60, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 205, + "xProportion": 1.025, + "y": -206, + "yProportion": -1.03, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "belt1", + "ZOrder": 0, + "actiontag": 93, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 27, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.7082088, + "scaleY": 0.7082088, + "tag": 73, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 52, + "x": 33, + "xProportion": 0.165, + "y": 171, + "yProportion": 0.855, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "belt1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 27, + "scale9Width": 52 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "beltpanel", + "ZOrder": 0, + "actiontag": 92, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 72, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 411, + "xProportion": 2.055, + "y": -206, + "yProportion": -1.03, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "glove1", + "ZOrder": 0, + "actiontag": 84, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 75, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 0.897974, + "tag": 62, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 64, + "x": 104, + "xProportion": 0.52, + "y": 168, + "yProportion": 0.84, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "glove1.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 75, + "scale9Width": 64 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "glove2", + "ZOrder": 0, + "actiontag": 82, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 53, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.891936839, + "scaleY": 0.891936839, + "tag": 62, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 58, + "x": 164, + "xProportion": 0.82, + "y": 174, + "yProportion": 0.87, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "glove2.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 53, + "scale9Width": 58 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "glove3", + "ZOrder": 0, + "actiontag": 83, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 122, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.465939, + "scaleY": 0.465939, + "tag": 62, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 104, + "x": 43, + "xProportion": 0.215, + "y": 169, + "yProportion": 0.845, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "glove3.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 122, + "scale9Width": 104 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "glovepanel", + "ZOrder": 0, + "actiontag": 81, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 61, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 200, + "x": 618, + "xProportion": 3.09, + "y": -206, + "yProportion": -1.03, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "equippanel", + "ZOrder": 0, + "actiontag": 70, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 200, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 50, + "touchAble": false, + "useMergedTexture": true, + "visible": false, + "width": 200, + "x": 443, + "xProportion": 0.49497208, + "y": -51, + "yProportion": -0.0885416642, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "ImageView", + "ZOrder": 1, + "actiontag": 23, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 576, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 0.5417897, + "scaleY": 0.540441, + "tag": 3, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 895, + "x": 241, + "xProportion": 0.251041681, + "y": 163, + "yProportion": 0.2546875, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "bagbg.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 576, + "scale9Width": 895 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "rootpanel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 640, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 1, + "touchAble": true, + "useMergedTexture": true, + "visible": true, + "width": 960, + "x": 0, + "xProportion": 0, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/SampleChangeEquip/animation_Editor/Json/newbaganimation.json b/SampleChangeEquip/animation_Editor/Json/newbaganimation.json new file mode 100644 index 0000000..5c2a6a1 --- /dev/null +++ b/SampleChangeEquip/animation_Editor/Json/newbaganimation.json @@ -0,0 +1,3656 @@ +{ + "content_scale": 1.0, + "armature_data": [ + { + "strVersion": "1.2.0.1", + "version": 1.201, + "name": "newbaganimation", + "bone_data": [ + { + "name": "Layer4", + "parent": "", + "x": 138.99998474121094, + "y": 315.34671020507812, + "z": 18, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 4.2676925659179688E-05, + "arrow_y": -1.5813508071005344E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "pieces.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "bodybone", + "parent": "", + "x": -5.8333425521850586, + "y": 389.45559692382812, + "z": 2, + "cX": 1.0, + "cY": 1.0, + "kX": 1.58432293, + "kY": -1.58432293, + "arrow_x": 218.33973693847656, + "arrow_y": -4.8597539716865867E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "chestbody.png", + "displayType": 0, + "skin_data": [ + { + "x": 76.71533, + "y": 6.08118629, + "cX": 1.0, + "cY": 1.0, + "kX": -1.56316674, + "kY": 1.563163 + } + ] + } + ] + }, + { + "name": "necklacebone", + "parent": "bodybone", + "x": -3.174497127532959, + "y": -3.5726521015167236, + "z": 13, + "cX": 1.0, + "cY": 1.0, + "kX": -1.57382739, + "kY": 1.57382739, + "arrow_x": 5.817413330078125E-05, + "arrow_y": 3.6560697481036186E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "necklace0tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "necklace1tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "armourbone", + "parent": "bodybone", + "x": 66.8826675415039, + "y": 0.0708247721195221, + "z": 12, + "cX": 1.0, + "cY": 1.0, + "kX": -1.58432293, + "kY": 1.58432293, + "arrow_x": 3.0040740966796875E-05, + "arrow_y": -3.1655363272875547E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "armour0tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 1.666667, + "y": 46.66667, + "cX": 1.0, + "cY": 1.0, + "kX": 0.001558179, + "kY": -0.001558179 + } + ] + }, + { + "name": "armour1tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 5.0, + "y": 41.6666679, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "armour2tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 1.66666663, + "y": 13.33333, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "armour3tex.png", + "displayType": 0, + "skin_data": [ + { + "x": -2.861023E-06, + "y": 20.0000057, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "beltbone", + "parent": "bodybone", + "x": 147.67762756347656, + "y": -20.219139099121094, + "z": 11, + "cX": 1.0, + "cY": 1.0, + "kX": -1.57382739, + "kY": 1.57382739, + "arrow_x": -6.67572021484375E-06, + "arrow_y": -1.5576370060443878E-07, + "effectbyskeleton": true, + "display_data": [ + { + "name": "belt1tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "belt0tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "rightlegbone", + "parent": "bodybone", + "x": 153.33338928222656, + "y": -39.999965667724609, + "z": 7, + "cX": 1.0, + "cY": 1.0, + "kX": 0.468477249, + "kY": -0.468477249, + "arrow_x": 155.67953491210938, + "arrow_y": -4.0483195334672928E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "rightleg.png", + "displayType": 0, + "skin_data": [ + { + "x": 71.39565, + "y": 5.85156727, + "cX": 1.0, + "cY": 1.0, + "kX": 4.33153439, + "kY": 1.95165277 + } + ] + } + ] + }, + { + "name": "Layer8", + "parent": "rightlegbone", + "x": 141.459716796875, + "y": -0.051245726644992828, + "z": 8, + "cX": 1.0, + "cY": 1.0, + "kX": -0.321336985, + "kY": 0.321336985, + "arrow_x": 136.47344970703125, + "arrow_y": 3.5105867937090807E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "foot.png", + "displayType": 0, + "skin_data": [ + { + "x": 65.68161, + "y": 26.69413, + "cX": 1.0, + "cY": 1.0, + "kX": 4.565311, + "kY": 1.71787143 + } + ] + } + ] + }, + { + "name": "leftlegbone", + "parent": "bodybone", + "x": 202.78225708007813, + "y": 43.333351135253906, + "z": 6, + "cX": 1.0, + "cY": 1.0, + "kX": -0.337886333, + "kY": 0.337886333, + "arrow_x": 112.87160491943359, + "arrow_y": -1.9229482859373093E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "leftleg.png", + "displayType": 0, + "skin_data": [ + { + "x": 50.0529747, + "y": 9.695381, + "cX": 1.0, + "cY": 1.0, + "kX": -1.07796109, + "kY": 1.07795775 + } + ] + } + ] + }, + { + "name": "Layer2", + "parent": "leftlegbone", + "x": 79.292266845703125, + "y": -7.219597339630127, + "z": 9, + "cX": 1.0, + "cY": 1.0, + "kX": 6.41920328, + "kY": -6.41920328, + "arrow_x": 107.04213714599609, + "arrow_y": 1.5305253327824175E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "leftfoot.png", + "displayType": 0, + "skin_data": [ + { + "x": 81.32832, + "y": -7.50023651, + "cX": 1.0, + "cY": 1.0, + "kX": -1.40394175, + "kY": 1.40393889 + } + ] + } + ] + }, + { + "name": "leftarmbone", + "parent": "bodybone", + "x": -23.342447280883789, + "y": 108.00000762939453, + "z": 5, + "cX": -1.0, + "cY": 1.0, + "kX": 2.55467224, + "kY": -2.55467224, + "arrow_x": 110.36555480957031, + "arrow_y": 5.9751328080892563E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "arm.png", + "displayType": 0, + "skin_data": [ + { + "x": 44.2122231, + "y": 6.044983, + "cX": 1.0, + "cY": 1.0, + "kX": 4.055246, + "kY": 2.22793484 + } + ] + } + ] + }, + { + "name": "Layer3", + "parent": "leftarmbone", + "x": 109.99045562744141, + "y": -1.1313345432281494, + "z": 15, + "cX": -1.0, + "cY": 1.0, + "kX": -3.17731953, + "kY": 3.17731953, + "arrow_x": 112.445556640625, + "arrow_y": -8.340110071003437E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "hand.png", + "displayType": 0, + "skin_data": [ + { + "x": 64.51002, + "y": -20.3479042, + "cX": 1.0, + "cY": 1.0, + "kX": -0.8988322, + "kY": 0.8988352 + } + ] + } + ] + }, + { + "name": "leftglovebone", + "parent": "Layer3", + "x": 105.71973419189453, + "y": -9.0368118286132812, + "z": 16, + "cX": -1.0, + "cY": 1.0, + "kX": -0.961675644, + "kY": 0.961675644, + "arrow_x": -6.29425048828125E-05, + "arrow_y": 3.7497957237064838E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "glove0tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 24.0, + "y": 14.0, + "cX": -1.0, + "cY": 1.0, + "kX": -0.134986952, + "kY": 0.134986952 + } + ] + }, + { + "name": "glove1tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 36.0, + "y": 36.0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.06542636, + "kY": 0.06542636 + } + ] + }, + { + "name": "glove3tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 36.0, + "y": 38.0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.06542636, + "kY": 0.06542636 + } + ] + }, + { + "name": "glove2tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 24.0, + "y": 14.0, + "cX": -1.0, + "cY": 1.0, + "kX": -0.134986952, + "kY": 0.134986952 + } + ] + } + ] + }, + { + "name": "rightarmbone", + "parent": "bodybone", + "x": -26.348482131958008, + "y": -93.342475891113281, + "z": 4, + "cX": 1.0, + "cY": 1.0, + "kX": 0.6237514, + "kY": -0.6237514, + "arrow_x": 110.36555480957031, + "arrow_y": 5.9751328080892563E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "arm.png", + "displayType": 0, + "skin_data": [ + { + "x": 48.554142, + "y": 1.81697917, + "cX": 1.0, + "cY": 1.0, + "kX": 4.055246, + "kY": 2.22793484 + } + ] + } + ] + }, + { + "name": "Layer3_Copy6", + "parent": "rightarmbone", + "x": 103.12863922119141, + "y": -3.5786988735198975, + "z": 14, + "cX": -1.0, + "cY": 1.0, + "kX": 9.343908, + "kY": -9.343908, + "arrow_x": 112.445556640625, + "arrow_y": -8.340110071003437E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "hand.png", + "displayType": 0, + "skin_data": [ + { + "x": 76.08001, + "y": -20.7175369, + "cX": 1.0, + "cY": 1.0, + "kX": -0.8988322, + "kY": 0.8988352 + } + ] + } + ] + }, + { + "name": "rightglovebone", + "parent": "Layer3_Copy6", + "x": 95.5882568359375, + "y": -22.022451400756836, + "z": 17, + "cX": -1.0, + "cY": 1.0, + "kX": -11.5519829, + "kY": 11.5519829, + "arrow_x": -7.3909759521484375E-06, + "arrow_y": -3.475480480119586E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "glove0tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 1.66666412, + "cX": -1.0, + "cY": 1.0, + "kX": -6.41345072, + "kY": 6.41345072 + } + ] + }, + { + "name": "glove1tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 6.0, + "y": 25.6666641, + "cX": 1.0, + "cY": 1.0, + "kX": -6.56219053, + "kY": 6.56219053 + } + ] + }, + { + "name": "glove3tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 6.0, + "y": 25.6666641, + "cX": 1.0, + "cY": 1.0, + "kX": -6.56219053, + "kY": 6.56219053 + } + ] + }, + { + "name": "glove2tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 1.66666412, + "cX": -1.0, + "cY": 1.0, + "kX": -6.41345072, + "kY": 6.41345072 + } + ] + } + ] + }, + { + "name": "headbone", + "parent": "bodybone", + "x": -74.934196472167969, + "y": 8.9055700302124023, + "z": 3, + "cX": 1.0, + "cY": 1.0, + "kX": -3.18845034, + "kY": 3.18845034, + "arrow_x": 71.686080932617188, + "arrow_y": -1.9542943846317939E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "head.png", + "displayType": 0, + "skin_data": [ + { + "x": 127.2321, + "y": 7.057061, + "cX": 1.0, + "cY": 1.0, + "kX": 1.5940479, + "kY": -1.59404516 + } + ] + } + ] + }, + { + "name": "helmetbone", + "parent": "headbone", + "x": 148.07987976074219, + "y": 2.8454937934875488, + "z": 10, + "cX": 1.0, + "cY": 1.0, + "kX": 1.614623, + "kY": -1.614623, + "arrow_x": 5.817413330078125E-05, + "arrow_y": 7.8999204561114311E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "helmet0tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "helmet2tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "helmet1tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "helmet3tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "weaponbone", + "parent": "bodybone", + "x": 14.973602294921875, + "y": 46.878913879394531, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.801473141, + "kY": -0.801473141, + "arrow_x": 277.59017944335938, + "arrow_y": -3.6657438613474369E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "weapon0tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.35862827, + "kY": 2.35862827 + } + ] + }, + { + "name": "weapon1tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.34411359, + "kY": 2.34411359 + } + ] + }, + { + "name": "weapon2tex.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.29354429, + "kY": 2.29354429 + } + ] + }, + { + "name": "weapon3tex.png", + "displayType": 0, + "skin_data": [ + { + "x": -1.37173462, + "y": -1.45545, + "cX": 1.0, + "cY": 1.0, + "kX": -2.27475667, + "kY": 2.27475667 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "newbaganimation", + "mov_data": [ + { + "name": "loading", + "dr": 11, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.166666672, + "mov_bone_data": [ + { + "name": "rightglovebone", + "dl": 0.0, + "frame_data": [ + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "leftglovebone", + "dl": 0.0, + "frame_data": [ + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer3", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer3_Copy6", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "necklacebone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "armourbone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": -2.499755859375, + "y": -0.0338134765625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": -7.49932861328125, + "y": -0.1014404296875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": -2.499755859375, + "y": -0.0338134765625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "beltbone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "helmetbone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 2.3696365356445312, + "y": -0.7967529296875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer8", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 2.21514892578125, + "y": 1.15887451171875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "rightlegbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "leftlegbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "leftarmbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -4.99951171875, + "y": -0.067626953125, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "rightarmbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -4.99951171875, + "y": -0.067626953125, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "headbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "bodybone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "weaponbone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": -4.99945068359375, + "y": -0.067626953125, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": -9.99908447265625, + "y": -0.13525390625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": -4.99945068359375, + "y": -0.067626953125, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "helmet", + "dr": 15, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.333333343, + "mov_bone_data": [ + { + "name": "rightglovebone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "leftglovebone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer3", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer3_Copy6", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "necklacebone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "armourbone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "beltbone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "helmetbone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer8", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "rightlegbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "leftlegbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "leftarmbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "rightarmbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "headbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.1270185, + "kY": 0.1270185, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.14245221, + "kY": -0.14245221, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "bodybone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "weaponbone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "weapon", + "dr": 16, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.25, + "mov_bone_data": [ + { + "name": "Layer4", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 89.000015258789062, + "y": 64.0, + "z": 0, + "cX": 2.0, + "cY": 4.0, + "kX": 1.01361418, + "kY": -1.01361418, + "fi": 5, + "twE": 0, + "tweenFrame": true, + "color": { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + }, + { + "dI": 0, + "x": 89.000015258789062, + "y": 64.0, + "z": 0, + "cX": 2.0, + "cY": 4.0, + "kX": 1.01361418, + "kY": -1.01361418, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + }, + { + "dI": -2, + "x": 89.000015258789062, + "y": 64.0, + "z": 0, + "cX": 2.0, + "cY": 4.0, + "kX": 1.01361418, + "kY": -1.01361418, + "fi": 7, + "twE": 0, + "tweenFrame": true, + "color": { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + } + ] + }, + { + "name": "rightglovebone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "leftglovebone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer3", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.3155818, + "kY": 2.3155818, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.006378275, + "kY": -0.006378275, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0366431735, + "kY": -0.0366431735, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer3_Copy6", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "necklacebone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "armourbone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "beltbone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "helmetbone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer8", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "rightlegbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "leftlegbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "leftarmbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.8153592, + "kY": 0.8153592, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.7651576, + "kY": 0.7651576, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.288566619, + "kY": 0.288566619, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "rightarmbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "headbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "bodybone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "weaponbone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": -144.2791748046875, + "y": 130.5604248046875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.005001477, + "kY": -0.005001477, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 64.5494384765625, + "y": 403.41012573242188, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.06424284, + "kY": 2.06424284, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 254.93792724609375, + "y": 375.98281860351562, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.70875406, + "kY": 1.70875406, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "glove", + "dr": 16, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.166666672, + "mov_bone_data": [ + { + "name": "rightglovebone", + "dl": 0.0, + "frame_data": [ + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "leftglovebone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer3", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -6.37506103515625, + "y": 16.9516544342041, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.29967749, + "kY": -1.29967749, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -11.209136962890625, + "y": 24.786190032958984, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.68860793, + "kY": -1.68860793, + "fi": 7, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -3.422607421875, + "y": 17.784427642822266, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.52169228, + "kY": -1.52169228, + "fi": 9, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer3_Copy6", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.16589856, + "kY": 1.16589856, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -0.09705352783203125, + "y": 8.4847259521484375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.60178053, + "kY": 1.60178053, + "fi": 7, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -3.087127685546875, + "y": 5.1448612213134766, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.46519506, + "kY": 1.46519506, + "fi": 9, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "necklacebone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "armourbone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "beltbone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "helmetbone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer8", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "rightlegbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "leftlegbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "leftarmbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 1.99981689453125, + "y": 0.02704620361328125, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3243398, + "kY": -0.3243398, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.149814516, + "kY": 0.149814516, + "fi": 7, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.272611558, + "kY": -0.272611558, + "fi": 9, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "rightarmbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.29506588, + "kY": 0.29506588, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.15955776, + "kY": -0.15955776, + "fi": 7, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.09682785, + "kY": 0.09682785, + "fi": 9, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "headbone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "bodybone", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "weaponbone", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "weapondown", + "dr": 0, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 1.0, + "mov_bone_data": [] + } + ] + } + ], + "texture_data": [ + { + "name": "chestbody", + "width": 226.0, + "height": 290.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "head", + "width": 232.0, + "height": 281.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "helmet1tex", + "width": 300.0, + "height": 302.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "helmet2tex", + "width": 300.0, + "height": 302.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "arm", + "width": 111.0, + "height": 145.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "rightleg", + "width": 165.0, + "height": 180.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "leftleg", + "width": 190.0, + "height": 164.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "foot", + "width": 147.0, + "height": 194.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "leftfoot", + "width": 190.0, + "height": 164.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "hand", + "width": 155.0, + "height": 187.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "stock_draw_circle", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "weapon0tex", + "width": 633.0, + "height": 687.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "weapon1tex", + "width": 633.0, + "height": 687.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "weapon2tex", + "width": 640.0, + "height": 960.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "weapon3tex", + "width": 640.0, + "height": 960.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "helmet0tex", + "width": 300.0, + "height": 302.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "helmet3tex", + "width": 204.0, + "height": 155.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "armour0tex", + "width": 351.0, + "height": 208.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "armour1tex", + "width": 348.0, + "height": 211.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "armour2tex", + "width": 338.0, + "height": 255.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "armour3tex", + "width": 338.0, + "height": 266.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "necklace0tex", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "necklace1tex", + "width": 186.0, + "height": 178.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "glove0tex", + "width": 142.0, + "height": 169.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "belt1tex", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "belt0tex", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "glove1tex", + "width": 171.0, + "height": 214.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "glove3tex", + "width": 171.0, + "height": 214.0, + "pX": 0.497076035, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "glove0", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "glove3", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "glove1", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "glove2tex", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + }, + { + "name": "pieces", + "width": 15.0, + "height": 12.0, + "pX": 0.5, + "pY": 0.5, + "plistFile": "" + } + ], + "config_file_path": [ + "newbaganimation0.plist", + "newbaganimation1.plist", + "newbaganimation2.plist", + "newbaganimation3.plist", + "newbaganimation4.plist", + "newbaganimation5.plist" + ] +} \ No newline at end of file diff --git a/SampleChangeEquip/animation_Editor/Resources/arm.png b/SampleChangeEquip/animation_Editor/Resources/arm.png new file mode 100644 index 0000000..3508d37 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/arm.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/armour0tex.png b/SampleChangeEquip/animation_Editor/Resources/armour0tex.png new file mode 100644 index 0000000..57d3128 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/armour0tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/armour1tex.png b/SampleChangeEquip/animation_Editor/Resources/armour1tex.png new file mode 100644 index 0000000..6ccacca Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/armour1tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/armour2tex.png b/SampleChangeEquip/animation_Editor/Resources/armour2tex.png new file mode 100644 index 0000000..d27ba49 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/armour2tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/armour3tex.png b/SampleChangeEquip/animation_Editor/Resources/armour3tex.png new file mode 100644 index 0000000..187bbf2 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/armour3tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/belt0tex.png b/SampleChangeEquip/animation_Editor/Resources/belt0tex.png new file mode 100644 index 0000000..45860c9 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/belt0tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/belt1tex.png b/SampleChangeEquip/animation_Editor/Resources/belt1tex.png new file mode 100644 index 0000000..45860c9 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/belt1tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/chestbody.png b/SampleChangeEquip/animation_Editor/Resources/chestbody.png new file mode 100644 index 0000000..e31a964 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/chestbody.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/foot.png b/SampleChangeEquip/animation_Editor/Resources/foot.png new file mode 100644 index 0000000..97f0089 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/foot.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/glove0tex.png b/SampleChangeEquip/animation_Editor/Resources/glove0tex.png new file mode 100644 index 0000000..70e42a6 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/glove0tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/glove1tex.png b/SampleChangeEquip/animation_Editor/Resources/glove1tex.png new file mode 100644 index 0000000..a2730b4 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/glove1tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/glove2tex.png b/SampleChangeEquip/animation_Editor/Resources/glove2tex.png new file mode 100644 index 0000000..70e42a6 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/glove2tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/glove3tex.png b/SampleChangeEquip/animation_Editor/Resources/glove3tex.png new file mode 100644 index 0000000..518dff1 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/glove3tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/hand.png b/SampleChangeEquip/animation_Editor/Resources/hand.png new file mode 100644 index 0000000..0018db2 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/hand.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/head.png b/SampleChangeEquip/animation_Editor/Resources/head.png new file mode 100644 index 0000000..b34caca Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/head.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/helmet0tex.png b/SampleChangeEquip/animation_Editor/Resources/helmet0tex.png new file mode 100644 index 0000000..fc02b53 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/helmet0tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/helmet1tex.png b/SampleChangeEquip/animation_Editor/Resources/helmet1tex.png new file mode 100644 index 0000000..f4c0285 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/helmet1tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/helmet2tex.png b/SampleChangeEquip/animation_Editor/Resources/helmet2tex.png new file mode 100644 index 0000000..fc02b53 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/helmet2tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/helmet3tex.png b/SampleChangeEquip/animation_Editor/Resources/helmet3tex.png new file mode 100644 index 0000000..035dac9 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/helmet3tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/leftfoot.png b/SampleChangeEquip/animation_Editor/Resources/leftfoot.png new file mode 100644 index 0000000..33f48be Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/leftfoot.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/leftleg.png b/SampleChangeEquip/animation_Editor/Resources/leftleg.png new file mode 100644 index 0000000..ee391d2 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/leftleg.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/necklace0tex.png b/SampleChangeEquip/animation_Editor/Resources/necklace0tex.png new file mode 100644 index 0000000..a84fc0c Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/necklace0tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/necklace1tex.png b/SampleChangeEquip/animation_Editor/Resources/necklace1tex.png new file mode 100644 index 0000000..a84fc0c Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/necklace1tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/pieces.png b/SampleChangeEquip/animation_Editor/Resources/pieces.png new file mode 100644 index 0000000..e474735 Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/pieces.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/rightleg.png b/SampleChangeEquip/animation_Editor/Resources/rightleg.png new file mode 100644 index 0000000..1c12adb Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/rightleg.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/stock_draw_circle.png b/SampleChangeEquip/animation_Editor/Resources/stock_draw_circle.png new file mode 100644 index 0000000..b18cb0c Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/stock_draw_circle.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/weapon0tex.png b/SampleChangeEquip/animation_Editor/Resources/weapon0tex.png new file mode 100644 index 0000000..8ad8d5a Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/weapon0tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/weapon1tex.png b/SampleChangeEquip/animation_Editor/Resources/weapon1tex.png new file mode 100644 index 0000000..8ad8d5a Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/weapon1tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/weapon2tex.png b/SampleChangeEquip/animation_Editor/Resources/weapon2tex.png new file mode 100644 index 0000000..b4cb1af Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/weapon2tex.png differ diff --git a/SampleChangeEquip/animation_Editor/Resources/weapon3tex.png b/SampleChangeEquip/animation_Editor/Resources/weapon3tex.png new file mode 100644 index 0000000..ba4b74a Binary files /dev/null and b/SampleChangeEquip/animation_Editor/Resources/weapon3tex.png differ diff --git a/SampleChangeEquip/animation_Editor/newbaganimation.xml.animation b/SampleChangeEquip/animation_Editor/newbaganimation.xml.animation new file mode 100644 index 0000000..9c30f19 --- /dev/null +++ b/SampleChangeEquip/animation_Editor/newbaganimation.xml.animation @@ -0,0 +1,24 @@ + + + C:\Users\ck02-419\Documents\newbaganimation\newbaganimation.xml.animation + 1.2.0.1 + newbaganimation + C:\Users\ck02-419\Documents\newbaganimation + newbaganimation.json + C:\Users\ck02-419\Documents\newbaganimation\Resources + C:\Users\ck02-419\Documents\newbaganimation\Json + + + newbaganimation0.plist + newbaganimation1.plist + newbaganimation2.plist + newbaganimation3.plist + newbaganimation4.plist + newbaganimation5.plist + + + 0 + 0 + + true + \ No newline at end of file diff --git a/SampleChangeEquip/cocos2d/readme b/SampleChangeEquip/cocos2d/readme new file mode 100644 index 0000000..00bfca5 --- /dev/null +++ b/SampleChangeEquip/cocos2d/readme @@ -0,0 +1 @@ +put cocos2d here what in a project created by create_project.py \ No newline at end of file diff --git a/SampleChangeEquip/proj.android/.classpath b/SampleChangeEquip/proj.android/.classpath new file mode 100644 index 0000000..5176974 --- /dev/null +++ b/SampleChangeEquip/proj.android/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/SampleChangeEquip/proj.android/.project b/SampleChangeEquip/proj.android/.project new file mode 100644 index 0000000..19ed52a --- /dev/null +++ b/SampleChangeEquip/proj.android/.project @@ -0,0 +1,65 @@ + + + SampleChangeEquip + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + Classes + 2 + COCOS2DX/projects/SampleChangeEquip/Classes + + + cocos2dx + 2 + COCOS2DX/cocos2dx + + + extensions + 2 + COCOS2DX/extensions + + + scripting + 2 + COCOS2DX/scripting + + + diff --git a/SampleChangeEquip/proj.android/AndroidManifest.xml b/SampleChangeEquip/proj.android/AndroidManifest.xml new file mode 100644 index 0000000..dd353d4 --- /dev/null +++ b/SampleChangeEquip/proj.android/AndroidManifest.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleChangeEquip/proj.android/README.md b/SampleChangeEquip/proj.android/README.md new file mode 100644 index 0000000..aefa86b --- /dev/null +++ b/SampleChangeEquip/proj.android/README.md @@ -0,0 +1,87 @@ +## Prerequisites: + +* Android NDK +* Android SDK **OR** Eclipse ADT Bundle +* Android AVD target installed + +## Building project + +There are two ways of building Android projects. + +1. Eclipse +2. Command Line + +### Import Project in Eclipse + +#### Features: + +1. Complete workflow from Eclipse, including: + * Build C++. + * Clean C++. + * Build and Run whole project. + * Logcat view. + * Debug Java code. + * Javascript editor. + * Project management. +2. True C++ editing, including: + * Code completion. + * Jump to definition. + * Refactoring tools etc. + * Quick open C++ files. + + +#### Setup Eclipse Environment (only once) + + +**NOTE:** This step needs to be done only once to setup the Eclipse environment for cocos2d-x projects. Skip this section if you've done this before. + +1. Download Eclipse ADT bundle from [Google ADT homepage](http://developer.android.com/sdk/index.html) + + **OR** + + Install Eclipse with Java. Add ADT and CDT plugins. + +2. Only for Windows + 1. Install [Cygwin](http://www.cygwin.com/) with make (select make package from the list during the install). + 2. Add `Cygwin\bin` directory to system PATH variable. + 3. Add this line `none /cygdrive cygdrive binary,noacl,posix=0,user 0 0` to `Cygwin\etc\fstab` file. + +3. Set up Variables: + 1. Path Variable `COCOS2DX`: + * Eclipse->Preferences->General->Workspace->**Linked Resources** + * Click **New** button to add a Path Variable `COCOS2DX` pointing to the root cocos2d-x directory. + ![Example](https://lh5.googleusercontent.com/-oPpk9kg3e5w/UUOYlq8n7aI/AAAAAAAAsdQ/zLA4eghBH9U/s400/cocos2d-x-eclipse-vars.png) + + 2. C/C++ Environment Variable `NDK_ROOT`: + * Eclipse->Preferences->C/C++->Build->**Environment**. + * Click **Add** button and add a new variable `NDK_ROOT` pointing to the root NDK directory. + ![Example](https://lh3.googleusercontent.com/-AVcY8IAT0_g/UUOYltoRobI/AAAAAAAAsdM/22D2J9u3sig/s400/cocos2d-x-eclipse-ndk.png) + * Only for Windows: Add new variables **CYGWIN** with value `nodosfilewarning` and **SHELLOPTS** with value `igncr` + +4. Import libcocos2dx library project: + 1. File->New->Project->Android Project From Existing Code. + 2. Click **Browse** button and open `cocos2d-x/cocos2dx/platform/android/java` directory. + 3. Click **Finish** to add project. + +#### Adding and running from Eclipse + +![Example](https://lh3.googleusercontent.com/-SLBOu6e3QbE/UUOcOXYaGqI/AAAAAAAAsdo/tYBY2SylOSM/s288/cocos2d-x-eclipse-project-from-code.png) ![Import](https://lh5.googleusercontent.com/-XzC9Pn65USc/UUOcOTAwizI/AAAAAAAAsdk/4b6YM-oim9Y/s400/cocos2d-x-eclipse-import-project.png) + +1. File->New->Project->Android Project From Existing Code +2. **Browse** to your project directory. eg: `cocos2d-x/cocos2dx/samples/Cpp/TestCpp/proj.android/` +3. Add the project +4. Click **Run** or **Debug** to compile C++ followed by Java and to run on connected device or emulator. + + +### Running project from Command Line + + $ cd cocos2d-x/samples/Cpp/TestCpp/proj.android/ + $ export NDK_ROOT=/path/to/ndk + $ ./build_native.sh + $ ant debug install + +If the last command results in sdk.dir missing error then do: + + $ android list target + $ android update project -p . -t (id from step 6) + $ android update project -p cocos2d/cocos/2d/platform/android/java/ -t (id from step 6) diff --git a/SampleChangeEquip/proj.android/ant.properties b/SampleChangeEquip/proj.android/ant.properties new file mode 100644 index 0000000..a51e6a0 --- /dev/null +++ b/SampleChangeEquip/proj.android/ant.properties @@ -0,0 +1,17 @@ +# This file is used to override default values used by the Ant build system. +# +# This file must be checked into Version Control Systems, as it is +# integral to the build system of your project. + +# This file is only used by the Ant script. + +# You can use this to override default values such as +# 'source.dir' for the location of your java source folder and +# 'out.dir' for the location of your output folder. + +# You can also use it define how the release builds are signed by declaring +# the following properties: +# 'key.store' for the location of your keystore and +# 'key.alias' for the name of the key to use. +# The password will be asked during the build when you use the 'release' target. + diff --git a/SampleChangeEquip/proj.android/build.xml b/SampleChangeEquip/proj.android/build.xml new file mode 100644 index 0000000..b23cef0 --- /dev/null +++ b/SampleChangeEquip/proj.android/build.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleChangeEquip/proj.android/build_native.py b/SampleChangeEquip/proj.android/build_native.py new file mode 100644 index 0000000..5eec448 --- /dev/null +++ b/SampleChangeEquip/proj.android/build_native.py @@ -0,0 +1,166 @@ +#!/usr/bin/python +# build_native.py +# Build native codes + + +import sys +import os, os.path +import shutil +from optparse import OptionParser + +def get_num_of_cpu(): + ''' The build process can be accelerated by running multiple concurrent job processes using the -j-option. + ''' + try: + platform = sys.platform + if platform == 'win32': + if 'NUMBER_OF_PROCESSORS' in os.environ: + return int(os.environ['NUMBER_OF_PROCESSORS']) + else: + return 1 + else: + from numpy.distutils import cpuinfo + return cpuinfo.cpu._getNCPUs() + except Exception: + print "Can't know cpuinfo, use default 1 cpu" + return 1 + +def check_environment_variables_sdk(): + ''' Checking the environment ANDROID_SDK_ROOT, which will be used for building + ''' + + try: + SDK_ROOT = os.environ['ANDROID_SDK_ROOT'] + except Exception: + print "ANDROID_SDK_ROOT not defined. Please define ANDROID_SDK_ROOT in your environment" + sys.exit(1) + + return SDK_ROOT + +def check_environment_variables(): + ''' Checking the environment NDK_ROOT, which will be used for building + ''' + + try: + NDK_ROOT = os.environ['NDK_ROOT'] + except Exception: + print "NDK_ROOT not defined. Please define NDK_ROOT in your environment" + sys.exit(1) + + return NDK_ROOT + +def select_toolchain_version(): + '''Because ndk-r8e uses gcc4.6 as default. gcc4.6 doesn't support c++11. So we should select gcc4.7 when + using ndk-r8e. But gcc4.7 is removed in ndk-r9, so we should determine whether gcc4.7 exist. + Conclution: + ndk-r8e -> use gcc4.7 + ndk-r9 -> use gcc4.8 + ''' + + ndk_root = check_environment_variables() + if os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.8")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.8' + print "The Selected NDK toolchain version was 4.8 !" + elif os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.7")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.7' + print "The Selected NDK toolchain version was 4.7 !" + else: + print "Couldn't find the gcc toolchain." + exit(1) + +def do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode): + + ndk_path = os.path.join(ndk_root, "ndk-build") + + # windows should use ";" to seperate module paths + platform = sys.platform + if platform == 'win32': + ndk_module_path = 'NDK_MODULE_PATH=%s;%s/external;%s/cocos' % (cocos_root, cocos_root, cocos_root) + else: + ndk_module_path = 'NDK_MODULE_PATH=%s:%s/external:%s/cocos' % (cocos_root, cocos_root, cocos_root) + + num_of_cpu = get_num_of_cpu() + + if ndk_build_param == None: + command = '%s -j%d -C %s %s' % (ndk_path, num_of_cpu, app_android_root, ndk_module_path) + else: + command = '%s -j%d -C %s %s %s' % (ndk_path, num_of_cpu, app_android_root, ''.join(str(e) for e in ndk_build_param), ndk_module_path) + if os.system(command) != 0: + raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!") + elif android_platform is not None: + sdk_tool_path = os.path.join(sdk_root, "tools/android") + cocoslib_path = os.path.join(cocos_root, "cocos/2d/platform/android/java") + command = '%s update lib-project -t %s -p %s' % (sdk_tool_path,android_platform,cocoslib_path) + if os.system(command) != 0: + raise Exception("update cocos lib-project [ " + cocoslib_path + " ] fails!") + command = '%s update project -t %s -p %s -s' % (sdk_tool_path,android_platform,app_android_root) + if os.system(command) != 0: + raise Exception("update project [ " + app_android_root + " ] fails!") + buildfile_path = os.path.join(app_android_root, "build.xml") + command = 'ant clean %s -f %s -Dsdk.dir=%s' % (build_mode,buildfile_path,sdk_root) + os.system(command) + +def copy_files(src, dst): + + for item in os.listdir(src): + path = os.path.join(src, item) + # Android can not package the file that ends with ".gz" + if not item.startswith('.') and not item.endswith('.gz') and os.path.isfile(path): + shutil.copy(path, dst) + if os.path.isdir(path): + new_dst = os.path.join(dst, item) + os.mkdir(new_dst) + copy_files(path, new_dst) + +def copy_resources(app_android_root): + + # remove app_android_root/assets if it exists + assets_dir = os.path.join(app_android_root, "assets") + if os.path.isdir(assets_dir): + shutil.rmtree(assets_dir) + + # copy resources + os.mkdir(assets_dir) + resources_dir = os.path.join(app_android_root, "../Resources") + if os.path.isdir(resources_dir): + copy_files(resources_dir, assets_dir) + +def build(ndk_build_param,android_platform,build_mode): + + ndk_root = check_environment_variables() + sdk_root = None + select_toolchain_version() + + current_dir = os.path.dirname(os.path.realpath(__file__)) + cocos_root = os.path.join(current_dir, "../cocos2d") + + app_android_root = current_dir + copy_resources(app_android_root) + + if android_platform is not None: + sdk_root = check_environment_variables_sdk() + if android_platform.isdigit(): + android_platform = 'android-'+android_platform + else: + print 'please use vaild android platform' + exit(1) + + if build_mode is None: + build_mode = 'debug' + elif build_mode != 'release': + build_mode = 'debug' + + do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode) + +# -------------- main -------------- +if __name__ == '__main__': + + parser = OptionParser() + parser.add_option("-n", "--ndk", dest="ndk_build_param", help='parameter for ndk-build') + parser.add_option("-p", "--platform", dest="android_platform", + help='parameter for android-update.Without the parameter,the script just build dynamic library for project. Valid android-platform are:[10|11|12|13|14|15|16|17|18|19]') + parser.add_option("-b", "--build", dest="build_mode", + help='the build mode for java project,debug[default] or release.Get more information,please refer to http://developer.android.com/tools/building/building-cmdline.html') + (opts, args) = parser.parse_args() + + build(opts.ndk_build_param,opts.android_platform,opts.build_mode) diff --git a/SampleChangeEquip/proj.android/jni/Android.mk b/SampleChangeEquip/proj.android/jni/Android.mk new file mode 100644 index 0000000..b063dc8 --- /dev/null +++ b/SampleChangeEquip/proj.android/jni/Android.mk @@ -0,0 +1,35 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := cocos2dcpp_shared + +LOCAL_MODULE_FILENAME := libcocos2dcpp + +LOCAL_SRC_FILES := hellocpp/main.cpp \ + ../../Classes/AppDelegate.cpp \ + ../../Classes/HelloWorldScene.cpp \ + ../../Classes/Bag.cpp + + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \ + $(LOCAL_PATH)/../../cocos2d \ + $(LOCAL_PATH)/../../cocos2d/extensions \ + $(LOCAL_PATH)/../../cocos2d/cocos \ + $(LOCAL_PATH)/../../cocos2d/cocos/gui \ + $(LOCAL_PATH)/../../cocos2d/cocos/editor-support/cocostudio \ + +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static +LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocos_gui_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static + + +include $(BUILD_SHARED_LIBRARY) + +$(call import-module,2d) +$(call import-module,audio/android) +$(call import-module,Box2D) +$(call import-module,gui) +$(call import-module,editor-support/cocostudio) \ No newline at end of file diff --git a/SampleChangeEquip/proj.android/jni/Application.mk b/SampleChangeEquip/proj.android/jni/Application.mk new file mode 100644 index 0000000..74c3f99 --- /dev/null +++ b/SampleChangeEquip/proj.android/jni/Application.mk @@ -0,0 +1,2 @@ +APP_STL := gnustl_static +APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DCOCOS2D_DEBUG=1 -std=c++11 -fsigned-char diff --git a/SampleChangeEquip/proj.android/jni/hellocpp/main.cpp b/SampleChangeEquip/proj.android/jni/hellocpp/main.cpp new file mode 100644 index 0000000..006a744 --- /dev/null +++ b/SampleChangeEquip/proj.android/jni/hellocpp/main.cpp @@ -0,0 +1,16 @@ +#include "AppDelegate.h" +#include "cocos2d.h" +#include "CCEventType.h" +#include "platform/android/jni/JniHelper.h" +#include +#include + +#define LOG_TAG "main" +#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__) + +using namespace cocos2d; + +void cocos_android_app_init (struct android_app* app) { + LOGD("cocos_android_app_init"); + AppDelegate *pAppDelegate = new AppDelegate(); +} diff --git a/SampleChangeEquip/proj.android/proguard-project.txt b/SampleChangeEquip/proj.android/proguard-project.txt new file mode 100644 index 0000000..b60ae7e --- /dev/null +++ b/SampleChangeEquip/proj.android/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/SampleChangeEquip/proj.android/project.properties b/SampleChangeEquip/proj.android/project.properties new file mode 100644 index 0000000..6b485b4 --- /dev/null +++ b/SampleChangeEquip/proj.android/project.properties @@ -0,0 +1,13 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system use, +# "ant.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-19 + +android.library.reference.1=../../DemoCowboyGame/cocos2d/cocos/2d/platform/android/java diff --git a/SampleChangeEquip/proj.android/res/drawable-hdpi/icon.png b/SampleChangeEquip/proj.android/res/drawable-hdpi/icon.png new file mode 100644 index 0000000..8aa4767 Binary files /dev/null and b/SampleChangeEquip/proj.android/res/drawable-hdpi/icon.png differ diff --git a/SampleChangeEquip/proj.android/res/drawable-ldpi/icon.png b/SampleChangeEquip/proj.android/res/drawable-ldpi/icon.png new file mode 100644 index 0000000..17ce11a Binary files /dev/null and b/SampleChangeEquip/proj.android/res/drawable-ldpi/icon.png differ diff --git a/SampleChangeEquip/proj.android/res/drawable-mdpi/icon.png b/SampleChangeEquip/proj.android/res/drawable-mdpi/icon.png new file mode 100644 index 0000000..3780aac Binary files /dev/null and b/SampleChangeEquip/proj.android/res/drawable-mdpi/icon.png differ diff --git a/SampleChangeEquip/proj.android/res/values/strings.xml b/SampleChangeEquip/proj.android/res/values/strings.xml new file mode 100644 index 0000000..090ff05 --- /dev/null +++ b/SampleChangeEquip/proj.android/res/values/strings.xml @@ -0,0 +1,4 @@ + + + SampleChangeEquip + diff --git a/SampleChangeEquip/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java b/SampleChangeEquip/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java new file mode 100644 index 0000000..d2dfa68 --- /dev/null +++ b/SampleChangeEquip/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java @@ -0,0 +1,32 @@ +package org.cocos2dx.cpp; + +import android.app.NativeActivity; +import android.os.Bundle; + +public class Cocos2dxActivity extends NativeActivity{ + + @Override + protected void onCreate(Bundle savedInstanceState) { + // TODO Auto-generated method stub + super.onCreate(savedInstanceState); + + //For supports translucency + + //1.change "attribs" in cocos\2d\platform\android\nativeactivity.cpp + /*const EGLint attribs[] = { + EGL_SURFACE_TYPE, EGL_WINDOW_BIT, + EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, + //EGL_BLUE_SIZE, 5, -->delete + //EGL_GREEN_SIZE, 6, -->delete + //EGL_RED_SIZE, 5, -->delete + EGL_BUFFER_SIZE, 32, //-->new field + EGL_DEPTH_SIZE, 16, + EGL_STENCIL_SIZE, 8, + EGL_NONE + };*/ + + //2.Set the format of window + // getWindow().setFormat(PixelFormat.TRANSLUCENT); + + } +} diff --git a/SampleChangeEquip/proj.ios_mac/SampleChangeEquip.xcodeproj/project.pbxproj b/SampleChangeEquip/proj.ios_mac/SampleChangeEquip.xcodeproj/project.pbxproj new file mode 100644 index 0000000..4b063c5 --- /dev/null +++ b/SampleChangeEquip/proj.ios_mac/SampleChangeEquip.xcodeproj/project.pbxproj @@ -0,0 +1,1068 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 15F4AB0018C96C5C0085F09C /* Bag.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15F4AAFE18C96C5C0085F09C /* Bag.cpp */; }; + 15F4AB0118C96C5C0085F09C /* Bag.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15F4AAFE18C96C5C0085F09C /* Bag.cpp */; }; + 15F4AB1018C96C730085F09C /* ArmatureAndEquip in Resources */ = {isa = PBXBuildFile; fileRef = 15F4AB0818C96C730085F09C /* ArmatureAndEquip */; }; + 15F4AB1118C96C730085F09C /* ArmatureAndEquip in Resources */ = {isa = PBXBuildFile; fileRef = 15F4AB0818C96C730085F09C /* ArmatureAndEquip */; }; + 15F4AB1218C96C730085F09C /* bg.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 15F4AB0918C96C730085F09C /* bg.jpg */; }; + 15F4AB1318C96C730085F09C /* bg.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 15F4AB0918C96C730085F09C /* bg.jpg */; }; + 15F4AB1418C96C730085F09C /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 15F4AB0A18C96C730085F09C /* fonts */; }; + 15F4AB1518C96C730085F09C /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 15F4AB0A18C96C730085F09C /* fonts */; }; + 15F4AB1618C96C730085F09C /* hd in Resources */ = {isa = PBXBuildFile; fileRef = 15F4AB0B18C96C730085F09C /* hd */; }; + 15F4AB1718C96C730085F09C /* hd in Resources */ = {isa = PBXBuildFile; fileRef = 15F4AB0B18C96C730085F09C /* hd */; }; + 15F4AB1818C96C730085F09C /* SampleChangeEquip_UI_1 in Resources */ = {isa = PBXBuildFile; fileRef = 15F4AB0C18C96C730085F09C /* SampleChangeEquip_UI_1 */; }; + 15F4AB1918C96C730085F09C /* SampleChangeEquip_UI_1 in Resources */ = {isa = PBXBuildFile; fileRef = 15F4AB0C18C96C730085F09C /* SampleChangeEquip_UI_1 */; }; + 15F4AB1A18C96C730085F09C /* SampleChangeEquip_UI_1.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F4AB0D18C96C730085F09C /* SampleChangeEquip_UI_1.ExportJson */; }; + 15F4AB1B18C96C730085F09C /* SampleChangeEquip_UI_1.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F4AB0D18C96C730085F09C /* SampleChangeEquip_UI_1.ExportJson */; }; + 15F4AB1C18C96C730085F09C /* SampleChangeEquip_UI0.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F4AB0E18C96C730085F09C /* SampleChangeEquip_UI0.plist */; }; + 15F4AB1D18C96C730085F09C /* SampleChangeEquip_UI0.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F4AB0E18C96C730085F09C /* SampleChangeEquip_UI0.plist */; }; + 15F4AB1E18C96C730085F09C /* SampleChangeEquip_UI0.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F4AB0F18C96C730085F09C /* SampleChangeEquip_UI0.png */; }; + 15F4AB1F18C96C730085F09C /* SampleChangeEquip_UI0.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F4AB0F18C96C730085F09C /* SampleChangeEquip_UI0.png */; }; + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */; }; + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */; }; + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */; }; + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */; }; + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */; }; + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */; }; + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */; }; + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */; }; + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */; }; + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */; }; + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 1AFAF8BE16D35E4900DB1158 /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 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 */; }; + 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 */; }; + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11117EB99EE00D1A890 /* libcurl.dylib */; }; + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11A17EB9C5A00D1A890 /* IOKit.framework */; }; + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.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 */; }; + 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 */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1551A33F158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2FD617814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2CB81780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2D9B1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2ED617814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F31FD1781479B006731B9; + remoteInfo = "jsbindings Mac"; + }; + 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A6FB53017854BC300CDF010; + remoteInfo = "luabindings Mac"; + }; + 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4D641783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4EFC1783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F3B178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F9E1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4FB4178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; + 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A5030178387750073F6A7; + remoteInfo = "jsbindings iOS"; + }; + 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A119791178526AA00D62A44; + remoteInfo = "luabindings iOS"; + }; + 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 1551A33E158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2FC117814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2B781780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2E9817814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2D5D1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4C241783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4E111783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4EFD178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F3C1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F9F178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 15F4AAFE18C96C5C0085F09C /* Bag.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Bag.cpp; path = ../Classes/Bag.cpp; sourceTree = ""; }; + 15F4AAFF18C96C5C0085F09C /* Bag.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Bag.h; path = ../Classes/Bag.h; sourceTree = ""; }; + 15F4AB0818C96C730085F09C /* ArmatureAndEquip */ = {isa = PBXFileReference; lastKnownFileType = folder; path = ArmatureAndEquip; sourceTree = ""; }; + 15F4AB0918C96C730085F09C /* bg.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = bg.jpg; sourceTree = ""; }; + 15F4AB0A18C96C730085F09C /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; path = fonts; sourceTree = ""; }; + 15F4AB0B18C96C730085F09C /* hd */ = {isa = PBXFileReference; lastKnownFileType = folder; path = hd; sourceTree = ""; }; + 15F4AB0C18C96C730085F09C /* SampleChangeEquip_UI_1 */ = {isa = PBXFileReference; lastKnownFileType = folder; path = SampleChangeEquip_UI_1; sourceTree = ""; }; + 15F4AB0D18C96C730085F09C /* SampleChangeEquip_UI_1.ExportJson */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = SampleChangeEquip_UI_1.ExportJson; path = SampleChangeEquip_UI_1/SampleChangeEquip_UI_1.ExportJson; sourceTree = ""; }; + 15F4AB0E18C96C730085F09C /* SampleChangeEquip_UI0.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = SampleChangeEquip_UI0.plist; path = SampleChangeEquip_UI_1/SampleChangeEquip_UI0.plist; sourceTree = ""; }; + 15F4AB0F18C96C730085F09C /* SampleChangeEquip_UI0.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = SampleChangeEquip_UI0.png; path = SampleChangeEquip_UI_1/SampleChangeEquip_UI0.png; sourceTree = ""; }; + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../cocos2d/build/cocos2d_libs.xcodeproj; sourceTree = ""; }; + 1ACB3243164770DE00914215 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = ""; }; + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AppDelegate.cpp; path = ../Classes/AppDelegate.cpp; sourceTree = ""; }; + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ../Classes/AppDelegate.h; sourceTree = ""; }; + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HelloWorldScene.cpp; path = ../Classes/HelloWorldScene.cpp; sourceTree = ""; }; + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HelloWorldScene.h; path = ../Classes/HelloWorldScene.h; sourceTree = ""; }; + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseNormal.png; sourceTree = ""; }; + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseSelected.png; sourceTree = ""; }; + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = HelloWorld.png; sourceTree = ""; }; + 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 1D6058910D05DD3D006BFB54 /* SampleChangeEquip iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleChangeEquip iOS.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; }; + 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 /* SampleChangeEquip Mac.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleChangeEquip Mac.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 = ""; }; + 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; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */, + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */, + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */, + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */, + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a 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 */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75C17EB910900C73F5D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */, + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */, + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */, + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */, + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */, + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */, + 5087E76717EB910900C73F5D /* libz.dylib in Frameworks */, + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */, + 5087E78B17EB975400C73F5D /* OpenGL.framework in Frameworks */, + 5087E78917EB974C00C73F5D /* AppKit.framework in Frameworks */, + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */, + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */, + 5087E76817EB910900C73F5D /* QuartzCore.framework in Frameworks */, + 5087E76917EB910900C73F5D /* OpenAL.framework in Frameworks */, + 5087E76A17EB910900C73F5D /* AVFoundation.framework in Frameworks */, + 5087E76B17EB910900C73F5D /* AudioToolbox.framework 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 = ""; + }; + 15AA9C4015B7EC450033D6C2 /* Classes */ = { + isa = PBXGroup; + children = ( + 15F4AAFE18C96C5C0085F09C /* Bag.cpp */, + 15F4AAFF18C96C5C0085F09C /* Bag.h */, + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */, + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */, + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */, + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */, + ); + name = Classes; + path = ../classes; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 1D6058910D05DD3D006BFB54 /* SampleChangeEquip iOS.app */, + 5087E76F17EB910900C73F5D /* SampleChangeEquip Mac.app */, + ); + name = Products; + sourceTree = ""; + }; + 1AC6FAE6180E9839004C840B /* Products */ = { + isa = PBXGroup; + children = ( + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */, + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */, + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */, + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */, + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */, + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */, + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */, + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */, + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */, + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */, + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */, + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */, + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */, + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { + isa = PBXGroup; + children = ( + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */, + 15AA9C4015B7EC450033D6C2 /* Classes */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 080E96DDFE201D6D7F000001 /* ios */, + 503AE10617EB990700D1A890 /* mac */, + 19C28FACFE9D520D11CA2CBB /* Products */, + 78C7DDAA14EBA5050085D0C2 /* Resources */, + ); + name = CustomTemplate; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 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 = ""; + }; + 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 = ( + 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; + }; + 78C7DDAA14EBA5050085D0C2 /* Resources */ = { + isa = PBXGroup; + children = ( + 15F4AB0818C96C730085F09C /* ArmatureAndEquip */, + 15F4AB0918C96C730085F09C /* bg.jpg */, + 15F4AB0A18C96C730085F09C /* fonts */, + 15F4AB0B18C96C730085F09C /* hd */, + 15F4AB0C18C96C730085F09C /* SampleChangeEquip_UI_1 */, + 15F4AB0D18C96C730085F09C /* SampleChangeEquip_UI_1.ExportJson */, + 15F4AB0E18C96C730085F09C /* SampleChangeEquip_UI0.plist */, + 15F4AB0F18C96C730085F09C /* SampleChangeEquip_UI0.png */, + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */, + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */, + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */, + ); + name = Resources; + path = ../Resources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1D6058900D05DD3D006BFB54 /* SampleChangeEquip iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "SampleChangeEquip iOS" */; + buildPhases = ( + 1D60588D0D05DD3D006BFB54 /* Resources */, + 1D60588E0D05DD3D006BFB54 /* Sources */, + 1D60588F0D05DD3D006BFB54 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */, + ); + name = "SampleChangeEquip iOS"; + productName = iphone; + productReference = 1D6058910D05DD3D006BFB54 /* SampleChangeEquip iOS.app */; + productType = "com.apple.product-type.application"; + }; + 5087E73D17EB910900C73F5D /* SampleChangeEquip Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleChangeEquip Mac" */; + buildPhases = ( + 5087E74817EB910900C73F5D /* Resources */, + 5087E75617EB910900C73F5D /* Sources */, + 5087E75C17EB910900C73F5D /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */, + 1AC6FB16180E9959004C840B /* PBXTargetDependency */, + 1AC6FB18180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */, + ); + name = "SampleChangeEquip Mac"; + productName = iphone; + productReference = 5087E76F17EB910900C73F5D /* SampleChangeEquip Mac.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0500; + TargetAttributes = { + 1D6058900D05DD3D006BFB54 = { + DevelopmentTeam = MDDB52YB8L; + }; + }; + }; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleChangeEquip" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = 1AC6FAE6180E9839004C840B /* Products */; + ProjectRef = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + 1D6058900D05DD3D006BFB54 /* SampleChangeEquip iOS */, + 5087E73D17EB910900C73F5D /* SampleChangeEquip Mac */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx Mac.a"; + remoteRef = 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions Mac.a"; + remoteRef = 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk Mac.a"; + remoteRef = 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d Mac.a"; + remoteRef = 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion Mac.a"; + remoteRef = 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings Mac.a"; + remoteRef = 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings Mac.a"; + remoteRef = 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx iOS.a"; + remoteRef = 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions iOS.a"; + remoteRef = 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk iOS.a"; + remoteRef = 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d iOS.a"; + remoteRef = 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion iOS.a"; + remoteRef = 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings iOS.a"; + remoteRef = 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings iOS.a"; + remoteRef = 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXResourcesBuildPhase section */ + 1D60588D0D05DD3D006BFB54 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5087E78117EB970100C73F5D /* Icon-120.png in Resources */, + 5087E78617EB970100C73F5D /* Icon-76.png in Resources */, + 5087E77F17EB970100C73F5D /* Default@2x.png in Resources */, + 15F4AB1618C96C730085F09C /* hd in Resources */, + 50EF629917ECD46A001EB2F8 /* Icon-100.png in Resources */, + 15F4AB1218C96C730085F09C /* bg.jpg in Resources */, + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */, + 15F4AB1818C96C730085F09C /* SampleChangeEquip_UI_1 in Resources */, + 5087E78317EB970100C73F5D /* Icon-152.png in Resources */, + 5087E77D17EB970100C73F5D /* Default-568h@2x.png in Resources */, + 5087E78517EB970100C73F5D /* Icon-72.png in Resources */, + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */, + 50EF62A317ECD613001EB2F8 /* Icon-50.png in Resources */, + 15F4AB1418C96C730085F09C /* fonts in Resources */, + 5087E78017EB970100C73F5D /* Icon-114.png in Resources */, + 15F4AB1E18C96C730085F09C /* SampleChangeEquip_UI0.png in Resources */, + 1AFAF8BE16D35E4900DB1158 /* 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 */, + 15F4AB1018C96C730085F09C /* ArmatureAndEquip in Resources */, + 5087E78417EB970100C73F5D /* Icon-57.png in Resources */, + 5087E77E17EB970100C73F5D /* Default.png in Resources */, + 15F4AB1A18C96C730085F09C /* SampleChangeEquip_UI_1.ExportJson in Resources */, + 15F4AB1C18C96C730085F09C /* SampleChangeEquip_UI0.plist in Resources */, + 50EF629717ECD46A001EB2F8 /* Icon-58.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E74817EB910900C73F5D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15F4AB1D18C96C730085F09C /* SampleChangeEquip_UI0.plist in Resources */, + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */, + 15F4AB1118C96C730085F09C /* ArmatureAndEquip in Resources */, + 503AE0F817EB97AB00D1A890 /* Icon.icns in Resources */, + 15F4AB1518C96C730085F09C /* fonts in Resources */, + 15F4AB1918C96C730085F09C /* SampleChangeEquip_UI_1 in Resources */, + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */, + 15F4AB1318C96C730085F09C /* bg.jpg in Resources */, + 15F4AB1718C96C730085F09C /* hd in Resources */, + 15F4AB1F18C96C730085F09C /* SampleChangeEquip_UI0.png in Resources */, + 15F4AB1B18C96C730085F09C /* SampleChangeEquip_UI_1.ExportJson in Resources */, + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1D60588E0D05DD3D006BFB54 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15F4AB0018C96C5C0085F09C /* Bag.cpp in Sources */, + 503AE10017EB989F00D1A890 /* AppController.mm in Sources */, + 503AE10217EB989F00D1A890 /* RootViewController.mm in Sources */, + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */, + 503AE10117EB989F00D1A890 /* main.m in Sources */, + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75617EB910900C73F5D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */, + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */, + 15F4AB0118C96C5C0085F09C /* Bag.cpp in Sources */, + 503AE10517EB98FF00D1A890 /* main.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1AC6FB16180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx Mac"; + targetProxy = 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB18180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions Mac"; + targetProxy = 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk Mac"; + targetProxy = 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion Mac"; + targetProxy = 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d Mac"; + targetProxy = 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx iOS"; + targetProxy = 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions iOS"; + targetProxy = 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk iOS"; + targetProxy = 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d iOS"; + targetProxy = 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion iOS"; + targetProxy = 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 "SampleChangeEquip iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1D6058940D05DD3E006BFB54 /* Debug */, + 1D6058950D05DD3E006BFB54 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleChangeEquip Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5087E76D17EB910900C73F5D /* Debug */, + 5087E76E17EB910900C73F5D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleChangeEquip" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/SampleChangeEquip/proj.ios_mac/ios/AppController.h b/SampleChangeEquip/proj.ios_mac/ios/AppController.h new file mode 100644 index 0000000..d0940a5 --- /dev/null +++ b/SampleChangeEquip/proj.ios_mac/ios/AppController.h @@ -0,0 +1,11 @@ +#import + +@class RootViewController; + +@interface AppController : NSObject { + UIWindow *window; + RootViewController *viewController; +} + +@end + diff --git a/SampleChangeEquip/proj.ios_mac/ios/AppController.mm b/SampleChangeEquip/proj.ios_mac/ios/AppController.mm new file mode 100644 index 0000000..3ceacda --- /dev/null +++ b/SampleChangeEquip/proj.ios_mac/ios/AppController.mm @@ -0,0 +1,142 @@ +/**************************************************************************** + 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 "CCEAGLView.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 { + + // 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: kEAGLColorFormatRGB565 + depthFormat: GL_DEPTH24_STENCIL8_OES + preserveBackbuffer: NO + sharegroup: nil + multiSampling: NO + numberOfSamples: 0]; + + // 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::GLView::createWithEAGLView(eaglView); + cocos2d::Director::getInstance()->setOpenGLView(glview); + + cocos2d::Application::getInstance()->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/SampleChangeEquip/proj.ios_mac/ios/Default-568h@2x.png b/SampleChangeEquip/proj.ios_mac/ios/Default-568h@2x.png new file mode 100644 index 0000000..66c6d1c Binary files /dev/null and b/SampleChangeEquip/proj.ios_mac/ios/Default-568h@2x.png differ diff --git a/SampleChangeEquip/proj.ios_mac/ios/Default.png b/SampleChangeEquip/proj.ios_mac/ios/Default.png new file mode 100644 index 0000000..dcb8072 Binary files /dev/null and b/SampleChangeEquip/proj.ios_mac/ios/Default.png differ diff --git a/SampleChangeEquip/proj.ios_mac/ios/Default@2x.png b/SampleChangeEquip/proj.ios_mac/ios/Default@2x.png new file mode 100644 index 0000000..8468988 Binary files /dev/null and b/SampleChangeEquip/proj.ios_mac/ios/Default@2x.png differ diff --git a/SampleChangeEquip/proj.ios_mac/ios/Icon-100.png b/SampleChangeEquip/proj.ios_mac/ios/Icon-100.png new file mode 100644 index 0000000..ef38d45 Binary files /dev/null and b/SampleChangeEquip/proj.ios_mac/ios/Icon-100.png differ diff --git a/SampleChangeEquip/proj.ios_mac/ios/Icon-114.png b/SampleChangeEquip/proj.ios_mac/ios/Icon-114.png new file mode 100644 index 0000000..c380786 Binary files /dev/null and b/SampleChangeEquip/proj.ios_mac/ios/Icon-114.png differ diff --git a/SampleChangeEquip/proj.ios_mac/ios/Icon-120.png b/SampleChangeEquip/proj.ios_mac/ios/Icon-120.png new file mode 100644 index 0000000..a5b49cc Binary files /dev/null and b/SampleChangeEquip/proj.ios_mac/ios/Icon-120.png differ diff --git a/SampleChangeEquip/proj.ios_mac/ios/Icon-144.png b/SampleChangeEquip/proj.ios_mac/ios/Icon-144.png new file mode 100644 index 0000000..1526615 Binary files /dev/null and b/SampleChangeEquip/proj.ios_mac/ios/Icon-144.png differ diff --git a/SampleChangeEquip/proj.ios_mac/ios/Icon-152.png b/SampleChangeEquip/proj.ios_mac/ios/Icon-152.png new file mode 100644 index 0000000..8aa8250 Binary files /dev/null and b/SampleChangeEquip/proj.ios_mac/ios/Icon-152.png differ diff --git a/SampleChangeEquip/proj.ios_mac/ios/Icon-29.png b/SampleChangeEquip/proj.ios_mac/ios/Icon-29.png new file mode 100644 index 0000000..0500184 Binary files /dev/null and b/SampleChangeEquip/proj.ios_mac/ios/Icon-29.png differ diff --git a/SampleChangeEquip/proj.ios_mac/ios/Icon-40.png b/SampleChangeEquip/proj.ios_mac/ios/Icon-40.png new file mode 100644 index 0000000..775685d Binary files /dev/null and b/SampleChangeEquip/proj.ios_mac/ios/Icon-40.png differ diff --git a/SampleChangeEquip/proj.ios_mac/ios/Icon-50.png b/SampleChangeEquip/proj.ios_mac/ios/Icon-50.png new file mode 100644 index 0000000..ac381bc Binary files /dev/null and b/SampleChangeEquip/proj.ios_mac/ios/Icon-50.png differ diff --git a/SampleChangeEquip/proj.ios_mac/ios/Icon-57.png b/SampleChangeEquip/proj.ios_mac/ios/Icon-57.png new file mode 100644 index 0000000..4fcc6fd Binary files /dev/null and b/SampleChangeEquip/proj.ios_mac/ios/Icon-57.png differ diff --git a/SampleChangeEquip/proj.ios_mac/ios/Icon-58.png b/SampleChangeEquip/proj.ios_mac/ios/Icon-58.png new file mode 100644 index 0000000..f0f8b7f Binary files /dev/null and b/SampleChangeEquip/proj.ios_mac/ios/Icon-58.png differ diff --git a/SampleChangeEquip/proj.ios_mac/ios/Icon-72.png b/SampleChangeEquip/proj.ios_mac/ios/Icon-72.png new file mode 100644 index 0000000..2c573c8 Binary files /dev/null and b/SampleChangeEquip/proj.ios_mac/ios/Icon-72.png differ diff --git a/SampleChangeEquip/proj.ios_mac/ios/Icon-76.png b/SampleChangeEquip/proj.ios_mac/ios/Icon-76.png new file mode 100644 index 0000000..8a1fa18 Binary files /dev/null and b/SampleChangeEquip/proj.ios_mac/ios/Icon-76.png differ diff --git a/SampleChangeEquip/proj.ios_mac/ios/Icon-80.png b/SampleChangeEquip/proj.ios_mac/ios/Icon-80.png new file mode 100644 index 0000000..d9c7ab4 Binary files /dev/null and b/SampleChangeEquip/proj.ios_mac/ios/Icon-80.png differ diff --git a/SampleChangeEquip/proj.ios_mac/ios/Info.plist b/SampleChangeEquip/proj.ios_mac/ios/Info.plist new file mode 100644 index 0000000..88a89b9 --- /dev/null +++ b/SampleChangeEquip/proj.ios_mac/ios/Info.plist @@ -0,0 +1,70 @@ + + + + + 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.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIAppFonts + + UIPrerenderedIcon + + UISupportedInterfaceOrientations + + UIInterfaceOrientationLandscapeRight + UIInterfaceOrientationLandscapeLeft + + + diff --git a/SampleChangeEquip/proj.ios_mac/ios/Prefix.pch b/SampleChangeEquip/proj.ios_mac/ios/Prefix.pch new file mode 100644 index 0000000..3737d11 --- /dev/null +++ b/SampleChangeEquip/proj.ios_mac/ios/Prefix.pch @@ -0,0 +1,8 @@ +// +// Prefix header for all source files of the 'iphone' target in the 'iphone' project +// + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/SampleChangeEquip/proj.ios_mac/ios/RootViewController.h b/SampleChangeEquip/proj.ios_mac/ios/RootViewController.h new file mode 100644 index 0000000..6cde57f --- /dev/null +++ b/SampleChangeEquip/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/SampleChangeEquip/proj.ios_mac/ios/RootViewController.mm b/SampleChangeEquip/proj.ios_mac/ios/RootViewController.mm new file mode 100644 index 0000000..c500a44 --- /dev/null +++ b/SampleChangeEquip/proj.ios_mac/ios/RootViewController.mm @@ -0,0 +1,108 @@ +/**************************************************************************** + 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 "CCEAGLView.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]; + + cocos2d::GLView *glview = cocos2d::Director::getInstance()->getOpenGLView(); + CCEAGLView *eaglview = (CCEAGLView*) glview->getEAGLView(); + + 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/SampleChangeEquip/proj.ios_mac/ios/main.m b/SampleChangeEquip/proj.ios_mac/ios/main.m new file mode 100644 index 0000000..84158b2 --- /dev/null +++ b/SampleChangeEquip/proj.ios_mac/ios/main.m @@ -0,0 +1,12 @@ +#import + +// Under iOS and the Simulator, we can use an alternate Accelerometer interface +#import "AccelerometerSimulation.h" + +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/SampleChangeEquip/proj.ios_mac/mac/Icon.icns b/SampleChangeEquip/proj.ios_mac/mac/Icon.icns new file mode 100644 index 0000000..2040fc6 Binary files /dev/null and b/SampleChangeEquip/proj.ios_mac/mac/Icon.icns differ diff --git a/SampleChangeEquip/proj.ios_mac/mac/Info.plist b/SampleChangeEquip/proj.ios_mac/mac/Info.plist new file mode 100644 index 0000000..df93f67 --- /dev/null +++ b/SampleChangeEquip/proj.ios_mac/mac/Info.plist @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + Icon + CFBundleIdentifier + org.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + 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/SampleChangeEquip/proj.ios_mac/mac/Prefix.pch b/SampleChangeEquip/proj.ios_mac/mac/Prefix.pch new file mode 100644 index 0000000..96d93ae --- /dev/null +++ b/SampleChangeEquip/proj.ios_mac/mac/Prefix.pch @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'Paralaxer' target in the 'Paralaxer' project +// + +#ifdef __OBJC__ + #import +#endif diff --git a/SampleChangeEquip/proj.ios_mac/mac/main.cpp b/SampleChangeEquip/proj.ios_mac/mac/main.cpp new file mode 100644 index 0000000..f0b87fb --- /dev/null +++ b/SampleChangeEquip/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(); +} diff --git a/SampleChangeEquip/proj.linux/main.cpp b/SampleChangeEquip/proj.linux/main.cpp new file mode 100644 index 0000000..7742def --- /dev/null +++ b/SampleChangeEquip/proj.linux/main.cpp @@ -0,0 +1,15 @@ +#include "../Classes/AppDelegate.h" + +#include +#include +#include +#include + +USING_NS_CC; + +int main(int argc, char **argv) +{ + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleChangeEquip/proj.win32/SampleChangeEquip.sln b/SampleChangeEquip/proj.win32/SampleChangeEquip.sln new file mode 100644 index 0000000..70ea191 --- /dev/null +++ b/SampleChangeEquip/proj.win32/SampleChangeEquip.sln @@ -0,0 +1,61 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleChangeEquip", "SampleChangeEquip.vcxproj", "{76A39BB2-9B84-4C65-98A5-654D86B86F2A}" + ProjectSection(ProjectDependencies) = postProject + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\cocos2d\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\cocos2d\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\cocos2d\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosStudio", "..\cocos2d\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libGUI", "..\cocos2d\cocos\gui\proj.win32\libGUI.vcxproj", "{7E06E92C-537A-442B-9E4A-4761C84F8A1A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libExtensions", "..\cocos2d\extensions\proj.win32\libExtensions.vcxproj", "{21B2C324-891F-48EA-AD1A-5AE13DE12E28}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.ActiveCfg = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.Build.0 = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.ActiveCfg = Release|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.Build.0 = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.ActiveCfg = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.Build.0 = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.ActiveCfg = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.Build.0 = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.ActiveCfg = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.Build.0 = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.ActiveCfg = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.Build.0 = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.ActiveCfg = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.Build.0 = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.ActiveCfg = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.Build.0 = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.ActiveCfg = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.Build.0 = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.ActiveCfg = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.Build.0 = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.ActiveCfg = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.Build.0 = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.ActiveCfg = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.Build.0 = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.ActiveCfg = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.Build.0 = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.ActiveCfg = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SampleChangeEquip/proj.win32/SampleChangeEquip.vcxproj b/SampleChangeEquip/proj.win32/SampleChangeEquip.vcxproj new file mode 100644 index 0000000..61d7e50 --- /dev/null +++ b/SampleChangeEquip/proj.win32/SampleChangeEquip.vcxproj @@ -0,0 +1,174 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {76A39BB2-9B84-4C65-98A5-654D86B86F2A} + test_win32 + Win32Proj + + + + Application + Unicode + true + v100 + v110 + v110_xp + + + Application + Unicode + v100 + v110 + v110_xp + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + true + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + false + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;$(EngineRoot)cocos\editor-support;$(EngineRoot)cocos\2d;$(EngineRoot)cocos\2d\renderer;$(EngineRoot)cocos\gui;$(EngineRoot)cocos\base;$(EngineRoot)cocos\physics;$(EngineRoot)cocos\;$(EngineRoot);%(AdditionalIncludeDirectories); + WIN32;_DEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + EditAndContinue + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + MaxSpeed + true + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + ProgramDatabase + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + libcurl_imp.lib;websockets.lib;%(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + true + true + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + + + + + + + + + + + + + {98a51ba8-fc3a-415b-ac8f-8c7bd464e93e} + false + + + {f8edd7fa-9a51-4e80-baeb-860825d2eac6} + + + {b57cf53f-2e49-4031-9822-047cc0e6bde2} + + + {7e06e92c-537a-442b-9e4a-4761c84f8a1a} + + + {21b2c324-891f-48ea-ad1a-5ae13de12e28} + + + {207bc7a9-ccf1-4f2f-a04d-45f72242ae25} + + + + + + + + + \ No newline at end of file diff --git a/SampleChangeEquip/proj.win32/SampleChangeEquip.vcxproj.filters b/SampleChangeEquip/proj.win32/SampleChangeEquip.vcxproj.filters new file mode 100644 index 0000000..0029562 --- /dev/null +++ b/SampleChangeEquip/proj.win32/SampleChangeEquip.vcxproj.filters @@ -0,0 +1,47 @@ + + + + + {84a8ebd7-7cf0-47f6-b75e-d441df67da40} + + + {bb6c862e-70e9-49d9-81b7-3829a6f50471} + + + {715254bc-d70b-4ec5-bf29-467dd3ace079} + + + + + win32 + + + Classes + + + Classes + + + Classes + + + + + win32 + + + Classes + + + Classes + + + Classes + + + + + resource + + + \ No newline at end of file diff --git a/SampleChangeEquip/proj.win32/SampleChangeEquip.vcxproj.user b/SampleChangeEquip/proj.win32/SampleChangeEquip.vcxproj.user new file mode 100644 index 0000000..314a27a --- /dev/null +++ b/SampleChangeEquip/proj.win32/SampleChangeEquip.vcxproj.user @@ -0,0 +1,11 @@ + + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + \ No newline at end of file diff --git a/SampleChangeEquip/proj.win32/game.rc b/SampleChangeEquip/proj.win32/game.rc new file mode 100644 index 0000000..09d7d99 --- /dev/null +++ b/SampleChangeEquip/proj.win32/game.rc @@ -0,0 +1,86 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +#undef APSTUDIO_HIDDEN_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +GLFW_ICON ICON "res\\game.ico" + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,1 + PRODUCTVERSION 1,0,0,1 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904B0" + BEGIN + VALUE "CompanyName", "\0" + VALUE "FileDescription", "game Module\0" + VALUE "FileVersion", "1, 0, 0, 1\0" + VALUE "InternalName", "game\0" + VALUE "LegalCopyright", "Copyright \0" + VALUE "OriginalFilename", "game.exe\0" + VALUE "ProductName", "game Module\0" + VALUE "ProductVersion", "1, 0, 0, 1\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0409, 0x04B0 + END +END + +///////////////////////////////////////////////////////////////////////////// +#endif // !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) diff --git a/SampleChangeEquip/proj.win32/main.cpp b/SampleChangeEquip/proj.win32/main.cpp new file mode 100644 index 0000000..4ef499e --- /dev/null +++ b/SampleChangeEquip/proj.win32/main.cpp @@ -0,0 +1,18 @@ +#include "main.h" +#include "AppDelegate.h" +#include "cocos2d.h" + +USING_NS_CC; + +int APIENTRY _tWinMain(HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPTSTR lpCmdLine, + int nCmdShow) +{ + UNREFERENCED_PARAMETER(hPrevInstance); + UNREFERENCED_PARAMETER(lpCmdLine); + + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleChangeEquip/proj.win32/main.h b/SampleChangeEquip/proj.win32/main.h new file mode 100644 index 0000000..e4d2aa3 --- /dev/null +++ b/SampleChangeEquip/proj.win32/main.h @@ -0,0 +1,13 @@ +#ifndef __MAIN_H__ +#define __MAIN_H__ + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers + +// Windows Header Files: +#include +#include + +// C RunTime Header Files +#include "CCStdC.h" + +#endif // __MAIN_H__ diff --git a/SampleChangeEquip/proj.win32/res/game.ico b/SampleChangeEquip/proj.win32/res/game.ico new file mode 100644 index 0000000..feaf932 Binary files /dev/null and b/SampleChangeEquip/proj.win32/res/game.ico differ diff --git a/SampleChangeEquip/proj.win32/resource.h b/SampleChangeEquip/proj.win32/resource.h new file mode 100644 index 0000000..ecde7ef --- /dev/null +++ b/SampleChangeEquip/proj.win32/resource.h @@ -0,0 +1,20 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by game.RC +// + +#define IDS_PROJNAME 100 +#define IDR_TESTJS 100 + +#define ID_FILE_NEW_WINDOW 32771 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 201 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 32775 +#endif +#endif diff --git a/SampleFlashImport/CMakeLists.txt b/SampleFlashImport/CMakeLists.txt new file mode 100644 index 0000000..82a8f20 --- /dev/null +++ b/SampleFlashImport/CMakeLists.txt @@ -0,0 +1,169 @@ +cmake_minimum_required(VERSION 2.6) + +set(APP_NAME MyGame) +project (${APP_NAME}) + +include(cocos2d/build/BuildHelpers.CMakeLists.txt) + +option(USE_CHIPMUNK "Use chipmunk for physics library" ON) +option(USE_BOX2D "Use box2d for physics library" OFF) +option(DEBUG_MODE "Debug or release?" ON) + +if(DEBUG_MODE) + set(CMAKE_BUILD_TYPE DEBUG) +else(DEBUG_MODE) + set(CMAKE_BUILD_TYPE RELEASE) +endif(DEBUG_MODE) + +set(CMAKE_C_FLAGS_DEBUG "-g -Wall -DCOCOS2D_DEBUG=1") +set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) + +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + +if(USE_CHIPMUNK) + message("Using chipmunk ...") + add_definitions(-DLINUX -DCC_ENABLE_CHIPMUNK_INTEGRATION=1) +elseif(USE_BOX2D) + message("Using box2d ...") + add_definitions(-DLINUX -DCC_ENABLE_BOX2D_INTEGRATION=1) +else(USE_CHIPMUNK) + message(FATAL_ERROR "Must choose a physics library.") +endif(USE_CHIPMUNK) + +# architecture +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(ARCH_DIR "64-bit") +else() +set(ARCH_DIR "32-bit") +endif() + + +set(GAME_SRC + proj.linux/main.cpp + Classes/AppDelegate.cpp + Classes/HelloWorldScene.cpp +) + +set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/cocos2d) + +include_directories( + /usr/local/include/GLFW + ${COCOS2D_ROOT} + ${COCOS2D_ROOT}/cocos + ${COCOS2D_ROOT}/cocos/audio/include + ${COCOS2D_ROOT}/cocos/2d + ${COCOS2D_ROOT}/cocos/2d/renderer + ${COCOS2D_ROOT}/cocos/2d/platform + ${COCOS2D_ROOT}/cocos/2d/platform/desktop + ${COCOS2D_ROOT}/cocos/2d/platform/linux + ${COCOS2D_ROOT}/cocos/base + ${COCOS2D_ROOT}/cocos/physics + ${COCOS2D_ROOT}/cocos/editor-support + ${COCOS2D_ROOT}/cocos/math/kazmath/include + ${COCOS2D_ROOT}/extensions + ${COCOS2D_ROOT}/external + ${COCOS2D_ROOT}/external/edtaa3func + ${COCOS2D_ROOT}/external/jpeg/include/linux + ${COCOS2D_ROOT}/external/tiff/include/linux + ${COCOS2D_ROOT}/external/webp/include/linux + ${COCOS2D_ROOT}/external/tinyxml2 + ${COCOS2D_ROOT}/external/unzip + ${COCOS2D_ROOT}/external/chipmunk/include/chipmunk + ${COCOS2D_ROOT}/external/freetype2/include/linux + ${COCOS2D_ROOT}/external/websockets/include/linux + ${COCOS2D_ROOT}/external/spidermonkey/include/linux + ${COCOS2D_ROOT}/external/linux-specific/fmod/include/${ARCH_DIR} +) + +link_directories( + /usr/local/lib + ${COCOS2D_ROOT}/external/jpeg/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/tiff/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/webp/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/freetype2/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/websockets/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/spidermonkey/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/linux-specific/fmod/prebuilt/${ARCH_DIR} +) + +# kazmath +add_subdirectory(${COCOS2D_ROOT}/cocos/math/kazmath) + +# chipmunk library +add_subdirectory(${COCOS2D_ROOT}/external/chipmunk/src) + +# box2d library +add_subdirectory(${COCOS2D_ROOT}/external/Box2D) + +# unzip library +add_subdirectory(${COCOS2D_ROOT}/external/unzip) + +# tinyxml2 library +add_subdirectory(${COCOS2D_ROOT}/external/tinyxml2) + +# audio +add_subdirectory(${COCOS2D_ROOT}/cocos/audio) + +# cocos base library +add_subdirectory(${COCOS2D_ROOT}/cocos/base) + +# cocos 2d library +add_subdirectory(${COCOS2D_ROOT}/cocos/2d) + +# cocos storage +add_subdirectory(${COCOS2D_ROOT}/cocos/storage) + +# gui +add_subdirectory(${COCOS2D_ROOT}/cocos/gui) + +# network +add_subdirectory(${COCOS2D_ROOT}/cocos/network) + +# extensions +add_subdirectory(${COCOS2D_ROOT}/extensions) + +## Editor Support + +# spine +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/spine) + +# cocosbuilder +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocosbuilder) + +# cocostudio +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocostudio) + +# add the executable +add_executable(${APP_NAME} + ${GAME_SRC} +) + +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(FMOD_LIB "fmodex64") +else() +set(FMOD_LIB "fmodex") +endif() + +target_link_libraries(${APP_NAME} + gui + network + storage + spine + cocostudio + cocosbuilder + extensions + audio + cocos2d + ) + +set(APP_BIN_DIR "${CMAKE_BINARY_DIR}/bin") + +set_target_properties(${APP_NAME} PROPERTIES + RUNTIME_OUTPUT_DIRECTORY "${APP_BIN_DIR}") + +pre_build(${APP_NAME} + COMMAND ${CMAKE_COMMAND} -E remove_directory ${APP_BIN_DIR}/Resources + COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/Resources ${APP_BIN_DIR}/Resources + ) + diff --git a/SampleFlashImport/Classes/AppDelegate.cpp b/SampleFlashImport/Classes/AppDelegate.cpp new file mode 100644 index 0000000..5347964 --- /dev/null +++ b/SampleFlashImport/Classes/AppDelegate.cpp @@ -0,0 +1,52 @@ +#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 = GLView::create("My Game"); + director->setOpenGLView(glview); + } + + // turn on display FPS + director->setDisplayStats(true); + + // 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::sharedEngine()->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::sharedEngine()->resumeBackgroundMusic(); +} diff --git a/SampleFlashImport/Classes/AppDelegate.h b/SampleFlashImport/Classes/AppDelegate.h new file mode 100644 index 0000000..01cbb7c --- /dev/null +++ b/SampleFlashImport/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/SampleFlashImport/Classes/HelloWorldScene.cpp b/SampleFlashImport/Classes/HelloWorldScene.cpp new file mode 100644 index 0000000..c4e4d5c --- /dev/null +++ b/SampleFlashImport/Classes/HelloWorldScene.cpp @@ -0,0 +1,108 @@ +#include "HelloWorldScene.h" + +USING_NS_CC; + +Scene* HelloWorld::createScene() +{ + // 'scene' is an autorelease object + 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; + } + CCSize visibleSize = CCDirector::sharedDirector()->getVisibleSize(); + CCPoint origin = CCDirector::sharedDirector()->getVisibleOrigin(); + + ///////////////////////////// + // 2. add a menu item with "X" image, which is clicked to quit the program + // you may modify it. + + // add a "close" icon to exit the progress. it's an autorelease object + CCMenuItemImage *pCloseItem = CCMenuItemImage::create( + "CloseNormal.png", + "CloseSelected.png", + this, + menu_selector(HelloWorld::menuCloseCallback)); + + pCloseItem->setPosition(ccp(origin.x + visibleSize.width - pCloseItem->getContentSize().width/2 , + origin.y + pCloseItem->getContentSize().height/2)); + + // create menu, it's an autorelease object + CCMenu* pMenu = CCMenu::create(pCloseItem, NULL); + pMenu->setPosition(CCPointZero); + this->addChild(pMenu, 1); + + ///////////////////////////// + // init info + setTouchEnabled(true); + countTauren = 0; + countHero = 0; + //load armature data + CCArmatureDataManager::sharedArmatureDataManager()->addArmatureFileInfo("tauren.png","tauren.plist","tauren.xml"); + CCArmatureDataManager::sharedArmatureDataManager()->addArmatureFileInfo("girl.png","girl.plist","girl.xml"); + //createa tauren flash armature + tauren = CCArmature::create("tauren"); + tauren->setPosition(ccp(visibleSize.width * 0.7,visibleSize.height * 0.5)); + tauren->getAnimation()->playByIndex(0); + tauren->setScale(0.7); + this->addChild(tauren,1); + //create hero flash armature + hero = CCArmature::create("girl"); + hero->setPosition(ccp(visibleSize.width * 0.3,visibleSize.height * 0.5)); + hero->getAnimation()->playByIndex(0); + this->addChild(hero,1); + + + // create and initialize a label + CCLabelTTF* pLabel = CCLabelTTF::create("Touch Screen to Change Animation", "Arial", 30); + + // position the label on the center of the screen + pLabel->setPosition(ccp(origin.x + visibleSize.width*0.5, + origin.y + visibleSize.height * 0.1)); + this->addChild(pLabel,0); + + // touch event added + auto listener = EventListenerTouchOneByOne::create(); + listener->onTouchBegan = CC_CALLBACK_2(HelloWorld::onTouchBegan, this); + _eventDispatcher->addEventListenerWithSceneGraphPriority(listener,this ); + + return true; +} + +bool HelloWorld::onTouchBegan(CCTouch *pTouch, CCEvent *pEvent) +{ + //change animation index + countTauren++; + countTauren = countTauren % tauren->getAnimation()->getMovementCount(); + countHero++; + countHero = countHero % hero->getAnimation()->getMovementCount(); + //set change to armature + tauren->getAnimation()->playByIndex(countTauren); + hero->getAnimation()->playByIndex(countHero); + return false; +} + +void HelloWorld::menuCloseCallback(Ref* pSender) +{ + Director::getInstance()->end(); + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + exit(0); +#endif +} diff --git a/SampleFlashImport/Classes/HelloWorldScene.h b/SampleFlashImport/Classes/HelloWorldScene.h new file mode 100644 index 0000000..d674df4 --- /dev/null +++ b/SampleFlashImport/Classes/HelloWorldScene.h @@ -0,0 +1,30 @@ +#ifndef __HELLOWORLD_SCENE_H__ +#define __HELLOWORLD_SCENE_H__ + +#include "cocos2d.h" +#include "cocostudio/CocoStudio.h" + +using namespace cocostudio; + +class HelloWorld : public cocos2d::Layer +{ +public: + // there's no 'id' in cpp, so we recommend returning the class instance pointer + static cocos2d::Scene* createScene(); + bool onTouchBegan(cocos2d::CCTouch *pTouch, cocos2d::CCEvent *pEvent); + // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone + virtual bool init(); + + // a selector callback + void menuCloseCallback(cocos2d::Ref* pSender); + + // implement the "static create()" method manually + CREATE_FUNC(HelloWorld); +private: + Armature* tauren; + Armature* hero; + int countTauren; + int countHero; +}; + +#endif // __HELLOWORLD_SCENE_H__ diff --git a/SampleFlashImport/Resources/CloseNormal.png b/SampleFlashImport/Resources/CloseNormal.png new file mode 100644 index 0000000..5657a13 Binary files /dev/null and b/SampleFlashImport/Resources/CloseNormal.png differ diff --git a/SampleFlashImport/Resources/CloseSelected.png b/SampleFlashImport/Resources/CloseSelected.png new file mode 100644 index 0000000..e4c82da Binary files /dev/null and b/SampleFlashImport/Resources/CloseSelected.png differ diff --git a/SampleFlashImport/Resources/HelloWorld.png b/SampleFlashImport/Resources/HelloWorld.png new file mode 100644 index 0000000..5fe89fb Binary files /dev/null and b/SampleFlashImport/Resources/HelloWorld.png differ diff --git a/SampleFlashImport/Resources/fonts/Marker Felt.ttf b/SampleFlashImport/Resources/fonts/Marker Felt.ttf new file mode 100644 index 0000000..3752ef3 Binary files /dev/null and b/SampleFlashImport/Resources/fonts/Marker Felt.ttf differ diff --git a/SampleFlashImport/Resources/girl.plist b/SampleFlashImport/Resources/girl.plist new file mode 100644 index 0000000..fea837e --- /dev/null +++ b/SampleFlashImport/Resources/girl.plist @@ -0,0 +1,204 @@ + + + + + frames + + girl_cell-effect_1.png + + frame + {{2,2},{202,109}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{202,109}} + sourceSize + {202,109} + + girl_cell-effect_2.png + + frame + {{2,113},{83,194}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{83,194}} + sourceSize + {83,194} + + girl_cell-effect_3.png + + frame + {{180,231},{69,122}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{69,122}} + sourceSize + {69,122} + + girl_cell-girl_arm_left.png + + frame + {{141,333},{22,33}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{22,33}} + sourceSize + {22,33} + + girl_cell-girl_arm_right.png + + frame + {{141,301},{30,37}} + offset + {-1,1} + rotated + + sourceColorRect + {{1,1},{30,37}} + sourceSize + {34,41} + + girl_cell-girl_arms.png + + frame + {{2,198},{176,101}} + offset + {-3,-3} + rotated + + sourceColorRect + {{3,21},{176,101}} + sourceSize + {188,137} + + girl_cell-girl_body.png + + frame + {{198,169},{54,60}} + offset + {0,0} + rotated + + sourceColorRect + {{1,0},{54,60}} + sourceSize + {56,60} + + girl_cell-girl_foot_left.png + + frame + {{2,301},{51,43}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{51,43}} + sourceSize + {51,43} + + girl_cell-girl_foot_right.png + + frame + {{198,118},{55,49}} + offset + {-1,0} + rotated + + sourceColorRect + {{1,0},{55,49}} + sourceSize + {59,49} + + girl_cell-girl_hand_left.png + + frame + {{98,301},{39,41}} + offset + {0,-2} + rotated + + sourceColorRect + {{2,5},{39,41}} + sourceSize + {43,47} + + girl_cell-girl_hand_right.png + + frame + {{47,301},{49,49}} + offset + {3,3} + rotated + + sourceColorRect + {{9,1},{49,49}} + sourceSize + {61,57} + + girl_cell-girl_head.png + + frame + {{2,355},{66,66}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{66,66}} + sourceSize + {66,66} + + girl_cell-girl_leg_left.png + + frame + {{206,59},{46,57}} + offset + {3,1} + rotated + + sourceColorRect + {{10,4},{46,57}} + sourceSize + {60,67} + + girl_cell-girl_leg_right.png + + frame + {{206,2},{48,55}} + offset + {0,0} + rotated + + sourceColorRect + {{0,1},{48,55}} + sourceSize + {48,57} + + + metadata + + format + 2 + realTextureFileName + girl.png + size + {256,512} + smartupdate + $TexturePacker:SmartUpdate:82dc60f96aad75cbf3063eac7bd752f1$ + textureFileName + girl.png + + + diff --git a/SampleFlashImport/Resources/girl.png b/SampleFlashImport/Resources/girl.png new file mode 100644 index 0000000..c468c8f Binary files /dev/null and b/SampleFlashImport/Resources/girl.png differ diff --git a/SampleFlashImport/Resources/girl.xml b/SampleFlashImport/Resources/girl.xml new file mode 100644 index 0000000..fe39b14 --- /dev/null +++ b/SampleFlashImport/Resources/girl.xml @@ -0,0 +1,547 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SampleFlashImport/Resources/tauren.plist b/SampleFlashImport/Resources/tauren.plist new file mode 100644 index 0000000..1ed5e68 --- /dev/null +++ b/SampleFlashImport/Resources/tauren.plist @@ -0,0 +1,217 @@ + + + + + frames + + girl_cell-tauren_effect_1.png + + frame + {{2,264},{202,109}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{202,109}} + sourceSize + {202,109} + + girl_cell-tauren_effect_2.png + + frame + {{102,2},{83,194}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{83,194}} + sourceSize + {83,194} + + girl_cell-tauren_effect_3.png + + frame + {{113,264},{69,122}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{69,122}} + sourceSize + {69,122} + + tauren_cell-arm_left.png + + frame + {{187,128},{51,58}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{51,58}} + sourceSize + {51,58} + + tauren_cell-arm_right.png + + frame + {{197,188},{58,50}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{58,50}} + sourceSize + {58,50} + + tauren_cell-armor.png + + frame + {{279,2},{82,80}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{82,80}} + sourceSize + {82,80} + + tauren_cell-ax.png + + frame + {{2,2},{98,260}} + offset + {-3,1} + rotated + + sourceColorRect + {{6,2},{98,260}} + sourceSize + {116,266} + + tauren_cell-body.png + + frame + {{187,2},{90,124}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{90,124}} + sourceSize + {90,124} + + tauren_cell-foot_left.png + + frame + {{61,468},{58,36}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{58,36}} + sourceSize + {58,36} + + tauren_cell-foot_right.png + + frame + {{2,468},{57,39}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{57,39}} + sourceSize + {57,39} + + tauren_cell-hand_left.png + + frame + {{240,128},{54,83}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{54,83}} + sourceSize + {54,83} + + tauren_cell-hand_right.png + + frame + {{113,388},{76,51}} + offset + {-2,-2} + rotated + + sourceColorRect + {{2,8},{76,51}} + sourceSize + {84,63} + + tauren_cell-head.png + + frame + {{102,198},{93,64}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{93,64}} + sourceSize + {93,64} + + tauren_cell-leg_left.png + + frame + {{184,264},{86,83}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{86,83}} + sourceSize + {86,83} + + tauren_cell-leg_right.png + + frame + {{166,388},{86,83}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{86,83}} + sourceSize + {86,83} + + + metadata + + format + 2 + realTextureFileName + tauren.png + size + {512,512} + smartupdate + $TexturePacker:SmartUpdate:ef5ba36bc957e962c1001821f6434242$ + textureFileName + tauren.png + + + diff --git a/SampleFlashImport/Resources/tauren.png b/SampleFlashImport/Resources/tauren.png new file mode 100644 index 0000000..48374b4 Binary files /dev/null and b/SampleFlashImport/Resources/tauren.png differ diff --git a/SampleFlashImport/Resources/tauren.xml b/SampleFlashImport/Resources/tauren.xml new file mode 100644 index 0000000..11e7180 --- /dev/null +++ b/SampleFlashImport/Resources/tauren.xml @@ -0,0 +1,608 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SampleFlashImport/SampleFlashImport_Editor/SampleFlashImport.png b/SampleFlashImport/SampleFlashImport_Editor/SampleFlashImport.png new file mode 100644 index 0000000..8582a8b Binary files /dev/null and b/SampleFlashImport/SampleFlashImport_Editor/SampleFlashImport.png differ diff --git a/SampleFlashImport/SampleFlashImport_Editor/girl_output/girl.plist b/SampleFlashImport/SampleFlashImport_Editor/girl_output/girl.plist new file mode 100644 index 0000000..fea837e --- /dev/null +++ b/SampleFlashImport/SampleFlashImport_Editor/girl_output/girl.plist @@ -0,0 +1,204 @@ + + + + + frames + + girl_cell-effect_1.png + + frame + {{2,2},{202,109}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{202,109}} + sourceSize + {202,109} + + girl_cell-effect_2.png + + frame + {{2,113},{83,194}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{83,194}} + sourceSize + {83,194} + + girl_cell-effect_3.png + + frame + {{180,231},{69,122}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{69,122}} + sourceSize + {69,122} + + girl_cell-girl_arm_left.png + + frame + {{141,333},{22,33}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{22,33}} + sourceSize + {22,33} + + girl_cell-girl_arm_right.png + + frame + {{141,301},{30,37}} + offset + {-1,1} + rotated + + sourceColorRect + {{1,1},{30,37}} + sourceSize + {34,41} + + girl_cell-girl_arms.png + + frame + {{2,198},{176,101}} + offset + {-3,-3} + rotated + + sourceColorRect + {{3,21},{176,101}} + sourceSize + {188,137} + + girl_cell-girl_body.png + + frame + {{198,169},{54,60}} + offset + {0,0} + rotated + + sourceColorRect + {{1,0},{54,60}} + sourceSize + {56,60} + + girl_cell-girl_foot_left.png + + frame + {{2,301},{51,43}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{51,43}} + sourceSize + {51,43} + + girl_cell-girl_foot_right.png + + frame + {{198,118},{55,49}} + offset + {-1,0} + rotated + + sourceColorRect + {{1,0},{55,49}} + sourceSize + {59,49} + + girl_cell-girl_hand_left.png + + frame + {{98,301},{39,41}} + offset + {0,-2} + rotated + + sourceColorRect + {{2,5},{39,41}} + sourceSize + {43,47} + + girl_cell-girl_hand_right.png + + frame + {{47,301},{49,49}} + offset + {3,3} + rotated + + sourceColorRect + {{9,1},{49,49}} + sourceSize + {61,57} + + girl_cell-girl_head.png + + frame + {{2,355},{66,66}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{66,66}} + sourceSize + {66,66} + + girl_cell-girl_leg_left.png + + frame + {{206,59},{46,57}} + offset + {3,1} + rotated + + sourceColorRect + {{10,4},{46,57}} + sourceSize + {60,67} + + girl_cell-girl_leg_right.png + + frame + {{206,2},{48,55}} + offset + {0,0} + rotated + + sourceColorRect + {{0,1},{48,55}} + sourceSize + {48,57} + + + metadata + + format + 2 + realTextureFileName + girl.png + size + {256,512} + smartupdate + $TexturePacker:SmartUpdate:82dc60f96aad75cbf3063eac7bd752f1$ + textureFileName + girl.png + + + diff --git a/SampleFlashImport/SampleFlashImport_Editor/girl_output/girl.png b/SampleFlashImport/SampleFlashImport_Editor/girl_output/girl.png new file mode 100644 index 0000000..c468c8f Binary files /dev/null and b/SampleFlashImport/SampleFlashImport_Editor/girl_output/girl.png differ diff --git a/SampleFlashImport/SampleFlashImport_Editor/girl_output/girl.xml b/SampleFlashImport/SampleFlashImport_Editor/girl_output/girl.xml new file mode 100644 index 0000000..fe39b14 --- /dev/null +++ b/SampleFlashImport/SampleFlashImport_Editor/girl_output/girl.xml @@ -0,0 +1,547 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SampleFlashImport/SampleFlashImport_Editor/tauren_output/tauren.plist b/SampleFlashImport/SampleFlashImport_Editor/tauren_output/tauren.plist new file mode 100644 index 0000000..1ed5e68 --- /dev/null +++ b/SampleFlashImport/SampleFlashImport_Editor/tauren_output/tauren.plist @@ -0,0 +1,217 @@ + + + + + frames + + girl_cell-tauren_effect_1.png + + frame + {{2,264},{202,109}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{202,109}} + sourceSize + {202,109} + + girl_cell-tauren_effect_2.png + + frame + {{102,2},{83,194}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{83,194}} + sourceSize + {83,194} + + girl_cell-tauren_effect_3.png + + frame + {{113,264},{69,122}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{69,122}} + sourceSize + {69,122} + + tauren_cell-arm_left.png + + frame + {{187,128},{51,58}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{51,58}} + sourceSize + {51,58} + + tauren_cell-arm_right.png + + frame + {{197,188},{58,50}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{58,50}} + sourceSize + {58,50} + + tauren_cell-armor.png + + frame + {{279,2},{82,80}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{82,80}} + sourceSize + {82,80} + + tauren_cell-ax.png + + frame + {{2,2},{98,260}} + offset + {-3,1} + rotated + + sourceColorRect + {{6,2},{98,260}} + sourceSize + {116,266} + + tauren_cell-body.png + + frame + {{187,2},{90,124}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{90,124}} + sourceSize + {90,124} + + tauren_cell-foot_left.png + + frame + {{61,468},{58,36}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{58,36}} + sourceSize + {58,36} + + tauren_cell-foot_right.png + + frame + {{2,468},{57,39}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{57,39}} + sourceSize + {57,39} + + tauren_cell-hand_left.png + + frame + {{240,128},{54,83}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{54,83}} + sourceSize + {54,83} + + tauren_cell-hand_right.png + + frame + {{113,388},{76,51}} + offset + {-2,-2} + rotated + + sourceColorRect + {{2,8},{76,51}} + sourceSize + {84,63} + + tauren_cell-head.png + + frame + {{102,198},{93,64}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{93,64}} + sourceSize + {93,64} + + tauren_cell-leg_left.png + + frame + {{184,264},{86,83}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{86,83}} + sourceSize + {86,83} + + tauren_cell-leg_right.png + + frame + {{166,388},{86,83}} + offset + {0,0} + rotated + + sourceColorRect + {{0,0},{86,83}} + sourceSize + {86,83} + + + metadata + + format + 2 + realTextureFileName + tauren.png + size + {512,512} + smartupdate + $TexturePacker:SmartUpdate:ef5ba36bc957e962c1001821f6434242$ + textureFileName + tauren.png + + + diff --git a/SampleFlashImport/SampleFlashImport_Editor/tauren_output/tauren.png b/SampleFlashImport/SampleFlashImport_Editor/tauren_output/tauren.png new file mode 100644 index 0000000..06735da Binary files /dev/null and b/SampleFlashImport/SampleFlashImport_Editor/tauren_output/tauren.png differ diff --git a/SampleFlashImport/SampleFlashImport_Editor/tauren_output/tauren.xml b/SampleFlashImport/SampleFlashImport_Editor/tauren_output/tauren.xml new file mode 100644 index 0000000..11e7180 --- /dev/null +++ b/SampleFlashImport/SampleFlashImport_Editor/tauren_output/tauren.xml @@ -0,0 +1,608 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SampleFlashImport/cocos2d/readme b/SampleFlashImport/cocos2d/readme new file mode 100644 index 0000000..00bfca5 --- /dev/null +++ b/SampleFlashImport/cocos2d/readme @@ -0,0 +1 @@ +put cocos2d here what in a project created by create_project.py \ No newline at end of file diff --git a/SampleFlashImport/proj.android/.classpath b/SampleFlashImport/proj.android/.classpath new file mode 100644 index 0000000..5176974 --- /dev/null +++ b/SampleFlashImport/proj.android/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/SampleFlashImport/proj.android/.project b/SampleFlashImport/proj.android/.project new file mode 100644 index 0000000..60bb025 --- /dev/null +++ b/SampleFlashImport/proj.android/.project @@ -0,0 +1,65 @@ + + + SampleFlashImport + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + Classes + 2 + COCOS2DX/projects/SampleFlashImport/Classes + + + cocos2dx + 2 + COCOS2DX/cocos2dx + + + extensions + 2 + COCOS2DX/extensions + + + scripting + 2 + COCOS2DX/scripting + + + diff --git a/SampleFlashImport/proj.android/AndroidManifest.xml b/SampleFlashImport/proj.android/AndroidManifest.xml new file mode 100644 index 0000000..dd353d4 --- /dev/null +++ b/SampleFlashImport/proj.android/AndroidManifest.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleFlashImport/proj.android/README.md b/SampleFlashImport/proj.android/README.md new file mode 100644 index 0000000..aefa86b --- /dev/null +++ b/SampleFlashImport/proj.android/README.md @@ -0,0 +1,87 @@ +## Prerequisites: + +* Android NDK +* Android SDK **OR** Eclipse ADT Bundle +* Android AVD target installed + +## Building project + +There are two ways of building Android projects. + +1. Eclipse +2. Command Line + +### Import Project in Eclipse + +#### Features: + +1. Complete workflow from Eclipse, including: + * Build C++. + * Clean C++. + * Build and Run whole project. + * Logcat view. + * Debug Java code. + * Javascript editor. + * Project management. +2. True C++ editing, including: + * Code completion. + * Jump to definition. + * Refactoring tools etc. + * Quick open C++ files. + + +#### Setup Eclipse Environment (only once) + + +**NOTE:** This step needs to be done only once to setup the Eclipse environment for cocos2d-x projects. Skip this section if you've done this before. + +1. Download Eclipse ADT bundle from [Google ADT homepage](http://developer.android.com/sdk/index.html) + + **OR** + + Install Eclipse with Java. Add ADT and CDT plugins. + +2. Only for Windows + 1. Install [Cygwin](http://www.cygwin.com/) with make (select make package from the list during the install). + 2. Add `Cygwin\bin` directory to system PATH variable. + 3. Add this line `none /cygdrive cygdrive binary,noacl,posix=0,user 0 0` to `Cygwin\etc\fstab` file. + +3. Set up Variables: + 1. Path Variable `COCOS2DX`: + * Eclipse->Preferences->General->Workspace->**Linked Resources** + * Click **New** button to add a Path Variable `COCOS2DX` pointing to the root cocos2d-x directory. + ![Example](https://lh5.googleusercontent.com/-oPpk9kg3e5w/UUOYlq8n7aI/AAAAAAAAsdQ/zLA4eghBH9U/s400/cocos2d-x-eclipse-vars.png) + + 2. C/C++ Environment Variable `NDK_ROOT`: + * Eclipse->Preferences->C/C++->Build->**Environment**. + * Click **Add** button and add a new variable `NDK_ROOT` pointing to the root NDK directory. + ![Example](https://lh3.googleusercontent.com/-AVcY8IAT0_g/UUOYltoRobI/AAAAAAAAsdM/22D2J9u3sig/s400/cocos2d-x-eclipse-ndk.png) + * Only for Windows: Add new variables **CYGWIN** with value `nodosfilewarning` and **SHELLOPTS** with value `igncr` + +4. Import libcocos2dx library project: + 1. File->New->Project->Android Project From Existing Code. + 2. Click **Browse** button and open `cocos2d-x/cocos2dx/platform/android/java` directory. + 3. Click **Finish** to add project. + +#### Adding and running from Eclipse + +![Example](https://lh3.googleusercontent.com/-SLBOu6e3QbE/UUOcOXYaGqI/AAAAAAAAsdo/tYBY2SylOSM/s288/cocos2d-x-eclipse-project-from-code.png) ![Import](https://lh5.googleusercontent.com/-XzC9Pn65USc/UUOcOTAwizI/AAAAAAAAsdk/4b6YM-oim9Y/s400/cocos2d-x-eclipse-import-project.png) + +1. File->New->Project->Android Project From Existing Code +2. **Browse** to your project directory. eg: `cocos2d-x/cocos2dx/samples/Cpp/TestCpp/proj.android/` +3. Add the project +4. Click **Run** or **Debug** to compile C++ followed by Java and to run on connected device or emulator. + + +### Running project from Command Line + + $ cd cocos2d-x/samples/Cpp/TestCpp/proj.android/ + $ export NDK_ROOT=/path/to/ndk + $ ./build_native.sh + $ ant debug install + +If the last command results in sdk.dir missing error then do: + + $ android list target + $ android update project -p . -t (id from step 6) + $ android update project -p cocos2d/cocos/2d/platform/android/java/ -t (id from step 6) diff --git a/SampleFlashImport/proj.android/ant.properties b/SampleFlashImport/proj.android/ant.properties new file mode 100644 index 0000000..a51e6a0 --- /dev/null +++ b/SampleFlashImport/proj.android/ant.properties @@ -0,0 +1,17 @@ +# This file is used to override default values used by the Ant build system. +# +# This file must be checked into Version Control Systems, as it is +# integral to the build system of your project. + +# This file is only used by the Ant script. + +# You can use this to override default values such as +# 'source.dir' for the location of your java source folder and +# 'out.dir' for the location of your output folder. + +# You can also use it define how the release builds are signed by declaring +# the following properties: +# 'key.store' for the location of your keystore and +# 'key.alias' for the name of the key to use. +# The password will be asked during the build when you use the 'release' target. + diff --git a/SampleFlashImport/proj.android/build.xml b/SampleFlashImport/proj.android/build.xml new file mode 100644 index 0000000..38ffbf4 --- /dev/null +++ b/SampleFlashImport/proj.android/build.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleFlashImport/proj.android/build_native.py b/SampleFlashImport/proj.android/build_native.py new file mode 100644 index 0000000..5eec448 --- /dev/null +++ b/SampleFlashImport/proj.android/build_native.py @@ -0,0 +1,166 @@ +#!/usr/bin/python +# build_native.py +# Build native codes + + +import sys +import os, os.path +import shutil +from optparse import OptionParser + +def get_num_of_cpu(): + ''' The build process can be accelerated by running multiple concurrent job processes using the -j-option. + ''' + try: + platform = sys.platform + if platform == 'win32': + if 'NUMBER_OF_PROCESSORS' in os.environ: + return int(os.environ['NUMBER_OF_PROCESSORS']) + else: + return 1 + else: + from numpy.distutils import cpuinfo + return cpuinfo.cpu._getNCPUs() + except Exception: + print "Can't know cpuinfo, use default 1 cpu" + return 1 + +def check_environment_variables_sdk(): + ''' Checking the environment ANDROID_SDK_ROOT, which will be used for building + ''' + + try: + SDK_ROOT = os.environ['ANDROID_SDK_ROOT'] + except Exception: + print "ANDROID_SDK_ROOT not defined. Please define ANDROID_SDK_ROOT in your environment" + sys.exit(1) + + return SDK_ROOT + +def check_environment_variables(): + ''' Checking the environment NDK_ROOT, which will be used for building + ''' + + try: + NDK_ROOT = os.environ['NDK_ROOT'] + except Exception: + print "NDK_ROOT not defined. Please define NDK_ROOT in your environment" + sys.exit(1) + + return NDK_ROOT + +def select_toolchain_version(): + '''Because ndk-r8e uses gcc4.6 as default. gcc4.6 doesn't support c++11. So we should select gcc4.7 when + using ndk-r8e. But gcc4.7 is removed in ndk-r9, so we should determine whether gcc4.7 exist. + Conclution: + ndk-r8e -> use gcc4.7 + ndk-r9 -> use gcc4.8 + ''' + + ndk_root = check_environment_variables() + if os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.8")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.8' + print "The Selected NDK toolchain version was 4.8 !" + elif os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.7")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.7' + print "The Selected NDK toolchain version was 4.7 !" + else: + print "Couldn't find the gcc toolchain." + exit(1) + +def do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode): + + ndk_path = os.path.join(ndk_root, "ndk-build") + + # windows should use ";" to seperate module paths + platform = sys.platform + if platform == 'win32': + ndk_module_path = 'NDK_MODULE_PATH=%s;%s/external;%s/cocos' % (cocos_root, cocos_root, cocos_root) + else: + ndk_module_path = 'NDK_MODULE_PATH=%s:%s/external:%s/cocos' % (cocos_root, cocos_root, cocos_root) + + num_of_cpu = get_num_of_cpu() + + if ndk_build_param == None: + command = '%s -j%d -C %s %s' % (ndk_path, num_of_cpu, app_android_root, ndk_module_path) + else: + command = '%s -j%d -C %s %s %s' % (ndk_path, num_of_cpu, app_android_root, ''.join(str(e) for e in ndk_build_param), ndk_module_path) + if os.system(command) != 0: + raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!") + elif android_platform is not None: + sdk_tool_path = os.path.join(sdk_root, "tools/android") + cocoslib_path = os.path.join(cocos_root, "cocos/2d/platform/android/java") + command = '%s update lib-project -t %s -p %s' % (sdk_tool_path,android_platform,cocoslib_path) + if os.system(command) != 0: + raise Exception("update cocos lib-project [ " + cocoslib_path + " ] fails!") + command = '%s update project -t %s -p %s -s' % (sdk_tool_path,android_platform,app_android_root) + if os.system(command) != 0: + raise Exception("update project [ " + app_android_root + " ] fails!") + buildfile_path = os.path.join(app_android_root, "build.xml") + command = 'ant clean %s -f %s -Dsdk.dir=%s' % (build_mode,buildfile_path,sdk_root) + os.system(command) + +def copy_files(src, dst): + + for item in os.listdir(src): + path = os.path.join(src, item) + # Android can not package the file that ends with ".gz" + if not item.startswith('.') and not item.endswith('.gz') and os.path.isfile(path): + shutil.copy(path, dst) + if os.path.isdir(path): + new_dst = os.path.join(dst, item) + os.mkdir(new_dst) + copy_files(path, new_dst) + +def copy_resources(app_android_root): + + # remove app_android_root/assets if it exists + assets_dir = os.path.join(app_android_root, "assets") + if os.path.isdir(assets_dir): + shutil.rmtree(assets_dir) + + # copy resources + os.mkdir(assets_dir) + resources_dir = os.path.join(app_android_root, "../Resources") + if os.path.isdir(resources_dir): + copy_files(resources_dir, assets_dir) + +def build(ndk_build_param,android_platform,build_mode): + + ndk_root = check_environment_variables() + sdk_root = None + select_toolchain_version() + + current_dir = os.path.dirname(os.path.realpath(__file__)) + cocos_root = os.path.join(current_dir, "../cocos2d") + + app_android_root = current_dir + copy_resources(app_android_root) + + if android_platform is not None: + sdk_root = check_environment_variables_sdk() + if android_platform.isdigit(): + android_platform = 'android-'+android_platform + else: + print 'please use vaild android platform' + exit(1) + + if build_mode is None: + build_mode = 'debug' + elif build_mode != 'release': + build_mode = 'debug' + + do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode) + +# -------------- main -------------- +if __name__ == '__main__': + + parser = OptionParser() + parser.add_option("-n", "--ndk", dest="ndk_build_param", help='parameter for ndk-build') + parser.add_option("-p", "--platform", dest="android_platform", + help='parameter for android-update.Without the parameter,the script just build dynamic library for project. Valid android-platform are:[10|11|12|13|14|15|16|17|18|19]') + parser.add_option("-b", "--build", dest="build_mode", + help='the build mode for java project,debug[default] or release.Get more information,please refer to http://developer.android.com/tools/building/building-cmdline.html') + (opts, args) = parser.parse_args() + + build(opts.ndk_build_param,opts.android_platform,opts.build_mode) diff --git a/SampleFlashImport/proj.android/jni/Android.mk b/SampleFlashImport/proj.android/jni/Android.mk new file mode 100644 index 0000000..a6722dc --- /dev/null +++ b/SampleFlashImport/proj.android/jni/Android.mk @@ -0,0 +1,33 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := cocos2dcpp_shared + +LOCAL_MODULE_FILENAME := libcocos2dcpp + +LOCAL_SRC_FILES := hellocpp/main.cpp \ + ../../Classes/AppDelegate.cpp \ + ../../Classes/HelloWorldScene.cpp \ + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \ + $(LOCAL_PATH)/../../cocos2d \ + $(LOCAL_PATH)/../../cocos2d/extensions \ + $(LOCAL_PATH)/../../cocos2d/cocos \ + $(LOCAL_PATH)/../../cocos2d/cocos/gui \ + $(LOCAL_PATH)/../../cocos2d/cocos/editor-support/cocostudio \ + +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static +LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocos_gui_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static + + +include $(BUILD_SHARED_LIBRARY) + +$(call import-module,2d) +$(call import-module,audio/android) +$(call import-module,Box2D) +$(call import-module,gui) +$(call import-module,editor-support/cocostudio) \ No newline at end of file diff --git a/SampleFlashImport/proj.android/jni/Application.mk b/SampleFlashImport/proj.android/jni/Application.mk new file mode 100644 index 0000000..74c3f99 --- /dev/null +++ b/SampleFlashImport/proj.android/jni/Application.mk @@ -0,0 +1,2 @@ +APP_STL := gnustl_static +APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DCOCOS2D_DEBUG=1 -std=c++11 -fsigned-char diff --git a/SampleFlashImport/proj.android/jni/hellocpp/main.cpp b/SampleFlashImport/proj.android/jni/hellocpp/main.cpp new file mode 100644 index 0000000..006a744 --- /dev/null +++ b/SampleFlashImport/proj.android/jni/hellocpp/main.cpp @@ -0,0 +1,16 @@ +#include "AppDelegate.h" +#include "cocos2d.h" +#include "CCEventType.h" +#include "platform/android/jni/JniHelper.h" +#include +#include + +#define LOG_TAG "main" +#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__) + +using namespace cocos2d; + +void cocos_android_app_init (struct android_app* app) { + LOGD("cocos_android_app_init"); + AppDelegate *pAppDelegate = new AppDelegate(); +} diff --git a/SampleFlashImport/proj.android/proguard-project.txt b/SampleFlashImport/proj.android/proguard-project.txt new file mode 100644 index 0000000..b60ae7e --- /dev/null +++ b/SampleFlashImport/proj.android/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/SampleFlashImport/proj.android/project.properties b/SampleFlashImport/proj.android/project.properties new file mode 100644 index 0000000..6b485b4 --- /dev/null +++ b/SampleFlashImport/proj.android/project.properties @@ -0,0 +1,13 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system use, +# "ant.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-19 + +android.library.reference.1=../../DemoCowboyGame/cocos2d/cocos/2d/platform/android/java diff --git a/SampleFlashImport/proj.android/res/drawable-hdpi/icon.png b/SampleFlashImport/proj.android/res/drawable-hdpi/icon.png new file mode 100644 index 0000000..8aa4767 Binary files /dev/null and b/SampleFlashImport/proj.android/res/drawable-hdpi/icon.png differ diff --git a/SampleFlashImport/proj.android/res/drawable-ldpi/icon.png b/SampleFlashImport/proj.android/res/drawable-ldpi/icon.png new file mode 100644 index 0000000..17ce11a Binary files /dev/null and b/SampleFlashImport/proj.android/res/drawable-ldpi/icon.png differ diff --git a/SampleFlashImport/proj.android/res/drawable-mdpi/icon.png b/SampleFlashImport/proj.android/res/drawable-mdpi/icon.png new file mode 100644 index 0000000..3780aac Binary files /dev/null and b/SampleFlashImport/proj.android/res/drawable-mdpi/icon.png differ diff --git a/SampleFlashImport/proj.android/res/values/strings.xml b/SampleFlashImport/proj.android/res/values/strings.xml new file mode 100644 index 0000000..1763dee --- /dev/null +++ b/SampleFlashImport/proj.android/res/values/strings.xml @@ -0,0 +1,4 @@ + + + SampleFlashImport + diff --git a/SampleFlashImport/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java b/SampleFlashImport/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java new file mode 100644 index 0000000..d2dfa68 --- /dev/null +++ b/SampleFlashImport/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java @@ -0,0 +1,32 @@ +package org.cocos2dx.cpp; + +import android.app.NativeActivity; +import android.os.Bundle; + +public class Cocos2dxActivity extends NativeActivity{ + + @Override + protected void onCreate(Bundle savedInstanceState) { + // TODO Auto-generated method stub + super.onCreate(savedInstanceState); + + //For supports translucency + + //1.change "attribs" in cocos\2d\platform\android\nativeactivity.cpp + /*const EGLint attribs[] = { + EGL_SURFACE_TYPE, EGL_WINDOW_BIT, + EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, + //EGL_BLUE_SIZE, 5, -->delete + //EGL_GREEN_SIZE, 6, -->delete + //EGL_RED_SIZE, 5, -->delete + EGL_BUFFER_SIZE, 32, //-->new field + EGL_DEPTH_SIZE, 16, + EGL_STENCIL_SIZE, 8, + EGL_NONE + };*/ + + //2.Set the format of window + // getWindow().setFormat(PixelFormat.TRANSLUCENT); + + } +} diff --git a/SampleFlashImport/proj.ios_mac/SampleFlashImport.xcodeproj/project.pbxproj b/SampleFlashImport/proj.ios_mac/SampleFlashImport.xcodeproj/project.pbxproj new file mode 100644 index 0000000..016d0a4 --- /dev/null +++ b/SampleFlashImport/proj.ios_mac/SampleFlashImport.xcodeproj/project.pbxproj @@ -0,0 +1,1060 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 15F0326018C82244007219BB /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325518C82244007219BB /* CloseNormal.png */; }; + 15F0326118C82244007219BB /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325518C82244007219BB /* CloseNormal.png */; }; + 15F0326218C82244007219BB /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325618C82244007219BB /* CloseSelected.png */; }; + 15F0326318C82244007219BB /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325618C82244007219BB /* CloseSelected.png */; }; + 15F0326418C82244007219BB /* Export in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325718C82244007219BB /* Export */; }; + 15F0326518C82244007219BB /* Export in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325718C82244007219BB /* Export */; }; + 15F0326618C82244007219BB /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325818C82244007219BB /* fonts */; }; + 15F0326718C82244007219BB /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325818C82244007219BB /* fonts */; }; + 15F0326818C82244007219BB /* girl.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325918C82244007219BB /* girl.plist */; }; + 15F0326918C82244007219BB /* girl.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325918C82244007219BB /* girl.plist */; }; + 15F0326A18C82244007219BB /* girl.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325A18C82244007219BB /* girl.png */; }; + 15F0326B18C82244007219BB /* girl.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325A18C82244007219BB /* girl.png */; }; + 15F0326C18C82244007219BB /* girl.xml in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325B18C82244007219BB /* girl.xml */; }; + 15F0326D18C82244007219BB /* girl.xml in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325B18C82244007219BB /* girl.xml */; }; + 15F0326E18C82244007219BB /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325C18C82244007219BB /* HelloWorld.png */; }; + 15F0326F18C82244007219BB /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325C18C82244007219BB /* HelloWorld.png */; }; + 15F0327018C82244007219BB /* tauren.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325D18C82244007219BB /* tauren.plist */; }; + 15F0327118C82244007219BB /* tauren.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325D18C82244007219BB /* tauren.plist */; }; + 15F0327218C82244007219BB /* tauren.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325E18C82244007219BB /* tauren.png */; }; + 15F0327318C82244007219BB /* tauren.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325E18C82244007219BB /* tauren.png */; }; + 15F0327418C82244007219BB /* tauren.xml in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325F18C82244007219BB /* tauren.xml */; }; + 15F0327518C82244007219BB /* tauren.xml in Resources */ = {isa = PBXBuildFile; fileRef = 15F0325F18C82244007219BB /* tauren.xml */; }; + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */; }; + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */; }; + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */; }; + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */; }; + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */; }; + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */; }; + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */; }; + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */; }; + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */; }; + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */; }; + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 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 */; }; + 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 */; }; + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11117EB99EE00D1A890 /* libcurl.dylib */; }; + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11A17EB9C5A00D1A890 /* IOKit.framework */; }; + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.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 */; }; + 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 */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1551A33F158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2FD617814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2CB81780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2D9B1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2ED617814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F31FD1781479B006731B9; + remoteInfo = "jsbindings Mac"; + }; + 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A6FB53017854BC300CDF010; + remoteInfo = "luabindings Mac"; + }; + 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4D641783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4EFC1783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F3B178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F9E1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4FB4178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; + 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A5030178387750073F6A7; + remoteInfo = "jsbindings iOS"; + }; + 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A119791178526AA00D62A44; + remoteInfo = "luabindings iOS"; + }; + 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 1551A33E158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2FC117814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2B781780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2E9817814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2D5D1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4C241783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4E111783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4EFD178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F3C1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F9F178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 15F0325518C82244007219BB /* CloseNormal.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseNormal.png; sourceTree = ""; }; + 15F0325618C82244007219BB /* CloseSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseSelected.png; sourceTree = ""; }; + 15F0325718C82244007219BB /* Export */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Export; sourceTree = ""; }; + 15F0325818C82244007219BB /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; path = fonts; sourceTree = ""; }; + 15F0325918C82244007219BB /* girl.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = girl.plist; sourceTree = ""; }; + 15F0325A18C82244007219BB /* girl.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = girl.png; sourceTree = ""; }; + 15F0325B18C82244007219BB /* girl.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = girl.xml; sourceTree = ""; }; + 15F0325C18C82244007219BB /* HelloWorld.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = HelloWorld.png; sourceTree = ""; }; + 15F0325D18C82244007219BB /* tauren.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = tauren.plist; sourceTree = ""; }; + 15F0325E18C82244007219BB /* tauren.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = tauren.png; sourceTree = ""; }; + 15F0325F18C82244007219BB /* tauren.xml */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = tauren.xml; sourceTree = ""; }; + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../cocos2d/build/cocos2d_libs.xcodeproj; sourceTree = ""; }; + 1ACB3243164770DE00914215 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = ""; }; + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AppDelegate.cpp; path = ../Classes/AppDelegate.cpp; sourceTree = ""; }; + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ../Classes/AppDelegate.h; sourceTree = ""; }; + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HelloWorldScene.cpp; path = ../Classes/HelloWorldScene.cpp; sourceTree = ""; }; + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HelloWorldScene.h; path = ../Classes/HelloWorldScene.h; sourceTree = ""; }; + 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 1D6058910D05DD3D006BFB54 /* SampleFlashImport iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleFlashImport iOS.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; }; + 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 /* SampleFlashImport Mac.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleFlashImport Mac.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 = ""; }; + 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; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */, + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */, + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */, + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */, + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a 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 */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75C17EB910900C73F5D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */, + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */, + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */, + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */, + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */, + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */, + 5087E76717EB910900C73F5D /* libz.dylib in Frameworks */, + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */, + 5087E78B17EB975400C73F5D /* OpenGL.framework in Frameworks */, + 5087E78917EB974C00C73F5D /* AppKit.framework in Frameworks */, + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */, + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */, + 5087E76817EB910900C73F5D /* QuartzCore.framework in Frameworks */, + 5087E76917EB910900C73F5D /* OpenAL.framework in Frameworks */, + 5087E76A17EB910900C73F5D /* AVFoundation.framework in Frameworks */, + 5087E76B17EB910900C73F5D /* AudioToolbox.framework 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 = ""; + }; + 15AA9C4015B7EC450033D6C2 /* Classes */ = { + isa = PBXGroup; + children = ( + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */, + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */, + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */, + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */, + ); + name = Classes; + path = ../classes; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 1D6058910D05DD3D006BFB54 /* SampleFlashImport iOS.app */, + 5087E76F17EB910900C73F5D /* SampleFlashImport Mac.app */, + ); + name = Products; + sourceTree = ""; + }; + 1AC6FAE6180E9839004C840B /* Products */ = { + isa = PBXGroup; + children = ( + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */, + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */, + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */, + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */, + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */, + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */, + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */, + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */, + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */, + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */, + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */, + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */, + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */, + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { + isa = PBXGroup; + children = ( + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */, + 15AA9C4015B7EC450033D6C2 /* Classes */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 080E96DDFE201D6D7F000001 /* ios */, + 503AE10617EB990700D1A890 /* mac */, + 19C28FACFE9D520D11CA2CBB /* Products */, + 78C7DDAA14EBA5050085D0C2 /* Resources */, + ); + name = CustomTemplate; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 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 = ""; + }; + 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 = ( + 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; + }; + 78C7DDAA14EBA5050085D0C2 /* Resources */ = { + isa = PBXGroup; + children = ( + 15F0325518C82244007219BB /* CloseNormal.png */, + 15F0325618C82244007219BB /* CloseSelected.png */, + 15F0325718C82244007219BB /* Export */, + 15F0325818C82244007219BB /* fonts */, + 15F0325918C82244007219BB /* girl.plist */, + 15F0325A18C82244007219BB /* girl.png */, + 15F0325B18C82244007219BB /* girl.xml */, + 15F0325C18C82244007219BB /* HelloWorld.png */, + 15F0325D18C82244007219BB /* tauren.plist */, + 15F0325E18C82244007219BB /* tauren.png */, + 15F0325F18C82244007219BB /* tauren.xml */, + ); + name = Resources; + path = ../Resources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1D6058900D05DD3D006BFB54 /* SampleFlashImport iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "SampleFlashImport iOS" */; + buildPhases = ( + 1D60588D0D05DD3D006BFB54 /* Resources */, + 1D60588E0D05DD3D006BFB54 /* Sources */, + 1D60588F0D05DD3D006BFB54 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */, + ); + name = "SampleFlashImport iOS"; + productName = iphone; + productReference = 1D6058910D05DD3D006BFB54 /* SampleFlashImport iOS.app */; + productType = "com.apple.product-type.application"; + }; + 5087E73D17EB910900C73F5D /* SampleFlashImport Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleFlashImport Mac" */; + buildPhases = ( + 5087E74817EB910900C73F5D /* Resources */, + 5087E75617EB910900C73F5D /* Sources */, + 5087E75C17EB910900C73F5D /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */, + 1AC6FB16180E9959004C840B /* PBXTargetDependency */, + 1AC6FB18180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */, + ); + name = "SampleFlashImport Mac"; + productName = iphone; + productReference = 5087E76F17EB910900C73F5D /* SampleFlashImport Mac.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0500; + TargetAttributes = { + 1D6058900D05DD3D006BFB54 = { + DevelopmentTeam = MDDB52YB8L; + }; + }; + }; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleFlashImport" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = 1AC6FAE6180E9839004C840B /* Products */; + ProjectRef = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + 1D6058900D05DD3D006BFB54 /* SampleFlashImport iOS */, + 5087E73D17EB910900C73F5D /* SampleFlashImport Mac */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx Mac.a"; + remoteRef = 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions Mac.a"; + remoteRef = 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk Mac.a"; + remoteRef = 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d Mac.a"; + remoteRef = 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion Mac.a"; + remoteRef = 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings Mac.a"; + remoteRef = 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings Mac.a"; + remoteRef = 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx iOS.a"; + remoteRef = 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions iOS.a"; + remoteRef = 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk iOS.a"; + remoteRef = 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d iOS.a"; + remoteRef = 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion iOS.a"; + remoteRef = 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings iOS.a"; + remoteRef = 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings iOS.a"; + remoteRef = 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXResourcesBuildPhase section */ + 1D60588D0D05DD3D006BFB54 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5087E78117EB970100C73F5D /* Icon-120.png 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 */, + 15F0326218C82244007219BB /* CloseSelected.png in Resources */, + 15F0326818C82244007219BB /* girl.plist in Resources */, + 5087E77D17EB970100C73F5D /* Default-568h@2x.png in Resources */, + 5087E78517EB970100C73F5D /* Icon-72.png in Resources */, + 50EF62A317ECD613001EB2F8 /* Icon-50.png in Resources */, + 15F0326C18C82244007219BB /* girl.xml in Resources */, + 15F0327418C82244007219BB /* tauren.xml in Resources */, + 5087E78017EB970100C73F5D /* Icon-114.png in Resources */, + 15F0327218C82244007219BB /* tauren.png in Resources */, + 50EF62A217ECD613001EB2F8 /* Icon-29.png in Resources */, + 15F0326618C82244007219BB /* fonts in Resources */, + 50EF629617ECD46A001EB2F8 /* Icon-40.png in Resources */, + 5087E78217EB970100C73F5D /* Icon-144.png in Resources */, + 50EF629817ECD46A001EB2F8 /* Icon-80.png in Resources */, + 15F0326418C82244007219BB /* Export in Resources */, + 15F0326A18C82244007219BB /* girl.png in Resources */, + 5087E78417EB970100C73F5D /* Icon-57.png in Resources */, + 5087E77E17EB970100C73F5D /* Default.png in Resources */, + 15F0326E18C82244007219BB /* HelloWorld.png in Resources */, + 15F0326018C82244007219BB /* CloseNormal.png in Resources */, + 50EF629717ECD46A001EB2F8 /* Icon-58.png in Resources */, + 15F0327018C82244007219BB /* tauren.plist in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E74817EB910900C73F5D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15F0326918C82244007219BB /* girl.plist in Resources */, + 15F0326518C82244007219BB /* Export in Resources */, + 15F0326718C82244007219BB /* fonts in Resources */, + 15F0326B18C82244007219BB /* girl.png in Resources */, + 503AE0F817EB97AB00D1A890 /* Icon.icns in Resources */, + 15F0326D18C82244007219BB /* girl.xml in Resources */, + 15F0326F18C82244007219BB /* HelloWorld.png in Resources */, + 15F0326118C82244007219BB /* CloseNormal.png in Resources */, + 15F0327518C82244007219BB /* tauren.xml in Resources */, + 15F0326318C82244007219BB /* CloseSelected.png in Resources */, + 15F0327318C82244007219BB /* tauren.png in Resources */, + 15F0327118C82244007219BB /* tauren.plist in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1D60588E0D05DD3D006BFB54 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 503AE10017EB989F00D1A890 /* AppController.mm in Sources */, + 503AE10217EB989F00D1A890 /* RootViewController.mm in Sources */, + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */, + 503AE10117EB989F00D1A890 /* main.m in Sources */, + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75617EB910900C73F5D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */, + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */, + 503AE10517EB98FF00D1A890 /* main.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1AC6FB16180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx Mac"; + targetProxy = 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB18180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions Mac"; + targetProxy = 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk Mac"; + targetProxy = 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion Mac"; + targetProxy = 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d Mac"; + targetProxy = 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx iOS"; + targetProxy = 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions iOS"; + targetProxy = 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk iOS"; + targetProxy = 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d iOS"; + targetProxy = 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion iOS"; + targetProxy = 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 "SampleFlashImport iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1D6058940D05DD3E006BFB54 /* Debug */, + 1D6058950D05DD3E006BFB54 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleFlashImport Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5087E76D17EB910900C73F5D /* Debug */, + 5087E76E17EB910900C73F5D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleFlashImport" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/SampleFlashImport/proj.ios_mac/ios/AppController.h b/SampleFlashImport/proj.ios_mac/ios/AppController.h new file mode 100644 index 0000000..d0940a5 --- /dev/null +++ b/SampleFlashImport/proj.ios_mac/ios/AppController.h @@ -0,0 +1,11 @@ +#import + +@class RootViewController; + +@interface AppController : NSObject { + UIWindow *window; + RootViewController *viewController; +} + +@end + diff --git a/SampleFlashImport/proj.ios_mac/ios/AppController.mm b/SampleFlashImport/proj.ios_mac/ios/AppController.mm new file mode 100644 index 0000000..3ceacda --- /dev/null +++ b/SampleFlashImport/proj.ios_mac/ios/AppController.mm @@ -0,0 +1,142 @@ +/**************************************************************************** + 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 "CCEAGLView.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 { + + // 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: kEAGLColorFormatRGB565 + depthFormat: GL_DEPTH24_STENCIL8_OES + preserveBackbuffer: NO + sharegroup: nil + multiSampling: NO + numberOfSamples: 0]; + + // 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::GLView::createWithEAGLView(eaglView); + cocos2d::Director::getInstance()->setOpenGLView(glview); + + cocos2d::Application::getInstance()->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/SampleFlashImport/proj.ios_mac/ios/Default-568h@2x.png b/SampleFlashImport/proj.ios_mac/ios/Default-568h@2x.png new file mode 100644 index 0000000..66c6d1c Binary files /dev/null and b/SampleFlashImport/proj.ios_mac/ios/Default-568h@2x.png differ diff --git a/SampleFlashImport/proj.ios_mac/ios/Default.png b/SampleFlashImport/proj.ios_mac/ios/Default.png new file mode 100644 index 0000000..dcb8072 Binary files /dev/null and b/SampleFlashImport/proj.ios_mac/ios/Default.png differ diff --git a/SampleFlashImport/proj.ios_mac/ios/Default@2x.png b/SampleFlashImport/proj.ios_mac/ios/Default@2x.png new file mode 100644 index 0000000..8468988 Binary files /dev/null and b/SampleFlashImport/proj.ios_mac/ios/Default@2x.png differ diff --git a/SampleFlashImport/proj.ios_mac/ios/Icon-100.png b/SampleFlashImport/proj.ios_mac/ios/Icon-100.png new file mode 100644 index 0000000..ef38d45 Binary files /dev/null and b/SampleFlashImport/proj.ios_mac/ios/Icon-100.png differ diff --git a/SampleFlashImport/proj.ios_mac/ios/Icon-114.png b/SampleFlashImport/proj.ios_mac/ios/Icon-114.png new file mode 100644 index 0000000..c380786 Binary files /dev/null and b/SampleFlashImport/proj.ios_mac/ios/Icon-114.png differ diff --git a/SampleFlashImport/proj.ios_mac/ios/Icon-120.png b/SampleFlashImport/proj.ios_mac/ios/Icon-120.png new file mode 100644 index 0000000..a5b49cc Binary files /dev/null and b/SampleFlashImport/proj.ios_mac/ios/Icon-120.png differ diff --git a/SampleFlashImport/proj.ios_mac/ios/Icon-144.png b/SampleFlashImport/proj.ios_mac/ios/Icon-144.png new file mode 100644 index 0000000..1526615 Binary files /dev/null and b/SampleFlashImport/proj.ios_mac/ios/Icon-144.png differ diff --git a/SampleFlashImport/proj.ios_mac/ios/Icon-152.png b/SampleFlashImport/proj.ios_mac/ios/Icon-152.png new file mode 100644 index 0000000..8aa8250 Binary files /dev/null and b/SampleFlashImport/proj.ios_mac/ios/Icon-152.png differ diff --git a/SampleFlashImport/proj.ios_mac/ios/Icon-29.png b/SampleFlashImport/proj.ios_mac/ios/Icon-29.png new file mode 100644 index 0000000..0500184 Binary files /dev/null and b/SampleFlashImport/proj.ios_mac/ios/Icon-29.png differ diff --git a/SampleFlashImport/proj.ios_mac/ios/Icon-40.png b/SampleFlashImport/proj.ios_mac/ios/Icon-40.png new file mode 100644 index 0000000..775685d Binary files /dev/null and b/SampleFlashImport/proj.ios_mac/ios/Icon-40.png differ diff --git a/SampleFlashImport/proj.ios_mac/ios/Icon-50.png b/SampleFlashImport/proj.ios_mac/ios/Icon-50.png new file mode 100644 index 0000000..ac381bc Binary files /dev/null and b/SampleFlashImport/proj.ios_mac/ios/Icon-50.png differ diff --git a/SampleFlashImport/proj.ios_mac/ios/Icon-57.png b/SampleFlashImport/proj.ios_mac/ios/Icon-57.png new file mode 100644 index 0000000..4fcc6fd Binary files /dev/null and b/SampleFlashImport/proj.ios_mac/ios/Icon-57.png differ diff --git a/SampleFlashImport/proj.ios_mac/ios/Icon-58.png b/SampleFlashImport/proj.ios_mac/ios/Icon-58.png new file mode 100644 index 0000000..f0f8b7f Binary files /dev/null and b/SampleFlashImport/proj.ios_mac/ios/Icon-58.png differ diff --git a/SampleFlashImport/proj.ios_mac/ios/Icon-72.png b/SampleFlashImport/proj.ios_mac/ios/Icon-72.png new file mode 100644 index 0000000..2c573c8 Binary files /dev/null and b/SampleFlashImport/proj.ios_mac/ios/Icon-72.png differ diff --git a/SampleFlashImport/proj.ios_mac/ios/Icon-76.png b/SampleFlashImport/proj.ios_mac/ios/Icon-76.png new file mode 100644 index 0000000..8a1fa18 Binary files /dev/null and b/SampleFlashImport/proj.ios_mac/ios/Icon-76.png differ diff --git a/SampleFlashImport/proj.ios_mac/ios/Icon-80.png b/SampleFlashImport/proj.ios_mac/ios/Icon-80.png new file mode 100644 index 0000000..d9c7ab4 Binary files /dev/null and b/SampleFlashImport/proj.ios_mac/ios/Icon-80.png differ diff --git a/SampleFlashImport/proj.ios_mac/ios/Info.plist b/SampleFlashImport/proj.ios_mac/ios/Info.plist new file mode 100644 index 0000000..88a89b9 --- /dev/null +++ b/SampleFlashImport/proj.ios_mac/ios/Info.plist @@ -0,0 +1,70 @@ + + + + + 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.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIAppFonts + + UIPrerenderedIcon + + UISupportedInterfaceOrientations + + UIInterfaceOrientationLandscapeRight + UIInterfaceOrientationLandscapeLeft + + + diff --git a/SampleFlashImport/proj.ios_mac/ios/Prefix.pch b/SampleFlashImport/proj.ios_mac/ios/Prefix.pch new file mode 100644 index 0000000..3737d11 --- /dev/null +++ b/SampleFlashImport/proj.ios_mac/ios/Prefix.pch @@ -0,0 +1,8 @@ +// +// Prefix header for all source files of the 'iphone' target in the 'iphone' project +// + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/SampleFlashImport/proj.ios_mac/ios/RootViewController.h b/SampleFlashImport/proj.ios_mac/ios/RootViewController.h new file mode 100644 index 0000000..6cde57f --- /dev/null +++ b/SampleFlashImport/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/SampleFlashImport/proj.ios_mac/ios/RootViewController.mm b/SampleFlashImport/proj.ios_mac/ios/RootViewController.mm new file mode 100644 index 0000000..c500a44 --- /dev/null +++ b/SampleFlashImport/proj.ios_mac/ios/RootViewController.mm @@ -0,0 +1,108 @@ +/**************************************************************************** + 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 "CCEAGLView.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]; + + cocos2d::GLView *glview = cocos2d::Director::getInstance()->getOpenGLView(); + CCEAGLView *eaglview = (CCEAGLView*) glview->getEAGLView(); + + 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/SampleFlashImport/proj.ios_mac/ios/main.m b/SampleFlashImport/proj.ios_mac/ios/main.m new file mode 100644 index 0000000..84158b2 --- /dev/null +++ b/SampleFlashImport/proj.ios_mac/ios/main.m @@ -0,0 +1,12 @@ +#import + +// Under iOS and the Simulator, we can use an alternate Accelerometer interface +#import "AccelerometerSimulation.h" + +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/SampleFlashImport/proj.ios_mac/mac/Icon.icns b/SampleFlashImport/proj.ios_mac/mac/Icon.icns new file mode 100644 index 0000000..2040fc6 Binary files /dev/null and b/SampleFlashImport/proj.ios_mac/mac/Icon.icns differ diff --git a/SampleFlashImport/proj.ios_mac/mac/Info.plist b/SampleFlashImport/proj.ios_mac/mac/Info.plist new file mode 100644 index 0000000..df93f67 --- /dev/null +++ b/SampleFlashImport/proj.ios_mac/mac/Info.plist @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + Icon + CFBundleIdentifier + org.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + 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/SampleFlashImport/proj.ios_mac/mac/Prefix.pch b/SampleFlashImport/proj.ios_mac/mac/Prefix.pch new file mode 100644 index 0000000..96d93ae --- /dev/null +++ b/SampleFlashImport/proj.ios_mac/mac/Prefix.pch @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'Paralaxer' target in the 'Paralaxer' project +// + +#ifdef __OBJC__ + #import +#endif diff --git a/SampleFlashImport/proj.ios_mac/mac/main.cpp b/SampleFlashImport/proj.ios_mac/mac/main.cpp new file mode 100644 index 0000000..f0b87fb --- /dev/null +++ b/SampleFlashImport/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(); +} diff --git a/SampleFlashImport/proj.linux/main.cpp b/SampleFlashImport/proj.linux/main.cpp new file mode 100644 index 0000000..7742def --- /dev/null +++ b/SampleFlashImport/proj.linux/main.cpp @@ -0,0 +1,15 @@ +#include "../Classes/AppDelegate.h" + +#include +#include +#include +#include + +USING_NS_CC; + +int main(int argc, char **argv) +{ + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleFlashImport/proj.win32/SampleFlashImport.sln b/SampleFlashImport/proj.win32/SampleFlashImport.sln new file mode 100644 index 0000000..d89d7d0 --- /dev/null +++ b/SampleFlashImport/proj.win32/SampleFlashImport.sln @@ -0,0 +1,61 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleFlashImport", "SampleFlashImport.vcxproj", "{76A39BB2-9B84-4C65-98A5-654D86B86F2A}" + ProjectSection(ProjectDependencies) = postProject + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\..\cocos2d-x\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosStudio", "..\..\cocos2d-x\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libGUI", "..\..\cocos2d-x\cocos\gui\proj.win32\libGUI.vcxproj", "{7E06E92C-537A-442B-9E4A-4761C84F8A1A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libExtensions", "..\..\cocos2d-x\extensions\proj.win32\libExtensions.vcxproj", "{21B2C324-891F-48EA-AD1A-5AE13DE12E28}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\..\cocos2d-x\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\..\cocos2d-x\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.ActiveCfg = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.Build.0 = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.ActiveCfg = Release|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.Build.0 = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.ActiveCfg = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.Build.0 = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.ActiveCfg = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.Build.0 = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.ActiveCfg = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.Build.0 = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.ActiveCfg = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.Build.0 = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.ActiveCfg = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.Build.0 = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.ActiveCfg = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.Build.0 = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.ActiveCfg = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.Build.0 = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.ActiveCfg = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.Build.0 = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.ActiveCfg = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.Build.0 = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.ActiveCfg = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.Build.0 = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.ActiveCfg = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.Build.0 = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.ActiveCfg = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SampleFlashImport/proj.win32/SampleFlashImport.vcxproj b/SampleFlashImport/proj.win32/SampleFlashImport.vcxproj new file mode 100644 index 0000000..6e267ea --- /dev/null +++ b/SampleFlashImport/proj.win32/SampleFlashImport.vcxproj @@ -0,0 +1,174 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {76A39BB2-9B84-4C65-98A5-654D86B86F2A} + test_win32 + Win32Proj + + + + Application + Unicode + true + v100 + v110 + v110_xp + + + Application + Unicode + v100 + v110 + v110_xp + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + true + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + false + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(ProjectDir)..\..\cocos2d-x\cocos\audio\include;$(ProjectDir)..\..\cocos2d-x\external;$(ProjectDir)..\..\cocos2d-x\external\chipmunk\include\chipmunk;$(ProjectDir)..\..\cocos2d-x\extensions;..\Classes;$(ProjectDir)..\..\cocos2d-x\cocos\editor-support;$(ProjectDir)..\..\cocos2d-x\cocos\2d;$(ProjectDir)..\..\cocos2d-x\cocos\2d\renderer;$(ProjectDir)..\..\cocos2d-x\cocos\gui;$(ProjectDir)..\..\cocos2d-x\cocos\base;$(ProjectDir)..\..\cocos2d-x\cocos\physics;$(ProjectDir)..\..\cocos2d-x\cocos\;$(ProjectDir)..\..\cocos2d-x\;%(AdditionalIncludeDirectories); + WIN32;_DEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + EditAndContinue + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + MaxSpeed + true + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + ProgramDatabase + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + libcurl_imp.lib;websockets.lib;%(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + true + true + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + + + + + + + + + + + + + + + + + {98a51ba8-fc3a-415b-ac8f-8c7bd464e93e} + + + {f8edd7fa-9a51-4e80-baeb-860825d2eac6} + + + {b57cf53f-2e49-4031-9822-047cc0e6bde2} + + + {7e06e92c-537a-442b-9e4a-4761c84f8a1a} + + + {21b2c324-891f-48ea-ad1a-5ae13de12e28} + + + {207bc7a9-ccf1-4f2f-a04d-45f72242ae25} + + + + + + \ No newline at end of file diff --git a/SampleFlashImport/proj.win32/SampleFlashImport.vcxproj.filters b/SampleFlashImport/proj.win32/SampleFlashImport.vcxproj.filters new file mode 100644 index 0000000..e0e6cdf --- /dev/null +++ b/SampleFlashImport/proj.win32/SampleFlashImport.vcxproj.filters @@ -0,0 +1,44 @@ + + + + + {84a8ebd7-7cf0-47f6-b75e-d441df67da40} + + + {bb6c862e-70e9-49d9-81b7-3829a6f50471} + + + {715254bc-d70b-4ec5-bf29-467dd3ace079} + + + + + win32 + + + Classes + + + Classes + + + + + win32 + + + Classes + + + Classes + + + + + resource + + + + + + \ No newline at end of file diff --git a/SampleFlashImport/proj.win32/SampleFlashImport.vcxproj.user b/SampleFlashImport/proj.win32/SampleFlashImport.vcxproj.user new file mode 100644 index 0000000..314a27a --- /dev/null +++ b/SampleFlashImport/proj.win32/SampleFlashImport.vcxproj.user @@ -0,0 +1,11 @@ + + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + \ No newline at end of file diff --git a/SampleFlashImport/proj.win32/game.rc b/SampleFlashImport/proj.win32/game.rc new file mode 100644 index 0000000..09d7d99 --- /dev/null +++ b/SampleFlashImport/proj.win32/game.rc @@ -0,0 +1,86 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +#undef APSTUDIO_HIDDEN_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +GLFW_ICON ICON "res\\game.ico" + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,1 + PRODUCTVERSION 1,0,0,1 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904B0" + BEGIN + VALUE "CompanyName", "\0" + VALUE "FileDescription", "game Module\0" + VALUE "FileVersion", "1, 0, 0, 1\0" + VALUE "InternalName", "game\0" + VALUE "LegalCopyright", "Copyright \0" + VALUE "OriginalFilename", "game.exe\0" + VALUE "ProductName", "game Module\0" + VALUE "ProductVersion", "1, 0, 0, 1\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0409, 0x04B0 + END +END + +///////////////////////////////////////////////////////////////////////////// +#endif // !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) diff --git a/SampleFlashImport/proj.win32/main.cpp b/SampleFlashImport/proj.win32/main.cpp new file mode 100644 index 0000000..4ef499e --- /dev/null +++ b/SampleFlashImport/proj.win32/main.cpp @@ -0,0 +1,18 @@ +#include "main.h" +#include "AppDelegate.h" +#include "cocos2d.h" + +USING_NS_CC; + +int APIENTRY _tWinMain(HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPTSTR lpCmdLine, + int nCmdShow) +{ + UNREFERENCED_PARAMETER(hPrevInstance); + UNREFERENCED_PARAMETER(lpCmdLine); + + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleFlashImport/proj.win32/main.h b/SampleFlashImport/proj.win32/main.h new file mode 100644 index 0000000..e4d2aa3 --- /dev/null +++ b/SampleFlashImport/proj.win32/main.h @@ -0,0 +1,13 @@ +#ifndef __MAIN_H__ +#define __MAIN_H__ + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers + +// Windows Header Files: +#include +#include + +// C RunTime Header Files +#include "CCStdC.h" + +#endif // __MAIN_H__ diff --git a/SampleFlashImport/proj.win32/res/game.ico b/SampleFlashImport/proj.win32/res/game.ico new file mode 100644 index 0000000..feaf932 Binary files /dev/null and b/SampleFlashImport/proj.win32/res/game.ico differ diff --git a/SampleFlashImport/proj.win32/resource.h b/SampleFlashImport/proj.win32/resource.h new file mode 100644 index 0000000..ecde7ef --- /dev/null +++ b/SampleFlashImport/proj.win32/resource.h @@ -0,0 +1,20 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by game.RC +// + +#define IDS_PROJNAME 100 +#define IDR_TESTJS 100 + +#define ID_FILE_NEW_WINDOW 32771 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 201 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 32775 +#endif +#endif diff --git a/SampleFrameAnimation/CMakeLists.txt b/SampleFrameAnimation/CMakeLists.txt new file mode 100644 index 0000000..82a8f20 --- /dev/null +++ b/SampleFrameAnimation/CMakeLists.txt @@ -0,0 +1,169 @@ +cmake_minimum_required(VERSION 2.6) + +set(APP_NAME MyGame) +project (${APP_NAME}) + +include(cocos2d/build/BuildHelpers.CMakeLists.txt) + +option(USE_CHIPMUNK "Use chipmunk for physics library" ON) +option(USE_BOX2D "Use box2d for physics library" OFF) +option(DEBUG_MODE "Debug or release?" ON) + +if(DEBUG_MODE) + set(CMAKE_BUILD_TYPE DEBUG) +else(DEBUG_MODE) + set(CMAKE_BUILD_TYPE RELEASE) +endif(DEBUG_MODE) + +set(CMAKE_C_FLAGS_DEBUG "-g -Wall -DCOCOS2D_DEBUG=1") +set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) + +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + +if(USE_CHIPMUNK) + message("Using chipmunk ...") + add_definitions(-DLINUX -DCC_ENABLE_CHIPMUNK_INTEGRATION=1) +elseif(USE_BOX2D) + message("Using box2d ...") + add_definitions(-DLINUX -DCC_ENABLE_BOX2D_INTEGRATION=1) +else(USE_CHIPMUNK) + message(FATAL_ERROR "Must choose a physics library.") +endif(USE_CHIPMUNK) + +# architecture +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(ARCH_DIR "64-bit") +else() +set(ARCH_DIR "32-bit") +endif() + + +set(GAME_SRC + proj.linux/main.cpp + Classes/AppDelegate.cpp + Classes/HelloWorldScene.cpp +) + +set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/cocos2d) + +include_directories( + /usr/local/include/GLFW + ${COCOS2D_ROOT} + ${COCOS2D_ROOT}/cocos + ${COCOS2D_ROOT}/cocos/audio/include + ${COCOS2D_ROOT}/cocos/2d + ${COCOS2D_ROOT}/cocos/2d/renderer + ${COCOS2D_ROOT}/cocos/2d/platform + ${COCOS2D_ROOT}/cocos/2d/platform/desktop + ${COCOS2D_ROOT}/cocos/2d/platform/linux + ${COCOS2D_ROOT}/cocos/base + ${COCOS2D_ROOT}/cocos/physics + ${COCOS2D_ROOT}/cocos/editor-support + ${COCOS2D_ROOT}/cocos/math/kazmath/include + ${COCOS2D_ROOT}/extensions + ${COCOS2D_ROOT}/external + ${COCOS2D_ROOT}/external/edtaa3func + ${COCOS2D_ROOT}/external/jpeg/include/linux + ${COCOS2D_ROOT}/external/tiff/include/linux + ${COCOS2D_ROOT}/external/webp/include/linux + ${COCOS2D_ROOT}/external/tinyxml2 + ${COCOS2D_ROOT}/external/unzip + ${COCOS2D_ROOT}/external/chipmunk/include/chipmunk + ${COCOS2D_ROOT}/external/freetype2/include/linux + ${COCOS2D_ROOT}/external/websockets/include/linux + ${COCOS2D_ROOT}/external/spidermonkey/include/linux + ${COCOS2D_ROOT}/external/linux-specific/fmod/include/${ARCH_DIR} +) + +link_directories( + /usr/local/lib + ${COCOS2D_ROOT}/external/jpeg/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/tiff/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/webp/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/freetype2/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/websockets/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/spidermonkey/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/linux-specific/fmod/prebuilt/${ARCH_DIR} +) + +# kazmath +add_subdirectory(${COCOS2D_ROOT}/cocos/math/kazmath) + +# chipmunk library +add_subdirectory(${COCOS2D_ROOT}/external/chipmunk/src) + +# box2d library +add_subdirectory(${COCOS2D_ROOT}/external/Box2D) + +# unzip library +add_subdirectory(${COCOS2D_ROOT}/external/unzip) + +# tinyxml2 library +add_subdirectory(${COCOS2D_ROOT}/external/tinyxml2) + +# audio +add_subdirectory(${COCOS2D_ROOT}/cocos/audio) + +# cocos base library +add_subdirectory(${COCOS2D_ROOT}/cocos/base) + +# cocos 2d library +add_subdirectory(${COCOS2D_ROOT}/cocos/2d) + +# cocos storage +add_subdirectory(${COCOS2D_ROOT}/cocos/storage) + +# gui +add_subdirectory(${COCOS2D_ROOT}/cocos/gui) + +# network +add_subdirectory(${COCOS2D_ROOT}/cocos/network) + +# extensions +add_subdirectory(${COCOS2D_ROOT}/extensions) + +## Editor Support + +# spine +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/spine) + +# cocosbuilder +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocosbuilder) + +# cocostudio +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocostudio) + +# add the executable +add_executable(${APP_NAME} + ${GAME_SRC} +) + +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(FMOD_LIB "fmodex64") +else() +set(FMOD_LIB "fmodex") +endif() + +target_link_libraries(${APP_NAME} + gui + network + storage + spine + cocostudio + cocosbuilder + extensions + audio + cocos2d + ) + +set(APP_BIN_DIR "${CMAKE_BINARY_DIR}/bin") + +set_target_properties(${APP_NAME} PROPERTIES + RUNTIME_OUTPUT_DIRECTORY "${APP_BIN_DIR}") + +pre_build(${APP_NAME} + COMMAND ${CMAKE_COMMAND} -E remove_directory ${APP_BIN_DIR}/Resources + COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/Resources ${APP_BIN_DIR}/Resources + ) + diff --git a/SampleFrameAnimation/Classes/AppDelegate.cpp b/SampleFrameAnimation/Classes/AppDelegate.cpp new file mode 100644 index 0000000..5347964 --- /dev/null +++ b/SampleFrameAnimation/Classes/AppDelegate.cpp @@ -0,0 +1,52 @@ +#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 = GLView::create("My Game"); + director->setOpenGLView(glview); + } + + // turn on display FPS + director->setDisplayStats(true); + + // 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::sharedEngine()->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::sharedEngine()->resumeBackgroundMusic(); +} diff --git a/SampleFrameAnimation/Classes/AppDelegate.h b/SampleFrameAnimation/Classes/AppDelegate.h new file mode 100644 index 0000000..01cbb7c --- /dev/null +++ b/SampleFrameAnimation/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/SampleFrameAnimation/Classes/Fishes.cpp b/SampleFrameAnimation/Classes/Fishes.cpp new file mode 100644 index 0000000..5476a63 --- /dev/null +++ b/SampleFrameAnimation/Classes/Fishes.cpp @@ -0,0 +1,152 @@ +#include "Fishes.h" + +using namespace cocos2d; +using namespace cocos2d::extension; +using namespace cocostudio; + +void Fishes::onEnter() +{ + CCLayer::onEnter(); + + size = CCDirector::sharedDirector()->getVisibleSize(); + //2048*1536 + this->setScaleX(size.width/2048); + this->setScaleY(size.height/1536); + size.height = 1536; + size.width = 2048; +} + + +void Fishes::onExit() +{ + removeAllChildren(); +} + +void Fish01::onEnter() +{ + Fishes::onEnter(); + + ArmatureDataManager::sharedArmatureDataManager()->addArmatureFileInfo("fish010.png","fish010.plist","fish01.ExportJson"); + + Armature* armature = Armature::create("fish01"); + armature->getAnimation()->playByIndex(0); + armature->setPosition(ccp(0.1 * size.width,0.8*size.height)); + addChild(armature); +} + +void Fish02::onEnter() +{ + Fishes::onEnter(); + + ArmatureDataManager::sharedArmatureDataManager()->addArmatureFileInfo("fish020.png","fish020.plist","fish02.ExportJson"); + + Armature* armature = Armature::create("fish02"); + armature->getAnimation()->playByIndex(0); + armature->setPosition(ccp(size.width * 0.7,size.width * 0.4)); + armature->setScaleX(2.5); + armature->setScaleY(2.5); + armature->runAction(CCRepeatForever::create(CCRotateBy::create(5,360))); + addChild(armature); +} + +void Fish03::onEnter() +{ + Fishes::onEnter(); + + ArmatureDataManager::sharedArmatureDataManager()->addArmatureFileInfo("fish030.png","fish030.plist","fish03.ExportJson"); + + Armature* armature = Armature::create("fish03"); + armature->getAnimation()->playByIndex(0); + armature->setPosition(ccp(150,150)); + addChild(armature); +} + +void Fish04::onEnter() +{ + Fishes::onEnter(); + //create a sequence with a call back + CCActionInterval* actionToUp = CCMoveTo::create(10.0,ccp(0.3 *size.width,size.height * -0.5)); + CCSequence* seq = CCSequence::create(actionToUp,CCCallFunc::create(this,callfunc_selector(Fish04::callback)),NULL); + + ArmatureDataManager::sharedArmatureDataManager()->addArmatureFileInfo("fish040.png","fish040.plist","fish04.ExportJson"); + + armature = Armature::create("fish04"); + armature->setRotation(-90); + armature->getAnimation()->playByIndex(0); + armature->setPosition(ccp(0.3 * size.width,1.5*size.height)); + armature->runAction(CCRepeatForever::create(seq)); + addChild(armature); +} + +void Fish04::callback() +{ + armature->setPosition(ccp(0.3 * size.width,1.5*size.height)); +} + + +void Fish05::onEnter() +{ + Fishes::onEnter(); + CCActionInterval* actionToLeft = CCMoveTo::create(5,ccp(size.width * -0.3,size.height * 0.5)); + CCActionInterval* actionRotate = CCRotateBy::create(0,180); + CCActionInterval* actionToRight = CCMoveTo::create(5,ccp(size.width * 1.3,size.height * 0.5)); + CCAction* action = CCRepeatForever::create(CCSequence::create(actionToLeft,actionRotate,actionToRight,actionRotate,NULL)); + + ArmatureDataManager::sharedArmatureDataManager()->addArmatureFileInfo("fish050.png","fish050.plist","fish05.ExportJson"); + + Armature* armature = Armature::create("fish05"); + armature->getAnimation()->playByIndex(0); + armature->setPosition(ccp(size.width * 1.3,size.height * 0.5)); + armature->runAction(action); + addChild(armature); +} + +void Fish06::onEnter() +{ + Fishes::onEnter(); + //move and change direction + CCActionInterval* actionToLeft = CCMoveTo::create(5,ccp(size.width * 0.3,size.height * 0.7)); + CCActionInterval* actionToDown = CCMoveTo::create(5,ccp(size.width * 0.3,size.height * -0.1)); + CCActionInterval* actionRotate = CCRotateBy::create(1,-90); + CCActionInterval* actionToRight = CCMoveTo::create(5,ccp(size.width * 1.1,size.height * 0.7)); + CCActionInterval* actionRotate1 = CCRotateBy::create(1,-135); + CCActionInterval* actionRotate2 = CCRotateBy::create(1,225); + CCAction* action = CCRepeatForever::create(CCSequence::create(actionToLeft,actionRotate,actionToDown,actionRotate1,actionToRight,actionRotate2,NULL)); + //create armature and action set to repeat forever + ArmatureDataManager::sharedArmatureDataManager()->addArmatureFileInfo("fish060.png","fish060.plist","fish06.ExportJson"); + + Armature* armature = Armature::create("fish06"); + armature->getAnimation()->playByIndex(0); + armature->setPosition(ccp(size.width * 1.1,size.height * 0.7)); + armature->runAction(action); + addChild(armature); +} + +void Fish07::onEnter() +{ + Fishes::onEnter(); + //when arrive fate out and remove + CCActionInterval* actionToUp = CCMoveTo::create(8,ccp(size.width * 0.7,size.height * 0.4)); + CCSequence* seq = CCSequence::create(actionToUp,CCCallFunc::create(this,callfunc_selector(Fish07::callback)),NULL); + + ArmatureDataManager::sharedArmatureDataManager()->addArmatureFileInfo("fish070.png","fish070.plist","fish07.ExportJson"); + + armature = Armature::create("fish07"); + armature->getAnimation()->playByIndex(0); + armature->setRotation(90); + armature->setPosition(ccp(0.7 * size.width,-0.3)); + armature->runAction(seq); + addChild(armature); +} + +void Fish07::callback() +{ + armature->getAnimation()->playByIndex(1); + armature->stopAllActions(); + armature->runAction(CCSequence::create(CCFadeOut::create(3.0),CCCallFunc::create(this,callfunc_selector(Fish07::removeSelf)),NULL)); +} + +void Fish07::removeSelf() +{ + armature->removeFromParent(); +} diff --git a/SampleFrameAnimation/Classes/Fishes.h b/SampleFrameAnimation/Classes/Fishes.h new file mode 100644 index 0000000..b983d6d --- /dev/null +++ b/SampleFrameAnimation/Classes/Fishes.h @@ -0,0 +1,66 @@ +#ifndef __FISHES_H__ +#define __FISHES_H__ + +#include "cocos2d.h" +#include "cocos-ext.h" +#include "cocostudio/CocoStudio.h" +#include "CocosGUI.h" + +class Fishes : public cocos2d::CCLayer +{ +public: + virtual void onExit(); + virtual void onEnter(); + + cocos2d::CCSize size; +}; + +class Fish01 : public Fishes +{ +public: + virtual void onEnter(); +}; + +class Fish02 : public Fishes +{ +public: + virtual void onEnter(); +}; + +class Fish03 : public Fishes +{ +public: + virtual void onEnter(); +}; + +class Fish04 : public Fishes +{ +public: + virtual void onEnter(); +private: + void callback(); + cocostudio::Armature* armature; +}; + +class Fish05 : public Fishes +{ +public: + virtual void onEnter(); +}; + +class Fish06 : public Fishes +{ +public: + virtual void onEnter(); +}; + +class Fish07 : public Fishes +{ +public: + virtual void onEnter(); +private: + void callback(); + void removeSelf(); + cocostudio::Armature* armature; +}; +#endif \ No newline at end of file diff --git a/SampleFrameAnimation/Classes/HelloWorldScene.cpp b/SampleFrameAnimation/Classes/HelloWorldScene.cpp new file mode 100644 index 0000000..2921539 --- /dev/null +++ b/SampleFrameAnimation/Classes/HelloWorldScene.cpp @@ -0,0 +1,125 @@ +#include "HelloWorldScene.h" +#include "Fishes.h" + + +USING_NS_CC; + +Scene* HelloWorld::createScene() +{ + // 'scene' is an autorelease object + 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; + } + + + CCSize visibleSize = CCDirector::sharedDirector()->getVisibleSize(); + CCPoint origin = CCDirector::sharedDirector()->getVisibleOrigin(); + + ///////////////////////////// + // 2. add a menu item with "X" image, which is clicked to quit the program + // you may modify it. + + // add a "close" icon to exit the progress. it's an autorelease object + CCMenuItemImage *pCloseItem = CCMenuItemImage::create( + "CloseNormal.png", + "CloseSelected.png", + this, + menu_selector(HelloWorld::menuCloseCallback)); + + pCloseItem->setPosition(ccp(origin.x + visibleSize.width - pCloseItem->getContentSize().width/2 , + origin.y + pCloseItem->getContentSize().height/2)); + + // create menu, it's an autorelease object + CCMenu* pMenu = CCMenu::create(pCloseItem, NULL); + pMenu->setPosition(CCPointZero); + this->addChild(pMenu, 1); + + ///////////////////////////// + // 3. add your codes below... + //create a fish without action + Fish01* fish1 = new Fish01(); + this->addChild(fish1,2); + + //create a fish rotate forever + Fish02* fish2 = new Fish02(); + this->addChild(fish2,2); + + //create a fish swim around + Fish06* fish6 = new Fish06(); + this->addChild(fish6,1); + + //create a fish fade out + Fish07* fish7 = new Fish07(); + this->addChild(fish7,2); + + //create a fish group + Fish05* fish5 = new Fish05(); + this->addChild(fish5,1); + + Fish05* fish51 = new Fish05(); + fish51->setPosition(ccp(30,30)); + this->addChild(fish51,1); + + Fish05* fish52 = new Fish05(); + fish52->setPosition(ccp(30,-30)); + this->addChild(fish52,1); + + //create a fish with a call back + Fish04* fish40 = new Fish04(); + this->addChild(fish40,2); + + Fish04* fish41 = new Fish04(); + fish41->setPosition(ccp(0,-70)); + this->addChild(fish41,2); + + Fish04* fish42 = new Fish04(); + fish42->setPosition(ccp(0,-140)); + this->addChild(fish42,2); + + Fish04* fish43 = new Fish04(); + fish43->setPosition(ccp(0,-210)); + this->addChild(fish43,2); + // add a label shows "Hello World" + // create and initialize a label + + // add backGround splash screen" + CCSprite* pSprite = CCSprite::create("2048.png"); + //scale background + pSprite->setScaleX(visibleSize.width/2048); + pSprite->setScaleY(visibleSize.height/1536); + // position the sprite on the center of the screen + pSprite->setPosition(ccp(visibleSize.width/2 + origin.x, visibleSize.height/2 + origin.y)); + + // add the sprite as a child to this layer + this->addChild(pSprite, 0); + + return true; +} + + +void HelloWorld::menuCloseCallback(Ref* pSender) +{ + Director::getInstance()->end(); + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + exit(0); +#endif +} diff --git a/SampleFrameAnimation/Classes/HelloWorldScene.h b/SampleFrameAnimation/Classes/HelloWorldScene.h new file mode 100644 index 0000000..3473313 --- /dev/null +++ b/SampleFrameAnimation/Classes/HelloWorldScene.h @@ -0,0 +1,22 @@ +#ifndef __HELLOWORLD_SCENE_H__ +#define __HELLOWORLD_SCENE_H__ + +#include "cocos2d.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(); + + // a selector callback + void menuCloseCallback(cocos2d::Ref* pSender); + + // implement the "static create()" method manually + CREATE_FUNC(HelloWorld); +}; + +#endif // __HELLOWORLD_SCENE_H__ diff --git a/SampleFrameAnimation/Resources/2048.png b/SampleFrameAnimation/Resources/2048.png new file mode 100644 index 0000000..f5a4317 Binary files /dev/null and b/SampleFrameAnimation/Resources/2048.png differ diff --git a/SampleFrameAnimation/Resources/CloseNormal.png b/SampleFrameAnimation/Resources/CloseNormal.png new file mode 100644 index 0000000..5657a13 Binary files /dev/null and b/SampleFrameAnimation/Resources/CloseNormal.png differ diff --git a/SampleFrameAnimation/Resources/CloseSelected.png b/SampleFrameAnimation/Resources/CloseSelected.png new file mode 100644 index 0000000..e4c82da Binary files /dev/null and b/SampleFrameAnimation/Resources/CloseSelected.png differ diff --git a/SampleFrameAnimation/Resources/HelloWorld.png b/SampleFrameAnimation/Resources/HelloWorld.png new file mode 100644 index 0000000..5fe89fb Binary files /dev/null and b/SampleFrameAnimation/Resources/HelloWorld.png differ diff --git a/SampleFrameAnimation/Resources/fish01.ExportJson b/SampleFrameAnimation/Resources/fish01.ExportJson new file mode 100644 index 0000000..b38c4f5 --- /dev/null +++ b/SampleFrameAnimation/Resources/fish01.ExportJson @@ -0,0 +1,716 @@ +{ + "armature_data": [ + { + "strVersion": "0.3.2.0", + "version": 0.32, + "name": "fish01", + "bone_data": [ + { + "name": "Layer4", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "actor_fish_denglong_normal_001.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_002.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_003.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_004.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_005.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_006.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_007.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_008.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_009.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_010.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_011.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_012.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_013.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_014.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_015.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_016.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_017.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_018.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_019.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_denglong_normal_020.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "fish01", + "mov_data": [ + { + "name": "Animation1", + "dr": 95, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 1.0, + "mov_bone_data": [ + { + "name": "Layer4", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0 + }, + { + "dI": 2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0 + }, + { + "dI": 3, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0 + }, + { + "dI": 4, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + }, + { + "dI": 5, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + }, + { + "dI": 6, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 30, + "twE": 0 + }, + { + "dI": 7, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 35, + "twE": 0 + }, + { + "dI": 8, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 40, + "twE": 0 + }, + { + "dI": 9, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 45, + "twE": 0 + }, + { + "dI": 10, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0 + }, + { + "dI": 11, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 55, + "twE": 0 + }, + { + "dI": 12, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 60, + "twE": 0 + }, + { + "dI": 13, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 65, + "twE": 0 + }, + { + "dI": 14, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 70, + "twE": 0 + }, + { + "dI": 15, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 75, + "twE": 0 + }, + { + "dI": 16, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 80, + "twE": 0 + }, + { + "dI": 17, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 85, + "twE": 0 + }, + { + "dI": 18, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 90, + "twE": 0 + }, + { + "dI": 19, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 95, + "twE": 0 + } + ] + } + ] + } + ] + } + ], + "texture_data": [ + { + "name": "actor_fish_denglong_normal_001", + "width": 412.0, + "height": 300.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_002", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_003", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_004", + "width": 412.0, + "height": 300.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_005", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_006", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_007", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_008", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_009", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_010", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_011", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_012", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_013", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_014", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_015", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_016", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_017", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_018", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_019", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_denglong_normal_020", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + } + ], + "config_file_path": [ + "fish010.plist" + ] +} \ No newline at end of file diff --git a/SampleFrameAnimation/Resources/fish010.plist b/SampleFrameAnimation/Resources/fish010.plist new file mode 100644 index 0000000..2912ad6 --- /dev/null +++ b/SampleFrameAnimation/Resources/fish010.plist @@ -0,0 +1,407 @@ + + + + + frames + + actor_fish_denglong_normal_001.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 0 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_002.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 414 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_003.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 828 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_004.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 1242 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_005.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 1656 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_006.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 2070 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_007.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 2484 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_008.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 2898 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_009.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 3312 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_010.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 0 + y + 302 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_011.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 414 + y + 302 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_012.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 828 + y + 302 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_013.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 1242 + y + 302 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_014.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 1656 + y + 302 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_015.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 2070 + y + 302 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_016.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 2484 + y + 302 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_017.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 2898 + y + 302 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_018.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 3312 + y + 302 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_019.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 0 + y + 604 + offsetX + 0 + offsetY + 0 + + actor_fish_denglong_normal_020.png + + width + 412 + height + 300 + originalWidth + 412 + originalHeight + 300 + x + 414 + y + 604 + offsetX + 0 + offsetY + 0 + + + metadata + + format + 0 + textureFileName + fish010.png + realTextureFileName + fish010.png + size + {4096,2048} + + texture + + width + 4096 + height + 2048 + + + \ No newline at end of file diff --git a/SampleFrameAnimation/Resources/fish010.png b/SampleFrameAnimation/Resources/fish010.png new file mode 100644 index 0000000..10b59e9 Binary files /dev/null and b/SampleFrameAnimation/Resources/fish010.png differ diff --git a/SampleFrameAnimation/Resources/fish02.ExportJson b/SampleFrameAnimation/Resources/fish02.ExportJson new file mode 100644 index 0000000..0ccf73d --- /dev/null +++ b/SampleFrameAnimation/Resources/fish02.ExportJson @@ -0,0 +1,683 @@ +{ + "armature_data": [ + { + "strVersion": "0.3.2.0", + "version": 0.32, + "name": "fish02", + "bone_data": [ + { + "name": "Layer1", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "actor_fish_hetun01_normal_001.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_002.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_003.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_004.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_005.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_006.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_007.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_008.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_009.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_010.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_011.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_012.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_013.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_014.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_015.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_016.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_017.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_018.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_hetun01_normal_019.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "fish02", + "mov_data": [ + { + "name": "Animation1", + "dr": 90, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 1.0, + "mov_bone_data": [ + { + "name": "Layer1", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0 + }, + { + "dI": 2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0 + }, + { + "dI": 3, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0 + }, + { + "dI": 4, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + }, + { + "dI": 5, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + }, + { + "dI": 6, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 30, + "twE": 0 + }, + { + "dI": 7, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 35, + "twE": 0 + }, + { + "dI": 8, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 40, + "twE": 0 + }, + { + "dI": 9, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 45, + "twE": 0 + }, + { + "dI": 10, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0 + }, + { + "dI": 11, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 55, + "twE": 0 + }, + { + "dI": 12, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 60, + "twE": 0 + }, + { + "dI": 13, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 65, + "twE": 0 + }, + { + "dI": 14, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 70, + "twE": 0 + }, + { + "dI": 15, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 75, + "twE": 0 + }, + { + "dI": 16, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 80, + "twE": 0 + }, + { + "dI": 17, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 85, + "twE": 0 + }, + { + "dI": 18, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 90, + "twE": 0 + } + ] + } + ] + } + ] + } + ], + "texture_data": [ + { + "name": "actor_fish_hetun01_normal_001", + "width": 172.0, + "height": 140.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_002", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_003", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_004", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_005", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_006", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_007", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_008", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_009", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_010", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_011", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_012", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_013", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_014", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_015", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_016", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_017", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_018", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_hetun01_normal_019", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + } + ], + "config_file_path": [ + "fish020.plist" + ] +} \ No newline at end of file diff --git a/SampleFrameAnimation/Resources/fish020.plist b/SampleFrameAnimation/Resources/fish020.plist new file mode 100644 index 0000000..bbe42a6 --- /dev/null +++ b/SampleFrameAnimation/Resources/fish020.plist @@ -0,0 +1,388 @@ + + + + + frames + + actor_fish_hetun01_normal_001.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 0 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_002.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 174 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_003.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 348 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_004.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 522 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_005.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 696 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_006.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 870 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_007.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 1044 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_008.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 1218 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_009.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 1392 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_010.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 1566 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_011.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 1740 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_012.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 0 + y + 142 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_013.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 174 + y + 142 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_014.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 348 + y + 142 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_015.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 522 + y + 142 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_016.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 696 + y + 142 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_017.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 870 + y + 142 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_018.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 1044 + y + 142 + offsetX + 0 + offsetY + 0 + + actor_fish_hetun01_normal_019.png + + width + 172 + height + 140 + originalWidth + 172 + originalHeight + 140 + x + 1218 + y + 142 + offsetX + 0 + offsetY + 0 + + + metadata + + format + 0 + textureFileName + fish020.png + realTextureFileName + fish020.png + size + {2048,1024} + + texture + + width + 2048 + height + 1024 + + + \ No newline at end of file diff --git a/SampleFrameAnimation/Resources/fish020.png b/SampleFrameAnimation/Resources/fish020.png new file mode 100644 index 0000000..75f375a Binary files /dev/null and b/SampleFrameAnimation/Resources/fish020.png differ diff --git a/SampleFrameAnimation/Resources/fish03.ExportJson b/SampleFrameAnimation/Resources/fish03.ExportJson new file mode 100644 index 0000000..e26fb6d --- /dev/null +++ b/SampleFrameAnimation/Resources/fish03.ExportJson @@ -0,0 +1,485 @@ +{ + "armature_data": [ + { + "strVersion": "0.3.2.0", + "version": 0.32, + "name": "fish03", + "bone_data": [ + { + "name": "Layer5", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "actor_fish_chouyu_normal_001.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_chouyu_normal_002.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_chouyu_normal_003.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_chouyu_normal_004.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_chouyu_normal_005.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_chouyu_normal_006.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_chouyu_normal_007.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_chouyu_normal_008.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_chouyu_normal_009.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_chouyu_normal_010.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_chouyu_normal_011.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_chouyu_normal_012.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_chouyu_normal_013.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "fish03", + "mov_data": [ + { + "name": "Animation1", + "dr": 60, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 1.0, + "mov_bone_data": [ + { + "name": "Layer5", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0 + }, + { + "dI": 2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0 + }, + { + "dI": 3, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0 + }, + { + "dI": 4, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + }, + { + "dI": 5, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + }, + { + "dI": 6, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 30, + "twE": 0 + }, + { + "dI": 7, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 35, + "twE": 0 + }, + { + "dI": 8, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 40, + "twE": 0 + }, + { + "dI": 9, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 45, + "twE": 0 + }, + { + "dI": 10, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0 + }, + { + "dI": 11, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 55, + "twE": 0 + }, + { + "dI": 12, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 60, + "twE": 0 + } + ] + } + ] + } + ] + } + ], + "texture_data": [ + { + "name": "actor_fish_chouyu_normal_001", + "width": 272.0, + "height": 132.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_chouyu_normal_002", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_chouyu_normal_003", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_chouyu_normal_004", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_chouyu_normal_005", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_chouyu_normal_006", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_chouyu_normal_007", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_chouyu_normal_008", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_chouyu_normal_009", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_chouyu_normal_010", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_chouyu_normal_011", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_chouyu_normal_012", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_chouyu_normal_013", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + } + ], + "config_file_path": [ + "fish030.plist" + ] +} \ No newline at end of file diff --git a/SampleFrameAnimation/Resources/fish030.plist b/SampleFrameAnimation/Resources/fish030.plist new file mode 100644 index 0000000..fb9dce9 --- /dev/null +++ b/SampleFrameAnimation/Resources/fish030.plist @@ -0,0 +1,274 @@ + + + + + frames + + actor_fish_chouyu_normal_001.png + + width + 272 + height + 132 + originalWidth + 272 + originalHeight + 132 + x + 0 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_chouyu_normal_002.png + + width + 272 + height + 132 + originalWidth + 272 + originalHeight + 132 + x + 274 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_chouyu_normal_003.png + + width + 272 + height + 132 + originalWidth + 272 + originalHeight + 132 + x + 548 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_chouyu_normal_004.png + + width + 272 + height + 132 + originalWidth + 272 + originalHeight + 132 + x + 822 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_chouyu_normal_005.png + + width + 272 + height + 132 + originalWidth + 272 + originalHeight + 132 + x + 1096 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_chouyu_normal_006.png + + width + 272 + height + 132 + originalWidth + 272 + originalHeight + 132 + x + 1370 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_chouyu_normal_007.png + + width + 272 + height + 132 + originalWidth + 272 + originalHeight + 132 + x + 1644 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_chouyu_normal_008.png + + width + 272 + height + 132 + originalWidth + 272 + originalHeight + 132 + x + 0 + y + 134 + offsetX + 0 + offsetY + 0 + + actor_fish_chouyu_normal_009.png + + width + 272 + height + 132 + originalWidth + 272 + originalHeight + 132 + x + 274 + y + 134 + offsetX + 0 + offsetY + 0 + + actor_fish_chouyu_normal_010.png + + width + 272 + height + 132 + originalWidth + 272 + originalHeight + 132 + x + 548 + y + 134 + offsetX + 0 + offsetY + 0 + + actor_fish_chouyu_normal_011.png + + width + 272 + height + 132 + originalWidth + 272 + originalHeight + 132 + x + 822 + y + 134 + offsetX + 0 + offsetY + 0 + + actor_fish_chouyu_normal_012.png + + width + 272 + height + 132 + originalWidth + 272 + originalHeight + 132 + x + 1096 + y + 134 + offsetX + 0 + offsetY + 0 + + actor_fish_chouyu_normal_013.png + + width + 272 + height + 132 + originalWidth + 272 + originalHeight + 132 + x + 1370 + y + 134 + offsetX + 0 + offsetY + 0 + + + metadata + + format + 0 + textureFileName + fish030.png + realTextureFileName + fish030.png + size + {2048,1024} + + texture + + width + 2048 + height + 1024 + + + \ No newline at end of file diff --git a/SampleFrameAnimation/Resources/fish030.png b/SampleFrameAnimation/Resources/fish030.png new file mode 100644 index 0000000..908a0a2 Binary files /dev/null and b/SampleFrameAnimation/Resources/fish030.png differ diff --git a/SampleFrameAnimation/Resources/fish04.ExportJson b/SampleFrameAnimation/Resources/fish04.ExportJson new file mode 100644 index 0000000..81486a9 --- /dev/null +++ b/SampleFrameAnimation/Resources/fish04.ExportJson @@ -0,0 +1,551 @@ +{ + "armature_data": [ + { + "strVersion": "0.3.2.0", + "version": 0.32, + "name": "fish04", + "bone_data": [ + { + "name": "Layer6", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "actor_fish_haigui_normal_001.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_haigui_normal_002.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_haigui_normal_003.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_haigui_normal_004.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_haigui_normal_005.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_haigui_normal_006.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_haigui_normal_007.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_haigui_normal_008.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_haigui_normal_009.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_haigui_normal_010.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_haigui_normal_011.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_haigui_normal_012.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_haigui_normal_013.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_haigui_normal_014.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_haigui_normal_015.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "fish04", + "mov_data": [ + { + "name": "Animation1", + "dr": 70, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 1.0, + "mov_bone_data": [ + { + "name": "Layer6", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0 + }, + { + "dI": 2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0 + }, + { + "dI": 3, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0 + }, + { + "dI": 4, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + }, + { + "dI": 5, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + }, + { + "dI": 6, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 30, + "twE": 0 + }, + { + "dI": 7, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 35, + "twE": 0 + }, + { + "dI": 8, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 40, + "twE": 0 + }, + { + "dI": 9, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 45, + "twE": 0 + }, + { + "dI": 10, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0 + }, + { + "dI": 11, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 55, + "twE": 0 + }, + { + "dI": 12, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 60, + "twE": 0 + }, + { + "dI": 13, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 65, + "twE": 0 + }, + { + "dI": 13, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 70, + "twE": 0 + } + ] + } + ] + } + ] + } + ], + "texture_data": [ + { + "name": "actor_fish_haigui_normal_001", + "width": 300.0, + "height": 408.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_haigui_normal_002", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_haigui_normal_003", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_haigui_normal_004", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_haigui_normal_005", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_haigui_normal_006", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_haigui_normal_007", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_haigui_normal_008", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_haigui_normal_009", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_haigui_normal_010", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_haigui_normal_011", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_haigui_normal_012", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_haigui_normal_013", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_haigui_normal_014", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_haigui_normal_015", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + } + ], + "config_file_path": [ + "fish040.plist" + ] +} \ No newline at end of file diff --git a/SampleFrameAnimation/Resources/fish040.plist b/SampleFrameAnimation/Resources/fish040.plist new file mode 100644 index 0000000..d73197e --- /dev/null +++ b/SampleFrameAnimation/Resources/fish040.plist @@ -0,0 +1,312 @@ + + + + + frames + + actor_fish_haigui_normal_001.png + + width + 300 + height + 408 + originalWidth + 300 + originalHeight + 408 + x + 0 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_haigui_normal_002.png + + width + 300 + height + 408 + originalWidth + 300 + originalHeight + 408 + x + 302 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_haigui_normal_003.png + + width + 300 + height + 408 + originalWidth + 300 + originalHeight + 408 + x + 604 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_haigui_normal_004.png + + width + 300 + height + 408 + originalWidth + 300 + originalHeight + 408 + x + 906 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_haigui_normal_005.png + + width + 300 + height + 408 + originalWidth + 300 + originalHeight + 408 + x + 1208 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_haigui_normal_006.png + + width + 300 + height + 408 + originalWidth + 300 + originalHeight + 408 + x + 1510 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_haigui_normal_007.png + + width + 300 + height + 408 + originalWidth + 300 + originalHeight + 408 + x + 0 + y + 410 + offsetX + 0 + offsetY + 0 + + actor_fish_haigui_normal_008.png + + width + 300 + height + 408 + originalWidth + 300 + originalHeight + 408 + x + 302 + y + 410 + offsetX + 0 + offsetY + 0 + + actor_fish_haigui_normal_009.png + + width + 300 + height + 408 + originalWidth + 300 + originalHeight + 408 + x + 604 + y + 410 + offsetX + 0 + offsetY + 0 + + actor_fish_haigui_normal_010.png + + width + 300 + height + 408 + originalWidth + 300 + originalHeight + 408 + x + 906 + y + 410 + offsetX + 0 + offsetY + 0 + + actor_fish_haigui_normal_011.png + + width + 300 + height + 408 + originalWidth + 300 + originalHeight + 408 + x + 1208 + y + 410 + offsetX + 0 + offsetY + 0 + + actor_fish_haigui_normal_012.png + + width + 300 + height + 408 + originalWidth + 300 + originalHeight + 408 + x + 1510 + y + 410 + offsetX + 0 + offsetY + 0 + + actor_fish_haigui_normal_013.png + + width + 300 + height + 408 + originalWidth + 300 + originalHeight + 408 + x + 0 + y + 820 + offsetX + 0 + offsetY + 0 + + actor_fish_haigui_normal_014.png + + width + 300 + height + 408 + originalWidth + 300 + originalHeight + 408 + x + 302 + y + 820 + offsetX + 0 + offsetY + 0 + + actor_fish_haigui_normal_015.png + + width + 300 + height + 408 + originalWidth + 300 + originalHeight + 408 + x + 604 + y + 820 + offsetX + 0 + offsetY + 0 + + + metadata + + format + 0 + textureFileName + fish040.png + realTextureFileName + fish040.png + size + {2048,2048} + + texture + + width + 2048 + height + 2048 + + + \ No newline at end of file diff --git a/SampleFrameAnimation/Resources/fish040.png b/SampleFrameAnimation/Resources/fish040.png new file mode 100644 index 0000000..291717e Binary files /dev/null and b/SampleFrameAnimation/Resources/fish040.png differ diff --git a/SampleFrameAnimation/Resources/fish05.ExportJson b/SampleFrameAnimation/Resources/fish05.ExportJson new file mode 100644 index 0000000..c6d56f8 --- /dev/null +++ b/SampleFrameAnimation/Resources/fish05.ExportJson @@ -0,0 +1,683 @@ +{ + "armature_data": [ + { + "strVersion": "0.3.2.0", + "version": 0.32, + "name": "fish05", + "bone_data": [ + { + "name": "Layer7", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "actor_fish_shuimu_normal_001.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_002.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_003.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_004.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_005.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_006.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_007.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_008.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_009.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_010.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_011.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_012.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_013.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_014.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_015.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_016.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_017.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_018.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shuimu_normal_019.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "fish05", + "mov_data": [ + { + "name": "Animation1", + "dr": 90, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 1.0, + "mov_bone_data": [ + { + "name": "Layer7", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0 + }, + { + "dI": 2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0 + }, + { + "dI": 3, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0 + }, + { + "dI": 4, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + }, + { + "dI": 5, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + }, + { + "dI": 6, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 30, + "twE": 0 + }, + { + "dI": 7, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 35, + "twE": 0 + }, + { + "dI": 8, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 40, + "twE": 0 + }, + { + "dI": 9, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 45, + "twE": 0 + }, + { + "dI": 10, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0 + }, + { + "dI": 11, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 55, + "twE": 0 + }, + { + "dI": 12, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 60, + "twE": 0 + }, + { + "dI": 13, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 65, + "twE": 0 + }, + { + "dI": 14, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 70, + "twE": 0 + }, + { + "dI": 15, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 75, + "twE": 0 + }, + { + "dI": 16, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 80, + "twE": 0 + }, + { + "dI": 17, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 85, + "twE": 0 + }, + { + "dI": 18, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 90, + "twE": 0 + } + ] + } + ] + } + ] + } + ], + "texture_data": [ + { + "name": "actor_fish_shuimu_normal_001", + "width": 300.0, + "height": 182.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_002", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_003", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_004", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_005", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_006", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_007", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_008", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_009", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_010", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_011", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_012", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_013", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_014", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_015", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_016", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_017", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_018", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shuimu_normal_019", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + } + ], + "config_file_path": [ + "fish050.plist" + ] +} \ No newline at end of file diff --git a/SampleFrameAnimation/Resources/fish050.plist b/SampleFrameAnimation/Resources/fish050.plist new file mode 100644 index 0000000..0d03f81 --- /dev/null +++ b/SampleFrameAnimation/Resources/fish050.plist @@ -0,0 +1,388 @@ + + + + + frames + + actor_fish_shuimu_normal_001.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 0 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_002.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 302 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_003.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 604 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_004.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 906 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_005.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 1208 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_006.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 1510 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_007.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 0 + y + 184 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_008.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 302 + y + 184 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_009.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 604 + y + 184 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_010.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 906 + y + 184 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_011.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 1208 + y + 184 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_012.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 1510 + y + 184 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_013.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 0 + y + 368 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_014.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 302 + y + 368 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_015.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 604 + y + 368 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_016.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 906 + y + 368 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_017.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 1208 + y + 368 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_018.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 1510 + y + 368 + offsetX + 0 + offsetY + 0 + + actor_fish_shuimu_normal_019.png + + width + 300 + height + 182 + originalWidth + 300 + originalHeight + 182 + x + 0 + y + 552 + offsetX + 0 + offsetY + 0 + + + metadata + + format + 0 + textureFileName + fish050.png + realTextureFileName + fish050.png + size + {2048,2048} + + texture + + width + 2048 + height + 2048 + + + \ No newline at end of file diff --git a/SampleFrameAnimation/Resources/fish050.png b/SampleFrameAnimation/Resources/fish050.png new file mode 100644 index 0000000..0af25d7 Binary files /dev/null and b/SampleFrameAnimation/Resources/fish050.png differ diff --git a/SampleFrameAnimation/Resources/fish06.ExportJson b/SampleFrameAnimation/Resources/fish06.ExportJson new file mode 100644 index 0000000..fbabd1c --- /dev/null +++ b/SampleFrameAnimation/Resources/fish06.ExportJson @@ -0,0 +1,551 @@ +{ + "armature_data": [ + { + "strVersion": "0.3.2.0", + "version": 0.32, + "name": "fish06", + "bone_data": [ + { + "name": "Layer9", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "actor_fish_xiaochou_normal_001.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_xiaochou_normal_002.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_xiaochou_normal_003.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_xiaochou_normal_004.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_xiaochou_normal_005.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_xiaochou_normal_006.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_xiaochou_normal_007.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_xiaochou_normal_008.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_xiaochou_normal_009.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_xiaochou_normal_010.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_xiaochou_normal_011.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_xiaochou_normal_012.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_xiaochou_normal_013.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_xiaochou_normal_014.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_xiaochou_normal_015.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "fish06", + "mov_data": [ + { + "name": "Animation1", + "dr": 70, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 1.0, + "mov_bone_data": [ + { + "name": "Layer9", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0 + }, + { + "dI": 2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0 + }, + { + "dI": 3, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0 + }, + { + "dI": 4, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + }, + { + "dI": 5, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + }, + { + "dI": 6, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 30, + "twE": 0 + }, + { + "dI": 7, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 35, + "twE": 0 + }, + { + "dI": 8, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 40, + "twE": 0 + }, + { + "dI": 9, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 45, + "twE": 0 + }, + { + "dI": 10, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0 + }, + { + "dI": 11, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 55, + "twE": 0 + }, + { + "dI": 12, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 60, + "twE": 0 + }, + { + "dI": 13, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 65, + "twE": 0 + }, + { + "dI": 13, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 70, + "twE": 0 + } + ] + } + ] + } + ] + } + ], + "texture_data": [ + { + "name": "actor_fish_xiaochou_normal_001", + "width": 170.0, + "height": 110.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_xiaochou_normal_002", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_xiaochou_normal_003", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_xiaochou_normal_004", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_xiaochou_normal_005", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_xiaochou_normal_006", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_xiaochou_normal_007", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_xiaochou_normal_008", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_xiaochou_normal_009", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_xiaochou_normal_010", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_xiaochou_normal_011", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_xiaochou_normal_012", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_xiaochou_normal_013", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_xiaochou_normal_014", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_xiaochou_normal_015", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + } + ], + "config_file_path": [ + "fish060.plist" + ] +} \ No newline at end of file diff --git a/SampleFrameAnimation/Resources/fish060.plist b/SampleFrameAnimation/Resources/fish060.plist new file mode 100644 index 0000000..9f41d50 --- /dev/null +++ b/SampleFrameAnimation/Resources/fish060.plist @@ -0,0 +1,312 @@ + + + + + frames + + actor_fish_xiaochou_normal_001.png + + width + 170 + height + 110 + originalWidth + 170 + originalHeight + 110 + x + 0 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_xiaochou_normal_002.png + + width + 170 + height + 110 + originalWidth + 170 + originalHeight + 110 + x + 172 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_xiaochou_normal_003.png + + width + 170 + height + 110 + originalWidth + 170 + originalHeight + 110 + x + 344 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_xiaochou_normal_004.png + + width + 170 + height + 110 + originalWidth + 170 + originalHeight + 110 + x + 516 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_xiaochou_normal_005.png + + width + 170 + height + 110 + originalWidth + 170 + originalHeight + 110 + x + 688 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_xiaochou_normal_006.png + + width + 170 + height + 110 + originalWidth + 170 + originalHeight + 110 + x + 0 + y + 112 + offsetX + 0 + offsetY + 0 + + actor_fish_xiaochou_normal_007.png + + width + 170 + height + 110 + originalWidth + 170 + originalHeight + 110 + x + 172 + y + 112 + offsetX + 0 + offsetY + 0 + + actor_fish_xiaochou_normal_008.png + + width + 170 + height + 110 + originalWidth + 170 + originalHeight + 110 + x + 344 + y + 112 + offsetX + 0 + offsetY + 0 + + actor_fish_xiaochou_normal_009.png + + width + 170 + height + 110 + originalWidth + 170 + originalHeight + 110 + x + 516 + y + 112 + offsetX + 0 + offsetY + 0 + + actor_fish_xiaochou_normal_010.png + + width + 170 + height + 110 + originalWidth + 170 + originalHeight + 110 + x + 688 + y + 112 + offsetX + 0 + offsetY + 0 + + actor_fish_xiaochou_normal_011.png + + width + 170 + height + 110 + originalWidth + 170 + originalHeight + 110 + x + 0 + y + 224 + offsetX + 0 + offsetY + 0 + + actor_fish_xiaochou_normal_012.png + + width + 170 + height + 110 + originalWidth + 170 + originalHeight + 110 + x + 172 + y + 224 + offsetX + 0 + offsetY + 0 + + actor_fish_xiaochou_normal_013.png + + width + 170 + height + 110 + originalWidth + 170 + originalHeight + 110 + x + 344 + y + 224 + offsetX + 0 + offsetY + 0 + + actor_fish_xiaochou_normal_014.png + + width + 170 + height + 110 + originalWidth + 170 + originalHeight + 110 + x + 516 + y + 224 + offsetX + 0 + offsetY + 0 + + actor_fish_xiaochou_normal_015.png + + width + 170 + height + 110 + originalWidth + 170 + originalHeight + 110 + x + 688 + y + 224 + offsetX + 0 + offsetY + 0 + + + metadata + + format + 0 + textureFileName + fish060.png + realTextureFileName + fish060.png + size + {1024,1024} + + texture + + width + 1024 + height + 1024 + + + \ No newline at end of file diff --git a/SampleFrameAnimation/Resources/fish060.png b/SampleFrameAnimation/Resources/fish060.png new file mode 100644 index 0000000..98238c4 Binary files /dev/null and b/SampleFrameAnimation/Resources/fish060.png differ diff --git a/SampleFrameAnimation/Resources/fish07.ExportJson b/SampleFrameAnimation/Resources/fish07.ExportJson new file mode 100644 index 0000000..0005755 --- /dev/null +++ b/SampleFrameAnimation/Resources/fish07.ExportJson @@ -0,0 +1,1079 @@ +{ + "armature_data": [ + { + "strVersion": "0.3.2.0", + "version": 0.32, + "name": "fish07", + "bone_data": [ + { + "name": "Layer2", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 2, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "actor_fish_shizi_dead_001.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_002.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_003.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_004.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_005.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_006.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_007.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_008.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_009.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer1", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "actor_fish_shizi_normal_001.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_002.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_003.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_004.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_005.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_006.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_007.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_008.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_009.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_010.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_011.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_012.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_013.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_014.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_015.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_016.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_017.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_018.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_019.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_020.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_021.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "fish07", + "mov_data": [ + { + "name": "Animation1", + "dr": 100, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 1.0, + "mov_bone_data": [ + { + "name": "Layer1", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0 + }, + { + "dI": 2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0 + }, + { + "dI": 3, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0 + }, + { + "dI": 4, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + }, + { + "dI": 5, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + }, + { + "dI": 6, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 30, + "twE": 0 + }, + { + "dI": 7, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 35, + "twE": 0 + }, + { + "dI": 8, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 40, + "twE": 0 + }, + { + "dI": 9, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 45, + "twE": 0 + }, + { + "dI": 10, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0 + }, + { + "dI": 11, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 55, + "twE": 0 + }, + { + "dI": 12, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 60, + "twE": 0 + }, + { + "dI": 13, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 65, + "twE": 0 + }, + { + "dI": 14, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 70, + "twE": 0 + }, + { + "dI": 15, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 75, + "twE": 0 + }, + { + "dI": 16, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 80, + "twE": 0 + }, + { + "dI": 17, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 85, + "twE": 0 + }, + { + "dI": 18, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 90, + "twE": 0 + }, + { + "dI": 19, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 95, + "twE": 0 + }, + { + "dI": 20, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 100, + "twE": 0 + } + ] + } + ] + }, + { + "name": "Animation2", + "dr": 40, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 1.0, + "mov_bone_data": [ + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0 + }, + { + "dI": 2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0 + }, + { + "dI": 3, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0 + }, + { + "dI": 4, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + }, + { + "dI": 5, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + }, + { + "dI": 6, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 30, + "twE": 0 + }, + { + "dI": 7, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 35, + "twE": 0 + }, + { + "dI": 8, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 40, + "twE": 0 + } + ] + } + ] + } + ] + } + ], + "texture_data": [ + { + "name": "actor_fish_shizi_normal_001", + "width": 264.0, + "height": 388.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_002", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_003", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_004", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_005", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_006", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_007", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_008", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_009", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_010", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_011", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_012", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_013", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_014", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_015", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_016", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_017", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_018", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_019", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_020", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_021", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_001", + "width": 264.0, + "height": 388.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_002", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_003", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_004", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_005", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_006", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_007", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_008", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_009", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + } + ], + "config_file_path": [ + "fish070.plist" + ] +} \ No newline at end of file diff --git a/SampleFrameAnimation/Resources/fish070.plist b/SampleFrameAnimation/Resources/fish070.plist new file mode 100644 index 0000000..3c81cc8 --- /dev/null +++ b/SampleFrameAnimation/Resources/fish070.plist @@ -0,0 +1,597 @@ + + + + + frames + + actor_fish_shizi_normal_001.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 0 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_002.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 266 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_003.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 532 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_004.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 798 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_005.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 1064 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_006.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 1330 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_007.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 1596 + y + 0 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_008.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 0 + y + 390 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_009.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 266 + y + 390 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_010.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 532 + y + 390 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_011.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 798 + y + 390 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_012.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 1064 + y + 390 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_013.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 1330 + y + 390 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_014.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 1596 + y + 390 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_015.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 0 + y + 780 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_016.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 266 + y + 780 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_017.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 532 + y + 780 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_018.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 798 + y + 780 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_019.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 1064 + y + 780 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_020.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 1330 + y + 780 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_normal_021.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 1596 + y + 780 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_dead_001.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 0 + y + 1170 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_dead_002.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 266 + y + 1170 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_dead_003.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 532 + y + 1170 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_dead_004.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 798 + y + 1170 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_dead_005.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 1064 + y + 1170 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_dead_006.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 1330 + y + 1170 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_dead_007.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 1596 + y + 1170 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_dead_008.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 0 + y + 1560 + offsetX + 0 + offsetY + 0 + + actor_fish_shizi_dead_009.png + + width + 264 + height + 388 + originalWidth + 264 + originalHeight + 388 + x + 266 + y + 1560 + offsetX + 0 + offsetY + 0 + + + metadata + + format + 0 + textureFileName + fish070.png + realTextureFileName + fish070.png + size + {2048,2048} + + texture + + width + 2048 + height + 2048 + + + \ No newline at end of file diff --git a/SampleFrameAnimation/Resources/fish070.png b/SampleFrameAnimation/Resources/fish070.png new file mode 100644 index 0000000..4b80d62 Binary files /dev/null and b/SampleFrameAnimation/Resources/fish070.png differ diff --git a/SampleFrameAnimation/Resources/fonts/Marker Felt.ttf b/SampleFrameAnimation/Resources/fonts/Marker Felt.ttf new file mode 100644 index 0000000..3752ef3 Binary files /dev/null and b/SampleFrameAnimation/Resources/fonts/Marker Felt.ttf differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Json/fish07.json b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Json/fish07.json new file mode 100644 index 0000000..172bcd1 --- /dev/null +++ b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Json/fish07.json @@ -0,0 +1,1079 @@ +{ + "armature_data": [ + { + "strVersion": "0.3.2.0", + "version": 0.32, + "name": "fish07", + "bone_data": [ + { + "name": "Layer2", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 2, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "actor_fish_shizi_dead_001.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_002.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_003.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_004.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_005.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_006.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_007.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_008.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_009.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer1", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "actor_fish_shizi_normal_001.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_002.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_003.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_004.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_005.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_006.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_007.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_008.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_009.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_010.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_011.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_012.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_013.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_014.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_015.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_016.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_017.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_018.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_019.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_020.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_021.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "fish07", + "mov_data": [ + { + "name": "Animation1", + "dr": 100, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 1.0, + "mov_bone_data": [ + { + "name": "Layer1", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0 + }, + { + "dI": 2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0 + }, + { + "dI": 3, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0 + }, + { + "dI": 4, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + }, + { + "dI": 5, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + }, + { + "dI": 6, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 30, + "twE": 0 + }, + { + "dI": 7, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 35, + "twE": 0 + }, + { + "dI": 8, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 40, + "twE": 0 + }, + { + "dI": 9, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 45, + "twE": 0 + }, + { + "dI": 10, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0 + }, + { + "dI": 11, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 55, + "twE": 0 + }, + { + "dI": 12, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 60, + "twE": 0 + }, + { + "dI": 13, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 65, + "twE": 0 + }, + { + "dI": 14, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 70, + "twE": 0 + }, + { + "dI": 15, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 75, + "twE": 0 + }, + { + "dI": 16, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 80, + "twE": 0 + }, + { + "dI": 17, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 85, + "twE": 0 + }, + { + "dI": 18, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 90, + "twE": 0 + }, + { + "dI": 19, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 95, + "twE": 0 + }, + { + "dI": 20, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 100, + "twE": 0 + } + ] + } + ] + }, + { + "name": "Animation2", + "dr": 40, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 1.0, + "mov_bone_data": [ + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0 + }, + { + "dI": 2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0 + }, + { + "dI": 3, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0 + }, + { + "dI": 4, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + }, + { + "dI": 5, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + }, + { + "dI": 6, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 30, + "twE": 0 + }, + { + "dI": 7, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 35, + "twE": 0 + }, + { + "dI": 8, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 40, + "twE": 0 + } + ] + } + ] + } + ] + } + ], + "texture_data": [ + { + "name": "actor_fish_shizi_normal_001", + "width": 264.0, + "height": 388.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_002", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_003", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_004", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_005", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_006", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_007", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_008", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_009", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_010", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_011", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_012", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_013", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_014", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_015", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_016", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_017", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_018", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_019", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_020", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_021", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_001", + "width": 264.0, + "height": 388.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_002", + "width": 264.0, + "height": 388.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_003", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_004", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_005", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_006", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_007", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_008", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_009", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + } + ], + "config_file_path": [ + "fish070.plist" + ] +} \ No newline at end of file diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/DefaultBone.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/DefaultBone.png new file mode 100644 index 0000000..cdc94fb Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/DefaultBone.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_001.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_001.png new file mode 100644 index 0000000..c655d64 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_001.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_002.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_002.png new file mode 100644 index 0000000..97eeb96 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_002.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_003.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_003.png new file mode 100644 index 0000000..edb710f Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_003.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_004.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_004.png new file mode 100644 index 0000000..c2608a9 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_004.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_005.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_005.png new file mode 100644 index 0000000..07a8253 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_005.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_006.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_006.png new file mode 100644 index 0000000..a19f105 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_006.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_007.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_007.png new file mode 100644 index 0000000..e552697 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_007.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_008.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_008.png new file mode 100644 index 0000000..e84d380 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_008.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_009.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_009.png new file mode 100644 index 0000000..fda6292 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_dead_009.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_001.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_001.png new file mode 100644 index 0000000..0372c95 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_001.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_002.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_002.png new file mode 100644 index 0000000..1caf7dd Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_002.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_003.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_003.png new file mode 100644 index 0000000..dbf686f Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_003.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_004.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_004.png new file mode 100644 index 0000000..cda4719 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_004.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_005.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_005.png new file mode 100644 index 0000000..5c23a54 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_005.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_006.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_006.png new file mode 100644 index 0000000..ffd0a8e Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_006.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_007.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_007.png new file mode 100644 index 0000000..c1e0c1a Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_007.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_008.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_008.png new file mode 100644 index 0000000..efeea0a Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_008.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_009.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_009.png new file mode 100644 index 0000000..cc043d0 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_009.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_010.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_010.png new file mode 100644 index 0000000..8f77189 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_010.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_011.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_011.png new file mode 100644 index 0000000..7337230 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_011.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_012.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_012.png new file mode 100644 index 0000000..e7dcab5 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_012.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_013.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_013.png new file mode 100644 index 0000000..ee04e12 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_013.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_014.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_014.png new file mode 100644 index 0000000..17c5d7d Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_014.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_015.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_015.png new file mode 100644 index 0000000..0b8e37a Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_015.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_016.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_016.png new file mode 100644 index 0000000..995de89 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_016.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_017.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_017.png new file mode 100644 index 0000000..bf75e5e Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_017.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_018.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_018.png new file mode 100644 index 0000000..cada46f Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_018.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_019.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_019.png new file mode 100644 index 0000000..64f79ec Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_019.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_020.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_020.png new file mode 100644 index 0000000..c582891 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_020.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_021.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_021.png new file mode 100644 index 0000000..35136c0 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/actor_fish_shizi_normal_021.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/fish07.json b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/fish07.json new file mode 100644 index 0000000..172bcd1 --- /dev/null +++ b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/fish07.json @@ -0,0 +1,1079 @@ +{ + "armature_data": [ + { + "strVersion": "0.3.2.0", + "version": 0.32, + "name": "fish07", + "bone_data": [ + { + "name": "Layer2", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 2, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "actor_fish_shizi_dead_001.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_002.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_003.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_004.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_005.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_006.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_007.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_008.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_dead_009.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer1", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "actor_fish_shizi_normal_001.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_002.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_003.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_004.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_005.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_006.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_007.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_008.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_009.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_010.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_011.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_012.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_013.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_014.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_015.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_016.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_017.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_018.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_019.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_020.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "actor_fish_shizi_normal_021.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "fish07", + "mov_data": [ + { + "name": "Animation1", + "dr": 100, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 1.0, + "mov_bone_data": [ + { + "name": "Layer1", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0 + }, + { + "dI": 2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0 + }, + { + "dI": 3, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0 + }, + { + "dI": 4, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + }, + { + "dI": 5, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + }, + { + "dI": 6, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 30, + "twE": 0 + }, + { + "dI": 7, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 35, + "twE": 0 + }, + { + "dI": 8, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 40, + "twE": 0 + }, + { + "dI": 9, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 45, + "twE": 0 + }, + { + "dI": 10, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0 + }, + { + "dI": 11, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 55, + "twE": 0 + }, + { + "dI": 12, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 60, + "twE": 0 + }, + { + "dI": 13, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 65, + "twE": 0 + }, + { + "dI": 14, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 70, + "twE": 0 + }, + { + "dI": 15, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 75, + "twE": 0 + }, + { + "dI": 16, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 80, + "twE": 0 + }, + { + "dI": 17, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 85, + "twE": 0 + }, + { + "dI": 18, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 90, + "twE": 0 + }, + { + "dI": 19, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 95, + "twE": 0 + }, + { + "dI": 20, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 100, + "twE": 0 + } + ] + } + ] + }, + { + "name": "Animation2", + "dr": 40, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 1.0, + "mov_bone_data": [ + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0 + }, + { + "dI": 2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0 + }, + { + "dI": 3, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 15, + "twE": 0 + }, + { + "dI": 4, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + }, + { + "dI": 5, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + }, + { + "dI": 6, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 30, + "twE": 0 + }, + { + "dI": 7, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 35, + "twE": 0 + }, + { + "dI": 8, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 40, + "twE": 0 + } + ] + } + ] + } + ] + } + ], + "texture_data": [ + { + "name": "actor_fish_shizi_normal_001", + "width": 264.0, + "height": 388.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_002", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_003", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_004", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_005", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_006", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_007", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_008", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_009", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_010", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_011", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_012", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_013", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_014", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_015", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_016", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_017", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_018", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_019", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_020", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_normal_021", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_001", + "width": 264.0, + "height": 388.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_002", + "width": 264.0, + "height": 388.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_003", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_004", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_005", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_006", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_007", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_008", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "actor_fish_shizi_dead_009", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + } + ], + "config_file_path": [ + "fish070.plist" + ] +} \ No newline at end of file diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/stock_draw_circle.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/stock_draw_circle.png new file mode 100644 index 0000000..b18cb0c Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/Resources/stock_draw_circle.png differ diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/fish07.xml.animation b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/fish07.xml.animation new file mode 100644 index 0000000..41e46c8 --- /dev/null +++ b/SampleFrameAnimation/SampleFrameAnimation_Editor/FrameAnimation/fish07/fish07.xml.animation @@ -0,0 +1,17 @@ + + + fish07 + C:\Users\solo\Documents\fish07 + fish07.json + C:\Users\solo\Documents\fish07\Resources + C:\Users\solo\Documents\fish07\Json + + + fish070.plist + + + 0 + 0 + + true + \ No newline at end of file diff --git a/SampleFrameAnimation/SampleFrameAnimation_Editor/SampleFrameAnimation.png b/SampleFrameAnimation/SampleFrameAnimation_Editor/SampleFrameAnimation.png new file mode 100644 index 0000000..7ab5588 Binary files /dev/null and b/SampleFrameAnimation/SampleFrameAnimation_Editor/SampleFrameAnimation.png differ diff --git a/SampleFrameAnimation/cocos2d/readme b/SampleFrameAnimation/cocos2d/readme new file mode 100644 index 0000000..00bfca5 --- /dev/null +++ b/SampleFrameAnimation/cocos2d/readme @@ -0,0 +1 @@ +put cocos2d here what in a project created by create_project.py \ No newline at end of file diff --git a/SampleFrameAnimation/proj.android/.classpath b/SampleFrameAnimation/proj.android/.classpath new file mode 100644 index 0000000..5176974 --- /dev/null +++ b/SampleFrameAnimation/proj.android/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/SampleFrameAnimation/proj.android/.project b/SampleFrameAnimation/proj.android/.project new file mode 100644 index 0000000..7f0b58c --- /dev/null +++ b/SampleFrameAnimation/proj.android/.project @@ -0,0 +1,65 @@ + + + SampleFrameAnimation + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + Classes + 2 + COCOS2DX/projects/SampleFrameAnimation/Classes + + + cocos2dx + 2 + COCOS2DX/cocos2dx + + + extensions + 2 + COCOS2DX/extensions + + + scripting + 2 + COCOS2DX/scripting + + + diff --git a/SampleFrameAnimation/proj.android/AndroidManifest.xml b/SampleFrameAnimation/proj.android/AndroidManifest.xml new file mode 100644 index 0000000..dd353d4 --- /dev/null +++ b/SampleFrameAnimation/proj.android/AndroidManifest.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleFrameAnimation/proj.android/README.md b/SampleFrameAnimation/proj.android/README.md new file mode 100644 index 0000000..aefa86b --- /dev/null +++ b/SampleFrameAnimation/proj.android/README.md @@ -0,0 +1,87 @@ +## Prerequisites: + +* Android NDK +* Android SDK **OR** Eclipse ADT Bundle +* Android AVD target installed + +## Building project + +There are two ways of building Android projects. + +1. Eclipse +2. Command Line + +### Import Project in Eclipse + +#### Features: + +1. Complete workflow from Eclipse, including: + * Build C++. + * Clean C++. + * Build and Run whole project. + * Logcat view. + * Debug Java code. + * Javascript editor. + * Project management. +2. True C++ editing, including: + * Code completion. + * Jump to definition. + * Refactoring tools etc. + * Quick open C++ files. + + +#### Setup Eclipse Environment (only once) + + +**NOTE:** This step needs to be done only once to setup the Eclipse environment for cocos2d-x projects. Skip this section if you've done this before. + +1. Download Eclipse ADT bundle from [Google ADT homepage](http://developer.android.com/sdk/index.html) + + **OR** + + Install Eclipse with Java. Add ADT and CDT plugins. + +2. Only for Windows + 1. Install [Cygwin](http://www.cygwin.com/) with make (select make package from the list during the install). + 2. Add `Cygwin\bin` directory to system PATH variable. + 3. Add this line `none /cygdrive cygdrive binary,noacl,posix=0,user 0 0` to `Cygwin\etc\fstab` file. + +3. Set up Variables: + 1. Path Variable `COCOS2DX`: + * Eclipse->Preferences->General->Workspace->**Linked Resources** + * Click **New** button to add a Path Variable `COCOS2DX` pointing to the root cocos2d-x directory. + ![Example](https://lh5.googleusercontent.com/-oPpk9kg3e5w/UUOYlq8n7aI/AAAAAAAAsdQ/zLA4eghBH9U/s400/cocos2d-x-eclipse-vars.png) + + 2. C/C++ Environment Variable `NDK_ROOT`: + * Eclipse->Preferences->C/C++->Build->**Environment**. + * Click **Add** button and add a new variable `NDK_ROOT` pointing to the root NDK directory. + ![Example](https://lh3.googleusercontent.com/-AVcY8IAT0_g/UUOYltoRobI/AAAAAAAAsdM/22D2J9u3sig/s400/cocos2d-x-eclipse-ndk.png) + * Only for Windows: Add new variables **CYGWIN** with value `nodosfilewarning` and **SHELLOPTS** with value `igncr` + +4. Import libcocos2dx library project: + 1. File->New->Project->Android Project From Existing Code. + 2. Click **Browse** button and open `cocos2d-x/cocos2dx/platform/android/java` directory. + 3. Click **Finish** to add project. + +#### Adding and running from Eclipse + +![Example](https://lh3.googleusercontent.com/-SLBOu6e3QbE/UUOcOXYaGqI/AAAAAAAAsdo/tYBY2SylOSM/s288/cocos2d-x-eclipse-project-from-code.png) ![Import](https://lh5.googleusercontent.com/-XzC9Pn65USc/UUOcOTAwizI/AAAAAAAAsdk/4b6YM-oim9Y/s400/cocos2d-x-eclipse-import-project.png) + +1. File->New->Project->Android Project From Existing Code +2. **Browse** to your project directory. eg: `cocos2d-x/cocos2dx/samples/Cpp/TestCpp/proj.android/` +3. Add the project +4. Click **Run** or **Debug** to compile C++ followed by Java and to run on connected device or emulator. + + +### Running project from Command Line + + $ cd cocos2d-x/samples/Cpp/TestCpp/proj.android/ + $ export NDK_ROOT=/path/to/ndk + $ ./build_native.sh + $ ant debug install + +If the last command results in sdk.dir missing error then do: + + $ android list target + $ android update project -p . -t (id from step 6) + $ android update project -p cocos2d/cocos/2d/platform/android/java/ -t (id from step 6) diff --git a/SampleFrameAnimation/proj.android/ant.properties b/SampleFrameAnimation/proj.android/ant.properties new file mode 100644 index 0000000..a51e6a0 --- /dev/null +++ b/SampleFrameAnimation/proj.android/ant.properties @@ -0,0 +1,17 @@ +# This file is used to override default values used by the Ant build system. +# +# This file must be checked into Version Control Systems, as it is +# integral to the build system of your project. + +# This file is only used by the Ant script. + +# You can use this to override default values such as +# 'source.dir' for the location of your java source folder and +# 'out.dir' for the location of your output folder. + +# You can also use it define how the release builds are signed by declaring +# the following properties: +# 'key.store' for the location of your keystore and +# 'key.alias' for the name of the key to use. +# The password will be asked during the build when you use the 'release' target. + diff --git a/SampleFrameAnimation/proj.android/build.xml b/SampleFrameAnimation/proj.android/build.xml new file mode 100644 index 0000000..6cbee08 --- /dev/null +++ b/SampleFrameAnimation/proj.android/build.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleFrameAnimation/proj.android/build_native.py b/SampleFrameAnimation/proj.android/build_native.py new file mode 100644 index 0000000..5eec448 --- /dev/null +++ b/SampleFrameAnimation/proj.android/build_native.py @@ -0,0 +1,166 @@ +#!/usr/bin/python +# build_native.py +# Build native codes + + +import sys +import os, os.path +import shutil +from optparse import OptionParser + +def get_num_of_cpu(): + ''' The build process can be accelerated by running multiple concurrent job processes using the -j-option. + ''' + try: + platform = sys.platform + if platform == 'win32': + if 'NUMBER_OF_PROCESSORS' in os.environ: + return int(os.environ['NUMBER_OF_PROCESSORS']) + else: + return 1 + else: + from numpy.distutils import cpuinfo + return cpuinfo.cpu._getNCPUs() + except Exception: + print "Can't know cpuinfo, use default 1 cpu" + return 1 + +def check_environment_variables_sdk(): + ''' Checking the environment ANDROID_SDK_ROOT, which will be used for building + ''' + + try: + SDK_ROOT = os.environ['ANDROID_SDK_ROOT'] + except Exception: + print "ANDROID_SDK_ROOT not defined. Please define ANDROID_SDK_ROOT in your environment" + sys.exit(1) + + return SDK_ROOT + +def check_environment_variables(): + ''' Checking the environment NDK_ROOT, which will be used for building + ''' + + try: + NDK_ROOT = os.environ['NDK_ROOT'] + except Exception: + print "NDK_ROOT not defined. Please define NDK_ROOT in your environment" + sys.exit(1) + + return NDK_ROOT + +def select_toolchain_version(): + '''Because ndk-r8e uses gcc4.6 as default. gcc4.6 doesn't support c++11. So we should select gcc4.7 when + using ndk-r8e. But gcc4.7 is removed in ndk-r9, so we should determine whether gcc4.7 exist. + Conclution: + ndk-r8e -> use gcc4.7 + ndk-r9 -> use gcc4.8 + ''' + + ndk_root = check_environment_variables() + if os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.8")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.8' + print "The Selected NDK toolchain version was 4.8 !" + elif os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.7")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.7' + print "The Selected NDK toolchain version was 4.7 !" + else: + print "Couldn't find the gcc toolchain." + exit(1) + +def do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode): + + ndk_path = os.path.join(ndk_root, "ndk-build") + + # windows should use ";" to seperate module paths + platform = sys.platform + if platform == 'win32': + ndk_module_path = 'NDK_MODULE_PATH=%s;%s/external;%s/cocos' % (cocos_root, cocos_root, cocos_root) + else: + ndk_module_path = 'NDK_MODULE_PATH=%s:%s/external:%s/cocos' % (cocos_root, cocos_root, cocos_root) + + num_of_cpu = get_num_of_cpu() + + if ndk_build_param == None: + command = '%s -j%d -C %s %s' % (ndk_path, num_of_cpu, app_android_root, ndk_module_path) + else: + command = '%s -j%d -C %s %s %s' % (ndk_path, num_of_cpu, app_android_root, ''.join(str(e) for e in ndk_build_param), ndk_module_path) + if os.system(command) != 0: + raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!") + elif android_platform is not None: + sdk_tool_path = os.path.join(sdk_root, "tools/android") + cocoslib_path = os.path.join(cocos_root, "cocos/2d/platform/android/java") + command = '%s update lib-project -t %s -p %s' % (sdk_tool_path,android_platform,cocoslib_path) + if os.system(command) != 0: + raise Exception("update cocos lib-project [ " + cocoslib_path + " ] fails!") + command = '%s update project -t %s -p %s -s' % (sdk_tool_path,android_platform,app_android_root) + if os.system(command) != 0: + raise Exception("update project [ " + app_android_root + " ] fails!") + buildfile_path = os.path.join(app_android_root, "build.xml") + command = 'ant clean %s -f %s -Dsdk.dir=%s' % (build_mode,buildfile_path,sdk_root) + os.system(command) + +def copy_files(src, dst): + + for item in os.listdir(src): + path = os.path.join(src, item) + # Android can not package the file that ends with ".gz" + if not item.startswith('.') and not item.endswith('.gz') and os.path.isfile(path): + shutil.copy(path, dst) + if os.path.isdir(path): + new_dst = os.path.join(dst, item) + os.mkdir(new_dst) + copy_files(path, new_dst) + +def copy_resources(app_android_root): + + # remove app_android_root/assets if it exists + assets_dir = os.path.join(app_android_root, "assets") + if os.path.isdir(assets_dir): + shutil.rmtree(assets_dir) + + # copy resources + os.mkdir(assets_dir) + resources_dir = os.path.join(app_android_root, "../Resources") + if os.path.isdir(resources_dir): + copy_files(resources_dir, assets_dir) + +def build(ndk_build_param,android_platform,build_mode): + + ndk_root = check_environment_variables() + sdk_root = None + select_toolchain_version() + + current_dir = os.path.dirname(os.path.realpath(__file__)) + cocos_root = os.path.join(current_dir, "../cocos2d") + + app_android_root = current_dir + copy_resources(app_android_root) + + if android_platform is not None: + sdk_root = check_environment_variables_sdk() + if android_platform.isdigit(): + android_platform = 'android-'+android_platform + else: + print 'please use vaild android platform' + exit(1) + + if build_mode is None: + build_mode = 'debug' + elif build_mode != 'release': + build_mode = 'debug' + + do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode) + +# -------------- main -------------- +if __name__ == '__main__': + + parser = OptionParser() + parser.add_option("-n", "--ndk", dest="ndk_build_param", help='parameter for ndk-build') + parser.add_option("-p", "--platform", dest="android_platform", + help='parameter for android-update.Without the parameter,the script just build dynamic library for project. Valid android-platform are:[10|11|12|13|14|15|16|17|18|19]') + parser.add_option("-b", "--build", dest="build_mode", + help='the build mode for java project,debug[default] or release.Get more information,please refer to http://developer.android.com/tools/building/building-cmdline.html') + (opts, args) = parser.parse_args() + + build(opts.ndk_build_param,opts.android_platform,opts.build_mode) diff --git a/SampleFrameAnimation/proj.android/jni/Android.mk b/SampleFrameAnimation/proj.android/jni/Android.mk new file mode 100644 index 0000000..1376c66 --- /dev/null +++ b/SampleFrameAnimation/proj.android/jni/Android.mk @@ -0,0 +1,33 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := cocos2dcpp_shared + +LOCAL_MODULE_FILENAME := libcocos2dcpp + +LOCAL_SRC_FILES := hellocpp/main.cpp \ + ../../Classes/AppDelegate.cpp \ + ../../Classes/HelloWorldScene.cpp \ + ../../Classes/Fishes.cpp +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \ + $(LOCAL_PATH)/../../cocos2d \ + $(LOCAL_PATH)/../../cocos2d/extensions \ + $(LOCAL_PATH)/../../cocos2d/cocos \ + $(LOCAL_PATH)/../../cocos2d/cocos/gui \ + $(LOCAL_PATH)/../../cocos2d/cocos/editor-support/cocostudio \ + +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static +LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocos_gui_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static + + +include $(BUILD_SHARED_LIBRARY) + +$(call import-module,2d) +$(call import-module,audio/android) +$(call import-module,Box2D) +$(call import-module,gui) +$(call import-module,editor-support/cocostudio) diff --git a/SampleFrameAnimation/proj.android/jni/Application.mk b/SampleFrameAnimation/proj.android/jni/Application.mk new file mode 100644 index 0000000..74c3f99 --- /dev/null +++ b/SampleFrameAnimation/proj.android/jni/Application.mk @@ -0,0 +1,2 @@ +APP_STL := gnustl_static +APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DCOCOS2D_DEBUG=1 -std=c++11 -fsigned-char diff --git a/SampleFrameAnimation/proj.android/jni/hellocpp/main.cpp b/SampleFrameAnimation/proj.android/jni/hellocpp/main.cpp new file mode 100644 index 0000000..006a744 --- /dev/null +++ b/SampleFrameAnimation/proj.android/jni/hellocpp/main.cpp @@ -0,0 +1,16 @@ +#include "AppDelegate.h" +#include "cocos2d.h" +#include "CCEventType.h" +#include "platform/android/jni/JniHelper.h" +#include +#include + +#define LOG_TAG "main" +#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__) + +using namespace cocos2d; + +void cocos_android_app_init (struct android_app* app) { + LOGD("cocos_android_app_init"); + AppDelegate *pAppDelegate = new AppDelegate(); +} diff --git a/SampleFrameAnimation/proj.android/proguard-project.txt b/SampleFrameAnimation/proj.android/proguard-project.txt new file mode 100644 index 0000000..b60ae7e --- /dev/null +++ b/SampleFrameAnimation/proj.android/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/SampleFrameAnimation/proj.android/project.properties b/SampleFrameAnimation/proj.android/project.properties new file mode 100644 index 0000000..6b485b4 --- /dev/null +++ b/SampleFrameAnimation/proj.android/project.properties @@ -0,0 +1,13 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system use, +# "ant.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-19 + +android.library.reference.1=../../DemoCowboyGame/cocos2d/cocos/2d/platform/android/java diff --git a/SampleFrameAnimation/proj.android/res/drawable-hdpi/icon.png b/SampleFrameAnimation/proj.android/res/drawable-hdpi/icon.png new file mode 100644 index 0000000..8aa4767 Binary files /dev/null and b/SampleFrameAnimation/proj.android/res/drawable-hdpi/icon.png differ diff --git a/SampleFrameAnimation/proj.android/res/drawable-ldpi/icon.png b/SampleFrameAnimation/proj.android/res/drawable-ldpi/icon.png new file mode 100644 index 0000000..17ce11a Binary files /dev/null and b/SampleFrameAnimation/proj.android/res/drawable-ldpi/icon.png differ diff --git a/SampleFrameAnimation/proj.android/res/drawable-mdpi/icon.png b/SampleFrameAnimation/proj.android/res/drawable-mdpi/icon.png new file mode 100644 index 0000000..3780aac Binary files /dev/null and b/SampleFrameAnimation/proj.android/res/drawable-mdpi/icon.png differ diff --git a/SampleFrameAnimation/proj.android/res/values/strings.xml b/SampleFrameAnimation/proj.android/res/values/strings.xml new file mode 100644 index 0000000..b91722b --- /dev/null +++ b/SampleFrameAnimation/proj.android/res/values/strings.xml @@ -0,0 +1,4 @@ + + + SampleFrameAnimation + diff --git a/SampleFrameAnimation/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java b/SampleFrameAnimation/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java new file mode 100644 index 0000000..d2dfa68 --- /dev/null +++ b/SampleFrameAnimation/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java @@ -0,0 +1,32 @@ +package org.cocos2dx.cpp; + +import android.app.NativeActivity; +import android.os.Bundle; + +public class Cocos2dxActivity extends NativeActivity{ + + @Override + protected void onCreate(Bundle savedInstanceState) { + // TODO Auto-generated method stub + super.onCreate(savedInstanceState); + + //For supports translucency + + //1.change "attribs" in cocos\2d\platform\android\nativeactivity.cpp + /*const EGLint attribs[] = { + EGL_SURFACE_TYPE, EGL_WINDOW_BIT, + EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, + //EGL_BLUE_SIZE, 5, -->delete + //EGL_GREEN_SIZE, 6, -->delete + //EGL_RED_SIZE, 5, -->delete + EGL_BUFFER_SIZE, 32, //-->new field + EGL_DEPTH_SIZE, 16, + EGL_STENCIL_SIZE, 8, + EGL_NONE + };*/ + + //2.Set the format of window + // getWindow().setFormat(PixelFormat.TRANSLUCENT); + + } +} diff --git a/SampleFrameAnimation/proj.ios_mac/SampleFrameAnimation.xcodeproj/project.pbxproj b/SampleFrameAnimation/proj.ios_mac/SampleFrameAnimation.xcodeproj/project.pbxproj new file mode 100644 index 0000000..ab984ec --- /dev/null +++ b/SampleFrameAnimation/proj.ios_mac/SampleFrameAnimation.xcodeproj/project.pbxproj @@ -0,0 +1,1158 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 15F0327918C82310007219BB /* Fishes.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15F0327718C82310007219BB /* Fishes.cpp */; }; + 15F0327A18C82310007219BB /* Fishes.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 15F0327718C82310007219BB /* Fishes.cpp */; }; + 15F0329818C8231F007219BB /* 2048.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328118C8231F007219BB /* 2048.png */; }; + 15F0329918C8231F007219BB /* 2048.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328118C8231F007219BB /* 2048.png */; }; + 15F0329A18C8231F007219BB /* fish01.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328218C8231F007219BB /* fish01.ExportJson */; }; + 15F0329B18C8231F007219BB /* fish01.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328218C8231F007219BB /* fish01.ExportJson */; }; + 15F0329C18C8231F007219BB /* fish02.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328318C8231F007219BB /* fish02.ExportJson */; }; + 15F0329D18C8231F007219BB /* fish02.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328318C8231F007219BB /* fish02.ExportJson */; }; + 15F0329E18C8231F007219BB /* fish03.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328418C8231F007219BB /* fish03.ExportJson */; }; + 15F0329F18C8231F007219BB /* fish03.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328418C8231F007219BB /* fish03.ExportJson */; }; + 15F032A018C8231F007219BB /* fish04.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328518C8231F007219BB /* fish04.ExportJson */; }; + 15F032A118C8231F007219BB /* fish04.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328518C8231F007219BB /* fish04.ExportJson */; }; + 15F032A218C8231F007219BB /* fish05.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328618C8231F007219BB /* fish05.ExportJson */; }; + 15F032A318C8231F007219BB /* fish05.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328618C8231F007219BB /* fish05.ExportJson */; }; + 15F032A418C8231F007219BB /* fish06.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328718C8231F007219BB /* fish06.ExportJson */; }; + 15F032A518C8231F007219BB /* fish06.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328718C8231F007219BB /* fish06.ExportJson */; }; + 15F032A618C8231F007219BB /* fish07.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328818C8231F007219BB /* fish07.ExportJson */; }; + 15F032A718C8231F007219BB /* fish07.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328818C8231F007219BB /* fish07.ExportJson */; }; + 15F032A818C8231F007219BB /* fish010.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328918C8231F007219BB /* fish010.plist */; }; + 15F032A918C8231F007219BB /* fish010.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328918C8231F007219BB /* fish010.plist */; }; + 15F032AA18C8231F007219BB /* fish010.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328A18C8231F007219BB /* fish010.png */; }; + 15F032AB18C8231F007219BB /* fish010.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328A18C8231F007219BB /* fish010.png */; }; + 15F032AC18C8231F007219BB /* fish020.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328B18C8231F007219BB /* fish020.plist */; }; + 15F032AD18C8231F007219BB /* fish020.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328B18C8231F007219BB /* fish020.plist */; }; + 15F032AE18C8231F007219BB /* fish020.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328C18C8231F007219BB /* fish020.png */; }; + 15F032AF18C8231F007219BB /* fish020.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328C18C8231F007219BB /* fish020.png */; }; + 15F032B018C8231F007219BB /* fish030.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328D18C8231F007219BB /* fish030.plist */; }; + 15F032B118C8231F007219BB /* fish030.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328D18C8231F007219BB /* fish030.plist */; }; + 15F032B218C8231F007219BB /* fish030.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328E18C8231F007219BB /* fish030.png */; }; + 15F032B318C8231F007219BB /* fish030.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328E18C8231F007219BB /* fish030.png */; }; + 15F032B418C8231F007219BB /* fish040.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328F18C8231F007219BB /* fish040.plist */; }; + 15F032B518C8231F007219BB /* fish040.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0328F18C8231F007219BB /* fish040.plist */; }; + 15F032B618C8231F007219BB /* fish040.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0329018C8231F007219BB /* fish040.png */; }; + 15F032B718C8231F007219BB /* fish040.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0329018C8231F007219BB /* fish040.png */; }; + 15F032B818C8231F007219BB /* fish050.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0329118C8231F007219BB /* fish050.plist */; }; + 15F032B918C8231F007219BB /* fish050.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0329118C8231F007219BB /* fish050.plist */; }; + 15F032BA18C8231F007219BB /* fish050.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0329218C8231F007219BB /* fish050.png */; }; + 15F032BB18C8231F007219BB /* fish050.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0329218C8231F007219BB /* fish050.png */; }; + 15F032BC18C8231F007219BB /* fish060.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0329318C8231F007219BB /* fish060.plist */; }; + 15F032BD18C8231F007219BB /* fish060.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0329318C8231F007219BB /* fish060.plist */; }; + 15F032BE18C8231F007219BB /* fish060.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0329418C8231F007219BB /* fish060.png */; }; + 15F032BF18C8231F007219BB /* fish060.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0329418C8231F007219BB /* fish060.png */; }; + 15F032C018C8231F007219BB /* fish070.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0329518C8231F007219BB /* fish070.plist */; }; + 15F032C118C8231F007219BB /* fish070.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F0329518C8231F007219BB /* fish070.plist */; }; + 15F032C218C8231F007219BB /* fish070.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0329618C8231F007219BB /* fish070.png */; }; + 15F032C318C8231F007219BB /* fish070.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F0329618C8231F007219BB /* fish070.png */; }; + 15F032C418C8231F007219BB /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 15F0329718C8231F007219BB /* fonts */; }; + 15F032C518C8231F007219BB /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 15F0329718C8231F007219BB /* fonts */; }; + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */; }; + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */; }; + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */; }; + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */; }; + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */; }; + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */; }; + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */; }; + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */; }; + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */; }; + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */; }; + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 1AFAF8BE16D35E4900DB1158 /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 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 */; }; + 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 */; }; + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11117EB99EE00D1A890 /* libcurl.dylib */; }; + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11A17EB9C5A00D1A890 /* IOKit.framework */; }; + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.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 */; }; + 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 */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1551A33F158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2FD617814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2CB81780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2D9B1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2ED617814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F31FD1781479B006731B9; + remoteInfo = "jsbindings Mac"; + }; + 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A6FB53017854BC300CDF010; + remoteInfo = "luabindings Mac"; + }; + 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4D641783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4EFC1783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F3B178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F9E1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4FB4178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; + 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A5030178387750073F6A7; + remoteInfo = "jsbindings iOS"; + }; + 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A119791178526AA00D62A44; + remoteInfo = "luabindings iOS"; + }; + 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 1551A33E158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2FC117814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2B781780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2E9817814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2D5D1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4C241783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4E111783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4EFD178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F3C1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F9F178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 15F0327718C82310007219BB /* Fishes.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Fishes.cpp; path = ../Classes/Fishes.cpp; sourceTree = ""; }; + 15F0327818C82310007219BB /* Fishes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Fishes.h; path = ../Classes/Fishes.h; sourceTree = ""; }; + 15F0328118C8231F007219BB /* 2048.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 2048.png; sourceTree = ""; }; + 15F0328218C8231F007219BB /* fish01.ExportJson */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = fish01.ExportJson; sourceTree = ""; }; + 15F0328318C8231F007219BB /* fish02.ExportJson */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = fish02.ExportJson; sourceTree = ""; }; + 15F0328418C8231F007219BB /* fish03.ExportJson */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = fish03.ExportJson; sourceTree = ""; }; + 15F0328518C8231F007219BB /* fish04.ExportJson */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = fish04.ExportJson; sourceTree = ""; }; + 15F0328618C8231F007219BB /* fish05.ExportJson */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = fish05.ExportJson; sourceTree = ""; }; + 15F0328718C8231F007219BB /* fish06.ExportJson */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = fish06.ExportJson; sourceTree = ""; }; + 15F0328818C8231F007219BB /* fish07.ExportJson */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = fish07.ExportJson; sourceTree = ""; }; + 15F0328918C8231F007219BB /* fish010.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = fish010.plist; sourceTree = ""; }; + 15F0328A18C8231F007219BB /* fish010.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = fish010.png; sourceTree = ""; }; + 15F0328B18C8231F007219BB /* fish020.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = fish020.plist; sourceTree = ""; }; + 15F0328C18C8231F007219BB /* fish020.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = fish020.png; sourceTree = ""; }; + 15F0328D18C8231F007219BB /* fish030.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = fish030.plist; sourceTree = ""; }; + 15F0328E18C8231F007219BB /* fish030.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = fish030.png; sourceTree = ""; }; + 15F0328F18C8231F007219BB /* fish040.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = fish040.plist; sourceTree = ""; }; + 15F0329018C8231F007219BB /* fish040.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = fish040.png; sourceTree = ""; }; + 15F0329118C8231F007219BB /* fish050.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = fish050.plist; sourceTree = ""; }; + 15F0329218C8231F007219BB /* fish050.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = fish050.png; sourceTree = ""; }; + 15F0329318C8231F007219BB /* fish060.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = fish060.plist; sourceTree = ""; }; + 15F0329418C8231F007219BB /* fish060.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = fish060.png; sourceTree = ""; }; + 15F0329518C8231F007219BB /* fish070.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = fish070.plist; sourceTree = ""; }; + 15F0329618C8231F007219BB /* fish070.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = fish070.png; sourceTree = ""; }; + 15F0329718C8231F007219BB /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; path = fonts; sourceTree = ""; }; + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../cocos2d/build/cocos2d_libs.xcodeproj; sourceTree = ""; }; + 1ACB3243164770DE00914215 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = ""; }; + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AppDelegate.cpp; path = ../Classes/AppDelegate.cpp; sourceTree = ""; }; + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ../Classes/AppDelegate.h; sourceTree = ""; }; + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HelloWorldScene.cpp; path = ../Classes/HelloWorldScene.cpp; sourceTree = ""; }; + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HelloWorldScene.h; path = ../Classes/HelloWorldScene.h; sourceTree = ""; }; + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseNormal.png; sourceTree = ""; }; + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseSelected.png; sourceTree = ""; }; + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = HelloWorld.png; sourceTree = ""; }; + 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 1D6058910D05DD3D006BFB54 /* SampleFrameAnimation iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleFrameAnimation iOS.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; }; + 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 /* SampleFrameAnimation Mac.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleFrameAnimation Mac.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 = ""; }; + 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; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */, + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */, + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */, + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */, + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a 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 */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75C17EB910900C73F5D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */, + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */, + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */, + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */, + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */, + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */, + 5087E76717EB910900C73F5D /* libz.dylib in Frameworks */, + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */, + 5087E78B17EB975400C73F5D /* OpenGL.framework in Frameworks */, + 5087E78917EB974C00C73F5D /* AppKit.framework in Frameworks */, + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */, + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */, + 5087E76817EB910900C73F5D /* QuartzCore.framework in Frameworks */, + 5087E76917EB910900C73F5D /* OpenAL.framework in Frameworks */, + 5087E76A17EB910900C73F5D /* AVFoundation.framework in Frameworks */, + 5087E76B17EB910900C73F5D /* AudioToolbox.framework 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 = ""; + }; + 15AA9C4015B7EC450033D6C2 /* Classes */ = { + isa = PBXGroup; + children = ( + 15F0327718C82310007219BB /* Fishes.cpp */, + 15F0327818C82310007219BB /* Fishes.h */, + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */, + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */, + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */, + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */, + ); + name = Classes; + path = ../classes; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 1D6058910D05DD3D006BFB54 /* SampleFrameAnimation iOS.app */, + 5087E76F17EB910900C73F5D /* SampleFrameAnimation Mac.app */, + ); + name = Products; + sourceTree = ""; + }; + 1AC6FAE6180E9839004C840B /* Products */ = { + isa = PBXGroup; + children = ( + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */, + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */, + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */, + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */, + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */, + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */, + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */, + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */, + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */, + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */, + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */, + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */, + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */, + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { + isa = PBXGroup; + children = ( + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */, + 15AA9C4015B7EC450033D6C2 /* Classes */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 080E96DDFE201D6D7F000001 /* ios */, + 503AE10617EB990700D1A890 /* mac */, + 19C28FACFE9D520D11CA2CBB /* Products */, + 78C7DDAA14EBA5050085D0C2 /* Resources */, + ); + name = CustomTemplate; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 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 = ""; + }; + 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 = ( + 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; + }; + 78C7DDAA14EBA5050085D0C2 /* Resources */ = { + isa = PBXGroup; + children = ( + 15F0328118C8231F007219BB /* 2048.png */, + 15F0328218C8231F007219BB /* fish01.ExportJson */, + 15F0328318C8231F007219BB /* fish02.ExportJson */, + 15F0328418C8231F007219BB /* fish03.ExportJson */, + 15F0328518C8231F007219BB /* fish04.ExportJson */, + 15F0328618C8231F007219BB /* fish05.ExportJson */, + 15F0328718C8231F007219BB /* fish06.ExportJson */, + 15F0328818C8231F007219BB /* fish07.ExportJson */, + 15F0328918C8231F007219BB /* fish010.plist */, + 15F0328A18C8231F007219BB /* fish010.png */, + 15F0328B18C8231F007219BB /* fish020.plist */, + 15F0328C18C8231F007219BB /* fish020.png */, + 15F0328D18C8231F007219BB /* fish030.plist */, + 15F0328E18C8231F007219BB /* fish030.png */, + 15F0328F18C8231F007219BB /* fish040.plist */, + 15F0329018C8231F007219BB /* fish040.png */, + 15F0329118C8231F007219BB /* fish050.plist */, + 15F0329218C8231F007219BB /* fish050.png */, + 15F0329318C8231F007219BB /* fish060.plist */, + 15F0329418C8231F007219BB /* fish060.png */, + 15F0329518C8231F007219BB /* fish070.plist */, + 15F0329618C8231F007219BB /* fish070.png */, + 15F0329718C8231F007219BB /* fonts */, + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */, + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */, + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */, + ); + name = Resources; + path = ../Resources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1D6058900D05DD3D006BFB54 /* SampleFrameAnimation iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "SampleFrameAnimation iOS" */; + buildPhases = ( + 1D60588D0D05DD3D006BFB54 /* Resources */, + 1D60588E0D05DD3D006BFB54 /* Sources */, + 1D60588F0D05DD3D006BFB54 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */, + ); + name = "SampleFrameAnimation iOS"; + productName = iphone; + productReference = 1D6058910D05DD3D006BFB54 /* SampleFrameAnimation iOS.app */; + productType = "com.apple.product-type.application"; + }; + 5087E73D17EB910900C73F5D /* SampleFrameAnimation Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleFrameAnimation Mac" */; + buildPhases = ( + 5087E74817EB910900C73F5D /* Resources */, + 5087E75617EB910900C73F5D /* Sources */, + 5087E75C17EB910900C73F5D /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */, + 1AC6FB16180E9959004C840B /* PBXTargetDependency */, + 1AC6FB18180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */, + ); + name = "SampleFrameAnimation Mac"; + productName = iphone; + productReference = 5087E76F17EB910900C73F5D /* SampleFrameAnimation Mac.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0500; + TargetAttributes = { + 1D6058900D05DD3D006BFB54 = { + DevelopmentTeam = MDDB52YB8L; + }; + }; + }; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleFrameAnimation" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = 1AC6FAE6180E9839004C840B /* Products */; + ProjectRef = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + 1D6058900D05DD3D006BFB54 /* SampleFrameAnimation iOS */, + 5087E73D17EB910900C73F5D /* SampleFrameAnimation Mac */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx Mac.a"; + remoteRef = 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions Mac.a"; + remoteRef = 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk Mac.a"; + remoteRef = 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d Mac.a"; + remoteRef = 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion Mac.a"; + remoteRef = 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings Mac.a"; + remoteRef = 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings Mac.a"; + remoteRef = 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx iOS.a"; + remoteRef = 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions iOS.a"; + remoteRef = 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk iOS.a"; + remoteRef = 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d iOS.a"; + remoteRef = 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion iOS.a"; + remoteRef = 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings iOS.a"; + remoteRef = 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings iOS.a"; + remoteRef = 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXResourcesBuildPhase section */ + 1D60588D0D05DD3D006BFB54 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15F032BA18C8231F007219BB /* fish050.png in Resources */, + 5087E78117EB970100C73F5D /* Icon-120.png in Resources */, + 15F032A618C8231F007219BB /* fish07.ExportJson in Resources */, + 15F032C418C8231F007219BB /* fonts in Resources */, + 15F032C218C8231F007219BB /* fish070.png in Resources */, + 15F032A818C8231F007219BB /* fish010.plist in Resources */, + 5087E78617EB970100C73F5D /* Icon-76.png in Resources */, + 15F032B018C8231F007219BB /* fish030.plist in Resources */, + 15F032BE18C8231F007219BB /* fish060.png in Resources */, + 5087E77F17EB970100C73F5D /* Default@2x.png in Resources */, + 15F032B818C8231F007219BB /* fish050.plist in Resources */, + 50EF629917ECD46A001EB2F8 /* Icon-100.png in Resources */, + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */, + 5087E78317EB970100C73F5D /* Icon-152.png in Resources */, + 15F032B218C8231F007219BB /* fish030.png in Resources */, + 5087E77D17EB970100C73F5D /* Default-568h@2x.png in Resources */, + 15F0329C18C8231F007219BB /* fish02.ExportJson in Resources */, + 5087E78517EB970100C73F5D /* Icon-72.png in Resources */, + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */, + 50EF62A317ECD613001EB2F8 /* Icon-50.png in Resources */, + 15F032B418C8231F007219BB /* fish040.plist in Resources */, + 15F032AA18C8231F007219BB /* fish010.png in Resources */, + 15F0329E18C8231F007219BB /* fish03.ExportJson in Resources */, + 15F0329A18C8231F007219BB /* fish01.ExportJson in Resources */, + 5087E78017EB970100C73F5D /* Icon-114.png in Resources */, + 15F032B618C8231F007219BB /* fish040.png in Resources */, + 15F032C018C8231F007219BB /* fish070.plist in Resources */, + 15F032AC18C8231F007219BB /* fish020.plist in Resources */, + 15F032A218C8231F007219BB /* fish05.ExportJson in Resources */, + 15F032BC18C8231F007219BB /* fish060.plist in Resources */, + 1AFAF8BE16D35E4900DB1158 /* HelloWorld.png in Resources */, + 50EF62A217ECD613001EB2F8 /* Icon-29.png in Resources */, + 50EF629617ECD46A001EB2F8 /* Icon-40.png in Resources */, + 15F032A018C8231F007219BB /* fish04.ExportJson in Resources */, + 5087E78217EB970100C73F5D /* Icon-144.png in Resources */, + 50EF629817ECD46A001EB2F8 /* Icon-80.png in Resources */, + 15F032AE18C8231F007219BB /* fish020.png in Resources */, + 5087E78417EB970100C73F5D /* Icon-57.png in Resources */, + 15F0329818C8231F007219BB /* 2048.png in Resources */, + 15F032A418C8231F007219BB /* fish06.ExportJson in Resources */, + 5087E77E17EB970100C73F5D /* Default.png in Resources */, + 50EF629717ECD46A001EB2F8 /* Icon-58.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E74817EB910900C73F5D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15F032B718C8231F007219BB /* fish040.png in Resources */, + 15F0329F18C8231F007219BB /* fish03.ExportJson in Resources */, + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */, + 15F032AD18C8231F007219BB /* fish020.plist in Resources */, + 15F032C118C8231F007219BB /* fish070.plist in Resources */, + 15F032B318C8231F007219BB /* fish030.png in Resources */, + 15F032B518C8231F007219BB /* fish040.plist in Resources */, + 15F032BF18C8231F007219BB /* fish060.png in Resources */, + 503AE0F817EB97AB00D1A890 /* Icon.icns in Resources */, + 15F032AB18C8231F007219BB /* fish010.png in Resources */, + 15F0329D18C8231F007219BB /* fish02.ExportJson in Resources */, + 15F032A918C8231F007219BB /* fish010.plist in Resources */, + 15F032A718C8231F007219BB /* fish07.ExportJson in Resources */, + 15F032A318C8231F007219BB /* fish05.ExportJson in Resources */, + 15F032A518C8231F007219BB /* fish06.ExportJson in Resources */, + 15F032C518C8231F007219BB /* fonts in Resources */, + 15F032AF18C8231F007219BB /* fish020.png in Resources */, + 15F0329918C8231F007219BB /* 2048.png in Resources */, + 15F032BD18C8231F007219BB /* fish060.plist in Resources */, + 15F032BB18C8231F007219BB /* fish050.png in Resources */, + 15F032B918C8231F007219BB /* fish050.plist in Resources */, + 15F032A118C8231F007219BB /* fish04.ExportJson in Resources */, + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */, + 15F0329B18C8231F007219BB /* fish01.ExportJson in Resources */, + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */, + 15F032B118C8231F007219BB /* fish030.plist in Resources */, + 15F032C318C8231F007219BB /* fish070.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1D60588E0D05DD3D006BFB54 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 503AE10017EB989F00D1A890 /* AppController.mm in Sources */, + 503AE10217EB989F00D1A890 /* RootViewController.mm in Sources */, + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */, + 15F0327918C82310007219BB /* Fishes.cpp in Sources */, + 503AE10117EB989F00D1A890 /* main.m in Sources */, + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75617EB910900C73F5D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */, + 15F0327A18C82310007219BB /* Fishes.cpp in Sources */, + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */, + 503AE10517EB98FF00D1A890 /* main.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1AC6FB16180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx Mac"; + targetProxy = 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB18180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions Mac"; + targetProxy = 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk Mac"; + targetProxy = 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion Mac"; + targetProxy = 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d Mac"; + targetProxy = 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx iOS"; + targetProxy = 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions iOS"; + targetProxy = 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk iOS"; + targetProxy = 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d iOS"; + targetProxy = 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion iOS"; + targetProxy = 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 "SampleFrameAnimation iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1D6058940D05DD3E006BFB54 /* Debug */, + 1D6058950D05DD3E006BFB54 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleFrameAnimation Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5087E76D17EB910900C73F5D /* Debug */, + 5087E76E17EB910900C73F5D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleFrameAnimation" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/SampleFrameAnimation/proj.ios_mac/ios/AppController.h b/SampleFrameAnimation/proj.ios_mac/ios/AppController.h new file mode 100644 index 0000000..d0940a5 --- /dev/null +++ b/SampleFrameAnimation/proj.ios_mac/ios/AppController.h @@ -0,0 +1,11 @@ +#import + +@class RootViewController; + +@interface AppController : NSObject { + UIWindow *window; + RootViewController *viewController; +} + +@end + diff --git a/SampleFrameAnimation/proj.ios_mac/ios/AppController.mm b/SampleFrameAnimation/proj.ios_mac/ios/AppController.mm new file mode 100644 index 0000000..3ceacda --- /dev/null +++ b/SampleFrameAnimation/proj.ios_mac/ios/AppController.mm @@ -0,0 +1,142 @@ +/**************************************************************************** + 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 "CCEAGLView.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 { + + // 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: kEAGLColorFormatRGB565 + depthFormat: GL_DEPTH24_STENCIL8_OES + preserveBackbuffer: NO + sharegroup: nil + multiSampling: NO + numberOfSamples: 0]; + + // 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::GLView::createWithEAGLView(eaglView); + cocos2d::Director::getInstance()->setOpenGLView(glview); + + cocos2d::Application::getInstance()->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/SampleFrameAnimation/proj.ios_mac/ios/Default-568h@2x.png b/SampleFrameAnimation/proj.ios_mac/ios/Default-568h@2x.png new file mode 100644 index 0000000..66c6d1c Binary files /dev/null and b/SampleFrameAnimation/proj.ios_mac/ios/Default-568h@2x.png differ diff --git a/SampleFrameAnimation/proj.ios_mac/ios/Default.png b/SampleFrameAnimation/proj.ios_mac/ios/Default.png new file mode 100644 index 0000000..dcb8072 Binary files /dev/null and b/SampleFrameAnimation/proj.ios_mac/ios/Default.png differ diff --git a/SampleFrameAnimation/proj.ios_mac/ios/Default@2x.png b/SampleFrameAnimation/proj.ios_mac/ios/Default@2x.png new file mode 100644 index 0000000..8468988 Binary files /dev/null and b/SampleFrameAnimation/proj.ios_mac/ios/Default@2x.png differ diff --git a/SampleFrameAnimation/proj.ios_mac/ios/Icon-100.png b/SampleFrameAnimation/proj.ios_mac/ios/Icon-100.png new file mode 100644 index 0000000..ef38d45 Binary files /dev/null and b/SampleFrameAnimation/proj.ios_mac/ios/Icon-100.png differ diff --git a/SampleFrameAnimation/proj.ios_mac/ios/Icon-114.png b/SampleFrameAnimation/proj.ios_mac/ios/Icon-114.png new file mode 100644 index 0000000..c380786 Binary files /dev/null and b/SampleFrameAnimation/proj.ios_mac/ios/Icon-114.png differ diff --git a/SampleFrameAnimation/proj.ios_mac/ios/Icon-120.png b/SampleFrameAnimation/proj.ios_mac/ios/Icon-120.png new file mode 100644 index 0000000..a5b49cc Binary files /dev/null and b/SampleFrameAnimation/proj.ios_mac/ios/Icon-120.png differ diff --git a/SampleFrameAnimation/proj.ios_mac/ios/Icon-144.png b/SampleFrameAnimation/proj.ios_mac/ios/Icon-144.png new file mode 100644 index 0000000..1526615 Binary files /dev/null and b/SampleFrameAnimation/proj.ios_mac/ios/Icon-144.png differ diff --git a/SampleFrameAnimation/proj.ios_mac/ios/Icon-152.png b/SampleFrameAnimation/proj.ios_mac/ios/Icon-152.png new file mode 100644 index 0000000..8aa8250 Binary files /dev/null and b/SampleFrameAnimation/proj.ios_mac/ios/Icon-152.png differ diff --git a/SampleFrameAnimation/proj.ios_mac/ios/Icon-29.png b/SampleFrameAnimation/proj.ios_mac/ios/Icon-29.png new file mode 100644 index 0000000..0500184 Binary files /dev/null and b/SampleFrameAnimation/proj.ios_mac/ios/Icon-29.png differ diff --git a/SampleFrameAnimation/proj.ios_mac/ios/Icon-40.png b/SampleFrameAnimation/proj.ios_mac/ios/Icon-40.png new file mode 100644 index 0000000..775685d Binary files /dev/null and b/SampleFrameAnimation/proj.ios_mac/ios/Icon-40.png differ diff --git a/SampleFrameAnimation/proj.ios_mac/ios/Icon-50.png b/SampleFrameAnimation/proj.ios_mac/ios/Icon-50.png new file mode 100644 index 0000000..ac381bc Binary files /dev/null and b/SampleFrameAnimation/proj.ios_mac/ios/Icon-50.png differ diff --git a/SampleFrameAnimation/proj.ios_mac/ios/Icon-57.png b/SampleFrameAnimation/proj.ios_mac/ios/Icon-57.png new file mode 100644 index 0000000..4fcc6fd Binary files /dev/null and b/SampleFrameAnimation/proj.ios_mac/ios/Icon-57.png differ diff --git a/SampleFrameAnimation/proj.ios_mac/ios/Icon-58.png b/SampleFrameAnimation/proj.ios_mac/ios/Icon-58.png new file mode 100644 index 0000000..f0f8b7f Binary files /dev/null and b/SampleFrameAnimation/proj.ios_mac/ios/Icon-58.png differ diff --git a/SampleFrameAnimation/proj.ios_mac/ios/Icon-72.png b/SampleFrameAnimation/proj.ios_mac/ios/Icon-72.png new file mode 100644 index 0000000..2c573c8 Binary files /dev/null and b/SampleFrameAnimation/proj.ios_mac/ios/Icon-72.png differ diff --git a/SampleFrameAnimation/proj.ios_mac/ios/Icon-76.png b/SampleFrameAnimation/proj.ios_mac/ios/Icon-76.png new file mode 100644 index 0000000..8a1fa18 Binary files /dev/null and b/SampleFrameAnimation/proj.ios_mac/ios/Icon-76.png differ diff --git a/SampleFrameAnimation/proj.ios_mac/ios/Icon-80.png b/SampleFrameAnimation/proj.ios_mac/ios/Icon-80.png new file mode 100644 index 0000000..d9c7ab4 Binary files /dev/null and b/SampleFrameAnimation/proj.ios_mac/ios/Icon-80.png differ diff --git a/SampleFrameAnimation/proj.ios_mac/ios/Info.plist b/SampleFrameAnimation/proj.ios_mac/ios/Info.plist new file mode 100644 index 0000000..88a89b9 --- /dev/null +++ b/SampleFrameAnimation/proj.ios_mac/ios/Info.plist @@ -0,0 +1,70 @@ + + + + + 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.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIAppFonts + + UIPrerenderedIcon + + UISupportedInterfaceOrientations + + UIInterfaceOrientationLandscapeRight + UIInterfaceOrientationLandscapeLeft + + + diff --git a/SampleFrameAnimation/proj.ios_mac/ios/Prefix.pch b/SampleFrameAnimation/proj.ios_mac/ios/Prefix.pch new file mode 100644 index 0000000..3737d11 --- /dev/null +++ b/SampleFrameAnimation/proj.ios_mac/ios/Prefix.pch @@ -0,0 +1,8 @@ +// +// Prefix header for all source files of the 'iphone' target in the 'iphone' project +// + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/SampleFrameAnimation/proj.ios_mac/ios/RootViewController.h b/SampleFrameAnimation/proj.ios_mac/ios/RootViewController.h new file mode 100644 index 0000000..6cde57f --- /dev/null +++ b/SampleFrameAnimation/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/SampleFrameAnimation/proj.ios_mac/ios/RootViewController.mm b/SampleFrameAnimation/proj.ios_mac/ios/RootViewController.mm new file mode 100644 index 0000000..c500a44 --- /dev/null +++ b/SampleFrameAnimation/proj.ios_mac/ios/RootViewController.mm @@ -0,0 +1,108 @@ +/**************************************************************************** + 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 "CCEAGLView.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]; + + cocos2d::GLView *glview = cocos2d::Director::getInstance()->getOpenGLView(); + CCEAGLView *eaglview = (CCEAGLView*) glview->getEAGLView(); + + 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/SampleFrameAnimation/proj.ios_mac/ios/main.m b/SampleFrameAnimation/proj.ios_mac/ios/main.m new file mode 100644 index 0000000..84158b2 --- /dev/null +++ b/SampleFrameAnimation/proj.ios_mac/ios/main.m @@ -0,0 +1,12 @@ +#import + +// Under iOS and the Simulator, we can use an alternate Accelerometer interface +#import "AccelerometerSimulation.h" + +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/SampleFrameAnimation/proj.ios_mac/mac/Icon.icns b/SampleFrameAnimation/proj.ios_mac/mac/Icon.icns new file mode 100644 index 0000000..2040fc6 Binary files /dev/null and b/SampleFrameAnimation/proj.ios_mac/mac/Icon.icns differ diff --git a/SampleFrameAnimation/proj.ios_mac/mac/Info.plist b/SampleFrameAnimation/proj.ios_mac/mac/Info.plist new file mode 100644 index 0000000..df93f67 --- /dev/null +++ b/SampleFrameAnimation/proj.ios_mac/mac/Info.plist @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + Icon + CFBundleIdentifier + org.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + 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/SampleFrameAnimation/proj.ios_mac/mac/Prefix.pch b/SampleFrameAnimation/proj.ios_mac/mac/Prefix.pch new file mode 100644 index 0000000..96d93ae --- /dev/null +++ b/SampleFrameAnimation/proj.ios_mac/mac/Prefix.pch @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'Paralaxer' target in the 'Paralaxer' project +// + +#ifdef __OBJC__ + #import +#endif diff --git a/SampleFrameAnimation/proj.ios_mac/mac/main.cpp b/SampleFrameAnimation/proj.ios_mac/mac/main.cpp new file mode 100644 index 0000000..f0b87fb --- /dev/null +++ b/SampleFrameAnimation/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(); +} diff --git a/SampleFrameAnimation/proj.linux/main.cpp b/SampleFrameAnimation/proj.linux/main.cpp new file mode 100644 index 0000000..7742def --- /dev/null +++ b/SampleFrameAnimation/proj.linux/main.cpp @@ -0,0 +1,15 @@ +#include "../Classes/AppDelegate.h" + +#include +#include +#include +#include + +USING_NS_CC; + +int main(int argc, char **argv) +{ + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleFrameAnimation/proj.win32/SampleFrameAnimation.sln b/SampleFrameAnimation/proj.win32/SampleFrameAnimation.sln new file mode 100644 index 0000000..1ed8269 --- /dev/null +++ b/SampleFrameAnimation/proj.win32/SampleFrameAnimation.sln @@ -0,0 +1,61 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleFrameAnimation", "SampleFrameAnimation.vcxproj", "{76A39BB2-9B84-4C65-98A5-654D86B86F2A}" + ProjectSection(ProjectDependencies) = postProject + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\cocos2d\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\cocos2d\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\cocos2d\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosStudio", "..\cocos2d\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libExtensions", "..\cocos2d\extensions\proj.win32\libExtensions.vcxproj", "{21B2C324-891F-48EA-AD1A-5AE13DE12E28}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libGUI", "..\cocos2d\cocos\gui\proj.win32\libGUI.vcxproj", "{7E06E92C-537A-442B-9E4A-4761C84F8A1A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.ActiveCfg = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.Build.0 = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.ActiveCfg = Release|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.Build.0 = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.ActiveCfg = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.Build.0 = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.ActiveCfg = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.Build.0 = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.ActiveCfg = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.Build.0 = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.ActiveCfg = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.Build.0 = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.ActiveCfg = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.Build.0 = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.ActiveCfg = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.Build.0 = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.ActiveCfg = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.Build.0 = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.ActiveCfg = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.Build.0 = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.ActiveCfg = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.Build.0 = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.ActiveCfg = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.Build.0 = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.ActiveCfg = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.Build.0 = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.ActiveCfg = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SampleFrameAnimation/proj.win32/SampleFrameAnimation.vcxproj b/SampleFrameAnimation/proj.win32/SampleFrameAnimation.vcxproj new file mode 100644 index 0000000..f1d8c7c --- /dev/null +++ b/SampleFrameAnimation/proj.win32/SampleFrameAnimation.vcxproj @@ -0,0 +1,174 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {76A39BB2-9B84-4C65-98A5-654D86B86F2A} + test_win32 + Win32Proj + + + + Application + Unicode + true + v100 + v110 + v110_xp + + + Application + Unicode + v100 + v110 + v110_xp + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + true + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + false + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;$(EngineRoot)cocos\editor-support;$(EngineRoot);$(EngineRoot)cocos;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + EditAndContinue + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + MaxSpeed + true + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + ProgramDatabase + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + libcurl_imp.lib;websockets.lib;%(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + true + true + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + + + + + + + + + + + + + {98a51ba8-fc3a-415b-ac8f-8c7bd464e93e} + false + + + {f8edd7fa-9a51-4e80-baeb-860825d2eac6} + + + {b57cf53f-2e49-4031-9822-047cc0e6bde2} + + + {7e06e92c-537a-442b-9e4a-4761c84f8a1a} + + + {21b2c324-891f-48ea-ad1a-5ae13de12e28} + + + {207bc7a9-ccf1-4f2f-a04d-45f72242ae25} + + + + + + + + + \ No newline at end of file diff --git a/SampleFrameAnimation/proj.win32/SampleFrameAnimation.vcxproj.filters b/SampleFrameAnimation/proj.win32/SampleFrameAnimation.vcxproj.filters new file mode 100644 index 0000000..da1ba1c --- /dev/null +++ b/SampleFrameAnimation/proj.win32/SampleFrameAnimation.vcxproj.filters @@ -0,0 +1,47 @@ + + + + + {84a8ebd7-7cf0-47f6-b75e-d441df67da40} + + + {bb6c862e-70e9-49d9-81b7-3829a6f50471} + + + {715254bc-d70b-4ec5-bf29-467dd3ace079} + + + + + win32 + + + Classes + + + Classes + + + Classes + + + + + win32 + + + Classes + + + Classes + + + Classes + + + + + resource + + + \ No newline at end of file diff --git a/SampleFrameAnimation/proj.win32/SampleFrameAnimation.vcxproj.user b/SampleFrameAnimation/proj.win32/SampleFrameAnimation.vcxproj.user new file mode 100644 index 0000000..314a27a --- /dev/null +++ b/SampleFrameAnimation/proj.win32/SampleFrameAnimation.vcxproj.user @@ -0,0 +1,11 @@ + + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + \ No newline at end of file diff --git a/SampleFrameAnimation/proj.win32/game.rc b/SampleFrameAnimation/proj.win32/game.rc new file mode 100644 index 0000000..09d7d99 --- /dev/null +++ b/SampleFrameAnimation/proj.win32/game.rc @@ -0,0 +1,86 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +#undef APSTUDIO_HIDDEN_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +GLFW_ICON ICON "res\\game.ico" + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,1 + PRODUCTVERSION 1,0,0,1 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904B0" + BEGIN + VALUE "CompanyName", "\0" + VALUE "FileDescription", "game Module\0" + VALUE "FileVersion", "1, 0, 0, 1\0" + VALUE "InternalName", "game\0" + VALUE "LegalCopyright", "Copyright \0" + VALUE "OriginalFilename", "game.exe\0" + VALUE "ProductName", "game Module\0" + VALUE "ProductVersion", "1, 0, 0, 1\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0409, 0x04B0 + END +END + +///////////////////////////////////////////////////////////////////////////// +#endif // !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) diff --git a/SampleFrameAnimation/proj.win32/main.cpp b/SampleFrameAnimation/proj.win32/main.cpp new file mode 100644 index 0000000..4ef499e --- /dev/null +++ b/SampleFrameAnimation/proj.win32/main.cpp @@ -0,0 +1,18 @@ +#include "main.h" +#include "AppDelegate.h" +#include "cocos2d.h" + +USING_NS_CC; + +int APIENTRY _tWinMain(HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPTSTR lpCmdLine, + int nCmdShow) +{ + UNREFERENCED_PARAMETER(hPrevInstance); + UNREFERENCED_PARAMETER(lpCmdLine); + + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleFrameAnimation/proj.win32/main.h b/SampleFrameAnimation/proj.win32/main.h new file mode 100644 index 0000000..e4d2aa3 --- /dev/null +++ b/SampleFrameAnimation/proj.win32/main.h @@ -0,0 +1,13 @@ +#ifndef __MAIN_H__ +#define __MAIN_H__ + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers + +// Windows Header Files: +#include +#include + +// C RunTime Header Files +#include "CCStdC.h" + +#endif // __MAIN_H__ diff --git a/SampleFrameAnimation/proj.win32/res/game.ico b/SampleFrameAnimation/proj.win32/res/game.ico new file mode 100644 index 0000000..feaf932 Binary files /dev/null and b/SampleFrameAnimation/proj.win32/res/game.ico differ diff --git a/SampleFrameAnimation/proj.win32/resource.h b/SampleFrameAnimation/proj.win32/resource.h new file mode 100644 index 0000000..ecde7ef --- /dev/null +++ b/SampleFrameAnimation/proj.win32/resource.h @@ -0,0 +1,20 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by game.RC +// + +#define IDS_PROJNAME 100 +#define IDR_TESTJS 100 + +#define ID_FILE_NEW_WINDOW 32771 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 201 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 32775 +#endif +#endif diff --git a/SampleHelloUI/CMakeLists.txt b/SampleHelloUI/CMakeLists.txt new file mode 100644 index 0000000..82a8f20 --- /dev/null +++ b/SampleHelloUI/CMakeLists.txt @@ -0,0 +1,169 @@ +cmake_minimum_required(VERSION 2.6) + +set(APP_NAME MyGame) +project (${APP_NAME}) + +include(cocos2d/build/BuildHelpers.CMakeLists.txt) + +option(USE_CHIPMUNK "Use chipmunk for physics library" ON) +option(USE_BOX2D "Use box2d for physics library" OFF) +option(DEBUG_MODE "Debug or release?" ON) + +if(DEBUG_MODE) + set(CMAKE_BUILD_TYPE DEBUG) +else(DEBUG_MODE) + set(CMAKE_BUILD_TYPE RELEASE) +endif(DEBUG_MODE) + +set(CMAKE_C_FLAGS_DEBUG "-g -Wall -DCOCOS2D_DEBUG=1") +set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) + +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + +if(USE_CHIPMUNK) + message("Using chipmunk ...") + add_definitions(-DLINUX -DCC_ENABLE_CHIPMUNK_INTEGRATION=1) +elseif(USE_BOX2D) + message("Using box2d ...") + add_definitions(-DLINUX -DCC_ENABLE_BOX2D_INTEGRATION=1) +else(USE_CHIPMUNK) + message(FATAL_ERROR "Must choose a physics library.") +endif(USE_CHIPMUNK) + +# architecture +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(ARCH_DIR "64-bit") +else() +set(ARCH_DIR "32-bit") +endif() + + +set(GAME_SRC + proj.linux/main.cpp + Classes/AppDelegate.cpp + Classes/HelloWorldScene.cpp +) + +set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/cocos2d) + +include_directories( + /usr/local/include/GLFW + ${COCOS2D_ROOT} + ${COCOS2D_ROOT}/cocos + ${COCOS2D_ROOT}/cocos/audio/include + ${COCOS2D_ROOT}/cocos/2d + ${COCOS2D_ROOT}/cocos/2d/renderer + ${COCOS2D_ROOT}/cocos/2d/platform + ${COCOS2D_ROOT}/cocos/2d/platform/desktop + ${COCOS2D_ROOT}/cocos/2d/platform/linux + ${COCOS2D_ROOT}/cocos/base + ${COCOS2D_ROOT}/cocos/physics + ${COCOS2D_ROOT}/cocos/editor-support + ${COCOS2D_ROOT}/cocos/math/kazmath/include + ${COCOS2D_ROOT}/extensions + ${COCOS2D_ROOT}/external + ${COCOS2D_ROOT}/external/edtaa3func + ${COCOS2D_ROOT}/external/jpeg/include/linux + ${COCOS2D_ROOT}/external/tiff/include/linux + ${COCOS2D_ROOT}/external/webp/include/linux + ${COCOS2D_ROOT}/external/tinyxml2 + ${COCOS2D_ROOT}/external/unzip + ${COCOS2D_ROOT}/external/chipmunk/include/chipmunk + ${COCOS2D_ROOT}/external/freetype2/include/linux + ${COCOS2D_ROOT}/external/websockets/include/linux + ${COCOS2D_ROOT}/external/spidermonkey/include/linux + ${COCOS2D_ROOT}/external/linux-specific/fmod/include/${ARCH_DIR} +) + +link_directories( + /usr/local/lib + ${COCOS2D_ROOT}/external/jpeg/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/tiff/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/webp/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/freetype2/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/websockets/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/spidermonkey/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/linux-specific/fmod/prebuilt/${ARCH_DIR} +) + +# kazmath +add_subdirectory(${COCOS2D_ROOT}/cocos/math/kazmath) + +# chipmunk library +add_subdirectory(${COCOS2D_ROOT}/external/chipmunk/src) + +# box2d library +add_subdirectory(${COCOS2D_ROOT}/external/Box2D) + +# unzip library +add_subdirectory(${COCOS2D_ROOT}/external/unzip) + +# tinyxml2 library +add_subdirectory(${COCOS2D_ROOT}/external/tinyxml2) + +# audio +add_subdirectory(${COCOS2D_ROOT}/cocos/audio) + +# cocos base library +add_subdirectory(${COCOS2D_ROOT}/cocos/base) + +# cocos 2d library +add_subdirectory(${COCOS2D_ROOT}/cocos/2d) + +# cocos storage +add_subdirectory(${COCOS2D_ROOT}/cocos/storage) + +# gui +add_subdirectory(${COCOS2D_ROOT}/cocos/gui) + +# network +add_subdirectory(${COCOS2D_ROOT}/cocos/network) + +# extensions +add_subdirectory(${COCOS2D_ROOT}/extensions) + +## Editor Support + +# spine +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/spine) + +# cocosbuilder +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocosbuilder) + +# cocostudio +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocostudio) + +# add the executable +add_executable(${APP_NAME} + ${GAME_SRC} +) + +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(FMOD_LIB "fmodex64") +else() +set(FMOD_LIB "fmodex") +endif() + +target_link_libraries(${APP_NAME} + gui + network + storage + spine + cocostudio + cocosbuilder + extensions + audio + cocos2d + ) + +set(APP_BIN_DIR "${CMAKE_BINARY_DIR}/bin") + +set_target_properties(${APP_NAME} PROPERTIES + RUNTIME_OUTPUT_DIRECTORY "${APP_BIN_DIR}") + +pre_build(${APP_NAME} + COMMAND ${CMAKE_COMMAND} -E remove_directory ${APP_BIN_DIR}/Resources + COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/Resources ${APP_BIN_DIR}/Resources + ) + diff --git a/SampleHelloUI/Classes/AppDelegate.cpp b/SampleHelloUI/Classes/AppDelegate.cpp new file mode 100644 index 0000000..fe94376 --- /dev/null +++ b/SampleHelloUI/Classes/AppDelegate.cpp @@ -0,0 +1,73 @@ +#include "AppDelegate.h" +#include "HelloWorldScene.h" +#include "CocosGUIScene.h" + +USING_NS_CC; + +AppDelegate::AppDelegate() { + +} + +AppDelegate::~AppDelegate() +{ +} + +bool AppDelegate::applicationDidFinishLaunching() { + // initialize director + auto director = Director::getInstance(); + auto glview = director->getOpenGLView(); + if(!glview) { + glview = GLView::create("My Game"); + director->setOpenGLView(glview); + } + + // turn on display FPS + director->setDisplayStats(true); + + // set FPS. the default value is 1.0/60 if you don't call this + director->setAnimationInterval(1.0 / 60); + + auto screenSize = glview->getFrameSize(); + + auto designSize = Size(480, 320); + + auto fileUtils = FileUtils::getInstance(); + std::vector searchPaths; + + if (screenSize.height > 320) + { + auto resourceSize = Size(960, 640); + searchPaths.push_back("hd"); + director->setContentScaleFactor(resourceSize.height/designSize.height); + } + + fileUtils->setSearchPaths(searchPaths); + + // glview->setDesignResolutionSize(screenSize.width, screenSize.height, ResolutionPolicy::NO_BORDER); + glview->setDesignResolutionSize(designSize.width, designSize.height, ResolutionPolicy::NO_BORDER); + + // create a scene. it's an autorelease object + auto scene = new CocosGUITestScene(); + scene->autorelease(); + + // 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::sharedEngine()->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::sharedEngine()->resumeBackgroundMusic(); +} diff --git a/SampleHelloUI/Classes/AppDelegate.h b/SampleHelloUI/Classes/AppDelegate.h new file mode 100644 index 0000000..01cbb7c --- /dev/null +++ b/SampleHelloUI/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/SampleHelloUI/Classes/CocosGUIScene.cpp b/SampleHelloUI/Classes/CocosGUIScene.cpp new file mode 100644 index 0000000..2f60e97 --- /dev/null +++ b/SampleHelloUI/Classes/CocosGUIScene.cpp @@ -0,0 +1,356 @@ +#include "CocosGUIScene.h" +#include "VisibleRect.h" +#include "UISceneManager.h" +#include "cocostudio/CocoStudio.h" + +enum +{ + LINE_SPACE = 40, + kItemTagBasic = 1000, +}; + +static struct +{ + const char *name; + std::function callback; +} +g_guisTests[] = +{ + { + "gui ButtonTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUIButtonTest); + pManager->setMinUISceneId(kUIButtonTest); + pManager->setMaxUISceneId(kUIButtonTest_Title); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + { + "gui CheckBoxTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUICheckBoxTest); + pManager->setMinUISceneId(kUICheckBoxTest); + pManager->setMaxUISceneId(kUICheckBoxTest); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + { + "gui SliderTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUISliderTest); + pManager->setMinUISceneId(kUISliderTest); + pManager->setMaxUISceneId(kUISliderTest_Scale9); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + /* + { + "gui PotentiometerTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUIPotentiometerTest); + pManager->setMinUISceneId(kUIPotentiometerTest); + pManager->setMaxUISceneId(kUIPotentiometerTest); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + { + "gui SwitchTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUISwitchTest_Horizontal); + pManager->setMinUISceneId(kUISwitchTest_Horizontal); + pManager->setMaxUISceneId(kUISwitchTest_VerticalAndTitleVertical); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + */ + { + "gui ImageViewTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUIImageViewTest); + pManager->setMinUISceneId(kUIImageViewTest); + pManager->setMaxUISceneId(kUIImageViewTest_Scale9); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + { + "gui LoadingBarTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUILoadingBarTest_Left); + pManager->setMinUISceneId(kUILoadingBarTest_Left); + pManager->setMaxUISceneId(kUILoadingBarTest_Right_Scale9); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + /* + { + "gui ProgressTimerTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUIProgressTimerTest_Radial); + pManager->setMinUISceneId(kUIProgressTimerTest_Radial); + pManager->setMaxUISceneId(kUIProgressTimerTest_WithSpriteFrame); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + */ + { + "gui TextAtalsTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUILabelAtlasTest); + pManager->setMinUISceneId(kUILabelAtlasTest); + pManager->setMaxUISceneId(kUILabelAtlasTest); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + { + "gui TextTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUILabelTest); + pManager->setMinUISceneId(kUILabelTest); + pManager->setMaxUISceneId(kUILabelTest_TTF); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + { + "gui TextBMFontTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUILabelBMFontTest); + pManager->setMinUISceneId(kUILabelBMFontTest); + pManager->setMaxUISceneId(kUILabelBMFontTest); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + { + "gui TextFieldTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUITextFieldTest); + pManager->setMinUISceneId(kUITextFieldTest); + pManager->setMaxUISceneId(kUITextFieldTest_Password); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + { + "gui LayoutTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUILayoutTest); + pManager->setMinUISceneId(kUILayoutTest); + pManager->setMaxUISceneId(kUILayoutTest_Layout_Relative_Location); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + { + "gui ScrollViewTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUIScrollViewTest_Vertical); + pManager->setMinUISceneId(kUIScrollViewTest_Vertical); + pManager->setMaxUISceneId(kUIScrollViewTest_ScrollToPercentBothDirection_Bounce); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + { + "gui PageViewTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUIPageViewTest); + pManager->setMinUISceneId(kUIPageViewTest); + pManager->setMaxUISceneId(kUIPageViewTest); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + { + "gui ListViewTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUIListViewTest_Vertical); + pManager->setMinUISceneId(kUIListViewTest_Vertical); + pManager->setMaxUISceneId(kUIListViewTest_Horizontal); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + /* + { + "gui GridViewTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUIGridViewTest_Mode_Column); + pManager->setMinUISceneId(kUIGridViewTest_Mode_Column); + pManager->setMaxUISceneId(kUIGridViewTest_Mode_Row); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + { + "gui PickerViewTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUIPickerViewTest_Vertical); + pManager->setMinUISceneId(kUIPickerViewTest_Vertical); + pManager->setMaxUISceneId(kUIPickerViewTest_Horizontal); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, + */ + { + "gui WidgetAddNodeTest", + [](Ref* sender) + { + UISceneManager* pManager = UISceneManager::sharedUISceneManager(); + pManager->setCurrentUISceneId(kUIWidgetAddNodeTest); + pManager->setMinUISceneId(kUIWidgetAddNodeTest); + pManager->setMaxUISceneId(kUIWidgetAddNodeTest); + Scene* pScene = pManager->currentUIScene(); + Director::getInstance()->replaceScene(pScene); + } + }, +}; + +static const int g_maxTests = sizeof(g_guisTests) / sizeof(g_guisTests[0]); + +static Point s_tCurPos = Point::ZERO; + +//////////////////////////////////////////////////////// +// +// CocosGUITestMainLayer +// +//////////////////////////////////////////////////////// +void CocosGUITestMainLayer::onEnter() +{ + Layer::onEnter(); + + auto s = Director::getInstance()->getWinSize(); + + _itemMenu = Menu::create(); + _itemMenu->setPosition( s_tCurPos ); + MenuItemFont::setFontName("Arial"); + MenuItemFont::setFontSize(24); + for (int i = 0; i < g_maxTests; ++i) + { + auto pItem = MenuItemFont::create(g_guisTests[i].name, g_guisTests[i].callback); + pItem->setPosition(Point(s.width / 2, s.height - (i + 1) * LINE_SPACE)); + _itemMenu->addChild(pItem, kItemTagBasic + i); + } + + auto listener = EventListenerTouchAllAtOnce::create(); + listener->onTouchesBegan = CC_CALLBACK_2(CocosGUITestMainLayer::onTouchesBegan, this); + listener->onTouchesMoved = CC_CALLBACK_2(CocosGUITestMainLayer::onTouchesMoved, this); + + _eventDispatcher->addEventListenerWithSceneGraphPriority(listener, this); + + addChild(_itemMenu); +} + +void CocosGUITestMainLayer::onTouchesBegan(const std::vector& touches, Event *event) +{ + auto touch = static_cast(touches[0]); + + _beginPos = touch->getLocation(); +} + +void CocosGUITestMainLayer::onTouchesMoved(const std::vector& touches, Event *event) +{ + auto touch = static_cast(touches[0]); + + auto touchLocation = touch->getLocation(); + float nMoveY = touchLocation.y - _beginPos.y; + + auto curPos = _itemMenu->getPosition(); + auto nextPos = Point(curPos.x, curPos.y + nMoveY); + + if (nextPos.y < 0.0f) + { + _itemMenu->setPosition(Point::ZERO); + return; + } + + if (nextPos.y > ((g_maxTests + 1)* LINE_SPACE - VisibleRect::getVisibleRect().size.height)) + { + _itemMenu->setPosition(Point(0, ((g_maxTests + 1)* LINE_SPACE - VisibleRect::getVisibleRect().size.height))); + return; + } + + _itemMenu->setPosition(nextPos); + _beginPos = touchLocation; + s_tCurPos = nextPos; +} + + +//////////////////////////////////////////////////////// +// +// CocosGUITestScene +// +//////////////////////////////////////////////////////// + +void CocosGUITestScene::onEnter() +{ + Scene::onEnter(); + + auto layer = new CocosGUITestMainLayer(); + addChild(layer); + layer->release(); + + // add close menu + auto closeItem = MenuItemImage::create("CloseNormal.png", + "CloseSelected.png", + CC_CALLBACK_1(CocosGUITestScene::closeCallback, this) ); + auto menu =Menu::create(closeItem, NULL); + + menu->setPosition( Point::ZERO ); + closeItem->setPosition(Point( VisibleRect::right().x - 30, VisibleRect::top().y - 30)); + addChild(menu); +} + +void CocosGUITestScene::closeCallback(Ref *pSender) +{ + Director::getInstance()->end(); +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + exit(0); +#endif +} \ No newline at end of file diff --git a/SampleHelloUI/Classes/CocosGUIScene.h b/SampleHelloUI/Classes/CocosGUIScene.h new file mode 100644 index 0000000..04d44a0 --- /dev/null +++ b/SampleHelloUI/Classes/CocosGUIScene.h @@ -0,0 +1,57 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__CocosGUIScene__ +#define __TestCpp__CocosGUIScene__ + +#include "cocos2d.h" +#include "extensions/cocos-ext.h" +#include "gui/CocosGUI.h" + +using namespace cocos2d; +using namespace cocos2d::extension; +using namespace ui; + +class CocosGUITestMainLayer : public Layer +{ +public: + virtual void onEnter() override; + + void onTouchesBegan(const std::vector& touches, Event *event); + void onTouchesMoved(const std::vector& touches, Event *event); + + Point _beginPos; + Menu* _itemMenu; + + int _testcount; +}; + +class CocosGUITestScene : public Scene +{ +public: + virtual void onEnter(); + void closeCallback(Ref* pSender); +}; + +#endif /* defined(__TestCpp__CocosGUIScene__) */ diff --git a/SampleHelloUI/Classes/HelloWorldScene.cpp b/SampleHelloUI/Classes/HelloWorldScene.cpp new file mode 100644 index 0000000..cdd15a5 --- /dev/null +++ b/SampleHelloUI/Classes/HelloWorldScene.cpp @@ -0,0 +1,86 @@ +#include "HelloWorldScene.h" + +USING_NS_CC; + +Scene* HelloWorld::createScene() +{ + // 'scene' is an autorelease object + 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(); + Point origin = Director::getInstance()->getVisibleOrigin(); + + ///////////////////////////// + // 2. add a menu item with "X" image, which is clicked to quit the program + // you may modify it. + + // add a "close" icon to exit the progress. it's an autorelease object + auto closeItem = MenuItemImage::create( + "CloseNormal.png", + "CloseSelected.png", + CC_CALLBACK_1(HelloWorld::menuCloseCallback, this)); + + closeItem->setPosition(Point(origin.x + visibleSize.width - closeItem->getContentSize().width/2 , + origin.y + closeItem->getContentSize().height/2)); + + // create menu, it's an autorelease object + auto menu = Menu::create(closeItem, NULL); + menu->setPosition(Point::ZERO); + this->addChild(menu, 1); + + ///////////////////////////// + // 3. add your codes below... + + // add a label shows "Hello World" + // create and initialize a label + + auto label = LabelTTF::create("Hello World", "Arial", 24); + + // position the label on the center of the screen + label->setPosition(Point(origin.x + visibleSize.width/2, + origin.y + visibleSize.height - label->getContentSize().height)); + + // add the label as a child to this layer + this->addChild(label, 1); + + // add "HelloWorld" splash screen" + auto sprite = Sprite::create("HelloWorld.png"); + + // position the sprite on the center of the screen + sprite->setPosition(Point(visibleSize.width/2 + origin.x, visibleSize.height/2 + origin.y)); + + // add the sprite as a child to this layer + this->addChild(sprite, 0); + + return true; +} + + +void HelloWorld::menuCloseCallback(Ref* pSender) +{ + Director::getInstance()->end(); + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + exit(0); +#endif +} diff --git a/SampleHelloUI/Classes/HelloWorldScene.h b/SampleHelloUI/Classes/HelloWorldScene.h new file mode 100644 index 0000000..3473313 --- /dev/null +++ b/SampleHelloUI/Classes/HelloWorldScene.h @@ -0,0 +1,22 @@ +#ifndef __HELLOWORLD_SCENE_H__ +#define __HELLOWORLD_SCENE_H__ + +#include "cocos2d.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(); + + // a selector callback + void menuCloseCallback(cocos2d::Ref* pSender); + + // implement the "static create()" method manually + CREATE_FUNC(HelloWorld); +}; + +#endif // __HELLOWORLD_SCENE_H__ diff --git a/SampleHelloUI/Classes/UIButtonTest/UIButtonTest.cpp b/SampleHelloUI/Classes/UIButtonTest/UIButtonTest.cpp new file mode 100644 index 0000000..13e4b90 --- /dev/null +++ b/SampleHelloUI/Classes/UIButtonTest/UIButtonTest.cpp @@ -0,0 +1,305 @@ + + +#include "UIButtonTest.h" + + +// UIButtonTest +UIButtonTest::UIButtonTest() +: _displayValueLabel(nullptr) +{ + +} + +UIButtonTest::~UIButtonTest() +{ +} + +bool UIButtonTest::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add a label in which the button events will be displayed + _displayValueLabel = Text::create(); + _displayValueLabel->setText("No Event"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1.0f)); + _displayValueLabel->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f)); + _uiLayer->addChild(_displayValueLabel); + + // Add the alert + Text* alert = Text::create(); + alert->setText("Button"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 1.75f)); + _uiLayer->addChild(alert); + + // Create the button + Button* button = Button::create(); + button->setTouchEnabled(true); + button->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + button->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f)); + button->addTouchEventListener(this, toucheventselector(UIButtonTest::touchEvent)); + _uiLayer->addChild(button); + + return true; + } + return false; +} + +void UIButtonTest::touchEvent(Ref *pSender, TouchEventType type) +{ + switch (type) + { + case TOUCH_EVENT_BEGAN: + _displayValueLabel->setText(String::createWithFormat("Touch Down")->getCString()); + break; + + case TOUCH_EVENT_MOVED: + _displayValueLabel->setText(String::createWithFormat("Touch Move")->getCString()); + break; + + case TOUCH_EVENT_ENDED: + _displayValueLabel->setText(String::createWithFormat("Touch Up")->getCString()); + break; + + case TOUCH_EVENT_CANCELED: + _displayValueLabel->setText(String::createWithFormat("Touch Cancelled")->getCString()); + break; + + default: + break; + } +} + + +// UIButtonTest_Scale9 +UIButtonTest_Scale9::UIButtonTest_Scale9() +: _displayValueLabel(nullptr) +{ + +} + +UIButtonTest_Scale9::~UIButtonTest_Scale9() +{ + +} + +bool UIButtonTest_Scale9::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add a label in which the button events will be displayed + _displayValueLabel = Text::create(); + _displayValueLabel->setText("No Event"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1.0f)); + _displayValueLabel->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f)); + _uiLayer->addChild(_displayValueLabel); + + // Add the alert + Text* alert = Text::create(); + alert->setText("Button scale9 render"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 1.75f)); + _uiLayer->addChild(alert); + + // Create the button + Button* button = Button::create(); + button->setTouchEnabled(true); + // open scale9 render + button->setScale9Enabled(true); + button->loadTextures("cocosgui/button.png", "cocosgui/buttonHighlighted.png", ""); + button->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f)); + button->setSize(Size(150, button->getContentSize().height * 1.5f)); + button->addTouchEventListener(this, toucheventselector(UIButtonTest_Scale9::touchEvent)); + _uiLayer->addChild(button); + + return true; + } + return false; +} + +void UIButtonTest_Scale9::touchEvent(Ref *pSender, TouchEventType type) +{ + switch (type) + { + case TOUCH_EVENT_BEGAN: + _displayValueLabel->setText(String::createWithFormat("Touch Down")->getCString()); + break; + + case TOUCH_EVENT_MOVED: + _displayValueLabel->setText(String::createWithFormat("Touch Move")->getCString()); + break; + + case TOUCH_EVENT_ENDED: + _displayValueLabel->setText(String::createWithFormat("Touch Up")->getCString()); + break; + + case TOUCH_EVENT_CANCELED: + _displayValueLabel->setText(String::createWithFormat("Touch Cancelled")->getCString()); + break; + + default: + break; + } +} + +// UIButtonTest_PressAction +UIButtonTest_PressedAction::UIButtonTest_PressedAction() +: _displayValueLabel(nullptr) +{ +} + +UIButtonTest_PressedAction::~UIButtonTest_PressedAction() +{ +} + +bool UIButtonTest_PressedAction::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add a label in which the button events will be displayed + _displayValueLabel = Text::create(); + _displayValueLabel->setText("No Event"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1.0f)); + _displayValueLabel->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f)); + _uiLayer->addChild(_displayValueLabel); + + // Add the alert + Text* alert = Text::create(); + alert->setText("Button Pressed Action"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 1.75f)); + _uiLayer->addChild(alert); + + // Create the button + Button* button = Button::create(); + button->setTouchEnabled(true); + button->setPressedActionEnabled(true); + button->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + button->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f)); + button->addTouchEventListener(this, toucheventselector(UIButtonTest_PressedAction::touchEvent)); + _uiLayer->addChild(button); + + return true; + } + return false; +} + +void UIButtonTest_PressedAction::touchEvent(Ref *pSender, TouchEventType type) +{ + switch (type) + { + case TOUCH_EVENT_BEGAN: + _displayValueLabel->setText(String::createWithFormat("Touch Down")->getCString()); + break; + + case TOUCH_EVENT_MOVED: + _displayValueLabel->setText(String::createWithFormat("Touch Move")->getCString()); + break; + + case TOUCH_EVENT_ENDED: + _displayValueLabel->setText(String::createWithFormat("Touch Up")->getCString()); + break; + + case TOUCH_EVENT_CANCELED: + _displayValueLabel->setText(String::createWithFormat("Touch Cancelled")->getCString()); + break; + + default: + break; + } +} + +// UIButtonTest_Title +UIButtonTest_Title::UIButtonTest_Title() +: _displayValueLabel(nullptr) +{ + +} + +UIButtonTest_Title::~UIButtonTest_Title() +{ +} + +bool UIButtonTest_Title::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add a label in which the text button events will be displayed + _displayValueLabel = Text::create(); + _displayValueLabel->setText("No Event"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1)); + _displayValueLabel->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f)); + _uiLayer->addChild(_displayValueLabel); + + // Add the alert + Text* alert = Text::create(); + alert->setText("Button with title"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 1.75f)); + _uiLayer->addChild(alert); + + // Create the button with title + Button* button = Button::create(); + button->setTouchEnabled(true); + button->loadTextures("cocosgui/backtotoppressed.png", "cocosgui/backtotopnormal.png", ""); + button->setTitleText("Title Button"); + button->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f)); + button->addTouchEventListener(this, toucheventselector(UIButtonTest_Title::touchEvent)); + _uiLayer->addChild(button); + + return true; + } + return false; +} + + +void UIButtonTest_Title::touchEvent(Ref *pSender, TouchEventType type) +{ + switch (type) + { + case TOUCH_EVENT_BEGAN: + _displayValueLabel->setText(String::createWithFormat("Touch Down")->getCString()); + break; + + case TOUCH_EVENT_MOVED: + _displayValueLabel->setText(String::createWithFormat("Touch Move")->getCString()); + break; + + case TOUCH_EVENT_ENDED: + _displayValueLabel->setText(String::createWithFormat("Touch Up")->getCString()); + break; + + case TOUCH_EVENT_CANCELED: + _displayValueLabel->setText(String::createWithFormat("Touch Cancelled")->getCString()); + break; + + default: + break; + } +} diff --git a/SampleHelloUI/Classes/UIButtonTest/UIButtonTest.h b/SampleHelloUI/Classes/UIButtonTest/UIButtonTest.h new file mode 100644 index 0000000..7ac14a2 --- /dev/null +++ b/SampleHelloUI/Classes/UIButtonTest/UIButtonTest.h @@ -0,0 +1,82 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__UIButtonTest__ +#define __TestCpp__UIButtonTest__ + +#include "../UIScene.h" + +class UIButtonTest : public UIScene +{ +public: + UIButtonTest(); + ~UIButtonTest(); + bool init(); + void touchEvent(Ref *pSender, TouchEventType type); + +protected: + UI_SCENE_CREATE_FUNC(UIButtonTest) + Text* _displayValueLabel; +}; + +class UIButtonTest_Scale9 : public UIScene +{ +public: + UIButtonTest_Scale9(); + ~UIButtonTest_Scale9(); + bool init(); + void touchEvent(Ref *pSender, TouchEventType type); + +protected: + UI_SCENE_CREATE_FUNC(UIButtonTest_Scale9) + Text* _displayValueLabel; +}; + +class UIButtonTest_PressedAction : public UIScene +{ +public: + UIButtonTest_PressedAction(); + ~UIButtonTest_PressedAction(); + bool init(); + void touchEvent(Ref *pSender, TouchEventType type); + +protected: + UI_SCENE_CREATE_FUNC(UIButtonTest_PressedAction) + Text* _displayValueLabel; +}; + +class UIButtonTest_Title : public UIScene +{ +public: + UIButtonTest_Title(); + ~UIButtonTest_Title(); + bool init(); + void touchEvent(Ref *pSender, TouchEventType type); + +protected: + UI_SCENE_CREATE_FUNC(UIButtonTest_Title) + Text* _displayValueLabel; +}; + +#endif /* defined(__TestCpp__UIButtonTest__) */ diff --git a/SampleHelloUI/Classes/UICheckBoxTest/UICheckBoxTest.cpp b/SampleHelloUI/Classes/UICheckBoxTest/UICheckBoxTest.cpp new file mode 100644 index 0000000..f94d29b --- /dev/null +++ b/SampleHelloUI/Classes/UICheckBoxTest/UICheckBoxTest.cpp @@ -0,0 +1,75 @@ + + +#include "UICheckBoxTest.h" + + +// UICheckBoxTest +UICheckBoxTest::UICheckBoxTest() +: _displayValueLabel(nullptr) +{ + +} + +UICheckBoxTest::~UICheckBoxTest() +{ +} + +bool UICheckBoxTest::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize();; + + // Add a label in which the checkbox events will be displayed + _displayValueLabel = Text::create(); + _displayValueLabel->setText("No Event"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1)); + _displayValueLabel->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f)); + _uiLayer->addChild(_displayValueLabel); + + // Add the alert + Text* alert = Text::create(); + alert->setText("CheckBox"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 1.75f)); + _uiLayer->addChild(alert); + + // Create the checkbox + CheckBox* checkBox = CheckBox::create(); + checkBox->setTouchEnabled(true); + checkBox->loadTextures("cocosgui/check_box_normal.png", + "cocosgui/check_box_normal_press.png", + "cocosgui/check_box_active.png", + "cocosgui/check_box_normal_disable.png", + "cocosgui/check_box_active_disable.png"); + checkBox->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f)); + + checkBox->addEventListenerCheckBox(this, checkboxselectedeventselector(UICheckBoxTest::selectedEvent)); + _uiLayer->addChild(checkBox); + + return true; + } + return false; +} + +void UICheckBoxTest::selectedEvent(Ref* pSender,CheckBoxEventType type) +{ + switch (type) + { + case CHECKBOX_STATE_EVENT_SELECTED: + _displayValueLabel->setText(String::createWithFormat("Selected")->getCString()); + break; + + case CHECKBOX_STATE_EVENT_UNSELECTED: + _displayValueLabel->setText(String::createWithFormat("Unselected")->getCString()); + break; + + default: + break; + } + +} diff --git a/SampleHelloUI/Classes/UICheckBoxTest/UICheckBoxTest.h b/SampleHelloUI/Classes/UICheckBoxTest/UICheckBoxTest.h new file mode 100644 index 0000000..ef136a4 --- /dev/null +++ b/SampleHelloUI/Classes/UICheckBoxTest/UICheckBoxTest.h @@ -0,0 +1,43 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__UICheckBoxTest__ +#define __TestCpp__UICheckBoxTest__ + +#include "../UIScene.h" + +class UICheckBoxTest : public UIScene +{ +public: + UICheckBoxTest(); + ~UICheckBoxTest(); + bool init(); + void selectedEvent(Ref* pSender,CheckBoxEventType type); + +protected: + UI_SCENE_CREATE_FUNC(UICheckBoxTest) + Text* _displayValueLabel; +}; + +#endif /* defined(__TestCpp__UICheckBoxTest__) */ diff --git a/SampleHelloUI/Classes/UIImageViewTest/UIImageViewTest.cpp b/SampleHelloUI/Classes/UIImageViewTest/UIImageViewTest.cpp new file mode 100644 index 0000000..082d28d --- /dev/null +++ b/SampleHelloUI/Classes/UIImageViewTest/UIImageViewTest.cpp @@ -0,0 +1,94 @@ + + +#include "UIImageViewTest.h" + + +// UIImageViewTest + +bool UIImageViewTest::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + Text* alert = Text::create(); + alert->setText("ImageView"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 1.75f)); + _uiLayer->addChild(alert); + + // Create the imageview + ImageView* imageView = ImageView::create(); + imageView->loadTexture("cocosgui/ccicon.png"); + imageView->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + imageView->getSize().height / 4.0f)); + +// imageView->setOpacity(64); + _uiLayer->addChild(imageView); + + /* + NodeRGBA* root = NodeRGBA::create(); + root->setCascadeOpacityEnabled(true); + NodeRGBA* render = Sprite::create(); + static_cast(render)->setTexture("cocosgui/ccicon.png"); + root->addChild(render); +// root->setOpacity(64); + root->setPosition(Point(200, 180)); + _uiLayer->addChild(root); + */ + + /* + NodeRGBA* nodergba = NodeRGBA::create(); + Sprite* child = Sprite::create(); + child->setTexture("cocosgui/ccicon.png"); + nodergba->addChild(child); + nodergba->setPosition(Point(120, 80)); + nodergba->setOpacity(64); + _uiLayer->addChild(nodergba); + */ + + /* + Sprite* sprite = Sprite::create(); + sprite->setTexture("cocosgui/ccicon.png"); + sprite->setPosition(Point(200, 180)); +// sprite->setOpacity(64); + _uiLayer->addChild(sprite); + */ + +// imageView->setLocalZOrder(20); + + return true; + } + return false; +} + + +// UIImageViewTest_Scale9 + +bool UIImageViewTest_Scale9::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + Text* alert = Text::create(); + alert->setText("ImageView scale9 render"); + alert->setFontName("Marker Felt"); + alert->setFontSize(26); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 2.125f)); + _uiLayer->addChild(alert); + + // Create the imageview + ImageView* imageView = ImageView::create(); + imageView->setScale9Enabled(true); + imageView->loadTexture("cocosgui/buttonHighlighted.png"); + imageView->setSize(Size(200, 85)); + imageView->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + imageView->getSize().height / 4.0f)); + _uiLayer->addChild(imageView); + + return true; + } + return false; +} diff --git a/SampleHelloUI/Classes/UIImageViewTest/UIImageViewTest.h b/SampleHelloUI/Classes/UIImageViewTest/UIImageViewTest.h new file mode 100644 index 0000000..7067bbb --- /dev/null +++ b/SampleHelloUI/Classes/UIImageViewTest/UIImageViewTest.h @@ -0,0 +1,48 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__UIImageViewTest__ +#define __TestCpp__UIImageViewTest__ + +#include "../UIScene.h" + +class UIImageViewTest : public UIScene +{ +public: + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UIImageViewTest) +}; + +class UIImageViewTest_Scale9 : public UIScene +{ +public: + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UIImageViewTest_Scale9) +}; + +#endif /* defined(__TestCpp__UIImageViewTest__) */ diff --git a/SampleHelloUI/Classes/UILabelAtlasTest/UILabelAtlasTest.cpp b/SampleHelloUI/Classes/UILabelAtlasTest/UILabelAtlasTest.cpp new file mode 100644 index 0000000..f455242 --- /dev/null +++ b/SampleHelloUI/Classes/UILabelAtlasTest/UILabelAtlasTest.cpp @@ -0,0 +1,32 @@ + + +#include "UILabelAtlasTest.h" + + +// UILabelAtlasTest + +bool UILabelAtlasTest::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add the alert + Text* alert = Text::create(); + alert->setText("LabelAtlas"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 1.75f)); + _uiLayer->addChild(alert); + + // Create the label atlas + TextAtlas* labelAtlas = TextAtlas::create(); + labelAtlas->setProperty("1234567890", "cocosgui/labelatlas.png", 17, 22, "0"); + labelAtlas->setPosition(Point((widgetSize.width) / 2, widgetSize.height / 2.0f)); + _uiLayer->addChild(labelAtlas); + + return true; + } + return false; +} diff --git a/SampleHelloUI/Classes/UILabelAtlasTest/UILabelAtlasTest.h b/SampleHelloUI/Classes/UILabelAtlasTest/UILabelAtlasTest.h new file mode 100644 index 0000000..bbac927 --- /dev/null +++ b/SampleHelloUI/Classes/UILabelAtlasTest/UILabelAtlasTest.h @@ -0,0 +1,17 @@ + + +#ifndef __TestCpp__UILabelAtlasTest__ +#define __TestCpp__UILabelAtlasTest__ + +#include "../UIScene.h" + +class UILabelAtlasTest : public UIScene +{ +public: + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UILabelAtlasTest) +}; + +#endif /* defined(__TestCpp__UILabelAtlasTest__) */ diff --git a/SampleHelloUI/Classes/UILabelBMFontTest/UILabelBMFontTest.cpp b/SampleHelloUI/Classes/UILabelBMFontTest/UILabelBMFontTest.cpp new file mode 100644 index 0000000..0515b1e --- /dev/null +++ b/SampleHelloUI/Classes/UILabelBMFontTest/UILabelBMFontTest.cpp @@ -0,0 +1,32 @@ + + +#include "UILabelBMFontTest.h" + + +// UILabelBMFontTest + +bool UILabelBMFontTest::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + Text* alert = Text::create(); + alert->setText("LabelBMFont"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 1.75f)); + _uiLayer->addChild(alert); + + // Create the LabelBMFont + TextBMFont* labelBMFont = TextBMFont::create(); + labelBMFont->setFntFile("cocosgui/bitmapFontTest2.fnt"); + labelBMFont->setText("BMFont"); + labelBMFont->setPosition(Point(widgetSize.width / 2, widgetSize.height / 2.0f + labelBMFont->getSize().height / 8.0f)); + _uiLayer->addChild(labelBMFont); + + return true; + } + return false; +} diff --git a/SampleHelloUI/Classes/UILabelBMFontTest/UILabelBMFontTest.h b/SampleHelloUI/Classes/UILabelBMFontTest/UILabelBMFontTest.h new file mode 100644 index 0000000..63700e8 --- /dev/null +++ b/SampleHelloUI/Classes/UILabelBMFontTest/UILabelBMFontTest.h @@ -0,0 +1,39 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__UILabelBMFontTest__ +#define __TestCpp__UILabelBMFontTest__ + +#include "../UIScene.h" + +class UILabelBMFontTest : public UIScene +{ +public: + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UILabelBMFontTest) +}; + +#endif /* defined(__TestCpp__UILabelBMFontTest__) */ diff --git a/SampleHelloUI/Classes/UILabelTest/UILabelTest.cpp b/SampleHelloUI/Classes/UILabelTest/UILabelTest.cpp new file mode 100644 index 0000000..62c4049 --- /dev/null +++ b/SampleHelloUI/Classes/UILabelTest/UILabelTest.cpp @@ -0,0 +1,192 @@ + + +#include "UILabelTest.h" + + +// UILabelTest + +bool UILabelTest::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + Text* alert = Text::create(); + alert->setText("Label"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 1.75f)); + _uiLayer->addChild(alert); + + // Create the label + Text* label = Text::create(); + label->setText("Label"); + label->setFontName("AmericanTypewriter"); + label->setFontSize(30); + label->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + label->getSize().height / 4.0f)); + _uiLayer->addChild(label); + + return true; + } + return false; +} + +// UILabelTest_LineWrap + +bool UILabelTest_LineWrap::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + Text* alert = Text::create(); + alert->setText("Label line wrap"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 1.75f)); + _uiLayer->addChild(alert); + + // Create the line wrap + Text* label = Text::create(); + label->setTextAreaSize(Size(280, 150)); + label->setTextHorizontalAlignment(TextHAlignment::CENTER); + label->setText("Label can line wrap"); + label->setFontName("AmericanTypewriter"); + label->setFontSize(32); + label->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - label->getSize().height / 8.0f)); + _uiLayer->addChild(label); + + return true; + } + return false; +} + +/* +// UILabelTest_Effect + +bool UILabelTest_Effect::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + Label* alert = Label::create(); + alert->setText("Label Effect"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 3.05f)); + _uiLayer->addChild(alert); + + + // create the shadow only label + Label* shadow_label = Label::create(); + + Color3B tintColorRed = { 255, 0, 0 }; + Size shadowOffset(12.0f, 12.0f); + + FontDefinition shadowTextDef; + shadowTextDef._fontSize = 20; + shadowTextDef._fontName = std::string("Marker Felt"); + + shadowTextDef._shadow._shadowEnabled = true; + shadowTextDef._shadow._shadowOffset = shadowOffset; + shadowTextDef._shadow._shadowOpacity = 1.0f; + shadowTextDef._shadow._shadowBlur = 1.0f; + shadowTextDef._fontFillColor = tintColorRed; + + shadow_label->setTextDefinition(shadowTextDef); + shadow_label->setText("Shadow"); + shadow_label->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + shadow_label->getSize().height)); + + _uiLayer->addChild(shadow_label); + + + // create the stroke only label + Label* stroke_label = Label::create(); + + Color3B tintColorYellow = { 255, 255, 0 }; + Color3B strokeColor = { 0, 10, 255 }; + + FontDefinition strokeTextDef; + strokeTextDef._fontSize = 20; + strokeTextDef._fontName = std::string("Marker Felt"); + + strokeTextDef._stroke._strokeEnabled = true; + strokeTextDef._stroke._strokeColor = strokeColor; + strokeTextDef._stroke._strokeSize = 1.5f; + + strokeTextDef._fontFillColor = tintColorYellow; + + stroke_label->setTextDefinition(strokeTextDef); + stroke_label->setText("Stroke"); + stroke_label->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f)); + + _uiLayer->addChild(stroke_label); + + + // create the label stroke and shadow + Label* strokeAndShadow_label = Label::create(); + + Color3B tintColorBlue = { 0, 0, 255 }; + Color3B strokeShadowColor = { 255, 0, 0 }; + + FontDefinition strokeShaodwTextDef; + strokeShaodwTextDef._fontSize = 20; + strokeShaodwTextDef._fontName = std::string("Marker Felt"); + + strokeShaodwTextDef._stroke._strokeEnabled = true; + strokeShaodwTextDef._stroke._strokeColor = strokeShadowColor; + strokeShaodwTextDef._stroke._strokeSize = 1.5f; + + strokeShaodwTextDef._shadow._shadowEnabled = true; + strokeShaodwTextDef._shadow._shadowOffset = shadowOffset; + strokeShaodwTextDef._shadow._shadowOpacity = 1.0f; + strokeShaodwTextDef._shadow._shadowBlur = 1.0f; + + strokeShaodwTextDef._fontFillColor = tintColorBlue; + + strokeAndShadow_label->setTextDefinition(strokeShaodwTextDef); +// strokeAndShadow_label->setFontFillColor(tintColorRed); + strokeAndShadow_label->setText("Stroke and Shadow"); + strokeAndShadow_label->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - shadow_label->getSize().height)); + + _uiLayer->addChild(strokeAndShadow_label); + + + return true; + } + return false; +} + */ + +// UILabelTest_TTF + +bool UILabelTest_TTF::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + Text* alert = Text::create(); + alert->setText("Label set TTF font"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 1.75f)); + _uiLayer->addChild(alert); + + // Create the label + Text* label = Text::create(); + label->setText("Label"); + label->setFontName("fonts/A Damn Mess.ttf"); + label->setFontSize(30); + label->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + label->getSize().height / 4.0f)); + _uiLayer->addChild(label); + + return true; + } + return false; +} diff --git a/SampleHelloUI/Classes/UILabelTest/UILabelTest.h b/SampleHelloUI/Classes/UILabelTest/UILabelTest.h new file mode 100644 index 0000000..21d7833 --- /dev/null +++ b/SampleHelloUI/Classes/UILabelTest/UILabelTest.h @@ -0,0 +1,68 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__UILabelTest__ +#define __TestCpp__UILabelTest__ + +#include "../UIScene.h" + +class UILabelTest : public UIScene +{ +public: + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UILabelTest) +}; + +class UILabelTest_LineWrap : public UIScene +{ +public: + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UILabelTest_LineWrap) +}; + +/* +class UILabelTest_Effect : public UIScene +{ +public: + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UILabelTest_Effect) +}; + */ + +class UILabelTest_TTF : public UIScene +{ +public: + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UILabelTest_TTF) +}; + +#endif /* defined(__TestCpp__UILabelTest__) */ diff --git a/SampleHelloUI/Classes/UILayoutTest/UILayoutTest.cpp b/SampleHelloUI/Classes/UILayoutTest/UILayoutTest.cpp new file mode 100644 index 0000000..0e851cc --- /dev/null +++ b/SampleHelloUI/Classes/UILayoutTest/UILayoutTest.cpp @@ -0,0 +1,845 @@ + + +#include "UILayoutTest.h" + + +// UILayoutTest + +UILayoutTest::UILayoutTest() +{ +} + +UILayoutTest::~UILayoutTest() +{ +} + +bool UILayoutTest::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add the alert + Text* alert = Text::create(); + alert->setText("Layout"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 3.075f)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)) ; + + Layout* background = static_cast(root->getChildByName("background_Panel")); + + // Create the layout + Layout* layout = Layout::create(); + layout->setSize(Size(280, 150)); + Size backgroundSize = background->getSize(); + layout->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - layout->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - layout->getSize().height) / 2.0f)); + _uiLayer->addChild(layout); + + Button* button = Button::create(); + button->setTouchEnabled(true); + button->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + button->setPosition(Point(button->getSize().width / 2.0f, layout->getSize().height - button->getSize().height / 2.0f)); + layout->addChild(button); + + Button* titleButton = Button::create(); + titleButton->setTouchEnabled(true); + titleButton->loadTextures("cocosgui/backtotopnormal.png", "cocosgui/backtotoppressed.png", ""); + titleButton->setTitleText("Title Button"); + titleButton->setPosition(Point(layout->getSize().width / 2.0f, layout->getSize().height / 2.0f)); + layout->addChild(titleButton); + + Button* button_scale9 = Button::create(); + button_scale9->setTouchEnabled(true); + button_scale9->loadTextures("cocosgui/button.png", "cocosgui/buttonHighlighted.png", ""); + button_scale9->setScale9Enabled(true); + button_scale9->setSize(Size(100.0f, button_scale9->getContentSize().height)); + button_scale9->setPosition(Point(layout->getSize().width - button_scale9->getSize().width / 2.0f, button_scale9->getSize().height / 2.0f)); + layout->addChild(button_scale9); + + return true; + } + + return false; +} + +// UILayoutTest_Color + +UILayoutTest_Color::UILayoutTest_Color() +{ +} + +UILayoutTest_Color::~UILayoutTest_Color() +{ +} + +bool UILayoutTest_Color::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add the alert + Text* alert = Text::create(); + alert->setText("Layout color render"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 3.075f)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + Layout* background = static_cast(root->getChildByName("background_Panel")); + + // Create the layout with color render + Layout* layout = Layout::create(); + layout->setBackGroundColorType(LAYOUT_COLOR_SOLID); + layout->setBackGroundColor(Color3B(128, 128, 128)); + layout->setSize(Size(280, 150)); + Size backgroundSize = background->getContentSize(); + layout->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - layout->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - layout->getSize().height) / 2.0f)); + _uiLayer->addChild(layout); + + Button* button = Button::create(); + button->setTouchEnabled(true); + button->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + button->setPosition(Point(button->getSize().width / 2.0f, layout->getSize().height - button->getSize().height / 2.0f)); + layout->addChild(button); + + Button* titleButton = Button::create(); + titleButton->setTouchEnabled(true); + titleButton->loadTextures("cocosgui/backtotopnormal.png", "cocosgui/backtotoppressed.png", ""); + titleButton->setTitleText("Title Button"); + titleButton->setPosition(Point(layout->getSize().width / 2.0f, layout->getSize().height / 2.0f)); + layout->addChild(titleButton); + + Button* button_scale9 = Button::create(); + button_scale9->setTouchEnabled(true); + button_scale9->loadTextures("cocosgui/button.png", "cocosgui/buttonHighlighted.png", ""); + button_scale9->setScale9Enabled(true); + button_scale9->setSize(Size(100.0f, button_scale9->getContentSize().height)); + button_scale9->setPosition(Point(layout->getSize().width - button_scale9->getSize().width / 2.0f, button_scale9->getSize().height / 2.0f)); + layout->addChild(button_scale9); + + return true; + } + return false; +} + +// UILayoutTest_Gradient + +UILayoutTest_Gradient::UILayoutTest_Gradient() +{ +} + +UILayoutTest_Gradient::~UILayoutTest_Gradient() +{ +} + +bool UILayoutTest_Gradient::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add the alert + Text* alert = Text::create(); + alert->setText("Layout gradient render"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 3.075f)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + Layout* background = static_cast(root->getChildByName("background_Panel")); + + // Create the layout with gradient render + Layout* layout = Layout::create(); + layout->setBackGroundColorType(LAYOUT_COLOR_GRADIENT); + layout->setBackGroundColor(Color3B(64, 64, 64), Color3B(192, 192, 192)); + layout->setSize(Size(280, 150)); + Size backgroundSize = background->getContentSize(); + layout->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - layout->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - layout->getSize().height) / 2.0f)); + _uiLayer->addChild(layout); + + Button* button = Button::create(); + button->setTouchEnabled(true); + button->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + button->setPosition(Point(button->getSize().width / 2.0f, layout->getSize().height - button->getSize().height / 2.0f)); + layout->addChild(button); + + Button* titleButton = Button::create(); + titleButton->setTouchEnabled(true); + titleButton->loadTextures("cocosgui/backtotopnormal.png", "cocosgui/backtotoppressed.png", ""); + titleButton->setTitleText("Title Button"); + titleButton->setPosition(Point(layout->getSize().width / 2.0f, layout->getSize().height / 2.0f)); + layout->addChild(titleButton); + + Button* button_scale9 = Button::create(); + button_scale9->setTouchEnabled(true); + button_scale9->loadTextures("cocosgui/button.png", "cocosgui/buttonHighlighted.png", ""); + button_scale9->setScale9Enabled(true); + button_scale9->setSize(Size(100.0f, button_scale9->getContentSize().height)); + button_scale9->setPosition(Point(layout->getSize().width - button_scale9->getSize().width / 2.0f, button_scale9->getSize().height / 2.0f)); + layout->addChild(button_scale9); + + return true; + } + return false; +} + +// UILayoutTest_BackGroundImage + +UILayoutTest_BackGroundImage::UILayoutTest_BackGroundImage() +{ +} + +UILayoutTest_BackGroundImage::~UILayoutTest_BackGroundImage() +{ +} + +bool UILayoutTest_BackGroundImage::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add the alert + Text* alert = Text::create(); + alert->setText("Layout background image"); + alert->setFontName("Marker Felt"); + alert->setFontSize(20); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 4.5f)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + Layout* background = dynamic_cast(root->getChildByName("background_Panel")); + + // Create the layout with background image + Layout* layout = Layout::create(); + layout->setClippingEnabled(true); + layout->setBackGroundImage("cocosgui/Hello.png"); + layout->setSize(Size(280, 150)); + Size backgroundSize = background->getContentSize(); + layout->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - layout->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - layout->getSize().height) / 2.0f)); + _uiLayer->addChild(layout); + + Button* button = Button::create(); + button->setTouchEnabled(true); + button->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + button->setPosition(Point(button->getSize().width / 2.0f, layout->getSize().height - button->getSize().height / 2.0f)); + layout->addChild(button); + + Button* titleButton = Button::create(); + titleButton->setTouchEnabled(true); + titleButton->loadTextures("cocosgui/backtotopnormal.png", "cocosgui/backtotoppressed.png", ""); + titleButton->setTitleText("Title Button"); + titleButton->setPosition(Point(layout->getSize().width / 2.0f, layout->getSize().height / 2.0f)); + layout->addChild(titleButton); + + Button* button_scale9 = Button::create(); + button_scale9->setTouchEnabled(true); + button_scale9->loadTextures("cocosgui/button.png", "cocosgui/buttonHighlighted.png", ""); + button_scale9->setScale9Enabled(true); + button_scale9->setSize(Size(100.0f, button_scale9->getContentSize().height)); + button_scale9->setPosition(Point(layout->getSize().width - button_scale9->getSize().width / 2.0f, button_scale9->getSize().height / 2.0f)); + layout->addChild(button_scale9); + + return true; + } + return false; +} + +// UILayoutTest_BackGroundImage_Scale9 + +UILayoutTest_BackGroundImage_Scale9::UILayoutTest_BackGroundImage_Scale9() +{ +} + +UILayoutTest_BackGroundImage_Scale9::~UILayoutTest_BackGroundImage_Scale9() +{ +} + +bool UILayoutTest_BackGroundImage_Scale9::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add the alert + Text* alert = Text::create(); + alert->setText("Layout background image scale9"); + alert->setFontName("Marker Felt"); + alert->setFontSize(20); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 4.5f)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + Layout* background = dynamic_cast(root->getChildByName("background_Panel")); + + // Create the layout with background image + Layout* layout = Layout::create(); + layout->setBackGroundImageScale9Enabled(true); + layout->setBackGroundImage("cocosgui/green_edit.png"); + layout->setSize(Size(280, 150)); + Size backgroundSize = background->getContentSize(); + layout->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - layout->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - layout->getSize().height) / 2.0f)); + _uiLayer->addChild(layout); + + Button* button = Button::create(); + button->setTouchEnabled(true); + button->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + button->setPosition(Point(button->getSize().width / 2.0f, layout->getSize().height - button->getSize().height / 2.0f)); + layout->addChild(button); + + Button* titleButton = Button::create(); + titleButton->setTouchEnabled(true); + titleButton->loadTextures("cocosgui/backtotopnormal.png", "cocosgui/backtotoppressed.png", ""); + titleButton->setTitleText("Title Button"); + titleButton->setPosition(Point(layout->getSize().width / 2.0f, layout->getSize().height / 2.0f)); + layout->addChild(titleButton); + + Button* button_scale9 = Button::create(); + button_scale9->setTouchEnabled(true); + button_scale9->loadTextures("cocosgui/button.png", "cocosgui/buttonHighlighted.png", ""); + button_scale9->setScale9Enabled(true); + button_scale9->setSize(Size(100.0f, button_scale9->getContentSize().height)); + button_scale9->setPosition(Point(layout->getSize().width - button_scale9->getSize().width / 2.0f, button_scale9->getSize().height / 2.0f)); + layout->addChild(button_scale9); + + return true; + } + return false; +} + +// UILayoutTest_Layout_Linear_Vertical + +UILayoutTest_Layout_Linear_Vertical::UILayoutTest_Layout_Linear_Vertical() +{ +} + +UILayoutTest_Layout_Linear_Vertical::~UILayoutTest_Layout_Linear_Vertical() +{ +} + +bool UILayoutTest_Layout_Linear_Vertical::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add the alert + Text* alert = Text::create(); + alert->setText("Layout Linear Vertical"); + alert->setFontName("Marker Felt"); + alert->setFontSize(20); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 4.5f)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + Layout* background = static_cast(root->getChildByName("background_Panel")); + + // Create the layout + Layout* layout = Layout::create(); + layout->setLayoutType(LAYOUT_LINEAR_VERTICAL); + layout->setSize(Size(280, 150)); + Size backgroundSize = background->getSize(); + layout->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - layout->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - layout->getSize().height) / 2.0f)); + _uiLayer->addChild(layout); + + + Button* button = Button::create(); + button->setTouchEnabled(true); + button->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + layout->addChild(button); + + LinearLayoutParameter* lp1 = LinearLayoutParameter::create(); + button->setLayoutParameter(lp1); + lp1->setGravity(LINEAR_GRAVITY_CENTER_HORIZONTAL); + lp1->setMargin(Margin(0.0f, 5.0f, 0.0f, 10.0f)); + + + Button* titleButton = Button::create(); + titleButton->setTouchEnabled(true); + titleButton->loadTextures("cocosgui/backtotopnormal.png", "cocosgui/backtotoppressed.png", ""); + titleButton->setTitleText("Title Button"); + layout->addChild(titleButton); + + LinearLayoutParameter* lp2 = LinearLayoutParameter::create(); + titleButton->setLayoutParameter(lp2); + lp2->setGravity(LINEAR_GRAVITY_CENTER_HORIZONTAL); + lp2->setMargin(Margin(0.0f, 10.0f, 0.0f, 10.0f)); + + + Button* button_scale9 = Button::create(); + button_scale9->setTouchEnabled(true); + button_scale9->loadTextures("cocosgui/button.png", "cocosgui/buttonHighlighted.png", ""); + button_scale9->setScale9Enabled(true); + button_scale9->setSize(Size(100.0f, button_scale9->getContentSize().height)); + layout->addChild(button_scale9); + + LinearLayoutParameter* lp3 = LinearLayoutParameter::create(); + button_scale9->setLayoutParameter(lp3); + lp3->setGravity(LINEAR_GRAVITY_CENTER_HORIZONTAL); + lp3->setMargin(Margin(0.0f, 10.0f, 0.0f, 10.0f)); + + +// layout->doLayout(); + + return true; + } + + return false; +} + +// UILayoutTest_Layout_Linear_Horizontal + +UILayoutTest_Layout_Linear_Horizontal::UILayoutTest_Layout_Linear_Horizontal() +{ +} + +UILayoutTest_Layout_Linear_Horizontal::~UILayoutTest_Layout_Linear_Horizontal() +{ +} + +bool UILayoutTest_Layout_Linear_Horizontal::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add the alert + Text* alert = Text::create(); + alert->setText("Layout Linear Horizontal"); + alert->setFontName("Marker Felt"); + alert->setFontSize(20); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 4.5f)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + Layout* background = dynamic_cast(root->getChildByName("background_Panel")); + + // Create the layout + Layout* layout = Layout::create(); + layout->setLayoutType(LAYOUT_LINEAR_HORIZONTAL); + layout->setClippingEnabled(true); + layout->setSize(Size(280, 150)); + Size backgroundSize = background->getSize(); + layout->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - layout->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - layout->getSize().height) / 2.0f)); + _uiLayer->addChild(layout); + + Button* button = Button::create(); + button->setTouchEnabled(true); + button->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + layout->addChild(button); + + LinearLayoutParameter* lp1 = LinearLayoutParameter::create(); + button->setLayoutParameter(lp1); + lp1->setGravity(LINEAR_GRAVITY_CENTER_VERTICAL); + lp1->setMargin(Margin(0.0f, 10.0f, 0.0f, 10.0f)); + + + Button* titleButton = Button::create(); + titleButton->setTouchEnabled(true); + titleButton->loadTextures("cocosgui/backtotopnormal.png", "cocosgui/backtotoppressed.png", ""); + titleButton->setTitleText("Title Button"); + layout->addChild(titleButton); + + LinearLayoutParameter* lp2 = LinearLayoutParameter::create(); + titleButton->setLayoutParameter(lp2); + lp2->setGravity(LINEAR_GRAVITY_CENTER_VERTICAL); + lp2->setMargin(Margin(0.0f, 10.0f, 0.0f, 10.0f)); + + + Button* button_scale9 = Button::create(); + button_scale9->setTouchEnabled(true); + button_scale9->loadTextures("cocosgui/button.png", "cocosgui/buttonHighlighted.png", ""); + button_scale9->setScale9Enabled(true); + button_scale9->setSize(Size(100.0f, button_scale9->getContentSize().height)); + layout->addChild(button_scale9); + + LinearLayoutParameter* lp3 = LinearLayoutParameter::create(); + button_scale9->setLayoutParameter(lp3); + lp3->setGravity(LINEAR_GRAVITY_CENTER_VERTICAL); + lp3->setMargin(Margin(0.0f, 10.0f, 0.0f, 10.0f)); + + +// layout->doLayout(); + + return true; + } + + return false; +} + +// UILayoutTest_Layout_Relative_Align_Parent + +UILayoutTest_Layout_Relative_Align_Parent::UILayoutTest_Layout_Relative_Align_Parent() +{ +} + +UILayoutTest_Layout_Relative_Align_Parent::~UILayoutTest_Layout_Relative_Align_Parent() +{ +} + +bool UILayoutTest_Layout_Relative_Align_Parent::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add the alert + Text* alert = Text::create(); + alert->setText("Layout Relative Align Parent"); + alert->setFontName("Marker Felt"); + alert->setFontSize(20); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 4.5f)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + Layout* background = dynamic_cast(root->getChildByName("background_Panel")); + + // Create the layout + Layout* layout = Layout::create(); + layout->setLayoutType(LAYOUT_RELATIVE); + layout->setSize(Size(280, 150)); + layout->setBackGroundColorType(LAYOUT_COLOR_SOLID); + layout->setBackGroundColor(Color3B::GREEN); + Size backgroundSize = background->getSize(); + layout->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - layout->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - layout->getSize().height) / 2.0f)); + _uiLayer->addChild(layout); + + // top left + Button* button_TopLeft = Button::create(); + button_TopLeft->setTouchEnabled(true); + button_TopLeft->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + layout->addChild(button_TopLeft); + + RelativeLayoutParameter* rp_TopLeft = RelativeLayoutParameter::create(); + rp_TopLeft->setAlign(RELATIVE_ALIGN_PARENT_TOP_LEFT); + button_TopLeft->setLayoutParameter(rp_TopLeft); + + + // top center horizontal + Button* button_TopCenter = Button::create(); + button_TopCenter->setTouchEnabled(true); + button_TopCenter->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + layout->addChild(button_TopCenter); + + RelativeLayoutParameter* rp_TopCenter = RelativeLayoutParameter::create(); + rp_TopCenter->setAlign(RELATIVE_ALIGN_PARENT_TOP_CENTER_HORIZONTAL); + button_TopCenter->setLayoutParameter(rp_TopCenter); + + + // top right + Button* button_TopRight = Button::create(); + button_TopRight->setTouchEnabled(true); + button_TopRight->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + layout->addChild(button_TopRight); + + RelativeLayoutParameter* rp_TopRight = RelativeLayoutParameter::create(); + rp_TopRight->setAlign(RELATIVE_ALIGN_PARENT_TOP_RIGHT); + button_TopRight->setLayoutParameter(rp_TopRight); + + + // left center + Button* button_LeftCenter = Button::create(); + button_LeftCenter->setTouchEnabled(true); + button_LeftCenter->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + layout->addChild(button_LeftCenter); + + RelativeLayoutParameter* rp_LeftCenter = RelativeLayoutParameter::create(); + rp_LeftCenter->setAlign(RELATIVE_ALIGN_PARENT_LEFT_CENTER_VERTICAL); + button_LeftCenter->setLayoutParameter(rp_LeftCenter); + + + // center + Button* buttonCenter = Button::create(); + buttonCenter->setTouchEnabled(true); + buttonCenter->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + layout->addChild(buttonCenter); + + RelativeLayoutParameter* rpCenter = RelativeLayoutParameter::create(); + rpCenter->setAlign(RELATIVE_CENTER_IN_PARENT); + buttonCenter->setLayoutParameter(rpCenter); + + + // right center + Button* button_RightCenter = Button::create(); + button_RightCenter->setTouchEnabled(true); + button_RightCenter->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + layout->addChild(button_RightCenter); + + RelativeLayoutParameter* rp_RightCenter = RelativeLayoutParameter::create(); + rp_RightCenter->setAlign(RELATIVE_ALIGN_PARENT_RIGHT_CENTER_VERTICAL); + button_RightCenter->setLayoutParameter(rp_RightCenter); + + + // left bottom + Button* button_LeftBottom = Button::create(); + button_LeftBottom->setTouchEnabled(true); + button_LeftBottom->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + layout->addChild(button_LeftBottom); + + RelativeLayoutParameter* rp_LeftBottom = RelativeLayoutParameter::create(); + rp_LeftBottom->setAlign(RELATIVE_ALIGN_PARENT_LEFT_BOTTOM); + button_LeftBottom->setLayoutParameter(rp_LeftBottom); + + + // bottom center + Button* button_BottomCenter = Button::create(); + button_BottomCenter->setTouchEnabled(true); + button_BottomCenter->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + layout->addChild(button_BottomCenter); + + RelativeLayoutParameter* rp_BottomCenter = RelativeLayoutParameter::create(); + rp_BottomCenter->setAlign(RELATIVE_ALIGN_PARENT_BOTTOM_CENTER_HORIZONTAL); + button_BottomCenter->setLayoutParameter(rp_BottomCenter); + + + // right bottom + Button* button_RightBottom = Button::create(); + button_RightBottom->setTouchEnabled(true); + button_RightBottom->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + layout->addChild(button_RightBottom); + + RelativeLayoutParameter* rp_RightBottom = RelativeLayoutParameter::create(); + rp_RightBottom->setAlign(RELATIVE_ALIGN_PARENT_RIGHT_BOTTOM); + button_RightBottom->setLayoutParameter(rp_RightBottom); + + +// layout->doLayout(); + + return true; + } + + return false; +} + +// UILayoutTest_Layout_Relative_Location + +UILayoutTest_Layout_Relative_Location::UILayoutTest_Layout_Relative_Location() +{ +} + +UILayoutTest_Layout_Relative_Location::~UILayoutTest_Layout_Relative_Location() +{ +} + +bool UILayoutTest_Layout_Relative_Location::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add the alert + Text* alert = Text::create(); + alert->setText("Layout Relative Location"); + alert->setFontName("Marker Felt"); + alert->setFontSize(20); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 4.5f)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + Layout* background = dynamic_cast(root->getChildByName("background_Panel")); + + // Create the layout + Layout* layout = Layout::create(); + layout->setLayoutType(LAYOUT_RELATIVE); + layout->setSize(Size(280, 150)); + Size backgroundSize = background->getSize(); + layout->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - layout->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - layout->getSize().height) / 2.0f)); + _uiLayer->addChild(layout); + + // center + ImageView* imageView_Center = ImageView::create(); + imageView_Center->loadTexture("cocosgui/scrollviewbg.png"); + layout->addChild(imageView_Center); + + RelativeLayoutParameter* rp_Center = RelativeLayoutParameter::create(); + rp_Center->setRelativeName("rp_Center"); + rp_Center->setAlign(RELATIVE_CENTER_IN_PARENT); + imageView_Center->setLayoutParameter(rp_Center); + + + // above center + ImageView* imageView_AboveCenter = ImageView::create(); + imageView_AboveCenter->loadTexture("cocosgui/switch-mask.png"); + layout->addChild(imageView_AboveCenter); + + RelativeLayoutParameter* rp_AboveCenter = RelativeLayoutParameter::create(); + rp_AboveCenter->setRelativeToWidgetName("rp_Center"); + rp_AboveCenter->setAlign(RELATIVE_LOCATION_ABOVE_CENTER); + imageView_AboveCenter->setLayoutParameter(rp_AboveCenter); + + + // below center + ImageView* imageView_BelowCenter = ImageView::create(); + imageView_BelowCenter->loadTexture("cocosgui/switch-mask.png"); + layout->addChild(imageView_BelowCenter); + + RelativeLayoutParameter* rp_BelowCenter = RelativeLayoutParameter::create(); + rp_BelowCenter->setRelativeToWidgetName("rp_Center"); + rp_BelowCenter->setAlign(RELATIVE_LOCATION_BELOW_CENTER); + imageView_BelowCenter->setLayoutParameter(rp_BelowCenter); + + + // left center + ImageView* imageView_LeftCenter = ImageView::create(); + imageView_LeftCenter->loadTexture("cocosgui/switch-mask.png"); + layout->addChild(imageView_LeftCenter); + + RelativeLayoutParameter* rp_LeftCenter = RelativeLayoutParameter::create(); + rp_LeftCenter->setRelativeToWidgetName("rp_Center"); + rp_LeftCenter->setAlign(RELATIVE_LOCATION_LEFT_OF_CENTER); + imageView_LeftCenter->setLayoutParameter(rp_LeftCenter); + + + + // right center + ImageView* imageView_RightCenter = ImageView::create(); + imageView_RightCenter->loadTexture("cocosgui/switch-mask.png"); + layout->addChild(imageView_RightCenter); + + RelativeLayoutParameter* rp_RightCenter = RelativeLayoutParameter::create(); + rp_RightCenter->setRelativeToWidgetName("rp_Center"); + rp_RightCenter->setAlign(RELATIVE_LOCATION_RIGHT_OF_CENTER); + imageView_RightCenter->setLayoutParameter(rp_RightCenter); + + +// layout->doLayout(); + + return true; + } + + return false; +} + +/* +// UILayoutTest_Layout_Grid + +UILayoutTest_Layout_Grid::UILayoutTest_Layout_Grid() +{ +} + +UILayoutTest_Layout_Grid::~UILayoutTest_Layout_Grid() +{ +} + +bool UILayoutTest_Layout_Grid::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add the alert + Label* alert = Label::create(); + alert->setText("Layout Grid"); + alert->setFontName("Marker Felt"); + alert->setFontSize(20); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 4.5f)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + Layout* background = dynamic_cast(root->getChildByName("background_Panel")); + + // Create the layout + Layout* layout = Layout::create(); + layout->setLayoutType(LAYOUT_GRID_MODE_COLUMN); + layout->setSize(Size(280, 150)); + Size backgroundSize = background->getSize(); + layout->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - layout->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - layout->getSize().height) / 2.0f)); + _uiLayer->addChild(layout); + + + // create items + for (int i = 0; i < 14; ++i) + { + Button* button = Button::create(); + button->setName("TextButton"); + button->setTouchEnabled(true); + button->loadTextures("cocosgui/button.png", "cocosgui/buttonHighlighted.png", ""); + button->setScale9Enabled(true); + AffineTransform transform = AffineTransformMakeIdentity(); + transform = AffineTransformScale(transform, 3.0f, 1.3f); + button->setSize(SizeApplyAffineTransform(button->getContentSize(), transform)); + button->setTitleText(CCString::createWithFormat("grid_%d", i)->getCString()); + + Layout* item = Layout::create(); + item->setTouchEnabled(true); + item->setSize(button->getSize()); + button->setPosition(Point(item->getSize().width / 2.0f, item->getSize().height / 2.0f)); + item->addChild(button); + + GridLayoutParameter* gp = GridLayoutParameter::create(); + item->setLayoutParameter(gp); + gp->setMargin(Margin(0.0f, 0.0f, 0.0f, 0.0f)); + + layout->addChild(item); + } + + // set grid view row and column + Widget* item = static_cast(layout->getChildren().at(0)); + int rowCount = layout->getSize().height / item->getSize().height; + int columnCount = layout->getSize().width / item->getSize().width; + layout->setGridLayoutRowAndColumnCount(rowCount, columnCount); + +// layout->doLayout(); + + return true; + } + + return false; +} + */ + diff --git a/SampleHelloUI/Classes/UILayoutTest/UILayoutTest.h b/SampleHelloUI/Classes/UILayoutTest/UILayoutTest.h new file mode 100644 index 0000000..811192d --- /dev/null +++ b/SampleHelloUI/Classes/UILayoutTest/UILayoutTest.h @@ -0,0 +1,142 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__UILayoutTest__ +#define __TestCpp__UILayoutTest__ + +#include "../UIScene.h" + +class UILayoutTest : public UIScene +{ +public: + UILayoutTest(); + ~UILayoutTest(); + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UILayoutTest) +}; + +class UILayoutTest_Color : public UIScene +{ +public: + UILayoutTest_Color(); + ~UILayoutTest_Color(); + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UILayoutTest_Color) +}; + +class UILayoutTest_Gradient : public UIScene +{ +public: + UILayoutTest_Gradient(); + ~UILayoutTest_Gradient(); + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UILayoutTest_Gradient) +}; + +class UILayoutTest_BackGroundImage : public UIScene +{ +public: + UILayoutTest_BackGroundImage(); + ~UILayoutTest_BackGroundImage(); + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UILayoutTest_BackGroundImage) +}; + +class UILayoutTest_BackGroundImage_Scale9 : public UIScene +{ +public: + UILayoutTest_BackGroundImage_Scale9(); + ~UILayoutTest_BackGroundImage_Scale9(); + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UILayoutTest_BackGroundImage_Scale9) +}; + +class UILayoutTest_Layout_Linear_Vertical : public UIScene +{ +public: + UILayoutTest_Layout_Linear_Vertical(); + ~UILayoutTest_Layout_Linear_Vertical(); + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UILayoutTest_Layout_Linear_Vertical) +}; + +class UILayoutTest_Layout_Linear_Horizontal : public UIScene +{ +public: + UILayoutTest_Layout_Linear_Horizontal(); + ~UILayoutTest_Layout_Linear_Horizontal(); + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UILayoutTest_Layout_Linear_Horizontal) +}; + +class UILayoutTest_Layout_Relative_Align_Parent : public UIScene +{ +public: + UILayoutTest_Layout_Relative_Align_Parent(); + ~UILayoutTest_Layout_Relative_Align_Parent(); + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UILayoutTest_Layout_Relative_Align_Parent) +}; + +class UILayoutTest_Layout_Relative_Location : public UIScene +{ +public: + UILayoutTest_Layout_Relative_Location(); + ~UILayoutTest_Layout_Relative_Location(); + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UILayoutTest_Layout_Relative_Location) +}; + +/* +class UILayoutTest_Layout_Grid : public UIScene +{ +public: + UILayoutTest_Layout_Grid(); + ~UILayoutTest_Layout_Grid(); + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UILayoutTest_Layout_Grid) +}; + */ + +#endif /* defined(__TestCpp__UILayoutTest__) */ diff --git a/SampleHelloUI/Classes/UIListViewTest/UIListViewTest.cpp b/SampleHelloUI/Classes/UIListViewTest/UIListViewTest.cpp new file mode 100644 index 0000000..ec5e9be --- /dev/null +++ b/SampleHelloUI/Classes/UIListViewTest/UIListViewTest.cpp @@ -0,0 +1,357 @@ + + +#include "UIListViewTest.h" + +const char* font_UIListViewTest = +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) +"Marker Felt"; +#else +"cocosgui/Marker Felt.ttf"; +#endif + +// UIListViewTest_Vertical + +UIListViewTest_Vertical::UIListViewTest_Vertical() +: _displayValueLabel(nullptr) +{ + +} + +UIListViewTest_Vertical::~UIListViewTest_Vertical() +{ +} + +bool UIListViewTest_Vertical::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + _displayValueLabel = Text::create(); + _displayValueLabel->setText("Move by vertical direction"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1.0f)); + _displayValueLabel->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + _displayValueLabel->getContentSize().height * 1.5f)); + _uiLayer->addChild(_displayValueLabel); + + + Text* alert = Text::create(); + alert->setText("ListView vertical"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 3.075f)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + Layout* background = dynamic_cast(root->getChildByName("background_Panel")); + Size backgroundSize = background->getContentSize(); + + + // create list view ex data + for (int i = 0; i < 20; ++i) + { + _array.push_back(StringUtils::format("listview_item_%d", i)); + } + + + // Create the list view ex + ListView* listView = ListView::create(); + // set list view ex direction + listView->setDirection(SCROLLVIEW_DIR_VERTICAL); + listView->setTouchEnabled(true); + listView->setBounceEnabled(true); + listView->setBackGroundImage("cocosgui/green_edit.png"); + listView->setBackGroundImageScale9Enabled(true); + listView->setSize(Size(240, 130)); + listView->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - listView->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - listView->getSize().height) / 2.0f)); + listView->addEventListenerListView(this, listvieweventselector(UIListViewTest_Vertical::selectedItemEvent)); + _uiLayer->addChild(listView); + + + // create model + Button* default_button = Button::create(); + default_button->setName("Title Button"); + default_button->setTouchEnabled(true); + default_button->loadTextures("cocosgui/backtotoppressed.png", "cocosgui/backtotopnormal.png", ""); + + Layout* default_item = Layout::create(); + default_item->setTouchEnabled(true); + default_item->setSize(default_button->getSize()); + default_button->setPosition(Point(default_item->getSize().width / 2.0f, default_item->getSize().height / 2.0f)); + default_item->addChild(default_button); + + // set model + listView->setItemModel(default_item); + + // add default item + size_t count = _array.size(); + for (size_t i = 0; i < count / 4; ++i) + { + listView->pushBackDefaultItem(); + } + // insert default item + for (size_t i = 0; i < count / 4; ++i) + { + listView->insertDefaultItem(0); + } + + // add custom item + for (size_t i = 0; i < count / 4; ++i) + { + Button* custom_button = Button::create(); + custom_button->setName("Title Button"); + custom_button->setTouchEnabled(true); + custom_button->loadTextures("cocosgui/button.png", "cocosgui/buttonHighlighted.png", ""); + custom_button->setScale9Enabled(true); + custom_button->setSize(default_button->getSize()); + + Layout *custom_item = Layout::create(); + custom_item->setSize(custom_button->getSize()); + custom_button->setPosition(Point(custom_item->getSize().width / 2.0f, custom_item->getSize().height / 2.0f)); + custom_item->addChild(custom_button); + + listView->pushBackCustomItem(custom_item); + } + // insert custom item + Vector& items = listView->getItems(); + ssize_t items_count = items.size(); + for (size_t i = 0; i < count / 4; ++i) + { + Button* custom_button = Button::create(); + custom_button->setName("Title Button"); + custom_button->setTouchEnabled(true); + custom_button->loadTextures("cocosgui/button.png", "cocosgui/buttonHighlighted.png", ""); + custom_button->setScale9Enabled(true); + custom_button->setSize(default_button->getSize()); + + Layout *custom_item = Layout::create(); + custom_item->setSize(custom_button->getSize()); + custom_button->setPosition(Point(custom_item->getSize().width / 2.0f, custom_item->getSize().height / 2.0f)); + custom_item->addChild(custom_button); + + listView->insertCustomItem(custom_item, items_count); + } + + // set item data + items_count = items.size(); + for (ssize_t i = 0; i < items_count; ++i) + { + Widget* item = listView->getItem(i); + Button* button = static_cast(item->getChildByName("Title Button")); + int index = listView->getIndex(item); + button->setTitleText(_array[index]); + } + + // remove last item + listView->removeLastItem(); + + // remove item by index + items_count = items.size(); + listView->removeItem(items_count - 1); + + // set all items layout gravity + listView->setGravity(LISTVIEW_GRAVITY_CENTER_VERTICAL); + + // set items margin + listView->setItemsMargin(2.0f); + + return true; + } + + return false; +} + +void UIListViewTest_Vertical::selectedItemEvent(Ref *pSender, ListViewEventType type) +{ + switch (type) + { + case LISTVIEW_ONSELECTEDITEM: + { + ListView* listView = static_cast(pSender); + CCLOG("select child index = %ld", listView->getCurSelectedIndex()); + } + break; + + default: + break; + } +} + +// UIListViewTest_Horizontal + +UIListViewTest_Horizontal::UIListViewTest_Horizontal() +: _displayValueLabel(nullptr) +{ +} + +UIListViewTest_Horizontal::~UIListViewTest_Horizontal() +{ +} + +bool UIListViewTest_Horizontal::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + _displayValueLabel = Text::create(); + _displayValueLabel->setText("Move by horizontal direction"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1.0f)); + _displayValueLabel->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + _displayValueLabel->getContentSize().height * 1.5f)); + _uiLayer->addChild(_displayValueLabel); + + + Text* alert = Text::create(); + alert->setText("ListView horizontal"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 3.075f)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + Layout* background = static_cast(root->getChildByName("background_Panel")); + Size backgroundSize = background->getContentSize(); + + + // create list view ex data + for (int i = 0; i < 20; ++i) + { + _array.push_back(StringUtils::format("listview_item_%d", i)); + } + + + // Create the list view ex + ListView* listView = ListView::create(); + // set list view ex direction + listView->setDirection(SCROLLVIEW_DIR_HORIZONTAL); + listView->setTouchEnabled(true); + listView->setBounceEnabled(true); + listView->setBackGroundImage("cocosgui/green_edit.png"); + listView->setBackGroundImageScale9Enabled(true); + listView->setSize(Size(240, 130)); + listView->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - listView->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - listView->getSize().height) / 2.0f)); + listView->addEventListenerListView(this, listvieweventselector(UIListViewTest_Horizontal::selectedItemEvent)); + _uiLayer->addChild(listView); + + + // create model + Button* default_button = Button::create(); + default_button->setName("Title Button"); + default_button->setTouchEnabled(true); + default_button->loadTextures("cocosgui/backtotoppressed.png", "cocosgui/backtotopnormal.png", ""); + + Layout *default_item = Layout::create(); + default_item->setTouchEnabled(true); + default_item->setSize(default_button->getSize()); + default_button->setPosition(Point(default_item->getSize().width / 2.0f, default_item->getSize().height / 2.0f)); + default_item->addChild(default_button); + + // set model + listView->setItemModel(default_item); + + // add default item + size_t count = _array.size(); + for (int i = 0; i < count / 4; ++i) + { + listView->pushBackDefaultItem(); + } + // insert default item + for (int i = 0; i < count / 4; ++i) + { + listView->insertDefaultItem(0); + } + + // add custom item + for (int i = 0; i < count / 4; ++i) + { + Button* custom_button = Button::create(); + custom_button->setName("Title Button"); + custom_button->setTouchEnabled(true); + custom_button->loadTextures("cocosgui/button.png", "cocosgui/buttonHighlighted.png", ""); + custom_button->setScale9Enabled(true); + custom_button->setSize(default_button->getSize()); + + Layout* custom_item = Layout::create(); + custom_item->setSize(custom_button->getSize()); + custom_button->setPosition(Point(custom_item->getSize().width / 2.0f, custom_item->getSize().height / 2.0f)); + custom_item->addChild(custom_button); + + listView->pushBackCustomItem(custom_item); + } + // insert custom item + Vector& items = listView->getItems(); + int items_count = items.size(); + for (int i = 0; i < count / 4; ++i) + { + Button* custom_button = Button::create(); + custom_button->setName("Title Button"); + custom_button->setTouchEnabled(true); + custom_button->loadTextures("cocosgui/button.png", "cocosgui/buttonHighlighted.png", ""); + custom_button->setScale9Enabled(true); + custom_button->setSize(default_button->getSize()); + + Layout* custom_item = Layout::create(); + custom_item->setSize(custom_button->getSize()); + custom_button->setPosition(Point(custom_item->getSize().width / 2.0f, custom_item->getSize().height / 2.0f)); + custom_item->addChild(custom_button); + + listView->insertCustomItem(custom_item, items_count); + } + + // set item data + items_count = items.size(); + for (int i = 0; i < items_count; ++i) + { + Widget *item = listView->getItem(i); + Button *button = static_cast(item->getChildByName("Title Button")); + int index = listView->getIndex(item); + button->setTitleText(_array[index]); + } + + // remove last item + listView->removeLastItem(); + + // remove item by index + items_count = items.size(); + listView->removeItem(items_count - 1); + + // set all items layout gravity + listView->setGravity(LISTVIEW_GRAVITY_CENTER_VERTICAL); + + // set items margin + listView->setItemsMargin(2); + + return true; + } + + return false; +} + +void UIListViewTest_Horizontal::selectedItemEvent(Ref *pSender, ListViewEventType type) +{ + switch (type) + { + case LISTVIEW_ONSELECTEDITEM: + { + ListView* listView = static_cast(pSender); + CCLOG("select child index = %ld", listView->getCurSelectedIndex()); + } + break; + + default: + break; + } +} diff --git a/SampleHelloUI/Classes/UIListViewTest/UIListViewTest.h b/SampleHelloUI/Classes/UIListViewTest/UIListViewTest.h new file mode 100644 index 0000000..f392049 --- /dev/null +++ b/SampleHelloUI/Classes/UIListViewTest/UIListViewTest.h @@ -0,0 +1,60 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__UIListViewTest__ +#define __TestCpp__UIListViewTest__ + +#include "../UIScene.h" + +class UIListViewTest_Vertical : public UIScene +{ +public: + UIListViewTest_Vertical(); + ~UIListViewTest_Vertical(); + bool init(); + void selectedItemEvent(Ref* pSender, ListViewEventType type); + +protected: + UI_SCENE_CREATE_FUNC(UIListViewTest_Vertical) + Text* _displayValueLabel; + + std::vector _array; +}; + +class UIListViewTest_Horizontal : public UIScene +{ +public: + UIListViewTest_Horizontal(); + ~UIListViewTest_Horizontal(); + bool init(); + void selectedItemEvent(Ref* pSender, ListViewEventType type); + +protected: + UI_SCENE_CREATE_FUNC(UIListViewTest_Horizontal) + Text* _displayValueLabel; + + std::vector _array; +}; + +#endif /* defined(__TestCpp__UIListViewTest__) */ diff --git a/SampleHelloUI/Classes/UILoadingBarTest/UILoadingBarTest.cpp b/SampleHelloUI/Classes/UILoadingBarTest/UILoadingBarTest.cpp new file mode 100644 index 0000000..6b47a49 --- /dev/null +++ b/SampleHelloUI/Classes/UILoadingBarTest/UILoadingBarTest.cpp @@ -0,0 +1,340 @@ + + +#include "UILoadingBarTest.h" + + +// UILoadingBarTest_Left + +UILoadingBarTest_Left::UILoadingBarTest_Left() +: _count(0) +{ + +} + +UILoadingBarTest_Left::~UILoadingBarTest_Left() +{ + unscheduleUpdate(); +} + +bool UILoadingBarTest_Left::init() +{ + if (UIScene::init()) + { + scheduleUpdate(); + + Size widgetSize = _widget->getSize(); + + // Add the alert + Text* alert = Text::create(); + alert->setText("LoadingBar left"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 1.75f)); + _uiLayer->addChild(alert); + + // Create the loading bar + LoadingBar* loadingBar = LoadingBar::create(); + loadingBar->setTag(0); + loadingBar->loadTexture("cocosgui/sliderProgress.png"); + loadingBar->setPercent(0); + + loadingBar->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + loadingBar->getSize().height / 4.0f)); + _uiLayer->addChild(loadingBar); + + return true; + } + return false; +} + +void UILoadingBarTest_Left::update(float delta) +{ + _count++; + if (_count > 100) + { + _count = 0; + } + LoadingBar* loadingBar = static_cast(_uiLayer->getChildByTag(0)); + loadingBar->setPercent(_count); +} + +void UILoadingBarTest_Left::previousCallback(Ref* sender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + unscheduleUpdate(); + UIScene::previousCallback(sender, type); + } +} + +void UILoadingBarTest_Left::restartCallback(Ref* sender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + unscheduleUpdate(); + UIScene::restartCallback(sender, type); + } +} + +void UILoadingBarTest_Left::nextCallback(Ref* sender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + unscheduleUpdate(); + UIScene::nextCallback(sender, type); + } +} + +// UILoadingBarTest_Right + +UILoadingBarTest_Right::UILoadingBarTest_Right() +: _count(0) +{ + +} + +UILoadingBarTest_Right::~UILoadingBarTest_Right() +{ + unscheduleUpdate(); +} + +bool UILoadingBarTest_Right::init() +{ + if (UIScene::init()) + { + scheduleUpdate(); + + Size widgetSize = _widget->getSize(); + + // Add the alert + Text *alert = Text::create(); + alert->setText("LoadingBar right"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 1.75f)); + _uiLayer->addChild(alert); + + // Create the loading bar + LoadingBar* loadingBar = LoadingBar::create(); + loadingBar->setTag(0); + loadingBar->loadTexture("cocosgui/sliderProgress.png"); + loadingBar->setDirection(LoadingBarTypeRight); + loadingBar->setPercent(0); + + loadingBar->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + loadingBar->getSize().height / 4.0f)); + _uiLayer->addChild(loadingBar); + + return true; + } + return false; +} + +void UILoadingBarTest_Right::update(float delta) +{ + _count++; + if (_count > 100) + { + _count = 0; + } + LoadingBar* loadingBar = static_cast(_uiLayer->getChildByTag(0)); + loadingBar->setPercent(_count); +} + +void UILoadingBarTest_Right::previousCallback(Ref* sender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + unscheduleUpdate(); + UIScene::previousCallback(sender, type); + } +} + +void UILoadingBarTest_Right::restartCallback(Ref* sender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + unscheduleUpdate(); + UIScene::restartCallback(sender, type); + } +} + +void UILoadingBarTest_Right::nextCallback(Ref* sender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + unscheduleUpdate(); + UIScene::nextCallback(sender, type); + } +} + +// UILoadingBarTest_Left_Scale9 + +UILoadingBarTest_Left_Scale9::UILoadingBarTest_Left_Scale9() +: _count(0) +{ + +} + +UILoadingBarTest_Left_Scale9::~UILoadingBarTest_Left_Scale9() +{ + unscheduleUpdate(); +} + +bool UILoadingBarTest_Left_Scale9::init() +{ + if (UIScene::init()) + { + scheduleUpdate(); + + Size widgetSize = _widget->getSize(); + + // Add the alert + Text* alert = Text::create(); + alert->setText("LoadingBar left scale9 render"); + alert->setFontName("Marker Felt"); + alert->setFontSize(20); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 2.7f)); + _uiLayer->addChild(alert); + + // Create the loading bar + LoadingBar* loadingBar = LoadingBar::create(); + loadingBar->setTag(0); + loadingBar->loadTexture("cocosgui/slider_bar_active_9patch.png"); + loadingBar->setScale9Enabled(true); + loadingBar->setCapInsets(Rect(0, 0, 0, 0)); + loadingBar->setSize(Size(300, loadingBar->getContentSize().height)); + loadingBar->setPercent(0); + + loadingBar->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + loadingBar->getSize().height / 4.0f)); + _uiLayer->addChild(loadingBar); + + return true; + } + return false; +} + +void UILoadingBarTest_Left_Scale9::update(float delta) +{ + _count++; + if (_count > 100) + { + _count = 0; + } + LoadingBar* loadingBar = static_cast(_uiLayer->getChildByTag(0)); + loadingBar->setPercent(_count); +} + +void UILoadingBarTest_Left_Scale9::previousCallback(Ref* sender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + unscheduleUpdate(); + UIScene::previousCallback(sender, type); + } +} + +void UILoadingBarTest_Left_Scale9::restartCallback(Ref* sender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + unscheduleUpdate(); + UIScene::restartCallback(sender, type); + } +} + +void UILoadingBarTest_Left_Scale9::nextCallback(Ref* sender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + unscheduleUpdate(); + UIScene::nextCallback(sender, type); + } +} + +// UILoadingBarTest_Right_Scale9 + +UILoadingBarTest_Right_Scale9::UILoadingBarTest_Right_Scale9() +: _count(0) +{ + +} + +UILoadingBarTest_Right_Scale9::~UILoadingBarTest_Right_Scale9() +{ + unscheduleUpdate(); +} + +bool UILoadingBarTest_Right_Scale9::init() +{ + if (UIScene::init()) + { + scheduleUpdate(); + + Size widgetSize = _widget->getSize(); + + // Add the alert + Text *alert = Text::create(); + alert->setText("LoadingBar right scale9 render"); + alert->setFontName("Marker Felt"); + alert->setFontSize(20); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 2.7f)); + _uiLayer->addChild(alert); + + // Create the loading bar + LoadingBar* loadingBar = LoadingBar::create(); + loadingBar->setTag(0); + loadingBar->loadTexture("cocosgui/slider_bar_active_9patch.png"); + loadingBar->setScale9Enabled(true); + loadingBar->setCapInsets(Rect(0, 0, 0, 0)); + loadingBar->setSize(Size(300, loadingBar->getContentSize().height)); + loadingBar->setDirection(LoadingBarTypeRight); + loadingBar->setPercent(0); + + loadingBar->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + loadingBar->getSize().height / 4.0f)); + _uiLayer->addChild(loadingBar); + + return true; + } + return false; +} + +void UILoadingBarTest_Right_Scale9::update(float delta) +{ + _count++; + if (_count > 100) + { + _count = 0; + } + LoadingBar* loadingBar = static_cast(_uiLayer->getChildByTag(0)); + loadingBar->setPercent(_count); +} + +void UILoadingBarTest_Right_Scale9::previousCallback(Ref* sender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + unscheduleUpdate(); + UIScene::previousCallback(sender, type); + } +} + +void UILoadingBarTest_Right_Scale9::restartCallback(Ref* sender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + unscheduleUpdate(); + UIScene::restartCallback(sender, type); + } +} + +void UILoadingBarTest_Right_Scale9::nextCallback(Ref* sender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + unscheduleUpdate(); + UIScene::nextCallback(sender, type); + } +} diff --git a/SampleHelloUI/Classes/UILoadingBarTest/UILoadingBarTest.h b/SampleHelloUI/Classes/UILoadingBarTest/UILoadingBarTest.h new file mode 100644 index 0000000..7afae16 --- /dev/null +++ b/SampleHelloUI/Classes/UILoadingBarTest/UILoadingBarTest.h @@ -0,0 +1,98 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__UILoadingBarTest__ +#define __TestCpp__UILoadingBarTest__ + +#include "../UIScene.h" + +class UILoadingBarTest_Left : public UIScene +{ +public: + UILoadingBarTest_Left(); + ~UILoadingBarTest_Left(); + bool init(); + void update(float delta); + + virtual void previousCallback(Ref* sender, TouchEventType type) override; + virtual void restartCallback(Ref* sender, TouchEventType type) override; + virtual void nextCallback(Ref* sender, TouchEventType type) override; + +protected: + UI_SCENE_CREATE_FUNC(UILoadingBarTest_Left) + int _count; +}; + +class UILoadingBarTest_Right : public UIScene +{ +public: + UILoadingBarTest_Right(); + ~UILoadingBarTest_Right(); + bool init(); + void update(float delta); + + virtual void previousCallback(Ref* sender, TouchEventType type) override; + virtual void restartCallback(Ref* sender, TouchEventType type) override; + virtual void nextCallback(Ref* sender, TouchEventType type) override; + +protected: + UI_SCENE_CREATE_FUNC(UILoadingBarTest_Right) + int _count; +}; + +class UILoadingBarTest_Left_Scale9 : public UIScene +{ +public: + UILoadingBarTest_Left_Scale9(); + ~UILoadingBarTest_Left_Scale9(); + bool init(); + void update(float delta); + + virtual void previousCallback(Ref* sender, TouchEventType type) override; + virtual void restartCallback(Ref* sender, TouchEventType type) override; + virtual void nextCallback(Ref* sender, TouchEventType type) override; + +protected: + UI_SCENE_CREATE_FUNC(UILoadingBarTest_Left_Scale9) + int _count; +}; + +class UILoadingBarTest_Right_Scale9 : public UIScene +{ +public: + UILoadingBarTest_Right_Scale9(); + ~UILoadingBarTest_Right_Scale9(); + bool init(); + void update(float delta); + + virtual void previousCallback(Ref* sender, TouchEventType type) override; + virtual void restartCallback(Ref* sender, TouchEventType type) override; + virtual void nextCallback(Ref* sender, TouchEventType type) override; + +protected: + UI_SCENE_CREATE_FUNC(UILoadingBarTest_Right_Scale9) + int _count; +}; + +#endif /* defined(__TestCpp__UILoadingBarTest__) */ diff --git a/SampleHelloUI/Classes/UIPageViewTest/UIPageViewTest.cpp b/SampleHelloUI/Classes/UIPageViewTest/UIPageViewTest.cpp new file mode 100644 index 0000000..b8da774 --- /dev/null +++ b/SampleHelloUI/Classes/UIPageViewTest/UIPageViewTest.cpp @@ -0,0 +1,102 @@ + + +#include "UIPageViewTest.h" + + +// UIPageViewTest +UIPageViewTest::UIPageViewTest() +: _displayValueLabel(NULL) +{ + +} + +UIPageViewTest::~UIPageViewTest() +{ +} + +bool UIPageViewTest::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add a label in which the dragpanel events will be displayed + _displayValueLabel = Text::create(); + _displayValueLabel->setText("Move by horizontal direction"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1.0f)); + _displayValueLabel->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + _displayValueLabel->getContentSize().height * 1.5)); + _uiLayer->addChild(_displayValueLabel); + + // Add the black background + Text* alert = Text::create(); + alert->setText("PageView"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 3.075f)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + Layout* background = dynamic_cast(root->getChildByName("background_Panel")); + + // Create the page view + PageView* pageView = PageView::create(); + pageView->setTouchEnabled(true); + pageView->setSize(Size(240.0f, 130.0f)); + Size backgroundSize = background->getContentSize(); + pageView->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - pageView->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - pageView->getSize().height) / 2.0f)); + + for (int i = 0; i < 3; ++i) + { + Layout* layout = Layout::create(); + layout->setSize(Size(240.0f, 130.0f)); + + ImageView* imageView = ImageView::create(); + imageView->setTouchEnabled(true); + imageView->setScale9Enabled(true); + imageView->loadTexture("cocosgui/scrollviewbg.png"); + imageView->setSize(Size(240, 130)); + imageView->setPosition(Point(layout->getSize().width / 2.0f, layout->getSize().height / 2.0f)); + layout->addChild(imageView); + + Text* label = Text::create(); + label->setText(CCString::createWithFormat("page %d", (i + 1))->getCString()); + label->setFontName("Marker Felt"); + label->setFontSize(30); + label->setColor(Color3B(192, 192, 192)); + label->setPosition(Point(layout->getSize().width / 2.0f, layout->getSize().height / 2.0f)); + layout->addChild(label); + + pageView->addPage(layout); + } + pageView->addEventListenerPageView(this, pagevieweventselector(UIPageViewTest::pageViewEvent)); + + _uiLayer->addChild(pageView); + + return true; + } + return false; +} + +void UIPageViewTest::pageViewEvent(Ref *pSender, PageViewEventType type) +{ + switch (type) + { + case PAGEVIEW_EVENT_TURNING: + { + PageView* pageView = dynamic_cast(pSender); + + _displayValueLabel->setText(StringUtils::format("page = %d", static_cast(pageView->getCurPageIndex() + 1))); + } + break; + + default: + break; + } +} diff --git a/SampleHelloUI/Classes/UIPageViewTest/UIPageViewTest.h b/SampleHelloUI/Classes/UIPageViewTest/UIPageViewTest.h new file mode 100644 index 0000000..b064ecd --- /dev/null +++ b/SampleHelloUI/Classes/UIPageViewTest/UIPageViewTest.h @@ -0,0 +1,44 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__UIPageViewTest__ +#define __TestCpp__UIPageViewTest__ + +#include "../UIScene.h" + +class UIPageViewTest : public UIScene +{ +public: + UIPageViewTest(); + ~UIPageViewTest(); + bool init(); + + void pageViewEvent(Ref* pSender, PageViewEventType type); + +protected: + UI_SCENE_CREATE_FUNC(UIPageViewTest) + Text* _displayValueLabel; +}; + +#endif /* defined(__TestCpp__UIPageViewTest__) */ diff --git a/SampleHelloUI/Classes/UIScene.cpp b/SampleHelloUI/Classes/UIScene.cpp new file mode 100644 index 0000000..d61945d --- /dev/null +++ b/SampleHelloUI/Classes/UIScene.cpp @@ -0,0 +1,91 @@ + +#include "extensions/cocos-ext.h" +#include "UIScene.h" +#include "UISceneManager.h" +#include "editor-support/cocostudio/CCSGUIReader.h" +#include "CocosGUIScene.h" + +UIScene::UIScene() +: _sceneTitle(nullptr) +, _uiLayer(nullptr) +{ + +} + +UIScene::~UIScene() +{ + +} + +bool UIScene::init() +{ + if (CCLayer::init()) + { + _uiLayer = Layer::create(); + addChild(_uiLayer); + + _widget = dynamic_cast(cocostudio::GUIReader::getInstance()->widgetFromJsonFile("cocosgui/UITest/UITest.json")); + _uiLayer->addChild(_widget); + + Size screenSize = Director::getInstance()->getWinSize(); + Size rootSize = _widget->getSize(); + _uiLayer->setPosition(Point((screenSize.width - rootSize.width) / 2, + (screenSize.height - rootSize.height) / 2)); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + _sceneTitle = dynamic_cast(root->getChildByName("UItest")); + + Text* back_label = dynamic_cast(root->getChildByName("back")); + back_label->addTouchEventListener(this, toucheventselector(UIScene::toCocosGUITestScene)); + + Button* left_button = dynamic_cast(root->getChildByName("left_Button")); + left_button->addTouchEventListener(this, toucheventselector(UIScene::previousCallback)); + + Button* middle_button = dynamic_cast(root->getChildByName("middle_Button")); + middle_button->addTouchEventListener(this, toucheventselector(UIScene::restartCallback)); + + Button* right_button = dynamic_cast(root->getChildByName("right_Button")); + right_button->addTouchEventListener(this, toucheventselector(UIScene::nextCallback)); + + return true; + } + return false; +} + +void UIScene::toCocosGUITestScene(Ref* sender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + UISceneManager::purgeUISceneManager(); + + auto scene = new CocosGUITestScene(); + scene->autorelease(); + + CCDirector::getInstance()->replaceScene(scene); + } +} + +void UIScene::previousCallback(Ref* sender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + CCDirector::getInstance()->replaceScene(UISceneManager::sharedUISceneManager()->previousUIScene()); + } +} + +void UIScene::restartCallback(Ref* sender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + CCDirector::getInstance()->replaceScene(UISceneManager::sharedUISceneManager()->currentUIScene()); + } +} + +void UIScene::nextCallback(Ref* sender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + CCDirector::getInstance()->replaceScene(UISceneManager::sharedUISceneManager()->nextUIScene()); + } +} diff --git a/SampleHelloUI/Classes/UIScene.h b/SampleHelloUI/Classes/UIScene.h new file mode 100644 index 0000000..913ec77 --- /dev/null +++ b/SampleHelloUI/Classes/UIScene.h @@ -0,0 +1,77 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__UIScene__ +#define __TestCpp__UIScene__ + +#include "cocos2d.h" +#include "extensions/cocos-ext.h" +#include "gui/CocosGUI.h" + +USING_NS_CC; +USING_NS_CC_EXT; +using namespace ui; + +#define UI_SCENE_CREATE_FUNC(UIScene) \ +public: \ +static Scene* sceneWithTitle(const char * title) \ +{ \ + Scene* pScene = Scene::create(); \ + UIScene* uiLayer = new UIScene(); \ + if (uiLayer && uiLayer->init()) \ + { \ + uiLayer->autorelease(); \ + uiLayer->getSceneTitle()->setText(title); \ + pScene->addChild(uiLayer); \ + } \ + else \ + { \ + CC_SAFE_DELETE(uiLayer); \ + } \ + return pScene; \ +} + +class UIScene : public Layer +{ +public: + UIScene(); + ~UIScene(); + bool init(); + // Menu Callbacks + void toCocosGUITestScene(Ref* sender, TouchEventType type); + virtual void previousCallback(Ref* sender, TouchEventType type); + virtual void restartCallback(Ref* sender, TouchEventType type); + virtual void nextCallback(Ref* sender, TouchEventType type); + + /** Title label of the scene. */ + CC_SYNTHESIZE_READONLY(Text*, _sceneTitle, SceneTitle) + + UI_SCENE_CREATE_FUNC(UIScene); + +protected: + Layer* _uiLayer; + Layout* _widget; +}; + +#endif /* defined(__TestCpp__UIScene__) */ diff --git a/SampleHelloUI/Classes/UISceneManager.cpp b/SampleHelloUI/Classes/UISceneManager.cpp new file mode 100644 index 0000000..7279cba --- /dev/null +++ b/SampleHelloUI/Classes/UISceneManager.cpp @@ -0,0 +1,339 @@ + + +#include "UISceneManager.h" +#include "UIScene.h" +#include "UIButtonTest/UIButtonTest.h" +#include "UICheckBoxTest/UICheckBoxTest.h" +#include "UISliderTest/UISliderTest.h" +#include "UIImageViewTest/UIImageViewTest.h" +#include "UILoadingBarTest/UILoadingBarTest.h" +#include "UILabelAtlasTest/UILabelAtlasTest.h" +#include "UILabelTest/UILabelTest.h" +#include "UILabelBMFontTest/UILabelBMFontTest.h" +#include "UITextFieldTest/UITextFieldTest.h" +#include "UILayoutTest/UILayoutTest.h" +#include "UIScrollViewTest/UIScrollViewTest.h" +#include "UIPageViewTest/UIPageViewTest.h" +#include "UIListViewTest/UIListViewTest.h" +#include "UIWidgetAddNodeTest/UIWidgetAddNodeTest.h" +/* +#include "UIGridViewTest/UIGridViewTest.h" +#include "UIPickerViewTest/UIPickerViewTest.h" +#include "UISwitchTest/UISwitchTest.h" +#include "UIProgressTimerTest/UIProgressTimerTest.h" +#include "UIPotentiometerTest/UIPotentiometerTest.h" + */ + +USING_NS_CC; + +static const char* s_testArray[] = +{ + "UIButtonTest", + "UIButtonTest_Scale9", + "UIButtonTest_PressedAction", + "UIButtonTest_Title", + "UICheckBoxTest", + "UISliderTest", + "UISliderTest_Scale9", + /* + "UIPotentiometerTest", + "UISwitchTest_Horizontal", + "UISwitchTest_Vertical", + "UISwitchTest_VerticalAndTitleVertical", + */ + "UIImageViewTest", + "UIImageViewTest_Scale9", + "UILoadingBarTest_Left", + "UILoadingBarTest_Right", + "UILoadingBarTest_Left_Scale9", + "UILoadingBarTest_Right_Scale9", + /* + "UIProgressTimerTest_Radial", + "UIProgressTimerTest_Horizontal", + "UIProgressTimerTest_Vertical", + "UIProgressTimerTest_RadialMidpointChanged", + "UIProgressTimerTest_BarVarious", + "UIProgressTimerTest_BarTintAndFade", + "UIProgressTimerTest_WithSpriteFrame", + */ + "UILabelAtlasTest", + "UILabelTest", + "UILabelTest_LineWrap", + /* + "UILabelTest_Effect", + */ + "UILabelTest_TTF", + "UILabelBMFontTest", + "UITextFieldTest", + "UITextFieldTest_MaxLength", + "UITextFieldTest_Password", + "UILayoutTest", + "UILayoutTest_Color", + "UILayoutTest_Gradient", + "UILayoutTest_BackGroundImage", + "UILayoutTest_BackGroundImage_Scale9", + "UILayoutTest_Layout_Linear_Vertical", + "UILayoutTest_Layout_Linear_Horizontal", + "UILayoutTest_Layout_Relative_Align_Parent", + "UILayoutTest_Layout_Relative_Location", + /* + "UILayoutTest_Layout_Grid", + */ + "UIScrollViewTest_Vertical", + "UIScrollViewTest_Horizontal", + "UIScrollViewTest_Both", + "UIScrollViewTest_ScrollToPercentBothDirection", + "UIScrollViewTest_ScrollToPercentBothDirection_Bounce", + "UIPageViewTest,", + "UIListViewTest_Vertical", + "UIListViewTest_Horizontal", + /* + "UIGridViewTest_Mode_Column", + "UIGridViewTest_Mode_Row", + "UIPickerViewTest_Vertical", + "UIPickerViewTest_Horizontal", + */ + "UIWidgetAddNodeTest", +}; + +static UISceneManager *sharedInstance = NULL; + + +UISceneManager::UISceneManager() +{ + _currentUISceneId = kUIButtonTest; +} + +UISceneManager::~UISceneManager() +{ + +} + +UISceneManager * UISceneManager::sharedUISceneManager() +{ + if (sharedInstance == NULL) + { + sharedInstance = new UISceneManager(); + } + return sharedInstance; +} + +void UISceneManager::purgeUISceneManager() +{ + CC_SAFE_DELETE(sharedInstance); +} + +Scene *UISceneManager::nextUIScene() +{ + _currentUISceneId = _currentUISceneId + 1; + if (_currentUISceneId > _maxUISceneId) + { + _currentUISceneId = _minUISceneId; + } +// _currentUISceneId = (_currentUISceneId + 1) % kUITestMax; + + return currentUIScene(); +} + +Scene *UISceneManager::previousUIScene() +{ + _currentUISceneId = _currentUISceneId - 1; + if (_currentUISceneId < _minUISceneId) + { + _currentUISceneId = _maxUISceneId; + } + /* + _currentUISceneId = _currentUISceneId - 1; + if (_currentUISceneId < 0) + { + _currentUISceneId = kUITestMax - 1; + } + */ + + return currentUIScene(); +} + +Scene *UISceneManager::currentUIScene() +{ + switch (_currentUISceneId) + { + case kUIButtonTest: + return UIButtonTest::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIButtonTest_Scale9: + return UIButtonTest_Scale9::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIButtonTest_PressedAction: + return UIButtonTest_PressedAction::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIButtonTest_Title: + return UIButtonTest_Title::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUICheckBoxTest: + return UICheckBoxTest::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUISliderTest: + return UISliderTest::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUISliderTest_Scale9: + return UISliderTest_Scale9::sceneWithTitle(s_testArray[_currentUISceneId]); + + /* + case kUIPotentiometerTest: + return UIPotentiometerTest::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUISwitchTest_Horizontal: + return UISwitchTest_Horizontal::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUISwitchTest_Vertical: + return UISwitchTest_Vertical::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUISwitchTest_VerticalAndTitleVertical: + return UISwitchTest_VerticalAndTitleVertical::sceneWithTitle(s_testArray[_currentUISceneId]); + */ + + case kUIImageViewTest: + return UIImageViewTest::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIImageViewTest_Scale9: + return UIImageViewTest_Scale9::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUILoadingBarTest_Left: + return UILoadingBarTest_Left::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUILoadingBarTest_Right: + return UILoadingBarTest_Right::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUILoadingBarTest_Left_Scale9: + return UILoadingBarTest_Left_Scale9::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUILoadingBarTest_Right_Scale9: + return UILoadingBarTest_Right_Scale9::sceneWithTitle(s_testArray[_currentUISceneId]); + + /* + case kUIProgressTimerTest_Radial: + return UIProgressTimerTest_Radial::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIProgressTimerTest_Horizontal: + return UIProgressTimerTest_Horizontal::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIProgressTimerTest_Vertical: + return UIProgressTimerTest_Vertical::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIProgressTimerTest_RadialMidpointChanged: + return UIProgressTimerTest_RadialMidpointChanged::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIProgressTimerTest_BarVarious: + return UIProgressTimerTest_BarVarious::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIProgressTimerTest_BarTintAndFade: + return UIProgressTimerTest_BarTintAndFade::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIProgressTimerTest_WithSpriteFrame: + return UIProgressTimerTest_WithSpriteFrame::sceneWithTitle(s_testArray[_currentUISceneId]); + */ + + case kUILabelAtlasTest: + return UILabelAtlasTest::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUILabelBMFontTest: + return UILabelBMFontTest::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUILabelTest: + return UILabelTest::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUILabelTest_LineWrap: + return UILabelTest_LineWrap::sceneWithTitle(s_testArray[_currentUISceneId]); + + /* + case kUILabelTest_Effect: + return UILabelTest_Effect::sceneWithTitle(s_testArray[_currentUISceneId]); + */ + + case kUILabelTest_TTF: + return UILabelTest_TTF::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUITextFieldTest: + return UITextFieldTest::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUITextFieldTest_MaxLength: + return UITextFieldTest_MaxLength::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUITextFieldTest_Password: + return UITextFieldTest_Password::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUILayoutTest: + return UILayoutTest::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUILayoutTest_Color: + return UILayoutTest_Color::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUILayoutTest_Gradient: + return UILayoutTest_Gradient::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUILayoutTest_BackGroundImage: + return UILayoutTest_BackGroundImage::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUILayoutTest_BackGroundImage_Scale9: + return UILayoutTest_BackGroundImage_Scale9::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUILayoutTest_Layout_Linear_Vertical: + return UILayoutTest_Layout_Linear_Vertical::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUILayoutTest_Layout_Linear_Horizontal: + return UILayoutTest_Layout_Linear_Horizontal::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUILayoutTest_Layout_Relative_Align_Parent: + return UILayoutTest_Layout_Relative_Align_Parent::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUILayoutTest_Layout_Relative_Location: + return UILayoutTest_Layout_Relative_Location::sceneWithTitle(s_testArray[_currentUISceneId]); + + /* + case kUILayoutTest_Layout_Grid: + return UILayoutTest_Layout_Grid::sceneWithTitle(s_testArray[_currentUISceneId]); + */ + + case kUIScrollViewTest_Vertical: + return UIScrollViewTest_Vertical::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIScrollViewTest_Horizontal: + return UIScrollViewTest_Horizontal::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIScrollViewTest_Both: + return UIScrollViewTest_Both::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIScrollViewTest_ScrollToPercentBothDirection: + return UIScrollViewTest_ScrollToPercentBothDirection::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIScrollViewTest_ScrollToPercentBothDirection_Bounce: + return UIScrollViewTest_ScrollToPercentBothDirection_Bounce::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIPageViewTest: + return UIPageViewTest::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIListViewTest_Vertical: + return UIListViewTest_Vertical::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIListViewTest_Horizontal: + return UIListViewTest_Horizontal::sceneWithTitle(s_testArray[_currentUISceneId]); + + /* + case kUIGridViewTest_Mode_Column: + return UIGridViewTest_Mode_Column::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIGridViewTest_Mode_Row: + return UIGridViewTest_Mode_Row::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIPickerViewTest_Vertical: + return UIPickerViewTest_Vertical::sceneWithTitle(s_testArray[_currentUISceneId]); + + case kUIPickerViewTest_Horizontal: + return UIPickerViewTest_Horizontal::sceneWithTitle(s_testArray[_currentUISceneId]); + */ + + case kUIWidgetAddNodeTest: + return UIWidgetAddNodeTest::sceneWithTitle(s_testArray[_currentUISceneId]); + } + return NULL; +} \ No newline at end of file diff --git a/SampleHelloUI/Classes/UISceneManager.h b/SampleHelloUI/Classes/UISceneManager.h new file mode 100644 index 0000000..e8eba22 --- /dev/null +++ b/SampleHelloUI/Classes/UISceneManager.h @@ -0,0 +1,128 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__UISceneManager__ +#define __TestCpp__UISceneManager__ + +#include "cocos2d.h" + +USING_NS_CC; + +enum +{ + kUIButtonTest = 0, + kUIButtonTest_Scale9, + kUIButtonTest_PressedAction, + kUIButtonTest_Title, + kUICheckBoxTest, + kUISliderTest, + kUISliderTest_Scale9, + /* + kUIPotentiometerTest, + kUISwitchTest_Horizontal, + kUISwitchTest_Vertical, + kUISwitchTest_VerticalAndTitleVertical, + */ + kUIImageViewTest, + kUIImageViewTest_Scale9, + kUILoadingBarTest_Left, + kUILoadingBarTest_Right, + kUILoadingBarTest_Left_Scale9, + kUILoadingBarTest_Right_Scale9, + /* + kUIProgressTimerTest_Radial, + kUIProgressTimerTest_Horizontal, + kUIProgressTimerTest_Vertical, + kUIProgressTimerTest_RadialMidpointChanged, + kUIProgressTimerTest_BarVarious, + kUIProgressTimerTest_BarTintAndFade, + kUIProgressTimerTest_WithSpriteFrame, + */ + kUILabelAtlasTest, + kUILabelTest, + kUILabelTest_LineWrap, + /* + kUILabelTest_Effect, + */ + kUILabelTest_TTF, + kUILabelBMFontTest, + kUITextFieldTest, + kUITextFieldTest_MaxLength, + kUITextFieldTest_Password, + kUILayoutTest, + kUILayoutTest_Color, + kUILayoutTest_Gradient, + kUILayoutTest_BackGroundImage, + kUILayoutTest_BackGroundImage_Scale9, + kUILayoutTest_Layout_Linear_Vertical, + kUILayoutTest_Layout_Linear_Horizontal, + kUILayoutTest_Layout_Relative_Align_Parent, + kUILayoutTest_Layout_Relative_Location, + /* + kUILayoutTest_Layout_Grid, + */ + kUIScrollViewTest_Vertical, + kUIScrollViewTest_Horizontal, + kUIScrollViewTest_Both, + kUIScrollViewTest_ScrollToPercentBothDirection, + kUIScrollViewTest_ScrollToPercentBothDirection_Bounce, + kUIPageViewTest, + kUIListViewTest_Vertical, + kUIListViewTest_Horizontal, + /* + kUIGridViewTest_Mode_Column, + kUIGridViewTest_Mode_Row, + kUIPickerViewTest_Vertical, + kUIPickerViewTest_Horizontal, + */ + kUIWidgetAddNodeTest, + kUITestMax +}; + +class UISceneManager : public Ref +{ +public: + UISceneManager(); + ~UISceneManager(); + /** Returns the singleton of the ui scene manager. */ + static UISceneManager * sharedUISceneManager(); + static void purgeUISceneManager(); + + /** Returns the next ui scene. */ + cocos2d::Scene *nextUIScene(); + + /** Returns the previous ui scene. */ + cocos2d::Scene *previousUIScene(); + + /** Returns the current control scene. */ + cocos2d::Scene *currentUIScene(); + + /** UI scene id. */ + CC_SYNTHESIZE(int, _currentUISceneId, CurrentUISceneId) + + CC_SYNTHESIZE(int, _minUISceneId, MinUISceneId) + CC_SYNTHESIZE(int, _maxUISceneId, MaxUISceneId) +}; + +#endif /* defined(__TestCpp__UISceneManager__) */ diff --git a/SampleHelloUI/Classes/UIScrollViewTest/UIScrollViewTest.cpp b/SampleHelloUI/Classes/UIScrollViewTest/UIScrollViewTest.cpp new file mode 100644 index 0000000..5a6f73c --- /dev/null +++ b/SampleHelloUI/Classes/UIScrollViewTest/UIScrollViewTest.cpp @@ -0,0 +1,380 @@ + + +#include "UIScrollViewTest.h" + + +// UIScrollViewTest_Vertical + +UIScrollViewTest_Vertical::UIScrollViewTest_Vertical() +: _displayValueLabel(nullptr) +{ +} + +UIScrollViewTest_Vertical::~UIScrollViewTest_Vertical() +{ +} + +bool UIScrollViewTest_Vertical::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add a label in which the scrollview alert will be displayed + _displayValueLabel = Text::create(); + _displayValueLabel->setText("Move by vertical direction"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1.0f)); + _displayValueLabel->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + _displayValueLabel->getContentSize().height * 1.5f)); + _uiLayer->addChild(_displayValueLabel); + + // Add the alert + Text* alert = Text::create(); + alert->setText("ScrollView vertical"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 3.075f)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + Layout* background = dynamic_cast(root->getChildByName("background_Panel")); + + // Create the scrollview by vertical + ui::ScrollView* scrollView = ui::ScrollView::create(); + scrollView->setTouchEnabled(true); + scrollView->setSize(Size(280.0f, 150.0f)); + Size backgroundSize = background->getContentSize(); + scrollView->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - scrollView->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - scrollView->getSize().height) / 2.0f)); + _uiLayer->addChild(scrollView); + + ImageView* imageView = ImageView::create(); + imageView->loadTexture("cocosgui/ccicon.png"); + + float innerWidth = scrollView->getSize().width; + float innerHeight = scrollView->getSize().height + imageView->getSize().height; + + scrollView->setInnerContainerSize(Size(innerWidth, innerHeight)); + + Button* button = Button::create(); + button->setTouchEnabled(true); + button->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + button->setPosition(Point(innerWidth / 2.0f, scrollView->getInnerContainerSize().height - button->getSize().height / 2.0f)); + scrollView->addChild(button); + + Button* titleButton = Button::create(); + titleButton->setTouchEnabled(true); + titleButton->loadTextures("cocosgui/backtotopnormal.png", "cocosgui/backtotoppressed.png", ""); + titleButton->setTitleText("Title Button"); + titleButton->setPosition(Point(innerWidth / 2.0f, button->getBottomInParent() - button->getSize().height)); + scrollView->addChild(titleButton); + + Button* button_scale9 = Button::create(); + button_scale9->setTouchEnabled(true); + button_scale9->setScale9Enabled(true); + button_scale9->loadTextures("cocosgui/button.png", "cocosgui/buttonHighlighted.png", ""); + button_scale9->setSize(Size(100.0f, button_scale9->getContentSize().height)); + button_scale9->setPosition(Point(innerWidth / 2.0f, titleButton->getBottomInParent() - titleButton->getSize().height)); + scrollView->addChild(button_scale9); + + imageView->setPosition(Point(innerWidth / 2.0f, imageView->getSize().height / 2.0f)); + scrollView->addChild(imageView); + + return true; + } + + return false; +} + +// UIScrollViewTest_Horizontal + +UIScrollViewTest_Horizontal::UIScrollViewTest_Horizontal() +: _displayValueLabel(nullptr) +{ +} + +UIScrollViewTest_Horizontal::~UIScrollViewTest_Horizontal() +{ +} + +bool UIScrollViewTest_Horizontal::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add a label in which the scrollview alert will be displayed + _displayValueLabel = Text::create(); + _displayValueLabel->setText("Move by horizontal direction"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1.0f)); + _displayValueLabel->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + _displayValueLabel->getContentSize().height * 1.5f)); + _uiLayer->addChild(_displayValueLabel); + + Text* alert = Text::create(); + alert->setText("ScrollView horizontal"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 3.075f)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + Layout* background = dynamic_cast(root->getChildByName("background_Panel")); + + // Create the scrollview by horizontal + ui::ScrollView* scrollView = ui::ScrollView::create(); + scrollView->setBounceEnabled(true); + scrollView->setDirection(SCROLLVIEW_DIR_HORIZONTAL); + scrollView->setTouchEnabled(true); + scrollView->setSize(Size(280.0f, 150.0f)); + scrollView->setInnerContainerSize(scrollView->getSize()); + Size backgroundSize = background->getContentSize(); + scrollView->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - scrollView->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - scrollView->getSize().height) / 2.0f)); + _uiLayer->addChild(scrollView); + + ImageView* imageView = ImageView::create(); + imageView->loadTexture("cocosgui/ccicon.png"); + + float innerWidth = scrollView->getSize().width + imageView->getSize().width; + float innerHeight = scrollView->getSize().height; + + scrollView->setInnerContainerSize(Size(innerWidth, innerHeight)); + + Button* button = Button::create(); + button->setTouchEnabled(true); + button->loadTextures("cocosgui/animationbuttonnormal.png", "cocosgui/animationbuttonpressed.png", ""); + button->setPosition(Point(button->getSize().width / 2.0f, + scrollView->getInnerContainerSize().height - button->getSize().height / 2.0f)); + scrollView->addChild(button); + + Button* titleButton = Button::create(); + titleButton->setTouchEnabled(true); + titleButton->loadTextures("cocosgui/backtotopnormal.png", "cocosgui/backtotoppressed.png", ""); + titleButton->setTitleText("Title Button"); + titleButton->setPosition(Point(button->getRightInParent() + button->getSize().width / 2.0f, + button->getBottomInParent() - button->getSize().height / 2.0f)); + scrollView->addChild(titleButton); + + Button* button_scale9 = Button::create(); + button_scale9->setTouchEnabled(true); + button_scale9->setScale9Enabled(true); + button_scale9->loadTextures("cocosgui/button.png", "cocosgui/buttonHighlighted.png", ""); + button_scale9->setSize(Size(100.0f, button_scale9->getContentSize().height)); + button_scale9->setPosition(Point(titleButton->getRightInParent() + titleButton->getSize().width / 2.0f, + titleButton->getBottomInParent() - titleButton->getSize().height / 2.0f)); + scrollView->addChild(button_scale9); + + imageView->setPosition(Point(innerWidth - imageView->getSize().width / 2.0f, + button_scale9->getBottomInParent() - button_scale9->getSize().height / 2.0f)); + scrollView->addChild(imageView); + + return true; + } + + return false; +} + +// UIScrollViewTest_Both +UIScrollViewTest_Both::UIScrollViewTest_Both() +: _displayValueLabel(nullptr) +{ + +} + +UIScrollViewTest_Both::~UIScrollViewTest_Both() +{ +} + +bool UIScrollViewTest_Both::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize();; + + // Add a label in which the dragpanel events will be displayed + _displayValueLabel = Text::create(); + _displayValueLabel->setText("Move by any direction"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1.0f)); + _displayValueLabel->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + _displayValueLabel->getSize().height * 1.5f)); + _uiLayer->addChild(_displayValueLabel); + + // Add the alert + Text* alert = Text::create(); + alert->setText("ScrollView both"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 3.075f)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + Layout* background = static_cast(root->getChildByName("background_Panel")); + + // Create the dragpanel + ui::ScrollView* scrollView = ui::ScrollView::create(); + scrollView->setDirection(SCROLLVIEW_DIR_BOTH); + scrollView->setTouchEnabled(true); + scrollView->setBounceEnabled(true); + scrollView->setBackGroundImageScale9Enabled(true); + scrollView->setBackGroundImage("cocosgui/green_edit.png"); + scrollView->setSize(Size(210, 122.5)); + Size backgroundSize = background->getContentSize(); + scrollView->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - scrollView->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - scrollView->getSize().height) / 2.0f)); + ImageView* imageView = ImageView::create(); + imageView->setTouchEnabled(true); + imageView->loadTexture("Hello.png"); + scrollView->addChild(imageView); + + scrollView->setInnerContainerSize(imageView->getContentSize()); + Size innerSize = scrollView->getInnerContainerSize(); + imageView->setPosition(Point(innerSize.width / 2.0f, innerSize.height / 2.0f)); + + _uiLayer->addChild(scrollView); + + return true; + } + + return false; +} + +// UIScrollViewTest_ScrollToPercentBothDirection +UIScrollViewTest_ScrollToPercentBothDirection::UIScrollViewTest_ScrollToPercentBothDirection() +: _displayValueLabel(nullptr) +{ + +} + +UIScrollViewTest_ScrollToPercentBothDirection::~UIScrollViewTest_ScrollToPercentBothDirection() +{ +} + +bool UIScrollViewTest_ScrollToPercentBothDirection::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add a label in which the dragpanel events will be displayed + _displayValueLabel = Text::create(); +// _displayValueLabel->setText("No Event"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1.0f)); + _displayValueLabel->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + _displayValueLabel->getSize().height * 1.5f)); + _uiLayer->addChild(_displayValueLabel); + + // Add the alert + Text* alert = Text::create(); + alert->setText("ScrollView scroll to percent both directrion"); + alert->setFontName("Marker Felt"); + alert->setFontSize(20); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 4.5)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + Layout* background = static_cast(root->getChildByName("background_Panel")); + + ui::ScrollView* sc = ui::ScrollView::create(); + sc->setBackGroundColor(Color3B::GREEN); + sc->setBackGroundColorType(LAYOUT_COLOR_SOLID); + sc->setDirection(SCROLLVIEW_DIR_BOTH); + sc->setInnerContainerSize(Size(480, 320)); + sc->setSize(Size(100,100)); + Size backgroundSize = background->getContentSize(); + sc->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - sc->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - sc->getSize().height) / 2.0f)); + sc->scrollToPercentBothDirection(Point(50, 50), 1, true); + ImageView* iv = ImageView::create(); + iv->loadTexture("cocosgui/Hello.png"); + iv->setPosition(Point(240, 160)); + sc->addChild(iv); + _uiLayer->addChild(sc); + + return true; + } + return false; +} + +// UIScrollViewTest_ScrollToPercentBothDirection_Bounce +UIScrollViewTest_ScrollToPercentBothDirection_Bounce::UIScrollViewTest_ScrollToPercentBothDirection_Bounce() +: _displayValueLabel(nullptr) +{ + +} + +UIScrollViewTest_ScrollToPercentBothDirection_Bounce::~UIScrollViewTest_ScrollToPercentBothDirection_Bounce() +{ +} + +bool UIScrollViewTest_ScrollToPercentBothDirection_Bounce::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add a label in which the dragpanel events will be displayed + _displayValueLabel = Text::create(); +// _displayValueLabel->setText("No Event"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1.0f)); + _displayValueLabel->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + _displayValueLabel->getSize().height * 1.5f)); + _uiLayer->addChild(_displayValueLabel); + + // Add the alert + Text* alert = Text::create(); + alert->setText("ScrollView scroll to percent both directrion bounce"); + alert->setFontName("Marker Felt"); + alert->setFontSize(20); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 4.5)); + _uiLayer->addChild(alert); + + Layout* root = static_cast(_uiLayer->getChildByTag(81)); + + Layout* background = dynamic_cast(root->getChildByName("background_Panel")); + + ui::ScrollView* sc = ui::ScrollView::create(); + sc->setBackGroundColor(Color3B::GREEN); + sc->setBackGroundColorType(LAYOUT_COLOR_SOLID); + sc->setBounceEnabled(true); + sc->setDirection(SCROLLVIEW_DIR_BOTH); + sc->setInnerContainerSize(Size(480, 320)); + sc->setSize(Size(100,100)); + Size backgroundSize = background->getContentSize(); + sc->setPosition(Point((widgetSize.width - backgroundSize.width) / 2.0f + + (backgroundSize.width - sc->getSize().width) / 2.0f, + (widgetSize.height - backgroundSize.height) / 2.0f + + (backgroundSize.height - sc->getSize().height) / 2.0f)); + sc->scrollToPercentBothDirection(Point(50, 50), 1, true); + ImageView* iv = ImageView::create(); + iv->loadTexture("cocosgui/Hello.png"); + iv->setPosition(Point(240, 160)); + sc->addChild(iv); + _uiLayer->addChild(sc); + return true; + } + + return false; +} diff --git a/SampleHelloUI/Classes/UIScrollViewTest/UIScrollViewTest.h b/SampleHelloUI/Classes/UIScrollViewTest/UIScrollViewTest.h new file mode 100644 index 0000000..ec509b6 --- /dev/null +++ b/SampleHelloUI/Classes/UIScrollViewTest/UIScrollViewTest.h @@ -0,0 +1,90 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__UIScrollViewTest__ +#define __TestCpp__UIScrollViewTest__ + +#include "../UIScene.h" + +class UIScrollViewTest_Vertical : public UIScene +{ +public: + UIScrollViewTest_Vertical(); + ~UIScrollViewTest_Vertical(); + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UIScrollViewTest_Vertical) + Text* _displayValueLabel; +}; + +class UIScrollViewTest_Horizontal : public UIScene +{ +public: + UIScrollViewTest_Horizontal(); + ~UIScrollViewTest_Horizontal(); + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UIScrollViewTest_Horizontal) + Text* _displayValueLabel; +}; + +class UIScrollViewTest_Both : public UIScene +{ +public: + UIScrollViewTest_Both(); + ~UIScrollViewTest_Both(); + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UIScrollViewTest_Both) + Text* _displayValueLabel; +}; + +class UIScrollViewTest_ScrollToPercentBothDirection : public UIScene +{ +public: + UIScrollViewTest_ScrollToPercentBothDirection(); + ~UIScrollViewTest_ScrollToPercentBothDirection(); + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UIScrollViewTest_ScrollToPercentBothDirection) + Text* _displayValueLabel; +}; + +class UIScrollViewTest_ScrollToPercentBothDirection_Bounce : public UIScene +{ +public: + UIScrollViewTest_ScrollToPercentBothDirection_Bounce(); + ~UIScrollViewTest_ScrollToPercentBothDirection_Bounce(); + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UIScrollViewTest_ScrollToPercentBothDirection_Bounce) + Text* _displayValueLabel; +}; + +#endif /* defined(__TestCpp__UIScrollViewTest__) */ diff --git a/SampleHelloUI/Classes/UISliderTest/UISliderTest.cpp b/SampleHelloUI/Classes/UISliderTest/UISliderTest.cpp new file mode 100644 index 0000000..ee59d95 --- /dev/null +++ b/SampleHelloUI/Classes/UISliderTest/UISliderTest.cpp @@ -0,0 +1,160 @@ + + +#include "UISliderTest.h" + + +// UISliderTest + +UISliderTest::UISliderTest() +: _displayValueLabel(nullptr) +{ + +} + +UISliderTest::~UISliderTest() +{ +} + +bool UISliderTest::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add a label in which the slider alert will be displayed + _displayValueLabel = Text::create(); + _displayValueLabel->setText("Move the slider thumb"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1)); + _displayValueLabel->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f)); + _uiLayer->addChild(_displayValueLabel); + + // Add the alert + Text* alert = Text::create(); + alert->setText("Slider"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 1.75f)); + _uiLayer->addChild(alert); + + // Create the slider + Slider* slider = Slider::create(); + slider->setTouchEnabled(true); + slider->loadBarTexture("cocosgui/sliderTrack.png"); + slider->loadSlidBallTextures("cocosgui/sliderThumb.png", "cocosgui/sliderThumb.png", ""); + slider->loadProgressBarTexture("cocosgui/sliderProgress.png"); + slider->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f)); + slider->addEventListenerSlider(this, sliderpercentchangedselector(UISliderTest::sliderEvent)); + _uiLayer->addChild(slider); + + /* + // Create the slider that set allow min progress and allow max progress + Slider* sliderAllow = Slider::create(); + sliderAllow->setMinAllowPercent(20); + sliderAllow->setMaxAllowPercent(80); + sliderAllow->setTouchEnabled(true); + sliderAllow->loadBarTexture("cocosgui/sliderTrack.png"); + sliderAllow->loadSlidBallTextures("cocosgui/sliderThumb.png", "cocosgui/sliderThumb.png", ""); + sliderAllow->loadProgressBarTexture("cocosgui/sliderProgress.png"); + sliderAllow->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - sliderAllow->getSize().height * 2.0f)); + sliderAllow->addEventListenerSlider(this, sliderpercentchangedselector(UISliderTest::sliderEvent)); + _uiLayer->addChild(sliderAllow); + */ + + return true; + } + return false; +} + +void UISliderTest::sliderEvent(Ref *pSender, SliderEventType type) +{ + if (type == SLIDER_PERCENTCHANGED) + { + Slider* slider = dynamic_cast(pSender); + int percent = slider->getPercent(); + _displayValueLabel->setText(String::createWithFormat("Percent %d", percent)->getCString()); + } +} + +// UISliderTest_Scale9 + +UISliderTest_Scale9::UISliderTest_Scale9() +: _displayValueLabel(nullptr) +{ + +} + +UISliderTest_Scale9::~UISliderTest_Scale9() +{ +} + +bool UISliderTest_Scale9::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add a label in which the slider alert will be displayed + _displayValueLabel = Text::create(); + _displayValueLabel->setText("Move the slider thumb"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1)); + _displayValueLabel->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f)); + _uiLayer->addChild(_displayValueLabel); + + // Add the alert + Text *alert = Text::create(); + alert->setText("Slider scale9 render"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 1.75f)); + _uiLayer->addChild(alert); + + // Create the slider + Slider* slider = Slider::create(); + slider->setTouchEnabled(true); + slider->loadBarTexture("cocosgui/sliderTrack2.png"); + slider->loadSlidBallTextures("cocosgui/sliderThumb.png", "cocosgui/sliderThumb.png", ""); + slider->loadProgressBarTexture("cocosgui/slider_bar_active_9patch.png"); + slider->setScale9Enabled(true); + slider->setCapInsets(Rect(0, 0, 0, 0)); + slider->setSize(Size(250.0f, 13)); + slider->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f)); + slider->addEventListenerSlider(this, sliderpercentchangedselector(UISliderTest_Scale9::sliderEvent)); + _uiLayer->addChild(slider); + + /* + // Create the slider that set allow min progress and allow max progress + Slider* sliderAllow = Slider::create(); + sliderAllow->setMinAllowPercent(20); + sliderAllow->setMaxAllowPercent(80); + sliderAllow->setTouchEnabled(true); + sliderAllow->loadBarTexture("cocosgui/sliderTrack2.png"); + sliderAllow->loadSlidBallTextures("cocosgui/sliderThumb.png", "cocosgui/sliderThumb.png", ""); + sliderAllow->loadProgressBarTexture("cocosgui/slider_bar_active_9patch.png"); + sliderAllow->setScale9Enabled(true); + sliderAllow->setCapInsets(Rect(0, 0, 0, 0)); + sliderAllow->setSize(Size(250.0f, 10.0f / Director::getInstance()->getContentScaleFactor())); + sliderAllow->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - slider->getSize().height * 3.0f)); + sliderAllow->addEventListenerSlider(this, sliderpercentchangedselector(UISliderTest_Scale9::sliderEvent)); + _uiLayer->addChild(sliderAllow); + */ + + return true; + } + return false; +} + +void UISliderTest_Scale9::sliderEvent(Ref *pSender, SliderEventType type) +{ + if (type == SLIDER_PERCENTCHANGED) + { + Slider* slider = dynamic_cast(pSender); + int percent = slider->getPercent(); + _displayValueLabel->setText(String::createWithFormat("Percent %d", percent)->getCString()); + } +} diff --git a/SampleHelloUI/Classes/UISliderTest/UISliderTest.h b/SampleHelloUI/Classes/UISliderTest/UISliderTest.h new file mode 100644 index 0000000..78022f6 --- /dev/null +++ b/SampleHelloUI/Classes/UISliderTest/UISliderTest.h @@ -0,0 +1,56 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__UISliderTest__ +#define __TestCpp__UISliderTest__ + +#include "../UIScene.h" + +class UISliderTest : public UIScene +{ +public: + UISliderTest(); + ~UISliderTest(); + bool init(); + void sliderEvent(Ref* pSender, SliderEventType type); + +protected: + UI_SCENE_CREATE_FUNC(UISliderTest) + Text* _displayValueLabel; +}; + +class UISliderTest_Scale9 : public UIScene +{ +public: + UISliderTest_Scale9(); + ~UISliderTest_Scale9(); + bool init(); + void sliderEvent(Ref* pSender, SliderEventType type); + +protected: + UI_SCENE_CREATE_FUNC(UISliderTest_Scale9) + Text* _displayValueLabel; +}; + +#endif /* defined(__TestCpp__UISliderTest__) */ diff --git a/SampleHelloUI/Classes/UITextFieldTest/UITextFieldTest.cpp b/SampleHelloUI/Classes/UITextFieldTest/UITextFieldTest.cpp new file mode 100644 index 0000000..fdd070e --- /dev/null +++ b/SampleHelloUI/Classes/UITextFieldTest/UITextFieldTest.cpp @@ -0,0 +1,276 @@ + + +#include "UITextFieldTest.h" + +// UITextFieldTest +UITextFieldTest::UITextFieldTest() +: _displayValueLabel(nullptr) +{ + +} + +UITextFieldTest::~UITextFieldTest() +{ +} + +bool UITextFieldTest::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add a label in which the textfield events will be displayed + _displayValueLabel = Text::create(); + _displayValueLabel->setText("No Event"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1.0f)); + _displayValueLabel->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f + _displayValueLabel->getSize().height * 1.5f)); + _uiLayer->addChild(_displayValueLabel); + + // Add the alert + Text* alert = Text::create(); + alert->setText("TextField"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 3.075f)); + _uiLayer->addChild(alert); + + // Create the textfield + TextField* textField = TextField::create(); + textField->setTouchEnabled(true); + textField->setFontName("Marker Felt"); + textField->setFontSize(30); + textField->setPlaceHolder("input words here"); + textField->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f)); + textField->addEventListenerTextField(this, textfieldeventselector(UITextFieldTest::textFieldEvent)); + _uiLayer->addChild(textField); + + return true; + } + return false; +} + +void UITextFieldTest::textFieldEvent(Ref *pSender, TextFiledEventType type) +{ + switch (type) + { + case TEXTFIELD_EVENT_ATTACH_WITH_IME: + { + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + TextField* textField = dynamic_cast(pSender); + Size screenSize = CCDirector::getInstance()->getWinSize(); + textField->runAction(CCMoveTo::create(0.225f, + Point(screenSize.width / 2.0f, screenSize.height / 2.0f + textField->getContentSize().height / 2.0f))); +#endif + _displayValueLabel->setText(String::createWithFormat("attach with IME")->getCString()); + } + break; + + case TEXTFIELD_EVENT_DETACH_WITH_IME: + { +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + TextField* textField = dynamic_cast(pSender); + Size screenSize = CCDirector::getInstance()->getWinSize(); + textField->runAction(CCMoveTo::create(0.175f, Point(screenSize.width / 2.0f, screenSize.height / 2.0f))); +#endif + _displayValueLabel->setText(String::createWithFormat("detach with IME")->getCString()); + } + break; + + case TEXTFIELD_EVENT_INSERT_TEXT: + _displayValueLabel->setText(String::createWithFormat("insert words")->getCString()); + break; + + case TEXTFIELD_EVENT_DELETE_BACKWARD: + _displayValueLabel->setText(String::createWithFormat("delete word")->getCString()); + break; + + default: + break; + } +} + +// UITextFieldTest_MaxLength +UITextFieldTest_MaxLength::UITextFieldTest_MaxLength() +: _displayValueLabel(nullptr) +{ + +} + +UITextFieldTest_MaxLength::~UITextFieldTest_MaxLength() +{ +} + +bool UITextFieldTest_MaxLength::init() +{ + if (UIScene::init()) + { + Size screenSize = CCDirector::getInstance()->getWinSize(); + + // Add a label in which the textfield events will be displayed + _displayValueLabel = Text::create(); + _displayValueLabel->setText("No Event"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1.0f)); + _displayValueLabel->setPosition(Point(screenSize.width / 2.0f, screenSize.height / 2.0f + _displayValueLabel->getSize().height * 1.5f)); + _uiLayer->addChild(_displayValueLabel); + + // Add the alert + Text *alert = Text::create(); + alert->setText("TextField max length"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(screenSize.width / 2.0f, screenSize.height / 2.0f - alert->getSize().height * 3.075f)); + _uiLayer->addChild(alert); + + // Create the textfield + TextField* textField = TextField::create(); + textField->setMaxLengthEnabled(true); + textField->setMaxLength(3); + textField->setTouchEnabled(true); + textField->setFontName("Marker Felt"); + textField->setFontSize(30); + textField->setPlaceHolder("input words here"); + textField->setPosition(Point(screenSize.width / 2.0f, screenSize.height / 2.0f)); + textField->addEventListenerTextField(this, textfieldeventselector(UITextFieldTest_MaxLength::textFieldEvent)); + _uiLayer->addChild(textField); + + return true; + } + return false; +} + +void UITextFieldTest_MaxLength::textFieldEvent(Ref *pSender, TextFiledEventType type) +{ + switch (type) + { + case TEXTFIELD_EVENT_ATTACH_WITH_IME: + { + TextField* textField = dynamic_cast(pSender); + Size screenSize = CCDirector::getInstance()->getWinSize(); + textField->runAction(CCMoveTo::create(0.225f, + Point(screenSize.width / 2.0f, screenSize.height / 2.0f + textField->getContentSize().height / 2.0f))); + _displayValueLabel->setText(String::createWithFormat("attach with IME max length %d", textField->getMaxLength())->getCString()); + } + break; + + case TEXTFIELD_EVENT_DETACH_WITH_IME: + { + TextField* textField = dynamic_cast(pSender); + Size screenSize = CCDirector::getInstance()->getWinSize(); + textField->runAction(CCMoveTo::create(0.175f, Point(screenSize.width / 2.0f, screenSize.height / 2.0f))); + _displayValueLabel->setText(String::createWithFormat("detach with IME max length %d", textField->getMaxLength())->getCString()); + } + break; + + case TEXTFIELD_EVENT_INSERT_TEXT: + { + TextField* textField = dynamic_cast(pSender); + _displayValueLabel->setText(String::createWithFormat("insert words max length %d", textField->getMaxLength())->getCString()); + } + break; + + case TEXTFIELD_EVENT_DELETE_BACKWARD: + { + TextField* textField = dynamic_cast(pSender); + _displayValueLabel->setText(String::createWithFormat("delete word max length %d", textField->getMaxLength())->getCString()); + } + break; + + default: + break; + } +} + +// UITextFieldTest_Password +UITextFieldTest_Password::UITextFieldTest_Password() +: _displayValueLabel(nullptr) +{ + +} + +UITextFieldTest_Password::~UITextFieldTest_Password() +{ +} + +bool UITextFieldTest_Password::init() +{ + if (UIScene::init()) + { + Size screenSize = CCDirector::getInstance()->getWinSize(); + + // Add a label in which the textfield events will be displayed + _displayValueLabel = Text::create(); + _displayValueLabel->setText("No Event"); + _displayValueLabel->setFontName("Marker Felt"); + _displayValueLabel->setFontSize(32); + _displayValueLabel->setAnchorPoint(Point(0.5f, -1.0f)); + _displayValueLabel->setPosition(Point(screenSize.width / 2.0f, screenSize.height / 2.0f + _displayValueLabel->getSize().height * 1.5f)); + _uiLayer->addChild(_displayValueLabel); + + // Add the alert + Text *alert = Text::create(); + alert->setText("TextField password"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(screenSize.width / 2.0f, screenSize.height / 2.0f - alert->getSize().height * 3.075f)); + _uiLayer->addChild(alert); + + // Create the textfield + TextField* textField = TextField::create(); + textField->setPasswordEnabled(true); + textField->setPasswordStyleText("*"); + textField->setTouchEnabled(true); + textField->setFontName("Marker Felt"); + textField->setFontSize(30); + textField->setPlaceHolder("input password here"); + textField->setPosition(Point(screenSize.width / 2.0f, screenSize.height / 2.0f)); + textField->addEventListenerTextField(this, textfieldeventselector(UITextFieldTest_Password::textFieldEvent)); + _uiLayer->addChild(textField); + + return true; + } + return false; +} + +void UITextFieldTest_Password::textFieldEvent(Ref *pSender, TextFiledEventType type) +{ + switch (type) + { + case TEXTFIELD_EVENT_ATTACH_WITH_IME: + { + TextField* textField = dynamic_cast(pSender); + Size screenSize = CCDirector::getInstance()->getWinSize(); + textField->runAction(CCMoveTo::create(0.225f, + Point(screenSize.width / 2.0f, screenSize.height / 2.0f + textField->getContentSize().height / 2.0f))); + _displayValueLabel->setText(String::createWithFormat("attach with IME password")->getCString()); + } + break; + + case TEXTFIELD_EVENT_DETACH_WITH_IME: + { + TextField* textField = dynamic_cast(pSender); + Size screenSize = CCDirector::getInstance()->getWinSize(); + textField->runAction(CCMoveTo::create(0.175f, Point(screenSize.width / 2.0f, screenSize.height / 2.0f))); + _displayValueLabel->setText(String::createWithFormat("detach with IME password")->getCString()); + } + break; + + case TEXTFIELD_EVENT_INSERT_TEXT: + _displayValueLabel->setText(String::createWithFormat("insert words password")->getCString()); + break; + + case TEXTFIELD_EVENT_DELETE_BACKWARD: + _displayValueLabel->setText(String::createWithFormat("delete word password")->getCString()); + break; + + default: + break; + } +} diff --git a/SampleHelloUI/Classes/UITextFieldTest/UITextFieldTest.h b/SampleHelloUI/Classes/UITextFieldTest/UITextFieldTest.h new file mode 100644 index 0000000..9b89371 --- /dev/null +++ b/SampleHelloUI/Classes/UITextFieldTest/UITextFieldTest.h @@ -0,0 +1,68 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__UITextFieldTest__ +#define __TestCpp__UITextFieldTest__ + +#include "../UIScene.h" + +class UITextFieldTest : public UIScene +{ +public: + UITextFieldTest(); + ~UITextFieldTest(); + bool init(); + void textFieldEvent(Ref* pSender, TextFiledEventType type); + +protected: + UI_SCENE_CREATE_FUNC(UITextFieldTest) + Text* _displayValueLabel; +}; + +class UITextFieldTest_MaxLength : public UIScene +{ +public: + UITextFieldTest_MaxLength(); + ~UITextFieldTest_MaxLength(); + bool init(); + void textFieldEvent(Ref* pSender, TextFiledEventType type); + +protected: + UI_SCENE_CREATE_FUNC(UITextFieldTest_MaxLength) + Text* _displayValueLabel; +}; + +class UITextFieldTest_Password : public UIScene +{ +public: + UITextFieldTest_Password(); + ~UITextFieldTest_Password(); + bool init(); + void textFieldEvent(Ref* pSender, TextFiledEventType type); + +protected: + UI_SCENE_CREATE_FUNC(UITextFieldTest_Password) + Text* _displayValueLabel; +}; +#endif /* defined(__TestCpp__UITextFieldTest__) */ diff --git a/SampleHelloUI/Classes/UIWidgetAddNodeTest/UIWidgetAddNodeTest.cpp b/SampleHelloUI/Classes/UIWidgetAddNodeTest/UIWidgetAddNodeTest.cpp new file mode 100644 index 0000000..b7bbd3a --- /dev/null +++ b/SampleHelloUI/Classes/UIWidgetAddNodeTest/UIWidgetAddNodeTest.cpp @@ -0,0 +1,44 @@ + + +#include "UIWidgetAddNodeTest.h" + + +// UIWidgetAddNodeTest + +UIWidgetAddNodeTest::UIWidgetAddNodeTest() +{ + +} + +UIWidgetAddNodeTest::~UIWidgetAddNodeTest() +{ +} + +bool UIWidgetAddNodeTest::init() +{ + if (UIScene::init()) + { + Size widgetSize = _widget->getSize(); + + // Add the alert + Text* alert = Text::create(); + alert->setText("Widget Add Node"); + alert->setFontName("Marker Felt"); + alert->setFontSize(30); + alert->setColor(Color3B(159, 168, 176)); + alert->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f - alert->getSize().height * 1.75)); + _uiLayer->addChild(alert); + + // Create the ui node container + Widget* widget = Widget::create(); + widget->setPosition(Point(widgetSize.width / 2.0f, widgetSize.height / 2.0f)); + _uiLayer->addChild(widget); + + Sprite* sprite = Sprite::create("cocosgui/ccicon.png"); + sprite->setPosition(Point(0, sprite->getBoundingBox().size.height / 4)); + widget->addNode(sprite, 0); + + return true; + } + return false; +} diff --git a/SampleHelloUI/Classes/UIWidgetAddNodeTest/UIWidgetAddNodeTest.h b/SampleHelloUI/Classes/UIWidgetAddNodeTest/UIWidgetAddNodeTest.h new file mode 100644 index 0000000..354c160 --- /dev/null +++ b/SampleHelloUI/Classes/UIWidgetAddNodeTest/UIWidgetAddNodeTest.h @@ -0,0 +1,41 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__UINodeContainerTest__ +#define __TestCpp__UINodeContainerTest__ + +#include "../UIScene.h" + +class UIWidgetAddNodeTest : public UIScene +{ +public: + UIWidgetAddNodeTest(); + ~UIWidgetAddNodeTest(); + bool init(); + +protected: + UI_SCENE_CREATE_FUNC(UIWidgetAddNodeTest) +}; + +#endif /* defined(__TestCpp__UINodeContainerTest__) */ diff --git a/SampleHelloUI/Classes/VisibleRect.cpp b/SampleHelloUI/Classes/VisibleRect.cpp new file mode 100644 index 0000000..d03c440 --- /dev/null +++ b/SampleHelloUI/Classes/VisibleRect.cpp @@ -0,0 +1,94 @@ +/**************************************************************************** + 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. + ****************************************************************************/ + +#include "VisibleRect.h" + +Rect VisibleRect::s_visibleRect; + +void VisibleRect::lazyInit() +{ + // no lazy init + // Useful if we change the resolution in runtime + s_visibleRect = Director::getInstance()->getOpenGLView()->getVisibleRect(); +} + +Rect VisibleRect::getVisibleRect() +{ + lazyInit(); + return s_visibleRect; +} + +Point VisibleRect::left() +{ + lazyInit(); + return Point(s_visibleRect.origin.x, s_visibleRect.origin.y+s_visibleRect.size.height/2); +} + +Point VisibleRect::right() +{ + lazyInit(); + return Point(s_visibleRect.origin.x+s_visibleRect.size.width, s_visibleRect.origin.y+s_visibleRect.size.height/2); +} + +Point VisibleRect::top() +{ + lazyInit(); + return Point(s_visibleRect.origin.x+s_visibleRect.size.width/2, s_visibleRect.origin.y+s_visibleRect.size.height); +} + +Point VisibleRect::bottom() +{ + lazyInit(); + return Point(s_visibleRect.origin.x+s_visibleRect.size.width/2, s_visibleRect.origin.y); +} + +Point VisibleRect::center() +{ + lazyInit(); + return Point(s_visibleRect.origin.x+s_visibleRect.size.width/2, s_visibleRect.origin.y+s_visibleRect.size.height/2); +} + +Point VisibleRect::leftTop() +{ + lazyInit(); + return Point(s_visibleRect.origin.x, s_visibleRect.origin.y+s_visibleRect.size.height); +} + +Point VisibleRect::rightTop() +{ + lazyInit(); + return Point(s_visibleRect.origin.x+s_visibleRect.size.width, s_visibleRect.origin.y+s_visibleRect.size.height); +} + +Point VisibleRect::leftBottom() +{ + lazyInit(); + return s_visibleRect.origin; +} + +Point VisibleRect::rightBottom() +{ + lazyInit(); + return Point(s_visibleRect.origin.x+s_visibleRect.size.width, s_visibleRect.origin.y); +} diff --git a/SampleHelloUI/Classes/VisibleRect.h b/SampleHelloUI/Classes/VisibleRect.h new file mode 100644 index 0000000..8bdaae0 --- /dev/null +++ b/SampleHelloUI/Classes/VisibleRect.h @@ -0,0 +1,26 @@ +#ifndef __VISIBLERECT_H__ +#define __VISIBLERECT_H__ + +#include "cocos2d.h" +USING_NS_CC; + +class VisibleRect +{ +public: + static Rect getVisibleRect(); + + static Point left(); + static Point right(); + static Point top(); + static Point bottom(); + static Point center(); + static Point leftTop(); + static Point rightTop(); + static Point leftBottom(); + static Point rightBottom(); +private: + static void lazyInit(); + static Rect s_visibleRect; +}; + +#endif /* __VISIBLERECT_H__ */ diff --git a/SampleHelloUI/Resources/CloseNormal.png b/SampleHelloUI/Resources/CloseNormal.png new file mode 100644 index 0000000..5657a13 Binary files /dev/null and b/SampleHelloUI/Resources/CloseNormal.png differ diff --git a/SampleHelloUI/Resources/CloseSelected.png b/SampleHelloUI/Resources/CloseSelected.png new file mode 100644 index 0000000..e4c82da Binary files /dev/null and b/SampleHelloUI/Resources/CloseSelected.png differ diff --git a/SampleHelloUI/Resources/HelloWorld.png b/SampleHelloUI/Resources/HelloWorld.png new file mode 100644 index 0000000..5fe89fb Binary files /dev/null and b/SampleHelloUI/Resources/HelloWorld.png differ diff --git a/SampleHelloUI/Resources/cocosgui/CloseNormal.png b/SampleHelloUI/Resources/cocosgui/CloseNormal.png new file mode 100644 index 0000000..5657a13 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/CloseNormal.png differ diff --git a/SampleHelloUI/Resources/cocosgui/CloseSelected.png b/SampleHelloUI/Resources/cocosgui/CloseSelected.png new file mode 100644 index 0000000..e4c82da Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/CloseSelected.png differ diff --git a/SampleHelloUI/Resources/cocosgui/CocoGUISample.json b/SampleHelloUI/Resources/cocosgui/CocoGUISample.json new file mode 100644 index 0000000..768b401 --- /dev/null +++ b/SampleHelloUI/Resources/cocosgui/CocoGUISample.json @@ -0,0 +1,397 @@ +{ + "version" : 1.0, + "textures" : [], + "designWidth" : 480.0, + "designHeight" : 320.0, + "widgetTree" : + { + "classname" : "Panel", + "options" : + { + "width" : 480, + "height" : 320 + }, + "children" : + [ + { + "classname" : "ScrollView", + "options" : + { + "x" : 330, + "y" : 220, + "width" : 150, + "height" : 100, + "backGroundScale9Enable" : true, + "clipAble" : true, + "touchAble" : true, + "backGroundImage" : "scrollviewbg.png", + "name" : "scrollview" + }, + "children" : + [ + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 260, + "text" : "Anchor:" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 240, + "text" : "Eddy" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 220, + "text" : "Nutty" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 200, + "text" : "Liam" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 180, + "text" : "Guanqiang" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 160, + "text" : "youyouyou" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 140, + "text" : "jxh" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 120, + "text" : "chengstory" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 100, + "text" : "houlong" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 80, + "text" : "pipu" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 60, + "text" : "huangwei" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 40, + "text" : "xiexin" + }, + "children" : [] + }, + { + "classname" : "TextButton", + "options" : { + "x" : 75, + "y" : 20, + "text" : "返回顶部", + "normal" : "backtotopnormal.png", + "pressed" : "backtotoppressed.png", + "disabled" : "backtotoppressed.png", + "touchAble" : true, + "name" : "backtotopbutton" + }, + "children" : [] + } + ] + }, +// { +// "classname" : "ListView", +// "options" : +// { +// "x" : 330, +// "y" : 80, +// "width" : 150, +// "height" : 100, +// "backGroundScale9Enable" : true, +// "clipAble" : true, +// "touchAble" : true, +// "backGroundImage" : "scrollviewbg.png", +// "name" : "listview" +// }, +// "children" : [] +// }, + { + "classname" : "Label", + "options" : + { + "x" : 405, + "y" : 70, + "text" : "列表层", + "touchAble" : true, + "touchSacleEnable" : true + }, + "children" :[] + }, + { + "classname" : "ImageView", + "options" : + { + "x" : 30, + "y" : 290, + "fileName" : "ccicon.png", + "scale9Enable" : false, + "capInsetsX" : 20, + "capInsetsY" : 20, + "capInsetsWidth" : 10, + "capInsetsHeight" : 10, + "scale9Width" : 120, + "scale9Height" : 80, + "flipX" : false, + "flipY" : false, + "name" : "imageview" + }, + "children" :[] + }, + { + "classname" : "Label", + "options" : + { + "x" : 70, + "y" : 300, + "gravity" : 1, + "text" : "name : Cocos" + }, + "children" :[] + }, + { + "classname" : "Label", + "options" : + { + "x" : 70, + "y" : 280, + "gravity" : 1, + "text" : "money : " + }, + "children" :[] + }, + { + "classname" : "LabelAtlas", + "options" : + { + "x" : 150, + "y" : 270, + "stringValue" : "3256", + "charMapFile" : "labelatlas.png", + "itemWidth" : 17, + "itemHeight" : 22, + "startCharMap" : "0" + }, + "children" :[] + }, + { + "classname" : "LoadingBar", + "options" : + { + "x" : 70, + "y" : 200, + "texture" : "loadingbar.png", + "percent" : 50, + "name" : "loadingbar" + }, + "children" :[] + }, + { + "classname" : "Slider", + "options" : + { + "x" : 70, + "y" : 160, + "barFileName" : "slidbar.png", + "ballNormal" : "sliderballnormal.png", + "ballPressed" :"sliderballpressed.png", + "percent" : 50, + "showProgressBar" : true, + "progressBarFileName" : "slider_bar_active_9patch.png", + "touchAble" : true, + "name" : "slider" + }, + "children" :[] + }, + { + "classname" : "Label", + "options" : + { + "x" : 70, + "y" : 230, + "text" : "播放速度", + "touchAble" : true, + "touchSacleEnable" : true + }, + "children" :[] + }, + { + "classname" : "Label", + "options" : + { + "x" : 405, + "y" : 210, + "text" : "滚动层", + "touchAble" : true, + "touchSacleEnable" : true + }, + "children" :[] + }, + { + "classname" : "CheckBox", + "options" : + { + "x" : 250, + "y" : 290, + "backGroundBox" : "check_box_normal.png", + "backGroundBoxSelected" : "check_box_normal_press.png", + "frontCross" : "check_box_active.png", + "backGroundBoxDisabled" : "check_box_normal_disable.png", + "frontCrossDisabled" : "check_box_active_disable.png", + "touchAble" : true, + "name" : "checkbox" + }, + "children" :[] + }, + { + "classname" : "Label", + "options" : + { + "x" : 250, + "y" : 268, + "text" : "复选框", + "touchAble" : true, + "touchSacleEnable" : true + }, + "children" :[] + }, + /* + { + "classname" : "Button", + "options" : + { + "x" : 127, + "y" : 96, + "normal" : "animationbuttonnormal.png", + "pressed" : "animationbuttonpressed.png", + "touchAble" : true, + "name" : "animationbutton" + }, + "children" :[] + }, + { + "classname" : "Label", + "options" : + { + "x" : 127, + "y" : 70, + "text" : "点我播放ui动画", + "touchAble" : true, + "touchSacleEnable" : true, + "name" : "animationlabel" + }, + "children" :[] + }, + */ + { + "classname" : "TextField", + "options" : + { + "x" : 240, + "y" : 200, + "fontSize" : 20, + "placeHolder" : "TextField", + "touchAble" : true, + "colorR" : 0, + "colorG" : 255, + "colorB" : 0, + "name" : "textfield" + }, + "children" :[] + }, + { + "classname" : "Label", + "options" : + { + "x" : 240, + "y" : 130, + "text" : "", + "touchAble" : false, + "touchSacleEnable" : false + }, + "children" :[] + }, + { + "classname" : "Button", + "options" : + { + "x" : 430, + "y" : 40, + "colorR" : 0, + "colorG" : 255, + "colorB" : 0, + "touchAble" : true, + "touchSacleEnable" : true, + "name" : "exitbutton", + "normal" : "CloseNormal.png", + "pressed" : "CloseSelected.png" + }, + "children" :[] + } + ] + } + +} \ No newline at end of file diff --git a/SampleHelloUI/Resources/cocosgui/CocoGUI_PageView_Sample.json b/SampleHelloUI/Resources/cocosgui/CocoGUI_PageView_Sample.json new file mode 100644 index 0000000..9969877 --- /dev/null +++ b/SampleHelloUI/Resources/cocosgui/CocoGUI_PageView_Sample.json @@ -0,0 +1,49 @@ +{ + "version" : 1.0, + "textures" : [], + "designWidth" : 480.0, + "designHeight" : 320.0, + "widgetTree" : { + "classname" : "Panel", + "options" : + { + "width" : 480, + "height" : 320, + "name" : "panel" + }, + "children" : + [ + { + "classname" : "PageView", + "options" : + { + "x" : 140, + "y" : 80, + "width" : 240, + "height" : 160, + "backGroundScale9Enable" : false, + "clipAble" : true, + "touchAble" : true, + "backGroundImage" : "HelloWorld.png", + "name" : "pageview" + }, + "children" :[] + }, + { + "classname" : "Button", + "options" : + { + "x" : 430, + "y" : 40, + "touchAble" : true, + "touchSacleEnable" : true, + "name" : "exitbutton", + "normal" : "UIRES/CloseNormal.png", + "pressed" : "UIRES/CloseSelected.png" + }, + "children" :[] + } + ] + } + +} \ No newline at end of file diff --git a/SampleHelloUI/Resources/cocosgui/Hello.png b/SampleHelloUI/Resources/cocosgui/Hello.png new file mode 100644 index 0000000..5fe89fb Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/Hello.png differ diff --git a/SampleHelloUI/Resources/cocosgui/Marker Felt.ttf b/SampleHelloUI/Resources/cocosgui/Marker Felt.ttf new file mode 100644 index 0000000..3752ef3 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/Marker Felt.ttf differ diff --git a/SampleHelloUI/Resources/cocosgui/UITest/UITest.json b/SampleHelloUI/Resources/cocosgui/UITest/UITest.json new file mode 100644 index 0000000..3712068 --- /dev/null +++ b/SampleHelloUI/Resources/cocosgui/UITest/UITest.json @@ -0,0 +1,446 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "0.3.2.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 1, + "actiontag": 109, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 82, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 263, + "yProportion": 0.821875, + "backGroundImage": null, + "backGroundImageData": { + "path": "ribbon.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 66.6666641, + "capInsetsWidth": 66.6666641, + "capInsetsX": 66.6666641, + "capInsetsY": 66.6666641, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "UItest", + "ZOrder": 1, + "actiontag": 115, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 20, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 88, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 70, + "x": 240, + "xProportion": 0.5, + "y": 307, + "yProportion": 0.959375, + "fontName": "SongTypeFont", + "fontSize": 20, + "fontType": 0, + "text": "UI_test", + "touchSacleEnable": false + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "right_Button", + "ZOrder": 5, + "actiontag": 113, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 86, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 338, + "xProportion": 0.704166651, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "f1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "left_Button", + "ZOrder": 4, + "actiontag": 112, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 85, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 142, + "xProportion": 0.295833319, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "b1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "middle_Button", + "ZOrder": 3, + "actiontag": 111, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 84, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 49, + "x": 240, + "xProportion": 0.5, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 16.333334, + "capInsetsX": 16.333334, + "capInsetsY": 15.666667, + "disabled": null, + "disabledData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "r1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 49 + } + }, + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "background_Panel", + "ZOrder": 2, + "actiontag": 110, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 170, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 83, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 300, + "x": 90, + "xProportion": 0.1875, + "y": 75, + "yProportion": 0.234375, + "backGroundImage": null, + "backGroundImageData": { + "path": "buttonBackground.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "back", + "ZOrder": 6, + "actiontag": 114, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 24, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 87, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 48, + "x": 430, + "xProportion": 0.8958333, + "y": 30, + "yProportion": 0.09375, + "fontName": "SongTypeFont", + "fontSize": 24, + "fontType": 0, + "text": "Back", + "touchSacleEnable": true + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "root_Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 81, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": { + "path": "background.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 255, + "bgColorOpacity": 255, + "bgColorR": 255, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 106.666664, + "capInsetsWidth": 160, + "capInsetsX": 160, + "capInsetsY": 106.666664, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/SampleHelloUI/Resources/cocosgui/UITest/b1.png b/SampleHelloUI/Resources/cocosgui/UITest/b1.png new file mode 100644 index 0000000..547e1c7 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/UITest/b1.png differ diff --git a/SampleHelloUI/Resources/cocosgui/UITest/b2.png b/SampleHelloUI/Resources/cocosgui/UITest/b2.png new file mode 100644 index 0000000..2818054 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/UITest/b2.png differ diff --git a/SampleHelloUI/Resources/cocosgui/UITest/background.png b/SampleHelloUI/Resources/cocosgui/UITest/background.png new file mode 100644 index 0000000..500d959 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/UITest/background.png differ diff --git a/SampleHelloUI/Resources/cocosgui/UITest/buttonBackground.png b/SampleHelloUI/Resources/cocosgui/UITest/buttonBackground.png new file mode 100644 index 0000000..a467061 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/UITest/buttonBackground.png differ diff --git a/SampleHelloUI/Resources/cocosgui/UITest/f1.png b/SampleHelloUI/Resources/cocosgui/UITest/f1.png new file mode 100644 index 0000000..4fd7bdb Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/UITest/f1.png differ diff --git a/SampleHelloUI/Resources/cocosgui/UITest/f2.png b/SampleHelloUI/Resources/cocosgui/UITest/f2.png new file mode 100644 index 0000000..e752eda Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/UITest/f2.png differ diff --git a/SampleHelloUI/Resources/cocosgui/UITest/r1.png b/SampleHelloUI/Resources/cocosgui/UITest/r1.png new file mode 100644 index 0000000..827a772 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/UITest/r1.png differ diff --git a/SampleHelloUI/Resources/cocosgui/UITest/r2.png b/SampleHelloUI/Resources/cocosgui/UITest/r2.png new file mode 100644 index 0000000..727a1c6 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/UITest/r2.png differ diff --git a/SampleHelloUI/Resources/cocosgui/UITest/ribbon.png b/SampleHelloUI/Resources/cocosgui/UITest/ribbon.png new file mode 100644 index 0000000..b80fb94 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/UITest/ribbon.png differ diff --git a/SampleHelloUI/Resources/cocosgui/animationbuttonnormal.png b/SampleHelloUI/Resources/cocosgui/animationbuttonnormal.png new file mode 100644 index 0000000..54ade0d Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/animationbuttonnormal.png differ diff --git a/SampleHelloUI/Resources/cocosgui/animationbuttonpressed.png b/SampleHelloUI/Resources/cocosgui/animationbuttonpressed.png new file mode 100644 index 0000000..ca78a26 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/animationbuttonpressed.png differ diff --git a/SampleHelloUI/Resources/cocosgui/arrow.png b/SampleHelloUI/Resources/cocosgui/arrow.png new file mode 100644 index 0000000..6961527 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/arrow.png differ diff --git a/SampleHelloUI/Resources/cocosgui/b11.png b/SampleHelloUI/Resources/cocosgui/b11.png new file mode 100644 index 0000000..3917965 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/b11.png differ diff --git a/SampleHelloUI/Resources/cocosgui/backtotopnormal.png b/SampleHelloUI/Resources/cocosgui/backtotopnormal.png new file mode 100644 index 0000000..b9c77c2 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/backtotopnormal.png differ diff --git a/SampleHelloUI/Resources/cocosgui/backtotoppressed.png b/SampleHelloUI/Resources/cocosgui/backtotoppressed.png new file mode 100644 index 0000000..98845fb Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/backtotoppressed.png differ diff --git a/SampleHelloUI/Resources/cocosgui/bitmapFontTest2.fnt b/SampleHelloUI/Resources/cocosgui/bitmapFontTest2.fnt new file mode 100644 index 0000000..d0814a0 --- /dev/null +++ b/SampleHelloUI/Resources/cocosgui/bitmapFontTest2.fnt @@ -0,0 +1,188 @@ +info face="Ardour3DGM" size=96 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 +common lineHeight=104 base=26 scaleW=1024 scaleH=512 pages=1 packed=0 +page id=0 file="bitmapFontTest2.png" +chars count=94 +char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=75 xadvance=30 page=0 chnl=0 +char id=125 x=0 y=0 width=34 height=90 xoffset=1 yoffset=10 xadvance=30 page=0 chnl=0 +char id=123 x=34 y=0 width=34 height=90 xoffset=1 yoffset=10 xadvance=30 page=0 chnl=0 +char id=93 x=68 y=0 width=35 height=90 xoffset=1 yoffset=10 xadvance=31 page=0 chnl=0 +char id=91 x=103 y=0 width=35 height=90 xoffset=1 yoffset=10 xadvance=31 page=0 chnl=0 +char id=41 x=138 y=0 width=28 height=90 xoffset=1 yoffset=10 xadvance=24 page=0 chnl=0 +char id=40 x=166 y=0 width=26 height=90 xoffset=1 yoffset=10 xadvance=24 page=0 chnl=0 +char id=124 x=192 y=0 width=21 height=89 xoffset=1 yoffset=13 xadvance=17 page=0 chnl=0 +char id=106 x=213 y=0 width=37 height=79 xoffset=-7 yoffset=21 xadvance=18 page=0 chnl=0 +char id=81 x=250 y=0 width=42 height=77 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=37 x=292 y=0 width=79 height=70 xoffset=1 yoffset=14 xadvance=75 page=0 chnl=0 +char id=92 x=371 y=0 width=57 height=70 xoffset=1 yoffset=14 xadvance=55 page=0 chnl=0 +char id=47 x=428 y=0 width=59 height=70 xoffset=1 yoffset=14 xadvance=55 page=0 chnl=0 +char id=52 x=487 y=0 width=49 height=70 xoffset=1 yoffset=13 xadvance=45 page=0 chnl=0 +char id=77 x=536 y=0 width=63 height=70 xoffset=1 yoffset=13 xadvance=59 page=0 chnl=0 +char id=55 x=599 y=0 width=55 height=69 xoffset=1 yoffset=15 xadvance=51 page=0 chnl=0 +char id=121 x=654 y=0 width=40 height=69 xoffset=1 yoffset=31 xadvance=38 page=0 chnl=0 +char id=113 x=694 y=0 width=41 height=69 xoffset=1 yoffset=32 xadvance=37 page=0 chnl=0 +char id=112 x=735 y=0 width=41 height=69 xoffset=1 yoffset=32 xadvance=37 page=0 chnl=0 +char id=108 x=776 y=0 width=21 height=69 xoffset=1 yoffset=14 xadvance=17 page=0 chnl=0 +char id=107 x=797 y=0 width=41 height=69 xoffset=1 yoffset=14 xadvance=37 page=0 chnl=0 +char id=104 x=838 y=0 width=41 height=69 xoffset=1 yoffset=14 xadvance=37 page=0 chnl=0 +char id=89 x=879 y=0 width=42 height=69 xoffset=1 yoffset=14 xadvance=38 page=0 chnl=0 +char id=88 x=921 y=0 width=42 height=69 xoffset=1 yoffset=14 xadvance=38 page=0 chnl=0 +char id=78 x=963 y=0 width=43 height=69 xoffset=1 yoffset=14 xadvance=39 page=0 chnl=0 +char id=75 x=0 y=90 width=43 height=69 xoffset=1 yoffset=14 xadvance=39 page=0 chnl=0 +char id=72 x=43 y=90 width=42 height=69 xoffset=1 yoffset=14 xadvance=38 page=0 chnl=0 +char id=49 x=85 y=90 width=33 height=68 xoffset=1 yoffset=14 xadvance=29 page=0 chnl=0 +char id=103 x=118 y=90 width=40 height=68 xoffset=1 yoffset=32 xadvance=38 page=0 chnl=0 +char id=102 x=158 y=90 width=33 height=68 xoffset=1 yoffset=15 xadvance=29 page=0 chnl=0 +char id=100 x=191 y=90 width=41 height=68 xoffset=1 yoffset=14 xadvance=37 page=0 chnl=0 +char id=98 x=232 y=90 width=41 height=68 xoffset=1 yoffset=14 xadvance=37 page=0 chnl=0 +char id=87 x=273 y=90 width=62 height=68 xoffset=1 yoffset=14 xadvance=58 page=0 chnl=0 +char id=86 x=335 y=90 width=40 height=68 xoffset=1 yoffset=14 xadvance=38 page=0 chnl=0 +char id=85 x=375 y=90 width=42 height=68 xoffset=1 yoffset=14 xadvance=38 page=0 chnl=0 +char id=84 x=417 y=90 width=56 height=68 xoffset=1 yoffset=15 xadvance=52 page=0 chnl=0 +char id=82 x=473 y=90 width=42 height=68 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=80 x=515 y=90 width=42 height=68 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=76 x=557 y=90 width=43 height=68 xoffset=1 yoffset=14 xadvance=39 page=0 chnl=0 +char id=74 x=600 y=90 width=42 height=68 xoffset=1 yoffset=14 xadvance=38 page=0 chnl=0 +char id=70 x=642 y=90 width=41 height=68 xoffset=1 yoffset=15 xadvance=37 page=0 chnl=0 +char id=65 x=683 y=90 width=41 height=68 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=38 x=724 y=90 width=45 height=67 xoffset=1 yoffset=15 xadvance=41 page=0 chnl=0 +char id=36 x=769 y=90 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=63 x=811 y=90 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=48 x=853 y=90 width=45 height=67 xoffset=1 yoffset=15 xadvance=43 page=0 chnl=0 +char id=57 x=898 y=90 width=40 height=67 xoffset=2 yoffset=15 xadvance=37 page=0 chnl=0 +char id=56 x=938 y=90 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=54 x=980 y=90 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=53 x=0 y=159 width=43 height=67 xoffset=1 yoffset=15 xadvance=39 page=0 chnl=0 +char id=51 x=43 y=159 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=50 x=85 y=159 width=43 height=67 xoffset=1 yoffset=15 xadvance=39 page=0 chnl=0 +char id=90 x=128 y=159 width=45 height=67 xoffset=1 yoffset=15 xadvance=43 page=0 chnl=0 +char id=83 x=173 y=159 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=79 x=215 y=159 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=73 x=257 y=159 width=30 height=67 xoffset=1 yoffset=15 xadvance=26 page=0 chnl=0 +char id=71 x=287 y=159 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=69 x=329 y=159 width=41 height=67 xoffset=1 yoffset=15 xadvance=37 page=0 chnl=0 +char id=68 x=370 y=159 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=67 x=412 y=159 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=66 x=454 y=159 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=33 x=496 y=159 width=22 height=66 xoffset=1 yoffset=16 xadvance=18 page=0 chnl=0 +char id=64 x=518 y=159 width=68 height=62 xoffset=1 yoffset=19 xadvance=66 page=0 chnl=0 +char id=116 x=586 y=159 width=31 height=62 xoffset=1 yoffset=21 xadvance=27 page=0 chnl=0 +char id=105 x=617 y=159 width=22 height=62 xoffset=1 yoffset=21 xadvance=18 page=0 chnl=0 +char id=59 x=639 y=159 width=22 height=57 xoffset=1 yoffset=34 xadvance=18 page=0 chnl=0 +char id=117 x=661 y=159 width=40 height=52 xoffset=1 yoffset=31 xadvance=38 page=0 chnl=0 +char id=110 x=701 y=159 width=40 height=52 xoffset=1 yoffset=32 xadvance=38 page=0 chnl=0 +char id=109 x=741 y=159 width=60 height=52 xoffset=1 yoffset=32 xadvance=58 page=0 chnl=0 +char id=120 x=801 y=159 width=40 height=51 xoffset=1 yoffset=32 xadvance=38 page=0 chnl=0 +char id=114 x=841 y=159 width=41 height=51 xoffset=1 yoffset=32 xadvance=37 page=0 chnl=0 +char id=97 x=882 y=159 width=41 height=51 xoffset=1 yoffset=32 xadvance=37 page=0 chnl=0 +char id=35 x=923 y=159 width=56 height=50 xoffset=1 yoffset=24 xadvance=52 page=0 chnl=0 +char id=119 x=0 y=226 width=62 height=50 xoffset=1 yoffset=32 xadvance=58 page=0 chnl=0 +char id=118 x=62 y=226 width=40 height=50 xoffset=1 yoffset=32 xadvance=38 page=0 chnl=0 +char id=122 x=102 y=226 width=43 height=49 xoffset=1 yoffset=33 xadvance=39 page=0 chnl=0 +char id=115 x=145 y=226 width=40 height=49 xoffset=1 yoffset=33 xadvance=36 page=0 chnl=0 +char id=111 x=185 y=226 width=40 height=49 xoffset=1 yoffset=33 xadvance=38 page=0 chnl=0 +char id=101 x=225 y=226 width=40 height=49 xoffset=1 yoffset=33 xadvance=38 page=0 chnl=0 +char id=99 x=265 y=226 width=40 height=49 xoffset=1 yoffset=33 xadvance=38 page=0 chnl=0 +char id=58 x=305 y=226 width=22 height=48 xoffset=1 yoffset=34 xadvance=18 page=0 chnl=0 +char id=42 x=327 y=226 width=32 height=34 xoffset=1 yoffset=16 xadvance=30 page=0 chnl=0 +char id=62 x=359 y=226 width=39 height=34 xoffset=1 yoffset=40 xadvance=35 page=0 chnl=0 +char id=60 x=398 y=226 width=38 height=34 xoffset=1 yoffset=40 xadvance=34 page=0 chnl=0 +char id=43 x=436 y=226 width=43 height=32 xoffset=1 yoffset=41 xadvance=39 page=0 chnl=0 +char id=44 x=479 y=226 width=22 height=25 xoffset=1 yoffset=66 xadvance=18 page=0 chnl=0 +char id=39 x=501 y=226 width=17 height=24 xoffset=1 yoffset=15 xadvance=15 page=0 chnl=0 +char id=96 x=518 y=226 width=24 height=24 xoffset=1 yoffset=15 xadvance=22 page=0 chnl=0 +char id=34 x=542 y=226 width=33 height=24 xoffset=1 yoffset=15 xadvance=29 page=0 chnl=0 +char id=94 x=575 y=226 width=38 height=23 xoffset=1 yoffset=16 xadvance=34 page=0 chnl=0 +char id=126 x=613 y=226 width=47 height=22 xoffset=1 yoffset=25 xadvance=43 page=0 chnl=0 +char id=61 x=660 y=226 width=44 height=22 xoffset=1 yoffset=47 xadvance=40 page=0 chnl=0 +char id=46 x=704 y=226 width=22 height=16 xoffset=1 yoffset=66 xadvance=18 page=0 chnl=0 +char id=45 x=726 y=226 width=37 height=13 xoffset=1 yoffset=51 xadvance=33 page=0 chnl=0 +char id=95 x=763 y=226 width=46 height=12 xoffset=1 yoffset=85 xadvance=42 page=0 chnl=0 +kernings count=87 +kerning first=121 second=44 amount=-7 +kerning first=121 second=46 amount=-7 +kerning first=89 second=44 amount=-12 +kerning first=89 second=45 amount=-9 +kerning first=89 second=46 amount=-12 +kerning first=89 second=58 amount=-5 +kerning first=89 second=59 amount=-6 +kerning first=89 second=65 amount=-7 +kerning first=89 second=97 amount=-7 +kerning first=89 second=101 amount=-9 +kerning first=89 second=105 amount=-3 +kerning first=89 second=111 amount=-9 +kerning first=89 second=112 amount=-7 +kerning first=89 second=113 amount=-9 +kerning first=89 second=117 amount=-5 +kerning first=89 second=118 amount=-5 +kerning first=49 second=49 amount=-7 +kerning first=102 second=102 amount=-2 +kerning first=87 second=44 amount=-5 +kerning first=87 second=45 amount=-2 +kerning first=87 second=46 amount=-5 +kerning first=87 second=58 amount=-2 +kerning first=87 second=59 amount=-2 +kerning first=87 second=65 amount=-3 +kerning first=87 second=97 amount=-3 +kerning first=87 second=101 amount=-2 +kerning first=87 second=111 amount=-2 +kerning first=87 second=114 amount=-2 +kerning first=87 second=117 amount=-2 +kerning first=87 second=121 amount=-1 +kerning first=86 second=44 amount=-9 +kerning first=86 second=45 amount=-5 +kerning first=86 second=46 amount=-9 +kerning first=86 second=58 amount=-3 +kerning first=86 second=59 amount=-3 +kerning first=86 second=65 amount=-7 +kerning first=86 second=97 amount=-7 +kerning first=86 second=101 amount=-5 +kerning first=86 second=105 amount=-2 +kerning first=86 second=111 amount=-5 +kerning first=86 second=114 amount=-3 +kerning first=86 second=117 amount=-3 +kerning first=86 second=121 amount=-3 +kerning first=84 second=44 amount=-10 +kerning first=84 second=45 amount=-5 +kerning first=84 second=46 amount=-10 +kerning first=84 second=58 amount=-10 +kerning first=84 second=59 amount=-10 +kerning first=84 second=65 amount=-7 +kerning first=84 second=79 amount=-2 +kerning first=84 second=97 amount=-10 +kerning first=84 second=99 amount=-10 +kerning first=84 second=101 amount=-10 +kerning first=84 second=105 amount=-3 +kerning first=84 second=111 amount=-10 +kerning first=84 second=114 amount=-3 +kerning first=84 second=115 amount=-10 +kerning first=84 second=117 amount=-3 +kerning first=84 second=119 amount=-5 +kerning first=84 second=121 amount=-5 +kerning first=82 second=84 amount=-2 +kerning first=82 second=86 amount=-2 +kerning first=82 second=87 amount=-2 +kerning first=82 second=89 amount=-2 +kerning first=80 second=44 amount=-12 +kerning first=80 second=46 amount=-12 +kerning first=80 second=65 amount=-7 +kerning first=76 second=84 amount=-7 +kerning first=76 second=86 amount=-7 +kerning first=76 second=87 amount=-7 +kerning first=76 second=89 amount=-7 +kerning first=76 second=121 amount=-3 +kerning first=70 second=44 amount=-10 +kerning first=70 second=46 amount=-10 +kerning first=70 second=65 amount=-5 +kerning first=65 second=84 amount=-7 +kerning first=65 second=86 amount=-7 +kerning first=65 second=87 amount=-3 +kerning first=65 second=89 amount=-7 +kerning first=65 second=118 amount=-2 +kerning first=65 second=119 amount=-2 +kerning first=65 second=121 amount=-2 +kerning first=114 second=44 amount=-5 +kerning first=114 second=46 amount=-5 +kerning first=119 second=44 amount=-5 +kerning first=119 second=46 amount=-5 +kerning first=118 second=44 amount=-7 +kerning first=118 second=46 amount=-7 diff --git a/SampleHelloUI/Resources/cocosgui/bitmapFontTest2.png b/SampleHelloUI/Resources/cocosgui/bitmapFontTest2.png new file mode 100644 index 0000000..9975e49 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/bitmapFontTest2.png differ diff --git a/SampleHelloUI/Resources/cocosgui/button.png b/SampleHelloUI/Resources/cocosgui/button.png new file mode 100644 index 0000000..816cf6e Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/button.png differ diff --git a/SampleHelloUI/Resources/cocosgui/buttonHighlighted.png b/SampleHelloUI/Resources/cocosgui/buttonHighlighted.png new file mode 100644 index 0000000..f2073e8 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/buttonHighlighted.png differ diff --git a/SampleHelloUI/Resources/cocosgui/ccicon.png b/SampleHelloUI/Resources/cocosgui/ccicon.png new file mode 100644 index 0000000..5b4afb1 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/ccicon.png differ diff --git a/SampleHelloUI/Resources/cocosgui/check_box_active.png b/SampleHelloUI/Resources/cocosgui/check_box_active.png new file mode 100644 index 0000000..f50960b Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/check_box_active.png differ diff --git a/SampleHelloUI/Resources/cocosgui/check_box_active_disable.png b/SampleHelloUI/Resources/cocosgui/check_box_active_disable.png new file mode 100644 index 0000000..b5c41dc Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/check_box_active_disable.png differ diff --git a/SampleHelloUI/Resources/cocosgui/check_box_active_press.png b/SampleHelloUI/Resources/cocosgui/check_box_active_press.png new file mode 100644 index 0000000..aad95c0 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/check_box_active_press.png differ diff --git a/SampleHelloUI/Resources/cocosgui/check_box_normal.png b/SampleHelloUI/Resources/cocosgui/check_box_normal.png new file mode 100644 index 0000000..1b2a4eb Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/check_box_normal.png differ diff --git a/SampleHelloUI/Resources/cocosgui/check_box_normal_disable.png b/SampleHelloUI/Resources/cocosgui/check_box_normal_disable.png new file mode 100644 index 0000000..0d68bd4 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/check_box_normal_disable.png differ diff --git a/SampleHelloUI/Resources/cocosgui/check_box_normal_press.png b/SampleHelloUI/Resources/cocosgui/check_box_normal_press.png new file mode 100644 index 0000000..0c5d641 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/check_box_normal_press.png differ diff --git a/SampleHelloUI/Resources/cocosgui/green_edit.png b/SampleHelloUI/Resources/cocosgui/green_edit.png new file mode 100644 index 0000000..f3b22a4 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/green_edit.png differ diff --git a/SampleHelloUI/Resources/cocosgui/grossini-aliases.png b/SampleHelloUI/Resources/cocosgui/grossini-aliases.png new file mode 100644 index 0000000..5672efb Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/grossini-aliases.png differ diff --git a/SampleHelloUI/Resources/cocosgui/labelatlas.png b/SampleHelloUI/Resources/cocosgui/labelatlas.png new file mode 100644 index 0000000..a00bfb7 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/labelatlas.png differ diff --git a/SampleHelloUI/Resources/cocosgui/loadingbar.png b/SampleHelloUI/Resources/cocosgui/loadingbar.png new file mode 100644 index 0000000..124a400 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/loadingbar.png differ diff --git a/SampleHelloUI/Resources/cocosgui/scrollviewbg.png b/SampleHelloUI/Resources/cocosgui/scrollviewbg.png new file mode 100644 index 0000000..fc9bb01 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/scrollviewbg.png differ diff --git a/SampleHelloUI/Resources/cocosgui/slidbar.png b/SampleHelloUI/Resources/cocosgui/slidbar.png new file mode 100644 index 0000000..9ef2afc Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/slidbar.png differ diff --git a/SampleHelloUI/Resources/cocosgui/sliderProgress.png b/SampleHelloUI/Resources/cocosgui/sliderProgress.png new file mode 100644 index 0000000..81d5173 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/sliderProgress.png differ diff --git a/SampleHelloUI/Resources/cocosgui/sliderProgress2.png b/SampleHelloUI/Resources/cocosgui/sliderProgress2.png new file mode 100644 index 0000000..3b8794e Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/sliderProgress2.png differ diff --git a/SampleHelloUI/Resources/cocosgui/sliderThumb.png b/SampleHelloUI/Resources/cocosgui/sliderThumb.png new file mode 100644 index 0000000..901803d Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/sliderThumb.png differ diff --git a/SampleHelloUI/Resources/cocosgui/sliderTrack.png b/SampleHelloUI/Resources/cocosgui/sliderTrack.png new file mode 100644 index 0000000..59b8dc9 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/sliderTrack.png differ diff --git a/SampleHelloUI/Resources/cocosgui/sliderTrack2.png b/SampleHelloUI/Resources/cocosgui/sliderTrack2.png new file mode 100644 index 0000000..dbc3173 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/sliderTrack2.png differ diff --git a/SampleHelloUI/Resources/cocosgui/slider_bar_active_9patch.png b/SampleHelloUI/Resources/cocosgui/slider_bar_active_9patch.png new file mode 100644 index 0000000..23026e5 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/slider_bar_active_9patch.png differ diff --git a/SampleHelloUI/Resources/cocosgui/sliderballnormal.png b/SampleHelloUI/Resources/cocosgui/sliderballnormal.png new file mode 100644 index 0000000..ddda685 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/sliderballnormal.png differ diff --git a/SampleHelloUI/Resources/cocosgui/sliderballpressed.png b/SampleHelloUI/Resources/cocosgui/sliderballpressed.png new file mode 100644 index 0000000..ba846bc Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/sliderballpressed.png differ diff --git a/SampleHelloUI/Resources/cocosgui/switch-mask.png b/SampleHelloUI/Resources/cocosgui/switch-mask.png new file mode 100644 index 0000000..5712267 Binary files /dev/null and b/SampleHelloUI/Resources/cocosgui/switch-mask.png differ diff --git a/SampleHelloUI/Resources/fonts/Marker Felt.ttf b/SampleHelloUI/Resources/fonts/Marker Felt.ttf new file mode 100644 index 0000000..3752ef3 Binary files /dev/null and b/SampleHelloUI/Resources/fonts/Marker Felt.ttf differ diff --git a/SampleHelloUI/Resources/hd/Hello.png b/SampleHelloUI/Resources/hd/Hello.png new file mode 100644 index 0000000..a6e5d94 Binary files /dev/null and b/SampleHelloUI/Resources/hd/Hello.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/CloseNormal.png b/SampleHelloUI/Resources/hd/cocosgui/CloseNormal.png new file mode 100644 index 0000000..5657a13 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/CloseNormal.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/CloseSelected.png b/SampleHelloUI/Resources/hd/cocosgui/CloseSelected.png new file mode 100644 index 0000000..e4c82da Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/CloseSelected.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/CocoGUISample.json b/SampleHelloUI/Resources/hd/cocosgui/CocoGUISample.json new file mode 100644 index 0000000..768b401 --- /dev/null +++ b/SampleHelloUI/Resources/hd/cocosgui/CocoGUISample.json @@ -0,0 +1,397 @@ +{ + "version" : 1.0, + "textures" : [], + "designWidth" : 480.0, + "designHeight" : 320.0, + "widgetTree" : + { + "classname" : "Panel", + "options" : + { + "width" : 480, + "height" : 320 + }, + "children" : + [ + { + "classname" : "ScrollView", + "options" : + { + "x" : 330, + "y" : 220, + "width" : 150, + "height" : 100, + "backGroundScale9Enable" : true, + "clipAble" : true, + "touchAble" : true, + "backGroundImage" : "scrollviewbg.png", + "name" : "scrollview" + }, + "children" : + [ + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 260, + "text" : "Anchor:" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 240, + "text" : "Eddy" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 220, + "text" : "Nutty" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 200, + "text" : "Liam" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 180, + "text" : "Guanqiang" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 160, + "text" : "youyouyou" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 140, + "text" : "jxh" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 120, + "text" : "chengstory" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 100, + "text" : "houlong" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 80, + "text" : "pipu" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 60, + "text" : "huangwei" + }, + "children" : [] + }, + { + "classname" : "Label", + "options" : { + "x" : 75, + "y" : 40, + "text" : "xiexin" + }, + "children" : [] + }, + { + "classname" : "TextButton", + "options" : { + "x" : 75, + "y" : 20, + "text" : "返回顶部", + "normal" : "backtotopnormal.png", + "pressed" : "backtotoppressed.png", + "disabled" : "backtotoppressed.png", + "touchAble" : true, + "name" : "backtotopbutton" + }, + "children" : [] + } + ] + }, +// { +// "classname" : "ListView", +// "options" : +// { +// "x" : 330, +// "y" : 80, +// "width" : 150, +// "height" : 100, +// "backGroundScale9Enable" : true, +// "clipAble" : true, +// "touchAble" : true, +// "backGroundImage" : "scrollviewbg.png", +// "name" : "listview" +// }, +// "children" : [] +// }, + { + "classname" : "Label", + "options" : + { + "x" : 405, + "y" : 70, + "text" : "列表层", + "touchAble" : true, + "touchSacleEnable" : true + }, + "children" :[] + }, + { + "classname" : "ImageView", + "options" : + { + "x" : 30, + "y" : 290, + "fileName" : "ccicon.png", + "scale9Enable" : false, + "capInsetsX" : 20, + "capInsetsY" : 20, + "capInsetsWidth" : 10, + "capInsetsHeight" : 10, + "scale9Width" : 120, + "scale9Height" : 80, + "flipX" : false, + "flipY" : false, + "name" : "imageview" + }, + "children" :[] + }, + { + "classname" : "Label", + "options" : + { + "x" : 70, + "y" : 300, + "gravity" : 1, + "text" : "name : Cocos" + }, + "children" :[] + }, + { + "classname" : "Label", + "options" : + { + "x" : 70, + "y" : 280, + "gravity" : 1, + "text" : "money : " + }, + "children" :[] + }, + { + "classname" : "LabelAtlas", + "options" : + { + "x" : 150, + "y" : 270, + "stringValue" : "3256", + "charMapFile" : "labelatlas.png", + "itemWidth" : 17, + "itemHeight" : 22, + "startCharMap" : "0" + }, + "children" :[] + }, + { + "classname" : "LoadingBar", + "options" : + { + "x" : 70, + "y" : 200, + "texture" : "loadingbar.png", + "percent" : 50, + "name" : "loadingbar" + }, + "children" :[] + }, + { + "classname" : "Slider", + "options" : + { + "x" : 70, + "y" : 160, + "barFileName" : "slidbar.png", + "ballNormal" : "sliderballnormal.png", + "ballPressed" :"sliderballpressed.png", + "percent" : 50, + "showProgressBar" : true, + "progressBarFileName" : "slider_bar_active_9patch.png", + "touchAble" : true, + "name" : "slider" + }, + "children" :[] + }, + { + "classname" : "Label", + "options" : + { + "x" : 70, + "y" : 230, + "text" : "播放速度", + "touchAble" : true, + "touchSacleEnable" : true + }, + "children" :[] + }, + { + "classname" : "Label", + "options" : + { + "x" : 405, + "y" : 210, + "text" : "滚动层", + "touchAble" : true, + "touchSacleEnable" : true + }, + "children" :[] + }, + { + "classname" : "CheckBox", + "options" : + { + "x" : 250, + "y" : 290, + "backGroundBox" : "check_box_normal.png", + "backGroundBoxSelected" : "check_box_normal_press.png", + "frontCross" : "check_box_active.png", + "backGroundBoxDisabled" : "check_box_normal_disable.png", + "frontCrossDisabled" : "check_box_active_disable.png", + "touchAble" : true, + "name" : "checkbox" + }, + "children" :[] + }, + { + "classname" : "Label", + "options" : + { + "x" : 250, + "y" : 268, + "text" : "复选框", + "touchAble" : true, + "touchSacleEnable" : true + }, + "children" :[] + }, + /* + { + "classname" : "Button", + "options" : + { + "x" : 127, + "y" : 96, + "normal" : "animationbuttonnormal.png", + "pressed" : "animationbuttonpressed.png", + "touchAble" : true, + "name" : "animationbutton" + }, + "children" :[] + }, + { + "classname" : "Label", + "options" : + { + "x" : 127, + "y" : 70, + "text" : "点我播放ui动画", + "touchAble" : true, + "touchSacleEnable" : true, + "name" : "animationlabel" + }, + "children" :[] + }, + */ + { + "classname" : "TextField", + "options" : + { + "x" : 240, + "y" : 200, + "fontSize" : 20, + "placeHolder" : "TextField", + "touchAble" : true, + "colorR" : 0, + "colorG" : 255, + "colorB" : 0, + "name" : "textfield" + }, + "children" :[] + }, + { + "classname" : "Label", + "options" : + { + "x" : 240, + "y" : 130, + "text" : "", + "touchAble" : false, + "touchSacleEnable" : false + }, + "children" :[] + }, + { + "classname" : "Button", + "options" : + { + "x" : 430, + "y" : 40, + "colorR" : 0, + "colorG" : 255, + "colorB" : 0, + "touchAble" : true, + "touchSacleEnable" : true, + "name" : "exitbutton", + "normal" : "CloseNormal.png", + "pressed" : "CloseSelected.png" + }, + "children" :[] + } + ] + } + +} \ No newline at end of file diff --git a/SampleHelloUI/Resources/hd/cocosgui/CocoGUI_PageView_Sample.json b/SampleHelloUI/Resources/hd/cocosgui/CocoGUI_PageView_Sample.json new file mode 100644 index 0000000..9969877 --- /dev/null +++ b/SampleHelloUI/Resources/hd/cocosgui/CocoGUI_PageView_Sample.json @@ -0,0 +1,49 @@ +{ + "version" : 1.0, + "textures" : [], + "designWidth" : 480.0, + "designHeight" : 320.0, + "widgetTree" : { + "classname" : "Panel", + "options" : + { + "width" : 480, + "height" : 320, + "name" : "panel" + }, + "children" : + [ + { + "classname" : "PageView", + "options" : + { + "x" : 140, + "y" : 80, + "width" : 240, + "height" : 160, + "backGroundScale9Enable" : false, + "clipAble" : true, + "touchAble" : true, + "backGroundImage" : "HelloWorld.png", + "name" : "pageview" + }, + "children" :[] + }, + { + "classname" : "Button", + "options" : + { + "x" : 430, + "y" : 40, + "touchAble" : true, + "touchSacleEnable" : true, + "name" : "exitbutton", + "normal" : "UIRES/CloseNormal.png", + "pressed" : "UIRES/CloseSelected.png" + }, + "children" :[] + } + ] + } + +} \ No newline at end of file diff --git a/SampleHelloUI/Resources/hd/cocosgui/Hello.png b/SampleHelloUI/Resources/hd/cocosgui/Hello.png new file mode 100644 index 0000000..a6e5d94 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/Hello.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/Marker Felt.ttf b/SampleHelloUI/Resources/hd/cocosgui/Marker Felt.ttf new file mode 100644 index 0000000..3752ef3 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/Marker Felt.ttf differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/UITest/UITest.json b/SampleHelloUI/Resources/hd/cocosgui/UITest/UITest.json new file mode 100644 index 0000000..3712068 --- /dev/null +++ b/SampleHelloUI/Resources/hd/cocosgui/UITest/UITest.json @@ -0,0 +1,446 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "0.3.2.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 1, + "actiontag": 109, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 82, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 263, + "yProportion": 0.821875, + "backGroundImage": null, + "backGroundImageData": { + "path": "ribbon.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 66.6666641, + "capInsetsWidth": 66.6666641, + "capInsetsX": 66.6666641, + "capInsetsY": 66.6666641, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "UItest", + "ZOrder": 1, + "actiontag": 115, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 20, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 88, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 70, + "x": 240, + "xProportion": 0.5, + "y": 307, + "yProportion": 0.959375, + "fontName": "SongTypeFont", + "fontSize": 20, + "fontType": 0, + "text": "UI_test", + "touchSacleEnable": false + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "right_Button", + "ZOrder": 5, + "actiontag": 113, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 86, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 338, + "xProportion": 0.704166651, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "f1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "left_Button", + "ZOrder": 4, + "actiontag": 112, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 85, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 142, + "xProportion": 0.295833319, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "b1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "middle_Button", + "ZOrder": 3, + "actiontag": 111, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 84, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 49, + "x": 240, + "xProportion": 0.5, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 16.333334, + "capInsetsX": 16.333334, + "capInsetsY": 15.666667, + "disabled": null, + "disabledData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "r1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 49 + } + }, + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "background_Panel", + "ZOrder": 2, + "actiontag": 110, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 170, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 83, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 300, + "x": 90, + "xProportion": 0.1875, + "y": 75, + "yProportion": 0.234375, + "backGroundImage": null, + "backGroundImageData": { + "path": "buttonBackground.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "back", + "ZOrder": 6, + "actiontag": 114, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 24, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 87, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 48, + "x": 430, + "xProportion": 0.8958333, + "y": 30, + "yProportion": 0.09375, + "fontName": "SongTypeFont", + "fontSize": 24, + "fontType": 0, + "text": "Back", + "touchSacleEnable": true + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "root_Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 81, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": { + "path": "background.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 255, + "bgColorOpacity": 255, + "bgColorR": 255, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 106.666664, + "capInsetsWidth": 160, + "capInsetsX": 160, + "capInsetsY": 106.666664, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/SampleHelloUI/Resources/hd/cocosgui/UITest/b1.png b/SampleHelloUI/Resources/hd/cocosgui/UITest/b1.png new file mode 100644 index 0000000..a3c16ad Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/UITest/b1.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/UITest/b2.png b/SampleHelloUI/Resources/hd/cocosgui/UITest/b2.png new file mode 100644 index 0000000..ffa527c Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/UITest/b2.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/UITest/background.png b/SampleHelloUI/Resources/hd/cocosgui/UITest/background.png new file mode 100644 index 0000000..eff519b Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/UITest/background.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/UITest/buttonBackground.png b/SampleHelloUI/Resources/hd/cocosgui/UITest/buttonBackground.png new file mode 100644 index 0000000..a467061 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/UITest/buttonBackground.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/UITest/f1.png b/SampleHelloUI/Resources/hd/cocosgui/UITest/f1.png new file mode 100644 index 0000000..606181f Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/UITest/f1.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/UITest/f2.png b/SampleHelloUI/Resources/hd/cocosgui/UITest/f2.png new file mode 100644 index 0000000..8cd548b Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/UITest/f2.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/UITest/r1.png b/SampleHelloUI/Resources/hd/cocosgui/UITest/r1.png new file mode 100644 index 0000000..6b51dc4 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/UITest/r1.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/UITest/r2.png b/SampleHelloUI/Resources/hd/cocosgui/UITest/r2.png new file mode 100644 index 0000000..ef1f2b4 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/UITest/r2.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/UITest/ribbon.png b/SampleHelloUI/Resources/hd/cocosgui/UITest/ribbon.png new file mode 100644 index 0000000..28583f5 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/UITest/ribbon.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/animationbuttonnormal.png b/SampleHelloUI/Resources/hd/cocosgui/animationbuttonnormal.png new file mode 100644 index 0000000..ab2e448 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/animationbuttonnormal.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/animationbuttonpressed.png b/SampleHelloUI/Resources/hd/cocosgui/animationbuttonpressed.png new file mode 100644 index 0000000..43d0fb9 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/animationbuttonpressed.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/arrow.png b/SampleHelloUI/Resources/hd/cocosgui/arrow.png new file mode 100644 index 0000000..75c2235 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/arrow.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/b11.png b/SampleHelloUI/Resources/hd/cocosgui/b11.png new file mode 100644 index 0000000..021493c Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/b11.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/backtotopnormal.png b/SampleHelloUI/Resources/hd/cocosgui/backtotopnormal.png new file mode 100644 index 0000000..9f20e33 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/backtotopnormal.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/backtotoppressed.png b/SampleHelloUI/Resources/hd/cocosgui/backtotoppressed.png new file mode 100644 index 0000000..5fc8d41 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/backtotoppressed.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/bitmapFontTest2.fnt b/SampleHelloUI/Resources/hd/cocosgui/bitmapFontTest2.fnt new file mode 100644 index 0000000..d0814a0 --- /dev/null +++ b/SampleHelloUI/Resources/hd/cocosgui/bitmapFontTest2.fnt @@ -0,0 +1,188 @@ +info face="Ardour3DGM" size=96 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=1,1 +common lineHeight=104 base=26 scaleW=1024 scaleH=512 pages=1 packed=0 +page id=0 file="bitmapFontTest2.png" +chars count=94 +char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=75 xadvance=30 page=0 chnl=0 +char id=125 x=0 y=0 width=34 height=90 xoffset=1 yoffset=10 xadvance=30 page=0 chnl=0 +char id=123 x=34 y=0 width=34 height=90 xoffset=1 yoffset=10 xadvance=30 page=0 chnl=0 +char id=93 x=68 y=0 width=35 height=90 xoffset=1 yoffset=10 xadvance=31 page=0 chnl=0 +char id=91 x=103 y=0 width=35 height=90 xoffset=1 yoffset=10 xadvance=31 page=0 chnl=0 +char id=41 x=138 y=0 width=28 height=90 xoffset=1 yoffset=10 xadvance=24 page=0 chnl=0 +char id=40 x=166 y=0 width=26 height=90 xoffset=1 yoffset=10 xadvance=24 page=0 chnl=0 +char id=124 x=192 y=0 width=21 height=89 xoffset=1 yoffset=13 xadvance=17 page=0 chnl=0 +char id=106 x=213 y=0 width=37 height=79 xoffset=-7 yoffset=21 xadvance=18 page=0 chnl=0 +char id=81 x=250 y=0 width=42 height=77 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=37 x=292 y=0 width=79 height=70 xoffset=1 yoffset=14 xadvance=75 page=0 chnl=0 +char id=92 x=371 y=0 width=57 height=70 xoffset=1 yoffset=14 xadvance=55 page=0 chnl=0 +char id=47 x=428 y=0 width=59 height=70 xoffset=1 yoffset=14 xadvance=55 page=0 chnl=0 +char id=52 x=487 y=0 width=49 height=70 xoffset=1 yoffset=13 xadvance=45 page=0 chnl=0 +char id=77 x=536 y=0 width=63 height=70 xoffset=1 yoffset=13 xadvance=59 page=0 chnl=0 +char id=55 x=599 y=0 width=55 height=69 xoffset=1 yoffset=15 xadvance=51 page=0 chnl=0 +char id=121 x=654 y=0 width=40 height=69 xoffset=1 yoffset=31 xadvance=38 page=0 chnl=0 +char id=113 x=694 y=0 width=41 height=69 xoffset=1 yoffset=32 xadvance=37 page=0 chnl=0 +char id=112 x=735 y=0 width=41 height=69 xoffset=1 yoffset=32 xadvance=37 page=0 chnl=0 +char id=108 x=776 y=0 width=21 height=69 xoffset=1 yoffset=14 xadvance=17 page=0 chnl=0 +char id=107 x=797 y=0 width=41 height=69 xoffset=1 yoffset=14 xadvance=37 page=0 chnl=0 +char id=104 x=838 y=0 width=41 height=69 xoffset=1 yoffset=14 xadvance=37 page=0 chnl=0 +char id=89 x=879 y=0 width=42 height=69 xoffset=1 yoffset=14 xadvance=38 page=0 chnl=0 +char id=88 x=921 y=0 width=42 height=69 xoffset=1 yoffset=14 xadvance=38 page=0 chnl=0 +char id=78 x=963 y=0 width=43 height=69 xoffset=1 yoffset=14 xadvance=39 page=0 chnl=0 +char id=75 x=0 y=90 width=43 height=69 xoffset=1 yoffset=14 xadvance=39 page=0 chnl=0 +char id=72 x=43 y=90 width=42 height=69 xoffset=1 yoffset=14 xadvance=38 page=0 chnl=0 +char id=49 x=85 y=90 width=33 height=68 xoffset=1 yoffset=14 xadvance=29 page=0 chnl=0 +char id=103 x=118 y=90 width=40 height=68 xoffset=1 yoffset=32 xadvance=38 page=0 chnl=0 +char id=102 x=158 y=90 width=33 height=68 xoffset=1 yoffset=15 xadvance=29 page=0 chnl=0 +char id=100 x=191 y=90 width=41 height=68 xoffset=1 yoffset=14 xadvance=37 page=0 chnl=0 +char id=98 x=232 y=90 width=41 height=68 xoffset=1 yoffset=14 xadvance=37 page=0 chnl=0 +char id=87 x=273 y=90 width=62 height=68 xoffset=1 yoffset=14 xadvance=58 page=0 chnl=0 +char id=86 x=335 y=90 width=40 height=68 xoffset=1 yoffset=14 xadvance=38 page=0 chnl=0 +char id=85 x=375 y=90 width=42 height=68 xoffset=1 yoffset=14 xadvance=38 page=0 chnl=0 +char id=84 x=417 y=90 width=56 height=68 xoffset=1 yoffset=15 xadvance=52 page=0 chnl=0 +char id=82 x=473 y=90 width=42 height=68 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=80 x=515 y=90 width=42 height=68 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=76 x=557 y=90 width=43 height=68 xoffset=1 yoffset=14 xadvance=39 page=0 chnl=0 +char id=74 x=600 y=90 width=42 height=68 xoffset=1 yoffset=14 xadvance=38 page=0 chnl=0 +char id=70 x=642 y=90 width=41 height=68 xoffset=1 yoffset=15 xadvance=37 page=0 chnl=0 +char id=65 x=683 y=90 width=41 height=68 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=38 x=724 y=90 width=45 height=67 xoffset=1 yoffset=15 xadvance=41 page=0 chnl=0 +char id=36 x=769 y=90 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=63 x=811 y=90 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=48 x=853 y=90 width=45 height=67 xoffset=1 yoffset=15 xadvance=43 page=0 chnl=0 +char id=57 x=898 y=90 width=40 height=67 xoffset=2 yoffset=15 xadvance=37 page=0 chnl=0 +char id=56 x=938 y=90 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=54 x=980 y=90 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=53 x=0 y=159 width=43 height=67 xoffset=1 yoffset=15 xadvance=39 page=0 chnl=0 +char id=51 x=43 y=159 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=50 x=85 y=159 width=43 height=67 xoffset=1 yoffset=15 xadvance=39 page=0 chnl=0 +char id=90 x=128 y=159 width=45 height=67 xoffset=1 yoffset=15 xadvance=43 page=0 chnl=0 +char id=83 x=173 y=159 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=79 x=215 y=159 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=73 x=257 y=159 width=30 height=67 xoffset=1 yoffset=15 xadvance=26 page=0 chnl=0 +char id=71 x=287 y=159 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=69 x=329 y=159 width=41 height=67 xoffset=1 yoffset=15 xadvance=37 page=0 chnl=0 +char id=68 x=370 y=159 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=67 x=412 y=159 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=66 x=454 y=159 width=42 height=67 xoffset=1 yoffset=15 xadvance=38 page=0 chnl=0 +char id=33 x=496 y=159 width=22 height=66 xoffset=1 yoffset=16 xadvance=18 page=0 chnl=0 +char id=64 x=518 y=159 width=68 height=62 xoffset=1 yoffset=19 xadvance=66 page=0 chnl=0 +char id=116 x=586 y=159 width=31 height=62 xoffset=1 yoffset=21 xadvance=27 page=0 chnl=0 +char id=105 x=617 y=159 width=22 height=62 xoffset=1 yoffset=21 xadvance=18 page=0 chnl=0 +char id=59 x=639 y=159 width=22 height=57 xoffset=1 yoffset=34 xadvance=18 page=0 chnl=0 +char id=117 x=661 y=159 width=40 height=52 xoffset=1 yoffset=31 xadvance=38 page=0 chnl=0 +char id=110 x=701 y=159 width=40 height=52 xoffset=1 yoffset=32 xadvance=38 page=0 chnl=0 +char id=109 x=741 y=159 width=60 height=52 xoffset=1 yoffset=32 xadvance=58 page=0 chnl=0 +char id=120 x=801 y=159 width=40 height=51 xoffset=1 yoffset=32 xadvance=38 page=0 chnl=0 +char id=114 x=841 y=159 width=41 height=51 xoffset=1 yoffset=32 xadvance=37 page=0 chnl=0 +char id=97 x=882 y=159 width=41 height=51 xoffset=1 yoffset=32 xadvance=37 page=0 chnl=0 +char id=35 x=923 y=159 width=56 height=50 xoffset=1 yoffset=24 xadvance=52 page=0 chnl=0 +char id=119 x=0 y=226 width=62 height=50 xoffset=1 yoffset=32 xadvance=58 page=0 chnl=0 +char id=118 x=62 y=226 width=40 height=50 xoffset=1 yoffset=32 xadvance=38 page=0 chnl=0 +char id=122 x=102 y=226 width=43 height=49 xoffset=1 yoffset=33 xadvance=39 page=0 chnl=0 +char id=115 x=145 y=226 width=40 height=49 xoffset=1 yoffset=33 xadvance=36 page=0 chnl=0 +char id=111 x=185 y=226 width=40 height=49 xoffset=1 yoffset=33 xadvance=38 page=0 chnl=0 +char id=101 x=225 y=226 width=40 height=49 xoffset=1 yoffset=33 xadvance=38 page=0 chnl=0 +char id=99 x=265 y=226 width=40 height=49 xoffset=1 yoffset=33 xadvance=38 page=0 chnl=0 +char id=58 x=305 y=226 width=22 height=48 xoffset=1 yoffset=34 xadvance=18 page=0 chnl=0 +char id=42 x=327 y=226 width=32 height=34 xoffset=1 yoffset=16 xadvance=30 page=0 chnl=0 +char id=62 x=359 y=226 width=39 height=34 xoffset=1 yoffset=40 xadvance=35 page=0 chnl=0 +char id=60 x=398 y=226 width=38 height=34 xoffset=1 yoffset=40 xadvance=34 page=0 chnl=0 +char id=43 x=436 y=226 width=43 height=32 xoffset=1 yoffset=41 xadvance=39 page=0 chnl=0 +char id=44 x=479 y=226 width=22 height=25 xoffset=1 yoffset=66 xadvance=18 page=0 chnl=0 +char id=39 x=501 y=226 width=17 height=24 xoffset=1 yoffset=15 xadvance=15 page=0 chnl=0 +char id=96 x=518 y=226 width=24 height=24 xoffset=1 yoffset=15 xadvance=22 page=0 chnl=0 +char id=34 x=542 y=226 width=33 height=24 xoffset=1 yoffset=15 xadvance=29 page=0 chnl=0 +char id=94 x=575 y=226 width=38 height=23 xoffset=1 yoffset=16 xadvance=34 page=0 chnl=0 +char id=126 x=613 y=226 width=47 height=22 xoffset=1 yoffset=25 xadvance=43 page=0 chnl=0 +char id=61 x=660 y=226 width=44 height=22 xoffset=1 yoffset=47 xadvance=40 page=0 chnl=0 +char id=46 x=704 y=226 width=22 height=16 xoffset=1 yoffset=66 xadvance=18 page=0 chnl=0 +char id=45 x=726 y=226 width=37 height=13 xoffset=1 yoffset=51 xadvance=33 page=0 chnl=0 +char id=95 x=763 y=226 width=46 height=12 xoffset=1 yoffset=85 xadvance=42 page=0 chnl=0 +kernings count=87 +kerning first=121 second=44 amount=-7 +kerning first=121 second=46 amount=-7 +kerning first=89 second=44 amount=-12 +kerning first=89 second=45 amount=-9 +kerning first=89 second=46 amount=-12 +kerning first=89 second=58 amount=-5 +kerning first=89 second=59 amount=-6 +kerning first=89 second=65 amount=-7 +kerning first=89 second=97 amount=-7 +kerning first=89 second=101 amount=-9 +kerning first=89 second=105 amount=-3 +kerning first=89 second=111 amount=-9 +kerning first=89 second=112 amount=-7 +kerning first=89 second=113 amount=-9 +kerning first=89 second=117 amount=-5 +kerning first=89 second=118 amount=-5 +kerning first=49 second=49 amount=-7 +kerning first=102 second=102 amount=-2 +kerning first=87 second=44 amount=-5 +kerning first=87 second=45 amount=-2 +kerning first=87 second=46 amount=-5 +kerning first=87 second=58 amount=-2 +kerning first=87 second=59 amount=-2 +kerning first=87 second=65 amount=-3 +kerning first=87 second=97 amount=-3 +kerning first=87 second=101 amount=-2 +kerning first=87 second=111 amount=-2 +kerning first=87 second=114 amount=-2 +kerning first=87 second=117 amount=-2 +kerning first=87 second=121 amount=-1 +kerning first=86 second=44 amount=-9 +kerning first=86 second=45 amount=-5 +kerning first=86 second=46 amount=-9 +kerning first=86 second=58 amount=-3 +kerning first=86 second=59 amount=-3 +kerning first=86 second=65 amount=-7 +kerning first=86 second=97 amount=-7 +kerning first=86 second=101 amount=-5 +kerning first=86 second=105 amount=-2 +kerning first=86 second=111 amount=-5 +kerning first=86 second=114 amount=-3 +kerning first=86 second=117 amount=-3 +kerning first=86 second=121 amount=-3 +kerning first=84 second=44 amount=-10 +kerning first=84 second=45 amount=-5 +kerning first=84 second=46 amount=-10 +kerning first=84 second=58 amount=-10 +kerning first=84 second=59 amount=-10 +kerning first=84 second=65 amount=-7 +kerning first=84 second=79 amount=-2 +kerning first=84 second=97 amount=-10 +kerning first=84 second=99 amount=-10 +kerning first=84 second=101 amount=-10 +kerning first=84 second=105 amount=-3 +kerning first=84 second=111 amount=-10 +kerning first=84 second=114 amount=-3 +kerning first=84 second=115 amount=-10 +kerning first=84 second=117 amount=-3 +kerning first=84 second=119 amount=-5 +kerning first=84 second=121 amount=-5 +kerning first=82 second=84 amount=-2 +kerning first=82 second=86 amount=-2 +kerning first=82 second=87 amount=-2 +kerning first=82 second=89 amount=-2 +kerning first=80 second=44 amount=-12 +kerning first=80 second=46 amount=-12 +kerning first=80 second=65 amount=-7 +kerning first=76 second=84 amount=-7 +kerning first=76 second=86 amount=-7 +kerning first=76 second=87 amount=-7 +kerning first=76 second=89 amount=-7 +kerning first=76 second=121 amount=-3 +kerning first=70 second=44 amount=-10 +kerning first=70 second=46 amount=-10 +kerning first=70 second=65 amount=-5 +kerning first=65 second=84 amount=-7 +kerning first=65 second=86 amount=-7 +kerning first=65 second=87 amount=-3 +kerning first=65 second=89 amount=-7 +kerning first=65 second=118 amount=-2 +kerning first=65 second=119 amount=-2 +kerning first=65 second=121 amount=-2 +kerning first=114 second=44 amount=-5 +kerning first=114 second=46 amount=-5 +kerning first=119 second=44 amount=-5 +kerning first=119 second=46 amount=-5 +kerning first=118 second=44 amount=-7 +kerning first=118 second=46 amount=-7 diff --git a/SampleHelloUI/Resources/hd/cocosgui/bitmapFontTest2.png b/SampleHelloUI/Resources/hd/cocosgui/bitmapFontTest2.png new file mode 100644 index 0000000..9975e49 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/bitmapFontTest2.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/button.png b/SampleHelloUI/Resources/hd/cocosgui/button.png new file mode 100644 index 0000000..03aebc7 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/button.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/buttonHighlighted.png b/SampleHelloUI/Resources/hd/cocosgui/buttonHighlighted.png new file mode 100644 index 0000000..8bc814d Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/buttonHighlighted.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/ccicon.png b/SampleHelloUI/Resources/hd/cocosgui/ccicon.png new file mode 100644 index 0000000..efa6c6b Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/ccicon.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/check_box_active.png b/SampleHelloUI/Resources/hd/cocosgui/check_box_active.png new file mode 100644 index 0000000..84d8dfb Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/check_box_active.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/check_box_active_disable.png b/SampleHelloUI/Resources/hd/cocosgui/check_box_active_disable.png new file mode 100644 index 0000000..97623ae Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/check_box_active_disable.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/check_box_active_press.png b/SampleHelloUI/Resources/hd/cocosgui/check_box_active_press.png new file mode 100644 index 0000000..212e23e Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/check_box_active_press.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/check_box_normal.png b/SampleHelloUI/Resources/hd/cocosgui/check_box_normal.png new file mode 100644 index 0000000..7607e86 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/check_box_normal.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/check_box_normal_disable.png b/SampleHelloUI/Resources/hd/cocosgui/check_box_normal_disable.png new file mode 100644 index 0000000..fc5613f Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/check_box_normal_disable.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/check_box_normal_press.png b/SampleHelloUI/Resources/hd/cocosgui/check_box_normal_press.png new file mode 100644 index 0000000..b441b27 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/check_box_normal_press.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/green_edit.png b/SampleHelloUI/Resources/hd/cocosgui/green_edit.png new file mode 100644 index 0000000..f3b22a4 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/green_edit.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/grossini-aliases.png b/SampleHelloUI/Resources/hd/cocosgui/grossini-aliases.png new file mode 100644 index 0000000..5672efb Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/grossini-aliases.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/labelatlas.png b/SampleHelloUI/Resources/hd/cocosgui/labelatlas.png new file mode 100644 index 0000000..40e0206 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/labelatlas.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/loadingbar.png b/SampleHelloUI/Resources/hd/cocosgui/loadingbar.png new file mode 100644 index 0000000..124a400 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/loadingbar.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/scrollviewbg.png b/SampleHelloUI/Resources/hd/cocosgui/scrollviewbg.png new file mode 100644 index 0000000..ddbe14b Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/scrollviewbg.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/slidbar.png b/SampleHelloUI/Resources/hd/cocosgui/slidbar.png new file mode 100644 index 0000000..9ef2afc Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/slidbar.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/sliderProgress.png b/SampleHelloUI/Resources/hd/cocosgui/sliderProgress.png new file mode 100644 index 0000000..f78bfc1 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/sliderProgress.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/sliderProgress2.png b/SampleHelloUI/Resources/hd/cocosgui/sliderProgress2.png new file mode 100644 index 0000000..81d5173 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/sliderProgress2.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/sliderThumb.png b/SampleHelloUI/Resources/hd/cocosgui/sliderThumb.png new file mode 100644 index 0000000..d9a0abd Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/sliderThumb.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/sliderTrack.png b/SampleHelloUI/Resources/hd/cocosgui/sliderTrack.png new file mode 100644 index 0000000..a803eb5 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/sliderTrack.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/sliderTrack2.png b/SampleHelloUI/Resources/hd/cocosgui/sliderTrack2.png new file mode 100644 index 0000000..59b8dc9 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/sliderTrack2.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/slider_bar_active_9patch.png b/SampleHelloUI/Resources/hd/cocosgui/slider_bar_active_9patch.png new file mode 100644 index 0000000..5586b8a Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/slider_bar_active_9patch.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/sliderballnormal.png b/SampleHelloUI/Resources/hd/cocosgui/sliderballnormal.png new file mode 100644 index 0000000..ddda685 Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/sliderballnormal.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/sliderballpressed.png b/SampleHelloUI/Resources/hd/cocosgui/sliderballpressed.png new file mode 100644 index 0000000..ba846bc Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/sliderballpressed.png differ diff --git a/SampleHelloUI/Resources/hd/cocosgui/switch-mask.png b/SampleHelloUI/Resources/hd/cocosgui/switch-mask.png new file mode 100644 index 0000000..72eaf1c Binary files /dev/null and b/SampleHelloUI/Resources/hd/cocosgui/switch-mask.png differ diff --git a/SampleHelloUI/SampleHelloUI_editor/Json/UITest.json b/SampleHelloUI/SampleHelloUI_editor/Json/UITest.json new file mode 100644 index 0000000..18d3f8e --- /dev/null +++ b/SampleHelloUI/SampleHelloUI_editor/Json/UITest.json @@ -0,0 +1,497 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "1.1.0.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 1, + "actiontag": 109, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.821875, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1, + "sizePercentY": 0.179999992, + "sizeType": 0, + "tag": 82, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "y": 263, + "backGroundImage": null, + "backGroundImageData": { + "path": "ribbon.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 66.6666641, + "capInsetsWidth": 66.6666641, + "capInsetsX": 66.6666641, + "capInsetsY": 66.6666641, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "UItest", + "ZOrder": 1, + "actiontag": 115, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 0, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5, + "positionPercentY": 0.959374964, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.149999991, + "sizePercentY": 0.06, + "sizeType": 0, + "tag": 88, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 0, + "x": 240, + "y": 307, + "fontName": "宋体", + "fontSize": 20, + "fontType": 0, + "text": "UI_test", + "touchScaleEnable": false + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "right_Button", + "ZOrder": 5, + "actiontag": 113, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.704166651, + "positionPercentY": 0.071875, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.16, + "sizePercentY": 0.14, + "sizeType": 0, + "tag": 86, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 338, + "y": 23, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "f1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "left_Button", + "ZOrder": 4, + "actiontag": 112, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.295833319, + "positionPercentY": 0.071875, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.16, + "sizePercentY": 0.14, + "sizeType": 0, + "tag": 85, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 142, + "y": 23, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "b1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "middle_Button", + "ZOrder": 3, + "actiontag": 111, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5, + "positionPercentY": 0.071875, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.099999994, + "sizePercentY": 0.149999991, + "sizeType": 0, + "tag": 84, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 49, + "x": 240, + "y": 23, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 16.333334, + "capInsetsX": 16.333334, + "capInsetsY": 15.666667, + "disabled": null, + "disabledData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "r1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 49 + } + }, + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "background_Panel", + "ZOrder": 2, + "actiontag": 110, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 170, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.1875, + "positionPercentY": 0.234375, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.62, + "sizePercentY": 0.53, + "sizeType": 0, + "tag": 83, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 300, + "x": 90, + "y": 75, + "backGroundImage": null, + "backGroundImageData": { + "path": "buttonBackground.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "back", + "ZOrder": 6, + "actiontag": 114, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 0, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.895833254, + "positionPercentY": 0.09375, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.099999994, + "sizePercentY": 0.08, + "sizeType": 0, + "tag": 87, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 0, + "x": 430, + "y": 30, + "fontName": "宋体", + "fontSize": 24, + "fontType": 0, + "text": "Back", + "touchScaleEnable": false + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "root_Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.01, + "sizePercentY": 0.01, + "sizeType": 0, + "tag": 81, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "y": 0, + "backGroundImage": null, + "backGroundImageData": { + "path": "background.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 255, + "bgColorOpacity": 255, + "bgColorR": 255, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 106.666664, + "capInsetsWidth": 160, + "capInsetsX": 160, + "capInsetsY": 106.666664, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/SampleHelloUI/SampleHelloUI_editor/Resources/b1.png b/SampleHelloUI/SampleHelloUI_editor/Resources/b1.png new file mode 100644 index 0000000..547e1c7 Binary files /dev/null and b/SampleHelloUI/SampleHelloUI_editor/Resources/b1.png differ diff --git a/SampleHelloUI/SampleHelloUI_editor/Resources/b2.png b/SampleHelloUI/SampleHelloUI_editor/Resources/b2.png new file mode 100644 index 0000000..2818054 Binary files /dev/null and b/SampleHelloUI/SampleHelloUI_editor/Resources/b2.png differ diff --git a/SampleHelloUI/SampleHelloUI_editor/Resources/background.png b/SampleHelloUI/SampleHelloUI_editor/Resources/background.png new file mode 100644 index 0000000..500d959 Binary files /dev/null and b/SampleHelloUI/SampleHelloUI_editor/Resources/background.png differ diff --git a/SampleHelloUI/SampleHelloUI_editor/Resources/buttonBackground.png b/SampleHelloUI/SampleHelloUI_editor/Resources/buttonBackground.png new file mode 100644 index 0000000..a467061 Binary files /dev/null and b/SampleHelloUI/SampleHelloUI_editor/Resources/buttonBackground.png differ diff --git a/SampleHelloUI/SampleHelloUI_editor/Resources/f1.png b/SampleHelloUI/SampleHelloUI_editor/Resources/f1.png new file mode 100644 index 0000000..4fd7bdb Binary files /dev/null and b/SampleHelloUI/SampleHelloUI_editor/Resources/f1.png differ diff --git a/SampleHelloUI/SampleHelloUI_editor/Resources/f2.png b/SampleHelloUI/SampleHelloUI_editor/Resources/f2.png new file mode 100644 index 0000000..e752eda Binary files /dev/null and b/SampleHelloUI/SampleHelloUI_editor/Resources/f2.png differ diff --git a/SampleHelloUI/SampleHelloUI_editor/Resources/r1.png b/SampleHelloUI/SampleHelloUI_editor/Resources/r1.png new file mode 100644 index 0000000..827a772 Binary files /dev/null and b/SampleHelloUI/SampleHelloUI_editor/Resources/r1.png differ diff --git a/SampleHelloUI/SampleHelloUI_editor/Resources/r2.png b/SampleHelloUI/SampleHelloUI_editor/Resources/r2.png new file mode 100644 index 0000000..727a1c6 Binary files /dev/null and b/SampleHelloUI/SampleHelloUI_editor/Resources/r2.png differ diff --git a/SampleHelloUI/SampleHelloUI_editor/Resources/ribbon.png b/SampleHelloUI/SampleHelloUI_editor/Resources/ribbon.png new file mode 100644 index 0000000..b80fb94 Binary files /dev/null and b/SampleHelloUI/SampleHelloUI_editor/Resources/ribbon.png differ diff --git a/SampleHelloUI/SampleHelloUI_editor/UIButton_test.xml.ui b/SampleHelloUI/SampleHelloUI_editor/UIButton_test.xml.ui new file mode 100644 index 0000000..608d1ed --- /dev/null +++ b/SampleHelloUI/SampleHelloUI_editor/UIButton_test.xml.ui @@ -0,0 +1,20 @@ + + + C:\Users\houlong\Desktop\SampleHelloUI_editor\UIButton_test.xml.ui + 0.3.3.0 + UIButton_test + C:\Users\houlong\Desktop\SampleHelloUI_editor + UIButton_test.json + C:\Users\houlong\Desktop\SampleHelloUI_editor\Resources + C:\Users\houlong\Desktop\SampleHelloUI_editor\Json + + UITest.json + + + .json + UITest.json + + 480 + 320 + + \ No newline at end of file diff --git a/SampleHelloUI/cocos2d/readme b/SampleHelloUI/cocos2d/readme new file mode 100644 index 0000000..00bfca5 --- /dev/null +++ b/SampleHelloUI/cocos2d/readme @@ -0,0 +1 @@ +put cocos2d here what in a project created by create_project.py \ No newline at end of file diff --git a/SampleHelloUI/proj.android/.classpath b/SampleHelloUI/proj.android/.classpath new file mode 100644 index 0000000..ce3da48 --- /dev/null +++ b/SampleHelloUI/proj.android/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/SampleHelloUI/proj.android/.project b/SampleHelloUI/proj.android/.project new file mode 100644 index 0000000..3cc6131 --- /dev/null +++ b/SampleHelloUI/proj.android/.project @@ -0,0 +1,65 @@ + + + SampleHelloUI + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + Classes + 2 + COCOS2DX/projects/SampleHelloUI/Classes + + + cocos2dx + 2 + COCOS2DX/cocos2dx + + + extensions + 2 + COCOS2DX/extensions + + + scripting + 2 + COCOS2DX/scripting + + + diff --git a/SampleHelloUI/proj.android/AndroidManifest.xml b/SampleHelloUI/proj.android/AndroidManifest.xml new file mode 100644 index 0000000..965daff --- /dev/null +++ b/SampleHelloUI/proj.android/AndroidManifest.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleHelloUI/proj.android/README.md b/SampleHelloUI/proj.android/README.md new file mode 100644 index 0000000..aefa86b --- /dev/null +++ b/SampleHelloUI/proj.android/README.md @@ -0,0 +1,87 @@ +## Prerequisites: + +* Android NDK +* Android SDK **OR** Eclipse ADT Bundle +* Android AVD target installed + +## Building project + +There are two ways of building Android projects. + +1. Eclipse +2. Command Line + +### Import Project in Eclipse + +#### Features: + +1. Complete workflow from Eclipse, including: + * Build C++. + * Clean C++. + * Build and Run whole project. + * Logcat view. + * Debug Java code. + * Javascript editor. + * Project management. +2. True C++ editing, including: + * Code completion. + * Jump to definition. + * Refactoring tools etc. + * Quick open C++ files. + + +#### Setup Eclipse Environment (only once) + + +**NOTE:** This step needs to be done only once to setup the Eclipse environment for cocos2d-x projects. Skip this section if you've done this before. + +1. Download Eclipse ADT bundle from [Google ADT homepage](http://developer.android.com/sdk/index.html) + + **OR** + + Install Eclipse with Java. Add ADT and CDT plugins. + +2. Only for Windows + 1. Install [Cygwin](http://www.cygwin.com/) with make (select make package from the list during the install). + 2. Add `Cygwin\bin` directory to system PATH variable. + 3. Add this line `none /cygdrive cygdrive binary,noacl,posix=0,user 0 0` to `Cygwin\etc\fstab` file. + +3. Set up Variables: + 1. Path Variable `COCOS2DX`: + * Eclipse->Preferences->General->Workspace->**Linked Resources** + * Click **New** button to add a Path Variable `COCOS2DX` pointing to the root cocos2d-x directory. + ![Example](https://lh5.googleusercontent.com/-oPpk9kg3e5w/UUOYlq8n7aI/AAAAAAAAsdQ/zLA4eghBH9U/s400/cocos2d-x-eclipse-vars.png) + + 2. C/C++ Environment Variable `NDK_ROOT`: + * Eclipse->Preferences->C/C++->Build->**Environment**. + * Click **Add** button and add a new variable `NDK_ROOT` pointing to the root NDK directory. + ![Example](https://lh3.googleusercontent.com/-AVcY8IAT0_g/UUOYltoRobI/AAAAAAAAsdM/22D2J9u3sig/s400/cocos2d-x-eclipse-ndk.png) + * Only for Windows: Add new variables **CYGWIN** with value `nodosfilewarning` and **SHELLOPTS** with value `igncr` + +4. Import libcocos2dx library project: + 1. File->New->Project->Android Project From Existing Code. + 2. Click **Browse** button and open `cocos2d-x/cocos2dx/platform/android/java` directory. + 3. Click **Finish** to add project. + +#### Adding and running from Eclipse + +![Example](https://lh3.googleusercontent.com/-SLBOu6e3QbE/UUOcOXYaGqI/AAAAAAAAsdo/tYBY2SylOSM/s288/cocos2d-x-eclipse-project-from-code.png) ![Import](https://lh5.googleusercontent.com/-XzC9Pn65USc/UUOcOTAwizI/AAAAAAAAsdk/4b6YM-oim9Y/s400/cocos2d-x-eclipse-import-project.png) + +1. File->New->Project->Android Project From Existing Code +2. **Browse** to your project directory. eg: `cocos2d-x/cocos2dx/samples/Cpp/TestCpp/proj.android/` +3. Add the project +4. Click **Run** or **Debug** to compile C++ followed by Java and to run on connected device or emulator. + + +### Running project from Command Line + + $ cd cocos2d-x/samples/Cpp/TestCpp/proj.android/ + $ export NDK_ROOT=/path/to/ndk + $ ./build_native.sh + $ ant debug install + +If the last command results in sdk.dir missing error then do: + + $ android list target + $ android update project -p . -t (id from step 6) + $ android update project -p cocos2d/cocos/2d/platform/android/java/ -t (id from step 6) diff --git a/SampleHelloUI/proj.android/ant.properties b/SampleHelloUI/proj.android/ant.properties new file mode 100644 index 0000000..a51e6a0 --- /dev/null +++ b/SampleHelloUI/proj.android/ant.properties @@ -0,0 +1,17 @@ +# This file is used to override default values used by the Ant build system. +# +# This file must be checked into Version Control Systems, as it is +# integral to the build system of your project. + +# This file is only used by the Ant script. + +# You can use this to override default values such as +# 'source.dir' for the location of your java source folder and +# 'out.dir' for the location of your output folder. + +# You can also use it define how the release builds are signed by declaring +# the following properties: +# 'key.store' for the location of your keystore and +# 'key.alias' for the name of the key to use. +# The password will be asked during the build when you use the 'release' target. + diff --git a/SampleHelloUI/proj.android/build.xml b/SampleHelloUI/proj.android/build.xml new file mode 100644 index 0000000..e81e44d --- /dev/null +++ b/SampleHelloUI/proj.android/build.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleHelloUI/proj.android/build_native.py b/SampleHelloUI/proj.android/build_native.py new file mode 100644 index 0000000..5eec448 --- /dev/null +++ b/SampleHelloUI/proj.android/build_native.py @@ -0,0 +1,166 @@ +#!/usr/bin/python +# build_native.py +# Build native codes + + +import sys +import os, os.path +import shutil +from optparse import OptionParser + +def get_num_of_cpu(): + ''' The build process can be accelerated by running multiple concurrent job processes using the -j-option. + ''' + try: + platform = sys.platform + if platform == 'win32': + if 'NUMBER_OF_PROCESSORS' in os.environ: + return int(os.environ['NUMBER_OF_PROCESSORS']) + else: + return 1 + else: + from numpy.distutils import cpuinfo + return cpuinfo.cpu._getNCPUs() + except Exception: + print "Can't know cpuinfo, use default 1 cpu" + return 1 + +def check_environment_variables_sdk(): + ''' Checking the environment ANDROID_SDK_ROOT, which will be used for building + ''' + + try: + SDK_ROOT = os.environ['ANDROID_SDK_ROOT'] + except Exception: + print "ANDROID_SDK_ROOT not defined. Please define ANDROID_SDK_ROOT in your environment" + sys.exit(1) + + return SDK_ROOT + +def check_environment_variables(): + ''' Checking the environment NDK_ROOT, which will be used for building + ''' + + try: + NDK_ROOT = os.environ['NDK_ROOT'] + except Exception: + print "NDK_ROOT not defined. Please define NDK_ROOT in your environment" + sys.exit(1) + + return NDK_ROOT + +def select_toolchain_version(): + '''Because ndk-r8e uses gcc4.6 as default. gcc4.6 doesn't support c++11. So we should select gcc4.7 when + using ndk-r8e. But gcc4.7 is removed in ndk-r9, so we should determine whether gcc4.7 exist. + Conclution: + ndk-r8e -> use gcc4.7 + ndk-r9 -> use gcc4.8 + ''' + + ndk_root = check_environment_variables() + if os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.8")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.8' + print "The Selected NDK toolchain version was 4.8 !" + elif os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.7")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.7' + print "The Selected NDK toolchain version was 4.7 !" + else: + print "Couldn't find the gcc toolchain." + exit(1) + +def do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode): + + ndk_path = os.path.join(ndk_root, "ndk-build") + + # windows should use ";" to seperate module paths + platform = sys.platform + if platform == 'win32': + ndk_module_path = 'NDK_MODULE_PATH=%s;%s/external;%s/cocos' % (cocos_root, cocos_root, cocos_root) + else: + ndk_module_path = 'NDK_MODULE_PATH=%s:%s/external:%s/cocos' % (cocos_root, cocos_root, cocos_root) + + num_of_cpu = get_num_of_cpu() + + if ndk_build_param == None: + command = '%s -j%d -C %s %s' % (ndk_path, num_of_cpu, app_android_root, ndk_module_path) + else: + command = '%s -j%d -C %s %s %s' % (ndk_path, num_of_cpu, app_android_root, ''.join(str(e) for e in ndk_build_param), ndk_module_path) + if os.system(command) != 0: + raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!") + elif android_platform is not None: + sdk_tool_path = os.path.join(sdk_root, "tools/android") + cocoslib_path = os.path.join(cocos_root, "cocos/2d/platform/android/java") + command = '%s update lib-project -t %s -p %s' % (sdk_tool_path,android_platform,cocoslib_path) + if os.system(command) != 0: + raise Exception("update cocos lib-project [ " + cocoslib_path + " ] fails!") + command = '%s update project -t %s -p %s -s' % (sdk_tool_path,android_platform,app_android_root) + if os.system(command) != 0: + raise Exception("update project [ " + app_android_root + " ] fails!") + buildfile_path = os.path.join(app_android_root, "build.xml") + command = 'ant clean %s -f %s -Dsdk.dir=%s' % (build_mode,buildfile_path,sdk_root) + os.system(command) + +def copy_files(src, dst): + + for item in os.listdir(src): + path = os.path.join(src, item) + # Android can not package the file that ends with ".gz" + if not item.startswith('.') and not item.endswith('.gz') and os.path.isfile(path): + shutil.copy(path, dst) + if os.path.isdir(path): + new_dst = os.path.join(dst, item) + os.mkdir(new_dst) + copy_files(path, new_dst) + +def copy_resources(app_android_root): + + # remove app_android_root/assets if it exists + assets_dir = os.path.join(app_android_root, "assets") + if os.path.isdir(assets_dir): + shutil.rmtree(assets_dir) + + # copy resources + os.mkdir(assets_dir) + resources_dir = os.path.join(app_android_root, "../Resources") + if os.path.isdir(resources_dir): + copy_files(resources_dir, assets_dir) + +def build(ndk_build_param,android_platform,build_mode): + + ndk_root = check_environment_variables() + sdk_root = None + select_toolchain_version() + + current_dir = os.path.dirname(os.path.realpath(__file__)) + cocos_root = os.path.join(current_dir, "../cocos2d") + + app_android_root = current_dir + copy_resources(app_android_root) + + if android_platform is not None: + sdk_root = check_environment_variables_sdk() + if android_platform.isdigit(): + android_platform = 'android-'+android_platform + else: + print 'please use vaild android platform' + exit(1) + + if build_mode is None: + build_mode = 'debug' + elif build_mode != 'release': + build_mode = 'debug' + + do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode) + +# -------------- main -------------- +if __name__ == '__main__': + + parser = OptionParser() + parser.add_option("-n", "--ndk", dest="ndk_build_param", help='parameter for ndk-build') + parser.add_option("-p", "--platform", dest="android_platform", + help='parameter for android-update.Without the parameter,the script just build dynamic library for project. Valid android-platform are:[10|11|12|13|14|15|16|17|18|19]') + parser.add_option("-b", "--build", dest="build_mode", + help='the build mode for java project,debug[default] or release.Get more information,please refer to http://developer.android.com/tools/building/building-cmdline.html') + (opts, args) = parser.parse_args() + + build(opts.ndk_build_param,opts.android_platform,opts.build_mode) diff --git a/SampleHelloUI/proj.android/jni/Android.mk b/SampleHelloUI/proj.android/jni/Android.mk new file mode 100644 index 0000000..ec64f46 --- /dev/null +++ b/SampleHelloUI/proj.android/jni/Android.mk @@ -0,0 +1,52 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := cocos2dcpp_shared + +LOCAL_MODULE_FILENAME := libcocos2dcpp + +LOCAL_SRC_FILES := hellocpp/main.cpp \ + ../../Classes/AppDelegate.cpp \ + ../../Classes/CocosGUIScene.cpp \ + ../../Classes/HelloWorldScene.cpp \ + ../../Classes/UIButtonTest/UIButtonTest.cpp \ + ../../Classes/UICheckBoxTest/UICheckBoxTest.cpp \ + ../../Classes/UIImageViewTest/UIImageViewTest.cpp \ + ../../Classes/UILabelAtlasTest/UILabelAtlasTest.cpp \ + ../../Classes/UILabelBMFontTest/UILabelBMFontTest.cpp \ + ../../Classes/UILabelTest/UILabelTest.cpp \ + ../../Classes/UILayoutTest/UILayoutTest.cpp \ + ../../Classes/UIListViewTest/UIListViewTest.cpp \ + ../../Classes/UILoadingBarTest/UILoadingBarTest.cpp \ + ../../Classes/UIPageViewTest/UIPageViewTest.cpp \ + ../../Classes/UIScene.cpp \ + ../../Classes/UISceneManager.cpp \ + ../../Classes/UIScrollViewTest/UIScrollViewTest.cpp \ + ../../Classes/UISliderTest/UISliderTest.cpp \ + ../../Classes/UITextFieldTest/UITextFieldTest.cpp \ + ../../Classes/UIWidgetAddNodeTest/UIWidgetAddNodeTest.cpp \ + ../../Classes/VisibleRect.cpp \ + + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \ + $(LOCAL_PATH)/../../cocos2d \ + $(LOCAL_PATH)/../../cocos2d/extensions \ + $(LOCAL_PATH)/../../cocos2d/cocos \ + $(LOCAL_PATH)/../../cocos2d/cocos/gui \ + $(LOCAL_PATH)/../../cocos2d/cocos/editor-support/cocostudio \ + +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static +LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocos_gui_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static + + +include $(BUILD_SHARED_LIBRARY) + +$(call import-module,2d) +$(call import-module,audio/android) +$(call import-module,Box2D) +$(call import-module,gui) +$(call import-module,editor-support/cocostudio) diff --git a/SampleHelloUI/proj.android/jni/Application.mk b/SampleHelloUI/proj.android/jni/Application.mk new file mode 100644 index 0000000..74c3f99 --- /dev/null +++ b/SampleHelloUI/proj.android/jni/Application.mk @@ -0,0 +1,2 @@ +APP_STL := gnustl_static +APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DCOCOS2D_DEBUG=1 -std=c++11 -fsigned-char diff --git a/SampleHelloUI/proj.android/jni/hellocpp/main.cpp b/SampleHelloUI/proj.android/jni/hellocpp/main.cpp new file mode 100644 index 0000000..006a744 --- /dev/null +++ b/SampleHelloUI/proj.android/jni/hellocpp/main.cpp @@ -0,0 +1,16 @@ +#include "AppDelegate.h" +#include "cocos2d.h" +#include "CCEventType.h" +#include "platform/android/jni/JniHelper.h" +#include +#include + +#define LOG_TAG "main" +#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__) + +using namespace cocos2d; + +void cocos_android_app_init (struct android_app* app) { + LOGD("cocos_android_app_init"); + AppDelegate *pAppDelegate = new AppDelegate(); +} diff --git a/SampleHelloUI/proj.android/proguard-project.txt b/SampleHelloUI/proj.android/proguard-project.txt new file mode 100644 index 0000000..b60ae7e --- /dev/null +++ b/SampleHelloUI/proj.android/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/SampleHelloUI/proj.android/project.properties b/SampleHelloUI/proj.android/project.properties new file mode 100644 index 0000000..c959301 --- /dev/null +++ b/SampleHelloUI/proj.android/project.properties @@ -0,0 +1,13 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system use, +# "ant.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-10 + +android.library.reference.1=../cocos2d/cocos/2d/platform/android/java diff --git a/SampleHelloUI/proj.android/res/drawable-hdpi/icon.png b/SampleHelloUI/proj.android/res/drawable-hdpi/icon.png new file mode 100644 index 0000000..8aa4767 Binary files /dev/null and b/SampleHelloUI/proj.android/res/drawable-hdpi/icon.png differ diff --git a/SampleHelloUI/proj.android/res/drawable-ldpi/icon.png b/SampleHelloUI/proj.android/res/drawable-ldpi/icon.png new file mode 100644 index 0000000..17ce11a Binary files /dev/null and b/SampleHelloUI/proj.android/res/drawable-ldpi/icon.png differ diff --git a/SampleHelloUI/proj.android/res/drawable-mdpi/icon.png b/SampleHelloUI/proj.android/res/drawable-mdpi/icon.png new file mode 100644 index 0000000..3780aac Binary files /dev/null and b/SampleHelloUI/proj.android/res/drawable-mdpi/icon.png differ diff --git a/SampleHelloUI/proj.android/res/values/strings.xml b/SampleHelloUI/proj.android/res/values/strings.xml new file mode 100644 index 0000000..ea23201 --- /dev/null +++ b/SampleHelloUI/proj.android/res/values/strings.xml @@ -0,0 +1,4 @@ + + + SampleHelloUI + diff --git a/SampleHelloUI/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java b/SampleHelloUI/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java new file mode 100644 index 0000000..d2dfa68 --- /dev/null +++ b/SampleHelloUI/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java @@ -0,0 +1,32 @@ +package org.cocos2dx.cpp; + +import android.app.NativeActivity; +import android.os.Bundle; + +public class Cocos2dxActivity extends NativeActivity{ + + @Override + protected void onCreate(Bundle savedInstanceState) { + // TODO Auto-generated method stub + super.onCreate(savedInstanceState); + + //For supports translucency + + //1.change "attribs" in cocos\2d\platform\android\nativeactivity.cpp + /*const EGLint attribs[] = { + EGL_SURFACE_TYPE, EGL_WINDOW_BIT, + EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, + //EGL_BLUE_SIZE, 5, -->delete + //EGL_GREEN_SIZE, 6, -->delete + //EGL_RED_SIZE, 5, -->delete + EGL_BUFFER_SIZE, 32, //-->new field + EGL_DEPTH_SIZE, 16, + EGL_STENCIL_SIZE, 8, + EGL_NONE + };*/ + + //2.Set the format of window + // getWindow().setFormat(PixelFormat.TRANSLUCENT); + + } +} diff --git a/SampleHelloUI/proj.ios_mac/SampleHelloUI.xcodeproj/project.pbxproj b/SampleHelloUI/proj.ios_mac/SampleHelloUI.xcodeproj/project.pbxproj new file mode 100644 index 0000000..7bfa1d8 --- /dev/null +++ b/SampleHelloUI/proj.ios_mac/SampleHelloUI.xcodeproj/project.pbxproj @@ -0,0 +1,1300 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */; }; + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */; }; + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */; }; + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */; }; + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */; }; + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */; }; + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */; }; + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */; }; + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */; }; + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */; }; + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 1AFAF8BE16D35E4900DB1158 /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 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 */; }; + 38DEFB4118C822110025D030 /* cocosgui in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB3D18C822110025D030 /* cocosgui */; }; + 38DEFB4218C822110025D030 /* cocosgui in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB3D18C822110025D030 /* cocosgui */; }; + 38DEFB4518C822110025D030 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB3F18C822110025D030 /* fonts */; }; + 38DEFB4618C822110025D030 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB3F18C822110025D030 /* fonts */; }; + 38DEFB4718C822110025D030 /* hd in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB4018C822110025D030 /* hd */; }; + 38DEFB4818C822110025D030 /* hd in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFB4018C822110025D030 /* hd */; }; + 38DEFB8018C8221F0025D030 /* UIButtonTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB5118C8221E0025D030 /* UIButtonTest.cpp */; }; + 38DEFB8118C8221F0025D030 /* UIButtonTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB5118C8221E0025D030 /* UIButtonTest.cpp */; }; + 38DEFB8218C8221F0025D030 /* UICheckBoxTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB5418C8221E0025D030 /* UICheckBoxTest.cpp */; }; + 38DEFB8318C8221F0025D030 /* UICheckBoxTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB5418C8221E0025D030 /* UICheckBoxTest.cpp */; }; + 38DEFB8418C8221F0025D030 /* UIImageViewTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB5718C8221E0025D030 /* UIImageViewTest.cpp */; }; + 38DEFB8518C8221F0025D030 /* UIImageViewTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB5718C8221E0025D030 /* UIImageViewTest.cpp */; }; + 38DEFB8618C8221F0025D030 /* UILabelAtlasTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB5A18C8221E0025D030 /* UILabelAtlasTest.cpp */; }; + 38DEFB8718C8221F0025D030 /* UILabelAtlasTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB5A18C8221E0025D030 /* UILabelAtlasTest.cpp */; }; + 38DEFB8818C8221F0025D030 /* UILabelBMFontTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB5D18C8221E0025D030 /* UILabelBMFontTest.cpp */; }; + 38DEFB8918C8221F0025D030 /* UILabelBMFontTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB5D18C8221E0025D030 /* UILabelBMFontTest.cpp */; }; + 38DEFB8A18C8221F0025D030 /* UILabelTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB6018C8221E0025D030 /* UILabelTest.cpp */; }; + 38DEFB8B18C8221F0025D030 /* UILabelTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB6018C8221E0025D030 /* UILabelTest.cpp */; }; + 38DEFB8C18C8221F0025D030 /* UILayoutTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB6318C8221E0025D030 /* UILayoutTest.cpp */; }; + 38DEFB8D18C8221F0025D030 /* UILayoutTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB6318C8221E0025D030 /* UILayoutTest.cpp */; }; + 38DEFB8E18C8221F0025D030 /* UIListViewTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB6618C8221E0025D030 /* UIListViewTest.cpp */; }; + 38DEFB8F18C8221F0025D030 /* UIListViewTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB6618C8221E0025D030 /* UIListViewTest.cpp */; }; + 38DEFB9018C8221F0025D030 /* UILoadingBarTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB6918C8221E0025D030 /* UILoadingBarTest.cpp */; }; + 38DEFB9118C8221F0025D030 /* UILoadingBarTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB6918C8221E0025D030 /* UILoadingBarTest.cpp */; }; + 38DEFB9218C8221F0025D030 /* UIPageViewTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB6C18C8221E0025D030 /* UIPageViewTest.cpp */; }; + 38DEFB9318C8221F0025D030 /* UIPageViewTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB6C18C8221E0025D030 /* UIPageViewTest.cpp */; }; + 38DEFB9418C8221F0025D030 /* UIScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB6E18C8221E0025D030 /* UIScene.cpp */; }; + 38DEFB9518C8221F0025D030 /* UIScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB6E18C8221E0025D030 /* UIScene.cpp */; }; + 38DEFB9618C8221F0025D030 /* UISceneManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB7018C8221E0025D030 /* UISceneManager.cpp */; }; + 38DEFB9718C8221F0025D030 /* UISceneManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB7018C8221E0025D030 /* UISceneManager.cpp */; }; + 38DEFB9818C8221F0025D030 /* UIScrollViewTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB7318C8221E0025D030 /* UIScrollViewTest.cpp */; }; + 38DEFB9918C8221F0025D030 /* UIScrollViewTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB7318C8221E0025D030 /* UIScrollViewTest.cpp */; }; + 38DEFB9A18C8221F0025D030 /* UISliderTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB7618C8221E0025D030 /* UISliderTest.cpp */; }; + 38DEFB9B18C8221F0025D030 /* UISliderTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB7618C8221E0025D030 /* UISliderTest.cpp */; }; + 38DEFB9C18C8221F0025D030 /* UITextFieldTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB7918C8221F0025D030 /* UITextFieldTest.cpp */; }; + 38DEFB9D18C8221F0025D030 /* UITextFieldTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB7918C8221F0025D030 /* UITextFieldTest.cpp */; }; + 38DEFB9E18C8221F0025D030 /* UIWidgetAddNodeTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB7C18C8221F0025D030 /* UIWidgetAddNodeTest.cpp */; }; + 38DEFB9F18C8221F0025D030 /* UIWidgetAddNodeTest.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB7C18C8221F0025D030 /* UIWidgetAddNodeTest.cpp */; }; + 38DEFBA018C8221F0025D030 /* VisibleRect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB7E18C8221F0025D030 /* VisibleRect.cpp */; }; + 38DEFBA118C8221F0025D030 /* VisibleRect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFB7E18C8221F0025D030 /* VisibleRect.cpp */; }; + 38DEFBA318C822300025D030 /* CocosGUIScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFBA218C8222F0025D030 /* CocosGUIScene.cpp */; }; + 38DEFBA418C822300025D030 /* CocosGUIScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFBA218C8222F0025D030 /* CocosGUIScene.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 */; }; + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11117EB99EE00D1A890 /* libcurl.dylib */; }; + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11A17EB9C5A00D1A890 /* IOKit.framework */; }; + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.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 */; }; + 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 */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1551A33F158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2FD617814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2CB81780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2D9B1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2ED617814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F31FD1781479B006731B9; + remoteInfo = "jsbindings Mac"; + }; + 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A6FB53017854BC300CDF010; + remoteInfo = "luabindings Mac"; + }; + 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4D641783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4EFC1783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F3B178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F9E1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4FB4178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; + 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A5030178387750073F6A7; + remoteInfo = "jsbindings iOS"; + }; + 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A119791178526AA00D62A44; + remoteInfo = "luabindings iOS"; + }; + 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 1551A33E158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2FC117814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2B781780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2E9817814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2D5D1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4C241783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4E111783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4EFD178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F3C1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F9F178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../cocos2d/build/cocos2d_libs.xcodeproj; sourceTree = ""; }; + 1ACB3243164770DE00914215 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = ""; }; + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AppDelegate.cpp; path = ../Classes/AppDelegate.cpp; sourceTree = ""; }; + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ../Classes/AppDelegate.h; sourceTree = ""; }; + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HelloWorldScene.cpp; path = ../Classes/HelloWorldScene.cpp; sourceTree = ""; }; + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HelloWorldScene.h; path = ../Classes/HelloWorldScene.h; sourceTree = ""; }; + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseNormal.png; sourceTree = ""; }; + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseSelected.png; sourceTree = ""; }; + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = HelloWorld.png; sourceTree = ""; }; + 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 1D6058910D05DD3D006BFB54 /* SampleHelloUI iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleHelloUI iOS.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; }; + 38DEFB3D18C822110025D030 /* cocosgui */ = {isa = PBXFileReference; lastKnownFileType = folder; path = cocosgui; sourceTree = ""; }; + 38DEFB3F18C822110025D030 /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; path = fonts; sourceTree = ""; }; + 38DEFB4018C822110025D030 /* hd */ = {isa = PBXFileReference; lastKnownFileType = folder; path = hd; sourceTree = ""; }; + 38DEFB4F18C8221E0025D030 /* CocosGUIScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CocosGUIScene.h; path = ../Classes/CocosGUIScene.h; sourceTree = ""; }; + 38DEFB5118C8221E0025D030 /* UIButtonTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UIButtonTest.cpp; sourceTree = ""; }; + 38DEFB5218C8221E0025D030 /* UIButtonTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIButtonTest.h; sourceTree = ""; }; + 38DEFB5418C8221E0025D030 /* UICheckBoxTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UICheckBoxTest.cpp; sourceTree = ""; }; + 38DEFB5518C8221E0025D030 /* UICheckBoxTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UICheckBoxTest.h; sourceTree = ""; }; + 38DEFB5718C8221E0025D030 /* UIImageViewTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UIImageViewTest.cpp; sourceTree = ""; }; + 38DEFB5818C8221E0025D030 /* UIImageViewTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIImageViewTest.h; sourceTree = ""; }; + 38DEFB5A18C8221E0025D030 /* UILabelAtlasTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UILabelAtlasTest.cpp; sourceTree = ""; }; + 38DEFB5B18C8221E0025D030 /* UILabelAtlasTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UILabelAtlasTest.h; sourceTree = ""; }; + 38DEFB5D18C8221E0025D030 /* UILabelBMFontTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UILabelBMFontTest.cpp; sourceTree = ""; }; + 38DEFB5E18C8221E0025D030 /* UILabelBMFontTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UILabelBMFontTest.h; sourceTree = ""; }; + 38DEFB6018C8221E0025D030 /* UILabelTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UILabelTest.cpp; sourceTree = ""; }; + 38DEFB6118C8221E0025D030 /* UILabelTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UILabelTest.h; sourceTree = ""; }; + 38DEFB6318C8221E0025D030 /* UILayoutTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UILayoutTest.cpp; sourceTree = ""; }; + 38DEFB6418C8221E0025D030 /* UILayoutTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UILayoutTest.h; sourceTree = ""; }; + 38DEFB6618C8221E0025D030 /* UIListViewTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UIListViewTest.cpp; sourceTree = ""; }; + 38DEFB6718C8221E0025D030 /* UIListViewTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIListViewTest.h; sourceTree = ""; }; + 38DEFB6918C8221E0025D030 /* UILoadingBarTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UILoadingBarTest.cpp; sourceTree = ""; }; + 38DEFB6A18C8221E0025D030 /* UILoadingBarTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UILoadingBarTest.h; sourceTree = ""; }; + 38DEFB6C18C8221E0025D030 /* UIPageViewTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UIPageViewTest.cpp; sourceTree = ""; }; + 38DEFB6D18C8221E0025D030 /* UIPageViewTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIPageViewTest.h; sourceTree = ""; }; + 38DEFB6E18C8221E0025D030 /* UIScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = UIScene.cpp; path = ../Classes/UIScene.cpp; sourceTree = ""; }; + 38DEFB6F18C8221E0025D030 /* UIScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = UIScene.h; path = ../Classes/UIScene.h; sourceTree = ""; }; + 38DEFB7018C8221E0025D030 /* UISceneManager.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = UISceneManager.cpp; path = ../Classes/UISceneManager.cpp; sourceTree = ""; }; + 38DEFB7118C8221E0025D030 /* UISceneManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = UISceneManager.h; path = ../Classes/UISceneManager.h; sourceTree = ""; }; + 38DEFB7318C8221E0025D030 /* UIScrollViewTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UIScrollViewTest.cpp; sourceTree = ""; }; + 38DEFB7418C8221E0025D030 /* UIScrollViewTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIScrollViewTest.h; sourceTree = ""; }; + 38DEFB7618C8221E0025D030 /* UISliderTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UISliderTest.cpp; sourceTree = ""; }; + 38DEFB7718C8221E0025D030 /* UISliderTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UISliderTest.h; sourceTree = ""; }; + 38DEFB7918C8221F0025D030 /* UITextFieldTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UITextFieldTest.cpp; sourceTree = ""; }; + 38DEFB7A18C8221F0025D030 /* UITextFieldTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UITextFieldTest.h; sourceTree = ""; }; + 38DEFB7C18C8221F0025D030 /* UIWidgetAddNodeTest.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = UIWidgetAddNodeTest.cpp; sourceTree = ""; }; + 38DEFB7D18C8221F0025D030 /* UIWidgetAddNodeTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIWidgetAddNodeTest.h; sourceTree = ""; }; + 38DEFB7E18C8221F0025D030 /* VisibleRect.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = VisibleRect.cpp; path = ../Classes/VisibleRect.cpp; sourceTree = ""; }; + 38DEFB7F18C8221F0025D030 /* VisibleRect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VisibleRect.h; path = ../Classes/VisibleRect.h; sourceTree = ""; }; + 38DEFBA218C8222F0025D030 /* CocosGUIScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CocosGUIScene.cpp; path = ../Classes/CocosGUIScene.cpp; 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 /* SampleHelloUI Mac.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleHelloUI Mac.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 = ""; }; + 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; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */, + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */, + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */, + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */, + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a 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 */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75C17EB910900C73F5D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */, + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */, + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */, + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */, + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */, + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */, + 5087E76717EB910900C73F5D /* libz.dylib in Frameworks */, + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */, + 5087E78B17EB975400C73F5D /* OpenGL.framework in Frameworks */, + 5087E78917EB974C00C73F5D /* AppKit.framework in Frameworks */, + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */, + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */, + 5087E76817EB910900C73F5D /* QuartzCore.framework in Frameworks */, + 5087E76917EB910900C73F5D /* OpenAL.framework in Frameworks */, + 5087E76A17EB910900C73F5D /* AVFoundation.framework in Frameworks */, + 5087E76B17EB910900C73F5D /* AudioToolbox.framework 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 = ""; + }; + 15AA9C4015B7EC450033D6C2 /* Classes */ = { + isa = PBXGroup; + children = ( + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */, + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */, + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */, + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */, + 38DEFB7E18C8221F0025D030 /* VisibleRect.cpp */, + 38DEFB7F18C8221F0025D030 /* VisibleRect.h */, + 38DEFBA218C8222F0025D030 /* CocosGUIScene.cpp */, + 38DEFB4F18C8221E0025D030 /* CocosGUIScene.h */, + 38DEFB5018C8221E0025D030 /* UIButtonTest */, + 38DEFB5318C8221E0025D030 /* UICheckBoxTest */, + 38DEFB5618C8221E0025D030 /* UIImageViewTest */, + 38DEFB5918C8221E0025D030 /* UILabelAtlasTest */, + 38DEFB5C18C8221E0025D030 /* UILabelBMFontTest */, + 38DEFB5F18C8221E0025D030 /* UILabelTest */, + 38DEFB6218C8221E0025D030 /* UILayoutTest */, + 38DEFB6518C8221E0025D030 /* UIListViewTest */, + 38DEFB6818C8221E0025D030 /* UILoadingBarTest */, + 38DEFB6B18C8221E0025D030 /* UIPageViewTest */, + 38DEFB6E18C8221E0025D030 /* UIScene.cpp */, + 38DEFB6F18C8221E0025D030 /* UIScene.h */, + 38DEFB7018C8221E0025D030 /* UISceneManager.cpp */, + 38DEFB7118C8221E0025D030 /* UISceneManager.h */, + 38DEFB7218C8221E0025D030 /* UIScrollViewTest */, + 38DEFB7518C8221E0025D030 /* UISliderTest */, + 38DEFB7818C8221F0025D030 /* UITextFieldTest */, + 38DEFB7B18C8221F0025D030 /* UIWidgetAddNodeTest */, + ); + name = Classes; + path = ../classes; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 1D6058910D05DD3D006BFB54 /* SampleHelloUI iOS.app */, + 5087E76F17EB910900C73F5D /* SampleHelloUI Mac.app */, + ); + name = Products; + sourceTree = ""; + }; + 1AC6FAE6180E9839004C840B /* Products */ = { + isa = PBXGroup; + children = ( + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */, + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */, + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */, + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */, + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */, + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */, + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */, + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */, + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */, + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */, + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */, + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */, + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */, + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { + isa = PBXGroup; + children = ( + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */, + 15AA9C4015B7EC450033D6C2 /* Classes */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 080E96DDFE201D6D7F000001 /* ios */, + 503AE10617EB990700D1A890 /* mac */, + 19C28FACFE9D520D11CA2CBB /* Products */, + 78C7DDAA14EBA5050085D0C2 /* Resources */, + ); + name = CustomTemplate; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 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 = ""; + }; + 38DEFB5018C8221E0025D030 /* UIButtonTest */ = { + isa = PBXGroup; + children = ( + 38DEFB5118C8221E0025D030 /* UIButtonTest.cpp */, + 38DEFB5218C8221E0025D030 /* UIButtonTest.h */, + ); + name = UIButtonTest; + path = ../Classes/UIButtonTest; + sourceTree = ""; + }; + 38DEFB5318C8221E0025D030 /* UICheckBoxTest */ = { + isa = PBXGroup; + children = ( + 38DEFB5418C8221E0025D030 /* UICheckBoxTest.cpp */, + 38DEFB5518C8221E0025D030 /* UICheckBoxTest.h */, + ); + name = UICheckBoxTest; + path = ../Classes/UICheckBoxTest; + sourceTree = ""; + }; + 38DEFB5618C8221E0025D030 /* UIImageViewTest */ = { + isa = PBXGroup; + children = ( + 38DEFB5718C8221E0025D030 /* UIImageViewTest.cpp */, + 38DEFB5818C8221E0025D030 /* UIImageViewTest.h */, + ); + name = UIImageViewTest; + path = ../Classes/UIImageViewTest; + sourceTree = ""; + }; + 38DEFB5918C8221E0025D030 /* UILabelAtlasTest */ = { + isa = PBXGroup; + children = ( + 38DEFB5A18C8221E0025D030 /* UILabelAtlasTest.cpp */, + 38DEFB5B18C8221E0025D030 /* UILabelAtlasTest.h */, + ); + name = UILabelAtlasTest; + path = ../Classes/UILabelAtlasTest; + sourceTree = ""; + }; + 38DEFB5C18C8221E0025D030 /* UILabelBMFontTest */ = { + isa = PBXGroup; + children = ( + 38DEFB5D18C8221E0025D030 /* UILabelBMFontTest.cpp */, + 38DEFB5E18C8221E0025D030 /* UILabelBMFontTest.h */, + ); + name = UILabelBMFontTest; + path = ../Classes/UILabelBMFontTest; + sourceTree = ""; + }; + 38DEFB5F18C8221E0025D030 /* UILabelTest */ = { + isa = PBXGroup; + children = ( + 38DEFB6018C8221E0025D030 /* UILabelTest.cpp */, + 38DEFB6118C8221E0025D030 /* UILabelTest.h */, + ); + name = UILabelTest; + path = ../Classes/UILabelTest; + sourceTree = ""; + }; + 38DEFB6218C8221E0025D030 /* UILayoutTest */ = { + isa = PBXGroup; + children = ( + 38DEFB6318C8221E0025D030 /* UILayoutTest.cpp */, + 38DEFB6418C8221E0025D030 /* UILayoutTest.h */, + ); + name = UILayoutTest; + path = ../Classes/UILayoutTest; + sourceTree = ""; + }; + 38DEFB6518C8221E0025D030 /* UIListViewTest */ = { + isa = PBXGroup; + children = ( + 38DEFB6618C8221E0025D030 /* UIListViewTest.cpp */, + 38DEFB6718C8221E0025D030 /* UIListViewTest.h */, + ); + name = UIListViewTest; + path = ../Classes/UIListViewTest; + sourceTree = ""; + }; + 38DEFB6818C8221E0025D030 /* UILoadingBarTest */ = { + isa = PBXGroup; + children = ( + 38DEFB6918C8221E0025D030 /* UILoadingBarTest.cpp */, + 38DEFB6A18C8221E0025D030 /* UILoadingBarTest.h */, + ); + name = UILoadingBarTest; + path = ../Classes/UILoadingBarTest; + sourceTree = ""; + }; + 38DEFB6B18C8221E0025D030 /* UIPageViewTest */ = { + isa = PBXGroup; + children = ( + 38DEFB6C18C8221E0025D030 /* UIPageViewTest.cpp */, + 38DEFB6D18C8221E0025D030 /* UIPageViewTest.h */, + ); + name = UIPageViewTest; + path = ../Classes/UIPageViewTest; + sourceTree = ""; + }; + 38DEFB7218C8221E0025D030 /* UIScrollViewTest */ = { + isa = PBXGroup; + children = ( + 38DEFB7318C8221E0025D030 /* UIScrollViewTest.cpp */, + 38DEFB7418C8221E0025D030 /* UIScrollViewTest.h */, + ); + name = UIScrollViewTest; + path = ../Classes/UIScrollViewTest; + sourceTree = ""; + }; + 38DEFB7518C8221E0025D030 /* UISliderTest */ = { + isa = PBXGroup; + children = ( + 38DEFB7618C8221E0025D030 /* UISliderTest.cpp */, + 38DEFB7718C8221E0025D030 /* UISliderTest.h */, + ); + name = UISliderTest; + path = ../Classes/UISliderTest; + sourceTree = ""; + }; + 38DEFB7818C8221F0025D030 /* UITextFieldTest */ = { + isa = PBXGroup; + children = ( + 38DEFB7918C8221F0025D030 /* UITextFieldTest.cpp */, + 38DEFB7A18C8221F0025D030 /* UITextFieldTest.h */, + ); + name = UITextFieldTest; + path = ../Classes/UITextFieldTest; + sourceTree = ""; + }; + 38DEFB7B18C8221F0025D030 /* UIWidgetAddNodeTest */ = { + isa = PBXGroup; + children = ( + 38DEFB7C18C8221F0025D030 /* UIWidgetAddNodeTest.cpp */, + 38DEFB7D18C8221F0025D030 /* UIWidgetAddNodeTest.h */, + ); + name = UIWidgetAddNodeTest; + path = ../Classes/UIWidgetAddNodeTest; + 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 = ( + 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; + }; + 78C7DDAA14EBA5050085D0C2 /* Resources */ = { + isa = PBXGroup; + children = ( + 38DEFB3D18C822110025D030 /* cocosgui */, + 38DEFB3F18C822110025D030 /* fonts */, + 38DEFB4018C822110025D030 /* hd */, + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */, + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */, + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */, + ); + name = Resources; + path = ../Resources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1D6058900D05DD3D006BFB54 /* SampleHelloUI iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "SampleHelloUI iOS" */; + buildPhases = ( + 1D60588D0D05DD3D006BFB54 /* Resources */, + 1D60588E0D05DD3D006BFB54 /* Sources */, + 1D60588F0D05DD3D006BFB54 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */, + ); + name = "SampleHelloUI iOS"; + productName = iphone; + productReference = 1D6058910D05DD3D006BFB54 /* SampleHelloUI iOS.app */; + productType = "com.apple.product-type.application"; + }; + 5087E73D17EB910900C73F5D /* SampleHelloUI Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleHelloUI Mac" */; + buildPhases = ( + 5087E74817EB910900C73F5D /* Resources */, + 5087E75617EB910900C73F5D /* Sources */, + 5087E75C17EB910900C73F5D /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */, + 1AC6FB16180E9959004C840B /* PBXTargetDependency */, + 1AC6FB18180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */, + ); + name = "SampleHelloUI Mac"; + productName = iphone; + productReference = 5087E76F17EB910900C73F5D /* SampleHelloUI Mac.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0500; + TargetAttributes = { + 1D6058900D05DD3D006BFB54 = { + DevelopmentTeam = MDDB52YB8L; + }; + }; + }; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleHelloUI" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = 1AC6FAE6180E9839004C840B /* Products */; + ProjectRef = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + 1D6058900D05DD3D006BFB54 /* SampleHelloUI iOS */, + 5087E73D17EB910900C73F5D /* SampleHelloUI Mac */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx Mac.a"; + remoteRef = 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions Mac.a"; + remoteRef = 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk Mac.a"; + remoteRef = 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d Mac.a"; + remoteRef = 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion Mac.a"; + remoteRef = 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings Mac.a"; + remoteRef = 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings Mac.a"; + remoteRef = 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx iOS.a"; + remoteRef = 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions iOS.a"; + remoteRef = 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk iOS.a"; + remoteRef = 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d iOS.a"; + remoteRef = 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion iOS.a"; + remoteRef = 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings iOS.a"; + remoteRef = 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings iOS.a"; + remoteRef = 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXResourcesBuildPhase section */ + 1D60588D0D05DD3D006BFB54 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFB4118C822110025D030 /* cocosgui in Resources */, + 5087E78117EB970100C73F5D /* Icon-120.png in Resources */, + 5087E78617EB970100C73F5D /* Icon-76.png in Resources */, + 38DEFB4718C822110025D030 /* hd in Resources */, + 5087E77F17EB970100C73F5D /* Default@2x.png in Resources */, + 50EF629917ECD46A001EB2F8 /* Icon-100.png in Resources */, + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */, + 5087E78317EB970100C73F5D /* Icon-152.png in Resources */, + 5087E77D17EB970100C73F5D /* Default-568h@2x.png in Resources */, + 5087E78517EB970100C73F5D /* Icon-72.png in Resources */, + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */, + 50EF62A317ECD613001EB2F8 /* Icon-50.png in Resources */, + 38DEFB4518C822110025D030 /* fonts in Resources */, + 5087E78017EB970100C73F5D /* Icon-114.png in Resources */, + 1AFAF8BE16D35E4900DB1158 /* 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 */, + 50EF629717ECD46A001EB2F8 /* Icon-58.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E74817EB910900C73F5D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFB4218C822110025D030 /* cocosgui in Resources */, + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */, + 38DEFB4618C822110025D030 /* fonts in Resources */, + 503AE0F817EB97AB00D1A890 /* Icon.icns in Resources */, + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */, + 38DEFB4818C822110025D030 /* hd in Resources */, + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1D60588E0D05DD3D006BFB54 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFB8418C8221F0025D030 /* UIImageViewTest.cpp in Sources */, + 503AE10017EB989F00D1A890 /* AppController.mm in Sources */, + 503AE10217EB989F00D1A890 /* RootViewController.mm in Sources */, + 38DEFB9818C8221F0025D030 /* UIScrollViewTest.cpp in Sources */, + 38DEFB8E18C8221F0025D030 /* UIListViewTest.cpp in Sources */, + 38DEFB9018C8221F0025D030 /* UILoadingBarTest.cpp in Sources */, + 38DEFB9218C8221F0025D030 /* UIPageViewTest.cpp in Sources */, + 38DEFBA318C822300025D030 /* CocosGUIScene.cpp in Sources */, + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */, + 38DEFBA018C8221F0025D030 /* VisibleRect.cpp in Sources */, + 38DEFB8218C8221F0025D030 /* UICheckBoxTest.cpp in Sources */, + 38DEFB9418C8221F0025D030 /* UIScene.cpp in Sources */, + 38DEFB9E18C8221F0025D030 /* UIWidgetAddNodeTest.cpp in Sources */, + 38DEFB9A18C8221F0025D030 /* UISliderTest.cpp in Sources */, + 38DEFB8018C8221F0025D030 /* UIButtonTest.cpp in Sources */, + 38DEFB8818C8221F0025D030 /* UILabelBMFontTest.cpp in Sources */, + 38DEFB8A18C8221F0025D030 /* UILabelTest.cpp in Sources */, + 503AE10117EB989F00D1A890 /* main.m in Sources */, + 38DEFB8C18C8221F0025D030 /* UILayoutTest.cpp in Sources */, + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */, + 38DEFB8618C8221F0025D030 /* UILabelAtlasTest.cpp in Sources */, + 38DEFB9618C8221F0025D030 /* UISceneManager.cpp in Sources */, + 38DEFB9C18C8221F0025D030 /* UITextFieldTest.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75617EB910900C73F5D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFB9718C8221F0025D030 /* UISceneManager.cpp in Sources */, + 38DEFB9D18C8221F0025D030 /* UITextFieldTest.cpp in Sources */, + 38DEFB9B18C8221F0025D030 /* UISliderTest.cpp in Sources */, + 38DEFB8F18C8221F0025D030 /* UIListViewTest.cpp in Sources */, + 38DEFBA118C8221F0025D030 /* VisibleRect.cpp in Sources */, + 38DEFB8718C8221F0025D030 /* UILabelAtlasTest.cpp in Sources */, + 38DEFB8D18C8221F0025D030 /* UILayoutTest.cpp in Sources */, + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */, + 38DEFB8918C8221F0025D030 /* UILabelBMFontTest.cpp in Sources */, + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */, + 38DEFB9518C8221F0025D030 /* UIScene.cpp in Sources */, + 38DEFB9118C8221F0025D030 /* UILoadingBarTest.cpp in Sources */, + 38DEFB8B18C8221F0025D030 /* UILabelTest.cpp in Sources */, + 503AE10517EB98FF00D1A890 /* main.cpp in Sources */, + 38DEFB9318C8221F0025D030 /* UIPageViewTest.cpp in Sources */, + 38DEFBA418C822300025D030 /* CocosGUIScene.cpp in Sources */, + 38DEFB8318C8221F0025D030 /* UICheckBoxTest.cpp in Sources */, + 38DEFB9F18C8221F0025D030 /* UIWidgetAddNodeTest.cpp in Sources */, + 38DEFB9918C8221F0025D030 /* UIScrollViewTest.cpp in Sources */, + 38DEFB8518C8221F0025D030 /* UIImageViewTest.cpp in Sources */, + 38DEFB8118C8221F0025D030 /* UIButtonTest.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1AC6FB16180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx Mac"; + targetProxy = 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB18180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions Mac"; + targetProxy = 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk Mac"; + targetProxy = 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion Mac"; + targetProxy = 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d Mac"; + targetProxy = 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx iOS"; + targetProxy = 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions iOS"; + targetProxy = 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk iOS"; + targetProxy = 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d iOS"; + targetProxy = 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion iOS"; + targetProxy = 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 "SampleHelloUI iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1D6058940D05DD3E006BFB54 /* Debug */, + 1D6058950D05DD3E006BFB54 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleHelloUI Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5087E76D17EB910900C73F5D /* Debug */, + 5087E76E17EB910900C73F5D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleHelloUI" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/SampleHelloUI/proj.ios_mac/ios/AppController.h b/SampleHelloUI/proj.ios_mac/ios/AppController.h new file mode 100644 index 0000000..d0940a5 --- /dev/null +++ b/SampleHelloUI/proj.ios_mac/ios/AppController.h @@ -0,0 +1,11 @@ +#import + +@class RootViewController; + +@interface AppController : NSObject { + UIWindow *window; + RootViewController *viewController; +} + +@end + diff --git a/SampleHelloUI/proj.ios_mac/ios/AppController.mm b/SampleHelloUI/proj.ios_mac/ios/AppController.mm new file mode 100644 index 0000000..3ceacda --- /dev/null +++ b/SampleHelloUI/proj.ios_mac/ios/AppController.mm @@ -0,0 +1,142 @@ +/**************************************************************************** + 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 "CCEAGLView.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 { + + // 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: kEAGLColorFormatRGB565 + depthFormat: GL_DEPTH24_STENCIL8_OES + preserveBackbuffer: NO + sharegroup: nil + multiSampling: NO + numberOfSamples: 0]; + + // 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::GLView::createWithEAGLView(eaglView); + cocos2d::Director::getInstance()->setOpenGLView(glview); + + cocos2d::Application::getInstance()->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/SampleHelloUI/proj.ios_mac/ios/Default-568h@2x.png b/SampleHelloUI/proj.ios_mac/ios/Default-568h@2x.png new file mode 100644 index 0000000..66c6d1c Binary files /dev/null and b/SampleHelloUI/proj.ios_mac/ios/Default-568h@2x.png differ diff --git a/SampleHelloUI/proj.ios_mac/ios/Default.png b/SampleHelloUI/proj.ios_mac/ios/Default.png new file mode 100644 index 0000000..dcb8072 Binary files /dev/null and b/SampleHelloUI/proj.ios_mac/ios/Default.png differ diff --git a/SampleHelloUI/proj.ios_mac/ios/Default@2x.png b/SampleHelloUI/proj.ios_mac/ios/Default@2x.png new file mode 100644 index 0000000..8468988 Binary files /dev/null and b/SampleHelloUI/proj.ios_mac/ios/Default@2x.png differ diff --git a/SampleHelloUI/proj.ios_mac/ios/Icon-100.png b/SampleHelloUI/proj.ios_mac/ios/Icon-100.png new file mode 100644 index 0000000..ef38d45 Binary files /dev/null and b/SampleHelloUI/proj.ios_mac/ios/Icon-100.png differ diff --git a/SampleHelloUI/proj.ios_mac/ios/Icon-114.png b/SampleHelloUI/proj.ios_mac/ios/Icon-114.png new file mode 100644 index 0000000..c380786 Binary files /dev/null and b/SampleHelloUI/proj.ios_mac/ios/Icon-114.png differ diff --git a/SampleHelloUI/proj.ios_mac/ios/Icon-120.png b/SampleHelloUI/proj.ios_mac/ios/Icon-120.png new file mode 100644 index 0000000..a5b49cc Binary files /dev/null and b/SampleHelloUI/proj.ios_mac/ios/Icon-120.png differ diff --git a/SampleHelloUI/proj.ios_mac/ios/Icon-144.png b/SampleHelloUI/proj.ios_mac/ios/Icon-144.png new file mode 100644 index 0000000..1526615 Binary files /dev/null and b/SampleHelloUI/proj.ios_mac/ios/Icon-144.png differ diff --git a/SampleHelloUI/proj.ios_mac/ios/Icon-152.png b/SampleHelloUI/proj.ios_mac/ios/Icon-152.png new file mode 100644 index 0000000..8aa8250 Binary files /dev/null and b/SampleHelloUI/proj.ios_mac/ios/Icon-152.png differ diff --git a/SampleHelloUI/proj.ios_mac/ios/Icon-29.png b/SampleHelloUI/proj.ios_mac/ios/Icon-29.png new file mode 100644 index 0000000..0500184 Binary files /dev/null and b/SampleHelloUI/proj.ios_mac/ios/Icon-29.png differ diff --git a/SampleHelloUI/proj.ios_mac/ios/Icon-40.png b/SampleHelloUI/proj.ios_mac/ios/Icon-40.png new file mode 100644 index 0000000..775685d Binary files /dev/null and b/SampleHelloUI/proj.ios_mac/ios/Icon-40.png differ diff --git a/SampleHelloUI/proj.ios_mac/ios/Icon-50.png b/SampleHelloUI/proj.ios_mac/ios/Icon-50.png new file mode 100644 index 0000000..ac381bc Binary files /dev/null and b/SampleHelloUI/proj.ios_mac/ios/Icon-50.png differ diff --git a/SampleHelloUI/proj.ios_mac/ios/Icon-57.png b/SampleHelloUI/proj.ios_mac/ios/Icon-57.png new file mode 100644 index 0000000..4fcc6fd Binary files /dev/null and b/SampleHelloUI/proj.ios_mac/ios/Icon-57.png differ diff --git a/SampleHelloUI/proj.ios_mac/ios/Icon-58.png b/SampleHelloUI/proj.ios_mac/ios/Icon-58.png new file mode 100644 index 0000000..f0f8b7f Binary files /dev/null and b/SampleHelloUI/proj.ios_mac/ios/Icon-58.png differ diff --git a/SampleHelloUI/proj.ios_mac/ios/Icon-72.png b/SampleHelloUI/proj.ios_mac/ios/Icon-72.png new file mode 100644 index 0000000..2c573c8 Binary files /dev/null and b/SampleHelloUI/proj.ios_mac/ios/Icon-72.png differ diff --git a/SampleHelloUI/proj.ios_mac/ios/Icon-76.png b/SampleHelloUI/proj.ios_mac/ios/Icon-76.png new file mode 100644 index 0000000..8a1fa18 Binary files /dev/null and b/SampleHelloUI/proj.ios_mac/ios/Icon-76.png differ diff --git a/SampleHelloUI/proj.ios_mac/ios/Icon-80.png b/SampleHelloUI/proj.ios_mac/ios/Icon-80.png new file mode 100644 index 0000000..d9c7ab4 Binary files /dev/null and b/SampleHelloUI/proj.ios_mac/ios/Icon-80.png differ diff --git a/SampleHelloUI/proj.ios_mac/ios/Info.plist b/SampleHelloUI/proj.ios_mac/ios/Info.plist new file mode 100644 index 0000000..88a89b9 --- /dev/null +++ b/SampleHelloUI/proj.ios_mac/ios/Info.plist @@ -0,0 +1,70 @@ + + + + + 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.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIAppFonts + + UIPrerenderedIcon + + UISupportedInterfaceOrientations + + UIInterfaceOrientationLandscapeRight + UIInterfaceOrientationLandscapeLeft + + + diff --git a/SampleHelloUI/proj.ios_mac/ios/Prefix.pch b/SampleHelloUI/proj.ios_mac/ios/Prefix.pch new file mode 100644 index 0000000..3737d11 --- /dev/null +++ b/SampleHelloUI/proj.ios_mac/ios/Prefix.pch @@ -0,0 +1,8 @@ +// +// Prefix header for all source files of the 'iphone' target in the 'iphone' project +// + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/SampleHelloUI/proj.ios_mac/ios/RootViewController.h b/SampleHelloUI/proj.ios_mac/ios/RootViewController.h new file mode 100644 index 0000000..6cde57f --- /dev/null +++ b/SampleHelloUI/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/SampleHelloUI/proj.ios_mac/ios/RootViewController.mm b/SampleHelloUI/proj.ios_mac/ios/RootViewController.mm new file mode 100644 index 0000000..c500a44 --- /dev/null +++ b/SampleHelloUI/proj.ios_mac/ios/RootViewController.mm @@ -0,0 +1,108 @@ +/**************************************************************************** + 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 "CCEAGLView.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]; + + cocos2d::GLView *glview = cocos2d::Director::getInstance()->getOpenGLView(); + CCEAGLView *eaglview = (CCEAGLView*) glview->getEAGLView(); + + 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/SampleHelloUI/proj.ios_mac/ios/main.m b/SampleHelloUI/proj.ios_mac/ios/main.m new file mode 100644 index 0000000..84158b2 --- /dev/null +++ b/SampleHelloUI/proj.ios_mac/ios/main.m @@ -0,0 +1,12 @@ +#import + +// Under iOS and the Simulator, we can use an alternate Accelerometer interface +#import "AccelerometerSimulation.h" + +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/SampleHelloUI/proj.ios_mac/mac/Icon.icns b/SampleHelloUI/proj.ios_mac/mac/Icon.icns new file mode 100644 index 0000000..2040fc6 Binary files /dev/null and b/SampleHelloUI/proj.ios_mac/mac/Icon.icns differ diff --git a/SampleHelloUI/proj.ios_mac/mac/Info.plist b/SampleHelloUI/proj.ios_mac/mac/Info.plist new file mode 100644 index 0000000..df93f67 --- /dev/null +++ b/SampleHelloUI/proj.ios_mac/mac/Info.plist @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + Icon + CFBundleIdentifier + org.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + 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/SampleHelloUI/proj.ios_mac/mac/Prefix.pch b/SampleHelloUI/proj.ios_mac/mac/Prefix.pch new file mode 100644 index 0000000..96d93ae --- /dev/null +++ b/SampleHelloUI/proj.ios_mac/mac/Prefix.pch @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'Paralaxer' target in the 'Paralaxer' project +// + +#ifdef __OBJC__ + #import +#endif diff --git a/SampleHelloUI/proj.ios_mac/mac/main.cpp b/SampleHelloUI/proj.ios_mac/mac/main.cpp new file mode 100644 index 0000000..f0b87fb --- /dev/null +++ b/SampleHelloUI/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(); +} diff --git a/SampleHelloUI/proj.linux/main.cpp b/SampleHelloUI/proj.linux/main.cpp new file mode 100644 index 0000000..7742def --- /dev/null +++ b/SampleHelloUI/proj.linux/main.cpp @@ -0,0 +1,15 @@ +#include "../Classes/AppDelegate.h" + +#include +#include +#include +#include + +USING_NS_CC; + +int main(int argc, char **argv) +{ + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleHelloUI/proj.win32/SampleHelloUI.sln b/SampleHelloUI/proj.win32/SampleHelloUI.sln new file mode 100755 index 0000000..3bc94e5 --- /dev/null +++ b/SampleHelloUI/proj.win32/SampleHelloUI.sln @@ -0,0 +1,61 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleHelloUI", "SampleHelloUI.vcxproj", "{76A39BB2-9B84-4C65-98A5-654D86B86F2A}" + ProjectSection(ProjectDependencies) = postProject + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\cocos2d\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\cocos2d\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\cocos2d\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosStudio", "..\cocos2d\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libGUI", "..\cocos2d\cocos\gui\proj.win32\libGUI.vcxproj", "{7E06E92C-537A-442B-9E4A-4761C84F8A1A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libExtensions", "..\cocos2d\extensions\proj.win32\libExtensions.vcxproj", "{21B2C324-891F-48EA-AD1A-5AE13DE12E28}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.ActiveCfg = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.Build.0 = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.ActiveCfg = Release|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.Build.0 = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.ActiveCfg = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.Build.0 = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.ActiveCfg = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.Build.0 = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.ActiveCfg = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.Build.0 = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.ActiveCfg = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.Build.0 = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.ActiveCfg = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.Build.0 = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.ActiveCfg = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.Build.0 = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.ActiveCfg = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.Build.0 = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.ActiveCfg = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.Build.0 = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.ActiveCfg = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.Build.0 = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.ActiveCfg = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.Build.0 = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.ActiveCfg = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.Build.0 = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.ActiveCfg = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SampleHelloUI/proj.win32/SampleHelloUI.vcxproj b/SampleHelloUI/proj.win32/SampleHelloUI.vcxproj new file mode 100755 index 0000000..1169f72 --- /dev/null +++ b/SampleHelloUI/proj.win32/SampleHelloUI.vcxproj @@ -0,0 +1,208 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {76A39BB2-9B84-4C65-98A5-654D86B86F2A} + test_win32 + Win32Proj + + + + Application + Unicode + true + v100 + v110 + v110_xp + + + Application + Unicode + v100 + v110 + v110_xp + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + true + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + false + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;$(EngineRoot);$(EngineRoot)cocos\editor-support;$(EngineRoot)cocos;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + EditAndContinue + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + MaxSpeed + true + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + ProgramDatabase + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + libcurl_imp.lib;websockets.lib;%(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + true + true + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {98a51ba8-fc3a-415b-ac8f-8c7bd464e93e} + false + + + {f8edd7fa-9a51-4e80-baeb-860825d2eac6} + + + {b57cf53f-2e49-4031-9822-047cc0e6bde2} + + + {7e06e92c-537a-442b-9e4a-4761c84f8a1a} + + + {21b2c324-891f-48ea-ad1a-5ae13de12e28} + + + {207bc7a9-ccf1-4f2f-a04d-45f72242ae25} + + + + + + + + + \ No newline at end of file diff --git a/SampleHelloUI/proj.win32/SampleHelloUI.vcxproj.filters b/SampleHelloUI/proj.win32/SampleHelloUI.vcxproj.filters new file mode 100755 index 0000000..eae003b --- /dev/null +++ b/SampleHelloUI/proj.win32/SampleHelloUI.vcxproj.filters @@ -0,0 +1,191 @@ + + + + + {84a8ebd7-7cf0-47f6-b75e-d441df67da40} + + + {bb6c862e-70e9-49d9-81b7-3829a6f50471} + + + {715254bc-d70b-4ec5-bf29-467dd3ace079} + + + {5bc6491b-5175-41de-99bc-ad196703c205} + + + {5464cc84-39bd-4d91-bead-6f07133c1f11} + + + {08434b4a-cdbe-4dcc-a957-9e6de8e1dfa6} + + + {881a7751-7dc7-4704-8094-eb1b2bad47e3} + + + {b6f69615-d81d-4bf8-a7f1-2e39ca846cad} + + + {8ad7174c-b260-4d34-9527-eec8be2f7ebd} + + + {d6f660aa-b50c-42c7-affc-a3297c8dbf27} + + + {6e432815-363c-433d-9881-5f9c02b3af03} + + + {dbbede1f-4241-4bd5-8473-356a30f81c3d} + + + {849addf3-d553-4c6f-b01f-97df2c732f91} + + + {d1f231ae-ebac-4da0-9377-ed07cb7af437} + + + {ea44dc94-e0be-4b7e-949f-011522133e6c} + + + {70962cf3-2704-458f-8c95-31a408527a6c} + + + {e787aadc-2c92-46db-82f9-35161a860f86} + + + + + win32 + + + Classes + + + Classes + + + Classes + + + Classes + + + Classes + + + Classes + + + Classes\UIButtonTest + + + Classes\UICheckBoxTest + + + Classes\UIImageViewTest + + + Classes\UILabelAtlasTest + + + Classes\UILabelBMFontTest + + + Classes\UILabelTest + + + Classes\UILayoutTest + + + Classes\UIListViewTest + + + Classes\UILoadingBarTest + + + Classes\UIPageViewTest + + + Classes\UIScrollViewTest + + + Classes\UISliderTest + + + Classes\UITextFieldTest + + + Classes\UIWidgetAddNodeTest + + + + + win32 + + + Classes + + + Classes + + + Classes + + + Classes + + + Classes + + + Classes + + + Classes\UIButtonTest + + + Classes\UICheckBoxTest + + + Classes\UIImageViewTest + + + Classes\UILabelAtlasTest + + + Classes\UILabelBMFontTest + + + Classes\UILabelTest + + + Classes\UILayoutTest + + + Classes\UIListViewTest + + + Classes\UILoadingBarTest + + + Classes\UIPageViewTest + + + Classes\UIScrollViewTest + + + Classes\UISliderTest + + + Classes\UITextFieldTest + + + Classes\UIWidgetAddNodeTest + + + + + resource + + + \ No newline at end of file diff --git a/SampleHelloUI/proj.win32/SampleHelloUI.vcxproj.user b/SampleHelloUI/proj.win32/SampleHelloUI.vcxproj.user new file mode 100644 index 0000000..314a27a --- /dev/null +++ b/SampleHelloUI/proj.win32/SampleHelloUI.vcxproj.user @@ -0,0 +1,11 @@ + + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + \ No newline at end of file diff --git a/SampleHelloUI/proj.win32/game.rc b/SampleHelloUI/proj.win32/game.rc new file mode 100644 index 0000000..09d7d99 --- /dev/null +++ b/SampleHelloUI/proj.win32/game.rc @@ -0,0 +1,86 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +#undef APSTUDIO_HIDDEN_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +GLFW_ICON ICON "res\\game.ico" + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,1 + PRODUCTVERSION 1,0,0,1 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904B0" + BEGIN + VALUE "CompanyName", "\0" + VALUE "FileDescription", "game Module\0" + VALUE "FileVersion", "1, 0, 0, 1\0" + VALUE "InternalName", "game\0" + VALUE "LegalCopyright", "Copyright \0" + VALUE "OriginalFilename", "game.exe\0" + VALUE "ProductName", "game Module\0" + VALUE "ProductVersion", "1, 0, 0, 1\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0409, 0x04B0 + END +END + +///////////////////////////////////////////////////////////////////////////// +#endif // !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) diff --git a/SampleHelloUI/proj.win32/main.cpp b/SampleHelloUI/proj.win32/main.cpp new file mode 100644 index 0000000..4ef499e --- /dev/null +++ b/SampleHelloUI/proj.win32/main.cpp @@ -0,0 +1,18 @@ +#include "main.h" +#include "AppDelegate.h" +#include "cocos2d.h" + +USING_NS_CC; + +int APIENTRY _tWinMain(HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPTSTR lpCmdLine, + int nCmdShow) +{ + UNREFERENCED_PARAMETER(hPrevInstance); + UNREFERENCED_PARAMETER(lpCmdLine); + + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleHelloUI/proj.win32/main.h b/SampleHelloUI/proj.win32/main.h new file mode 100644 index 0000000..e4d2aa3 --- /dev/null +++ b/SampleHelloUI/proj.win32/main.h @@ -0,0 +1,13 @@ +#ifndef __MAIN_H__ +#define __MAIN_H__ + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers + +// Windows Header Files: +#include +#include + +// C RunTime Header Files +#include "CCStdC.h" + +#endif // __MAIN_H__ diff --git a/SampleHelloUI/proj.win32/res/game.ico b/SampleHelloUI/proj.win32/res/game.ico new file mode 100644 index 0000000..feaf932 Binary files /dev/null and b/SampleHelloUI/proj.win32/res/game.ico differ diff --git a/SampleHelloUI/proj.win32/resource.h b/SampleHelloUI/proj.win32/resource.h new file mode 100644 index 0000000..ecde7ef --- /dev/null +++ b/SampleHelloUI/proj.win32/resource.h @@ -0,0 +1,20 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by game.RC +// + +#define IDS_PROJNAME 100 +#define IDR_TESTJS 100 + +#define ID_FILE_NEW_WINDOW 32771 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 201 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 32775 +#endif +#endif diff --git a/SampleImageViewer/CMakeLists.txt b/SampleImageViewer/CMakeLists.txt new file mode 100644 index 0000000..82a8f20 --- /dev/null +++ b/SampleImageViewer/CMakeLists.txt @@ -0,0 +1,169 @@ +cmake_minimum_required(VERSION 2.6) + +set(APP_NAME MyGame) +project (${APP_NAME}) + +include(cocos2d/build/BuildHelpers.CMakeLists.txt) + +option(USE_CHIPMUNK "Use chipmunk for physics library" ON) +option(USE_BOX2D "Use box2d for physics library" OFF) +option(DEBUG_MODE "Debug or release?" ON) + +if(DEBUG_MODE) + set(CMAKE_BUILD_TYPE DEBUG) +else(DEBUG_MODE) + set(CMAKE_BUILD_TYPE RELEASE) +endif(DEBUG_MODE) + +set(CMAKE_C_FLAGS_DEBUG "-g -Wall -DCOCOS2D_DEBUG=1") +set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) + +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + +if(USE_CHIPMUNK) + message("Using chipmunk ...") + add_definitions(-DLINUX -DCC_ENABLE_CHIPMUNK_INTEGRATION=1) +elseif(USE_BOX2D) + message("Using box2d ...") + add_definitions(-DLINUX -DCC_ENABLE_BOX2D_INTEGRATION=1) +else(USE_CHIPMUNK) + message(FATAL_ERROR "Must choose a physics library.") +endif(USE_CHIPMUNK) + +# architecture +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(ARCH_DIR "64-bit") +else() +set(ARCH_DIR "32-bit") +endif() + + +set(GAME_SRC + proj.linux/main.cpp + Classes/AppDelegate.cpp + Classes/HelloWorldScene.cpp +) + +set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/cocos2d) + +include_directories( + /usr/local/include/GLFW + ${COCOS2D_ROOT} + ${COCOS2D_ROOT}/cocos + ${COCOS2D_ROOT}/cocos/audio/include + ${COCOS2D_ROOT}/cocos/2d + ${COCOS2D_ROOT}/cocos/2d/renderer + ${COCOS2D_ROOT}/cocos/2d/platform + ${COCOS2D_ROOT}/cocos/2d/platform/desktop + ${COCOS2D_ROOT}/cocos/2d/platform/linux + ${COCOS2D_ROOT}/cocos/base + ${COCOS2D_ROOT}/cocos/physics + ${COCOS2D_ROOT}/cocos/editor-support + ${COCOS2D_ROOT}/cocos/math/kazmath/include + ${COCOS2D_ROOT}/extensions + ${COCOS2D_ROOT}/external + ${COCOS2D_ROOT}/external/edtaa3func + ${COCOS2D_ROOT}/external/jpeg/include/linux + ${COCOS2D_ROOT}/external/tiff/include/linux + ${COCOS2D_ROOT}/external/webp/include/linux + ${COCOS2D_ROOT}/external/tinyxml2 + ${COCOS2D_ROOT}/external/unzip + ${COCOS2D_ROOT}/external/chipmunk/include/chipmunk + ${COCOS2D_ROOT}/external/freetype2/include/linux + ${COCOS2D_ROOT}/external/websockets/include/linux + ${COCOS2D_ROOT}/external/spidermonkey/include/linux + ${COCOS2D_ROOT}/external/linux-specific/fmod/include/${ARCH_DIR} +) + +link_directories( + /usr/local/lib + ${COCOS2D_ROOT}/external/jpeg/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/tiff/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/webp/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/freetype2/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/websockets/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/spidermonkey/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/linux-specific/fmod/prebuilt/${ARCH_DIR} +) + +# kazmath +add_subdirectory(${COCOS2D_ROOT}/cocos/math/kazmath) + +# chipmunk library +add_subdirectory(${COCOS2D_ROOT}/external/chipmunk/src) + +# box2d library +add_subdirectory(${COCOS2D_ROOT}/external/Box2D) + +# unzip library +add_subdirectory(${COCOS2D_ROOT}/external/unzip) + +# tinyxml2 library +add_subdirectory(${COCOS2D_ROOT}/external/tinyxml2) + +# audio +add_subdirectory(${COCOS2D_ROOT}/cocos/audio) + +# cocos base library +add_subdirectory(${COCOS2D_ROOT}/cocos/base) + +# cocos 2d library +add_subdirectory(${COCOS2D_ROOT}/cocos/2d) + +# cocos storage +add_subdirectory(${COCOS2D_ROOT}/cocos/storage) + +# gui +add_subdirectory(${COCOS2D_ROOT}/cocos/gui) + +# network +add_subdirectory(${COCOS2D_ROOT}/cocos/network) + +# extensions +add_subdirectory(${COCOS2D_ROOT}/extensions) + +## Editor Support + +# spine +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/spine) + +# cocosbuilder +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocosbuilder) + +# cocostudio +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocostudio) + +# add the executable +add_executable(${APP_NAME} + ${GAME_SRC} +) + +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(FMOD_LIB "fmodex64") +else() +set(FMOD_LIB "fmodex") +endif() + +target_link_libraries(${APP_NAME} + gui + network + storage + spine + cocostudio + cocosbuilder + extensions + audio + cocos2d + ) + +set(APP_BIN_DIR "${CMAKE_BINARY_DIR}/bin") + +set_target_properties(${APP_NAME} PROPERTIES + RUNTIME_OUTPUT_DIRECTORY "${APP_BIN_DIR}") + +pre_build(${APP_NAME} + COMMAND ${CMAKE_COMMAND} -E remove_directory ${APP_BIN_DIR}/Resources + COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/Resources ${APP_BIN_DIR}/Resources + ) + diff --git a/SampleImageViewer/Classes/AppDelegate.cpp b/SampleImageViewer/Classes/AppDelegate.cpp new file mode 100644 index 0000000..3577642 --- /dev/null +++ b/SampleImageViewer/Classes/AppDelegate.cpp @@ -0,0 +1,73 @@ +#include "AppDelegate.h" +#include "HelloWorldScene.h" +#include "CocosGUIExamplesPageScene.h" + +USING_NS_CC; + +AppDelegate::AppDelegate() { + +} + +AppDelegate::~AppDelegate() +{ +} + +bool AppDelegate::applicationDidFinishLaunching() { + // initialize director + auto director = Director::getInstance(); + auto glview = director->getOpenGLView(); + if(!glview) { + glview = GLView::create("My Game"); + director->setOpenGLView(glview); + } + + // turn on display FPS + director->setDisplayStats(true); + + // set FPS. the default value is 1.0/60 if you don't call this + director->setAnimationInterval(1.0 / 60); + + auto screenSize = glview->getFrameSize(); + + auto designSize = Size(480, 320); + + auto fileUtils = FileUtils::getInstance(); + std::vector searchPaths; + + if (screenSize.height > 320) + { + auto resourceSize = Size(960, 640); + searchPaths.push_back("hd"); + director->setContentScaleFactor(resourceSize.height/designSize.height); + } + + fileUtils->setSearchPaths(searchPaths); + + // glview->setDesignResolutionSize(screenSize.width, screenSize.height, ResolutionPolicy::NO_BORDER); + glview->setDesignResolutionSize(designSize.width, designSize.height, ResolutionPolicy::NO_BORDER); + + // create a scene. it's an autorelease object + auto scene = new CocosGUIExamplesPageScene(); + scene->autorelease(); + + // 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::sharedEngine()->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::sharedEngine()->resumeBackgroundMusic(); +} diff --git a/SampleImageViewer/Classes/AppDelegate.h b/SampleImageViewer/Classes/AppDelegate.h new file mode 100644 index 0000000..01cbb7c --- /dev/null +++ b/SampleImageViewer/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/SampleImageViewer/Classes/CocosGUIExamplesPageScene.cpp b/SampleImageViewer/Classes/CocosGUIExamplesPageScene.cpp new file mode 100644 index 0000000..f0cb131 --- /dev/null +++ b/SampleImageViewer/Classes/CocosGUIExamplesPageScene.cpp @@ -0,0 +1,136 @@ + + +#include "CocosGUIExamplesPageScene.h" +#include "cocostudio/CCSSceneReader.h" +#include "cocostudio/CCSGUIReader.h" +#include "cocostudio/CCActionManagerEx.h" + +const char* page_image_textures[4] = +{ + "cocosgui/gui_examples/page_1/page_content/CocoStudio_AnimationEditor.png", + "cocosgui/gui_examples/page_1/page_content/CocoStudio_DataEditor.png", + "cocosgui/gui_examples/page_1/page_content/CocoStudio_SceneEditor.png", + "cocosgui/gui_examples/page_1/page_content/CocoStudio_UIEditor.png", +}; + +CocosGUIExamplesPageScene::CocosGUIExamplesPageScene() +{ + CCScene::init(); +} + +CocosGUIExamplesPageScene::~CocosGUIExamplesPageScene() +{ + +} + +void CocosGUIExamplesPageScene::onEnter() +{ + CCScene::onEnter(); + + m_pUILayer = Layer::create(); + m_pUILayer->scheduleUpdate(); + addChild(m_pUILayer); + + PageInit(); + + Size winSize = CCDirector::getInstance()->getWinSize(); + + Text* label = Text::create(); + label->setText("Move by horizontal direction"); + const char* font = +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + // custom ttf files are defined in Test-info.plist + "Marker Felt"; +#else + "fonts/Marker Felt.ttf"; +#endif + label->setFontName(font); + label->setFontSize(32); + label->setAnchorPoint(Point(0.5f, -1)); + label->setPosition(Point(winSize.width / 2.0f, winSize.height / 2.0f + label->getSize().height * 1.5)); + m_pUILayer->addChild(label); + + // exit button + Button* exit_button = Button::create(); + exit_button->setTouchEnabled(true); + exit_button->loadTextures("CloseNormal.png", "CloseSelected.png", ""); + exit_button->setPosition(Point(m_pUILayer->getContentSize().width - exit_button->getSize().width, exit_button->getSize().height)); + exit_button->addTouchEventListener(this, toucheventselector(CocosGUIExamplesPageScene::menuCloseCallback)); + m_pUILayer->addChild(exit_button); +} + +void CocosGUIExamplesPageScene::onExit() +{ + m_pUILayer->removeFromParent(); + + cocostudio::SceneReader::destroyInstance(); + cocostudio::GUIReader::destroyInstance(); + cocostudio::ActionManagerEx::destroyInstance(); + + CCScene::onExit(); +} + +void CocosGUIExamplesPageScene::menuCloseCallback(Ref* pSender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + CCDirector::getInstance()->end(); + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + exit(0); +#endif + } +} + +void CocosGUIExamplesPageScene::PageInit() +{ + // page root from json + _root = static_cast(cocostudio::GUIReader::getInstance()->widgetFromJsonFile("cocosgui/gui_examples/page_1/page_1.json")); + m_pUILayer->addChild(_root); + + // page layout + Layout* page_layout = dynamic_cast(_root->getChildByName("page_panel")); + + // page view add to page layout + PageView* pageView = PageView::create(); + pageView->setTouchEnabled(true); + pageView->setSize(page_layout->getSize()); + + // layout add to page view + for (int i = 0; i < 4; ++i) + { + Layout* layout = Layout::create(); + layout->setSize(pageView->getSize()); + + ImageView* imageView = ImageView::create(); + imageView->setTouchEnabled(true); + imageView->loadTexture(page_image_textures[i]); + imageView->setPosition(Point(layout->getSize().width / 2, layout->getSize().height / 2)); + layout->addChild(imageView); + + pageView->addPage(layout); + } + pageView->addEventListenerPageView(this, pagevieweventselector(CocosGUIExamplesPageScene::pageViewEvent)); + page_layout->addChild(pageView); +} + +void CocosGUIExamplesPageScene::pageViewEvent(Ref *pSender, PageViewEventType type) +{ + PageView* pageView = dynamic_cast(pSender); + int page = pageView->getCurPageIndex() + 1; + + // set current page number for text + Text* page_alert_label = dynamic_cast(Helper::seekWidgetByName(_root, "page_alert_label")); + page_alert_label->setText(CCString::createWithFormat("page %d", page)->getCString()); + + // set current page for image + Layout* page_alert_bottom_layout = dynamic_cast(Helper::seekWidgetByName(_root, "page_alert_bottom_panel")); + int count = page_alert_bottom_layout->getChildren().size(); + for (int i = count / 2; i < count; ++i) + { + Widget* child = dynamic_cast(page_alert_bottom_layout->getChildren().at(i)); + child->setVisible(false); + } + ImageView* page_imageview = dynamic_cast(Helper::seekWidgetByName(_root, CCString::createWithFormat("page_%d_imageview", page)->getCString())); + page_imageview->setVisible(true); +} diff --git a/SampleImageViewer/Classes/CocosGUIExamplesPageScene.h b/SampleImageViewer/Classes/CocosGUIExamplesPageScene.h new file mode 100644 index 0000000..6786120 --- /dev/null +++ b/SampleImageViewer/Classes/CocosGUIExamplesPageScene.h @@ -0,0 +1,60 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__CocosGUIExamplesPageScene__ +#define __TestCpp__CocosGUIExamplesPageScene__ + +#include "cocos2d.h" +#include "cocos-ext.h" +#include "gui/CocosGUI.h" + +USING_NS_CC; +USING_NS_CC_EXT; +using namespace ui; + +#define PAGE_PAGEVIEW_TAG 1000 + +class CocosGUIExamplesPageScene : public Scene +{ +public: + CocosGUIExamplesPageScene(); + ~CocosGUIExamplesPageScene(); + + virtual void onEnter(); + virtual void onExit(); + +protected: + // a selector callback + void menuCloseCallback(Ref* pSender, TouchEventType type); + + // page + void PageInit(); + void pageViewEvent(Ref* pSender, PageViewEventType type); + +protected: + Layer* m_pUILayer; + Layout* _root; +}; + +#endif /* defined(__TestCpp__CocosGUIExamplesPageScene__) */ diff --git a/SampleImageViewer/Classes/HelloWorldScene.cpp b/SampleImageViewer/Classes/HelloWorldScene.cpp new file mode 100644 index 0000000..cdd15a5 --- /dev/null +++ b/SampleImageViewer/Classes/HelloWorldScene.cpp @@ -0,0 +1,86 @@ +#include "HelloWorldScene.h" + +USING_NS_CC; + +Scene* HelloWorld::createScene() +{ + // 'scene' is an autorelease object + 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(); + Point origin = Director::getInstance()->getVisibleOrigin(); + + ///////////////////////////// + // 2. add a menu item with "X" image, which is clicked to quit the program + // you may modify it. + + // add a "close" icon to exit the progress. it's an autorelease object + auto closeItem = MenuItemImage::create( + "CloseNormal.png", + "CloseSelected.png", + CC_CALLBACK_1(HelloWorld::menuCloseCallback, this)); + + closeItem->setPosition(Point(origin.x + visibleSize.width - closeItem->getContentSize().width/2 , + origin.y + closeItem->getContentSize().height/2)); + + // create menu, it's an autorelease object + auto menu = Menu::create(closeItem, NULL); + menu->setPosition(Point::ZERO); + this->addChild(menu, 1); + + ///////////////////////////// + // 3. add your codes below... + + // add a label shows "Hello World" + // create and initialize a label + + auto label = LabelTTF::create("Hello World", "Arial", 24); + + // position the label on the center of the screen + label->setPosition(Point(origin.x + visibleSize.width/2, + origin.y + visibleSize.height - label->getContentSize().height)); + + // add the label as a child to this layer + this->addChild(label, 1); + + // add "HelloWorld" splash screen" + auto sprite = Sprite::create("HelloWorld.png"); + + // position the sprite on the center of the screen + sprite->setPosition(Point(visibleSize.width/2 + origin.x, visibleSize.height/2 + origin.y)); + + // add the sprite as a child to this layer + this->addChild(sprite, 0); + + return true; +} + + +void HelloWorld::menuCloseCallback(Ref* pSender) +{ + Director::getInstance()->end(); + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + exit(0); +#endif +} diff --git a/SampleImageViewer/Classes/HelloWorldScene.h b/SampleImageViewer/Classes/HelloWorldScene.h new file mode 100644 index 0000000..3473313 --- /dev/null +++ b/SampleImageViewer/Classes/HelloWorldScene.h @@ -0,0 +1,22 @@ +#ifndef __HELLOWORLD_SCENE_H__ +#define __HELLOWORLD_SCENE_H__ + +#include "cocos2d.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(); + + // a selector callback + void menuCloseCallback(cocos2d::Ref* pSender); + + // implement the "static create()" method manually + CREATE_FUNC(HelloWorld); +}; + +#endif // __HELLOWORLD_SCENE_H__ diff --git a/SampleImageViewer/Resources/CloseNormal.png b/SampleImageViewer/Resources/CloseNormal.png new file mode 100644 index 0000000..5657a13 Binary files /dev/null and b/SampleImageViewer/Resources/CloseNormal.png differ diff --git a/SampleImageViewer/Resources/CloseSelected.png b/SampleImageViewer/Resources/CloseSelected.png new file mode 100644 index 0000000..e4c82da Binary files /dev/null and b/SampleImageViewer/Resources/CloseSelected.png differ diff --git a/SampleImageViewer/Resources/HelloWorld.png b/SampleImageViewer/Resources/HelloWorld.png new file mode 100644 index 0000000..5fe89fb Binary files /dev/null and b/SampleImageViewer/Resources/HelloWorld.png differ diff --git a/SampleImageViewer/Resources/cocosgui/UITest/UITest.json b/SampleImageViewer/Resources/cocosgui/UITest/UITest.json new file mode 100644 index 0000000..3712068 --- /dev/null +++ b/SampleImageViewer/Resources/cocosgui/UITest/UITest.json @@ -0,0 +1,446 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "0.3.2.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 1, + "actiontag": 109, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 82, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 263, + "yProportion": 0.821875, + "backGroundImage": null, + "backGroundImageData": { + "path": "ribbon.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 66.6666641, + "capInsetsWidth": 66.6666641, + "capInsetsX": 66.6666641, + "capInsetsY": 66.6666641, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "UItest", + "ZOrder": 1, + "actiontag": 115, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 20, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 88, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 70, + "x": 240, + "xProportion": 0.5, + "y": 307, + "yProportion": 0.959375, + "fontName": "SongTypeFont", + "fontSize": 20, + "fontType": 0, + "text": "UI_test", + "touchSacleEnable": false + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "right_Button", + "ZOrder": 5, + "actiontag": 113, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 86, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 338, + "xProportion": 0.704166651, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "f1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "left_Button", + "ZOrder": 4, + "actiontag": 112, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 85, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 142, + "xProportion": 0.295833319, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "b1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "middle_Button", + "ZOrder": 3, + "actiontag": 111, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 84, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 49, + "x": 240, + "xProportion": 0.5, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 16.333334, + "capInsetsX": 16.333334, + "capInsetsY": 15.666667, + "disabled": null, + "disabledData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "r1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 49 + } + }, + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "background_Panel", + "ZOrder": 2, + "actiontag": 110, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 170, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 83, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 300, + "x": 90, + "xProportion": 0.1875, + "y": 75, + "yProportion": 0.234375, + "backGroundImage": null, + "backGroundImageData": { + "path": "buttonBackground.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "back", + "ZOrder": 6, + "actiontag": 114, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 24, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 87, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 48, + "x": 430, + "xProportion": 0.8958333, + "y": 30, + "yProportion": 0.09375, + "fontName": "SongTypeFont", + "fontSize": 24, + "fontType": 0, + "text": "Back", + "touchSacleEnable": true + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "root_Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 81, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": { + "path": "background.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 255, + "bgColorOpacity": 255, + "bgColorR": 255, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 106.666664, + "capInsetsWidth": 160, + "capInsetsX": 160, + "capInsetsY": 106.666664, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/SampleImageViewer/Resources/cocosgui/UITest/b1.png b/SampleImageViewer/Resources/cocosgui/UITest/b1.png new file mode 100644 index 0000000..547e1c7 Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/UITest/b1.png differ diff --git a/SampleImageViewer/Resources/cocosgui/UITest/b2.png b/SampleImageViewer/Resources/cocosgui/UITest/b2.png new file mode 100644 index 0000000..2818054 Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/UITest/b2.png differ diff --git a/SampleImageViewer/Resources/cocosgui/UITest/background.png b/SampleImageViewer/Resources/cocosgui/UITest/background.png new file mode 100644 index 0000000..500d959 Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/UITest/background.png differ diff --git a/SampleImageViewer/Resources/cocosgui/UITest/buttonBackground.png b/SampleImageViewer/Resources/cocosgui/UITest/buttonBackground.png new file mode 100644 index 0000000..a467061 Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/UITest/buttonBackground.png differ diff --git a/SampleImageViewer/Resources/cocosgui/UITest/f1.png b/SampleImageViewer/Resources/cocosgui/UITest/f1.png new file mode 100644 index 0000000..4fd7bdb Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/UITest/f1.png differ diff --git a/SampleImageViewer/Resources/cocosgui/UITest/f2.png b/SampleImageViewer/Resources/cocosgui/UITest/f2.png new file mode 100644 index 0000000..e752eda Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/UITest/f2.png differ diff --git a/SampleImageViewer/Resources/cocosgui/UITest/r1.png b/SampleImageViewer/Resources/cocosgui/UITest/r1.png new file mode 100644 index 0000000..827a772 Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/UITest/r1.png differ diff --git a/SampleImageViewer/Resources/cocosgui/UITest/r2.png b/SampleImageViewer/Resources/cocosgui/UITest/r2.png new file mode 100644 index 0000000..727a1c6 Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/UITest/r2.png differ diff --git a/SampleImageViewer/Resources/cocosgui/UITest/ribbon.png b/SampleImageViewer/Resources/cocosgui/UITest/ribbon.png new file mode 100644 index 0000000..b80fb94 Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/UITest/ribbon.png differ diff --git a/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/background.png b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/background.png new file mode 100644 index 0000000..500d959 Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/background.png differ diff --git a/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/buttonBackground.png b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/buttonBackground.png new file mode 100644 index 0000000..a467061 Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/buttonBackground.png differ diff --git a/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/page_1.json b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/page_1.json new file mode 100644 index 0000000..266c278 --- /dev/null +++ b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/page_1.json @@ -0,0 +1,794 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "1.1.0.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "background_imageview", + "ZOrder": 0, + "actiontag": 39, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5, + "positionPercentY": 0.5, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1, + "sizePercentY": 1, + "sizeType": 0, + "tag": 19, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 240, + "y": 160, + "capInsetsHeight": 106.666664, + "capInsetsWidth": 160, + "capInsetsX": 160, + "capInsetsY": 106.666664, + "fileName": null, + "fileNameData": { + "path": "background.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 320, + "scale9Width": 480 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "page_alert_label", + "ZOrder": 0, + "actiontag": 115, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 0, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5, + "positionPercentY": 0.771929741, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.12, + "sizePercentY": 0.35, + "sizeType": 0, + "tag": 88, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 0, + "x": 240, + "y": 44, + "fontName": "宋体", + "fontSize": 20, + "fontType": 0, + "text": "page 1", + "touchScaleEnable": false + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "page_alert_top_panel", + "ZOrder": 0, + "actiontag": 109, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.821875, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1, + "sizePercentY": 0.179999992, + "sizeType": 0, + "tag": 82, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "y": 263, + "backGroundImage": null, + "backGroundImageData": { + "path": "ribbon.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 66.6666641, + "capInsetsWidth": 66.6666641, + "capInsetsX": 66.6666641, + "capInsetsY": 66.6666641, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "page_panel", + "ZOrder": 0, + "actiontag": 110, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 170, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.1875, + "positionPercentY": 0.234375, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.62, + "sizePercentY": 0.53, + "sizeType": 0, + "tag": 83, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 300, + "x": 90, + "y": 75, + "backGroundImage": null, + "backGroundImageData": { + "path": "buttonBackground.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": true, + "colorType": 1, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_1_bg_imageview", + "ZOrder": 0, + "actiontag": 31, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.110599078, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.9, + "sizeType": 0, + "tag": 11, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 46, + "x": 24, + "y": 25, + "capInsetsHeight": 15, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check01.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_2_bg_imageview", + "ZOrder": 0, + "actiontag": 32, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.368663579, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.9, + "sizeType": 0, + "tag": 12, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 46, + "x": 80, + "y": 25, + "capInsetsHeight": 15, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check01.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_3_bg_imageview", + "ZOrder": 0, + "actiontag": 33, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.6267281, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.9, + "sizeType": 0, + "tag": 13, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 46, + "x": 136, + "y": 25, + "capInsetsHeight": 15, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check01.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_4_bg_imageview", + "ZOrder": 0, + "actiontag": 34, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8847926, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.9, + "sizeType": 0, + "tag": 14, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 46, + "x": 192, + "y": 25, + "capInsetsHeight": 15, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check01.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_1_imageview", + "ZOrder": 0, + "actiontag": 38, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.110599078, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.94, + "sizeType": 0, + "tag": 11, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 46, + "x": 24, + "y": 25, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15.666667, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_2_imageview", + "ZOrder": 0, + "actiontag": 37, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.368663579, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.94, + "sizeType": 0, + "tag": 12, + "touchAble": false, + "useMergedTexture": false, + "visible": false, + "width": 46, + "x": 80, + "y": 25, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15.666667, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_3_imageview", + "ZOrder": 0, + "actiontag": 36, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.6267281, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.94, + "sizeType": 0, + "tag": 13, + "touchAble": false, + "useMergedTexture": false, + "visible": false, + "width": 46, + "x": 136, + "y": 25, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15.666667, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_4_imageview", + "ZOrder": 0, + "actiontag": 35, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8847926, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.94, + "sizeType": 0, + "tag": 14, + "touchAble": false, + "useMergedTexture": false, + "visible": false, + "width": 46, + "x": 192, + "y": 25, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15.666667, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 46 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "page_alert_bottom_panel", + "ZOrder": 0, + "actiontag": 35, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 50, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.272916675, + "positionPercentY": 0.0122499466, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.45, + "sizePercentY": 0.16, + "sizeType": 0, + "tag": 15, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 217, + "x": 131, + "y": 3, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "page_root", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.01, + "sizePercentY": 0.01, + "sizeType": 0, + "tag": 1, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "y": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/page_content/CocoStudio_AnimationEditor.png b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/page_content/CocoStudio_AnimationEditor.png new file mode 100644 index 0000000..adeb095 Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/page_content/CocoStudio_AnimationEditor.png differ diff --git a/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/page_content/CocoStudio_DataEditor.png b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/page_content/CocoStudio_DataEditor.png new file mode 100644 index 0000000..8715d54 Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/page_content/CocoStudio_DataEditor.png differ diff --git a/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/page_content/CocoStudio_SceneEditor.png b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/page_content/CocoStudio_SceneEditor.png new file mode 100644 index 0000000..9662a8e Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/page_content/CocoStudio_SceneEditor.png differ diff --git a/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/page_content/CocoStudio_UIEditor.png b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/page_content/CocoStudio_UIEditor.png new file mode 100644 index 0000000..83b1bcb Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/page_content/CocoStudio_UIEditor.png differ diff --git a/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/ribbon.png b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/ribbon.png new file mode 100644 index 0000000..b80fb94 Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/ribbon.png differ diff --git a/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/teehanlax - iOS 6 - iPhone_check.png b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/teehanlax - iOS 6 - iPhone_check.png new file mode 100644 index 0000000..93eb12b Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/teehanlax - iOS 6 - iPhone_check.png differ diff --git a/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/teehanlax - iOS 6 - iPhone_check01.png b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/teehanlax - iOS 6 - iPhone_check01.png new file mode 100644 index 0000000..3a59782 Binary files /dev/null and b/SampleImageViewer/Resources/cocosgui/gui_examples/page_1/teehanlax - iOS 6 - iPhone_check01.png differ diff --git a/SampleImageViewer/Resources/fonts/Marker Felt.ttf b/SampleImageViewer/Resources/fonts/Marker Felt.ttf new file mode 100644 index 0000000..3752ef3 Binary files /dev/null and b/SampleImageViewer/Resources/fonts/Marker Felt.ttf differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/UITest/UITest.json b/SampleImageViewer/Resources/hd/cocosgui/UITest/UITest.json new file mode 100644 index 0000000..3712068 --- /dev/null +++ b/SampleImageViewer/Resources/hd/cocosgui/UITest/UITest.json @@ -0,0 +1,446 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "0.3.2.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 1, + "actiontag": 109, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 82, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 263, + "yProportion": 0.821875, + "backGroundImage": null, + "backGroundImageData": { + "path": "ribbon.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 66.6666641, + "capInsetsWidth": 66.6666641, + "capInsetsX": 66.6666641, + "capInsetsY": 66.6666641, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "UItest", + "ZOrder": 1, + "actiontag": 115, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 20, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 88, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 70, + "x": 240, + "xProportion": 0.5, + "y": 307, + "yProportion": 0.959375, + "fontName": "SongTypeFont", + "fontSize": 20, + "fontType": 0, + "text": "UI_test", + "touchSacleEnable": false + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "right_Button", + "ZOrder": 5, + "actiontag": 113, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 86, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 338, + "xProportion": 0.704166651, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "f1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "left_Button", + "ZOrder": 4, + "actiontag": 112, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 85, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 142, + "xProportion": 0.295833319, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "b1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "middle_Button", + "ZOrder": 3, + "actiontag": 111, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 84, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 49, + "x": 240, + "xProportion": 0.5, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 16.333334, + "capInsetsX": 16.333334, + "capInsetsY": 15.666667, + "disabled": null, + "disabledData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "r1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 49 + } + }, + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "background_Panel", + "ZOrder": 2, + "actiontag": 110, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 170, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 83, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 300, + "x": 90, + "xProportion": 0.1875, + "y": 75, + "yProportion": 0.234375, + "backGroundImage": null, + "backGroundImageData": { + "path": "buttonBackground.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "back", + "ZOrder": 6, + "actiontag": 114, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 24, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 87, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 48, + "x": 430, + "xProportion": 0.8958333, + "y": 30, + "yProportion": 0.09375, + "fontName": "SongTypeFont", + "fontSize": 24, + "fontType": 0, + "text": "Back", + "touchSacleEnable": true + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "root_Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 81, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": { + "path": "background.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 255, + "bgColorOpacity": 255, + "bgColorR": 255, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 106.666664, + "capInsetsWidth": 160, + "capInsetsX": 160, + "capInsetsY": 106.666664, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/SampleImageViewer/Resources/hd/cocosgui/UITest/b1.png b/SampleImageViewer/Resources/hd/cocosgui/UITest/b1.png new file mode 100644 index 0000000..a3c16ad Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/UITest/b1.png differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/UITest/b2.png b/SampleImageViewer/Resources/hd/cocosgui/UITest/b2.png new file mode 100644 index 0000000..ffa527c Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/UITest/b2.png differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/UITest/background.png b/SampleImageViewer/Resources/hd/cocosgui/UITest/background.png new file mode 100644 index 0000000..eff519b Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/UITest/background.png differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/UITest/buttonBackground.png b/SampleImageViewer/Resources/hd/cocosgui/UITest/buttonBackground.png new file mode 100644 index 0000000..a467061 Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/UITest/buttonBackground.png differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/UITest/f1.png b/SampleImageViewer/Resources/hd/cocosgui/UITest/f1.png new file mode 100644 index 0000000..606181f Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/UITest/f1.png differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/UITest/f2.png b/SampleImageViewer/Resources/hd/cocosgui/UITest/f2.png new file mode 100644 index 0000000..8cd548b Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/UITest/f2.png differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/UITest/r1.png b/SampleImageViewer/Resources/hd/cocosgui/UITest/r1.png new file mode 100644 index 0000000..6b51dc4 Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/UITest/r1.png differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/UITest/r2.png b/SampleImageViewer/Resources/hd/cocosgui/UITest/r2.png new file mode 100644 index 0000000..ef1f2b4 Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/UITest/r2.png differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/UITest/ribbon.png b/SampleImageViewer/Resources/hd/cocosgui/UITest/ribbon.png new file mode 100644 index 0000000..28583f5 Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/UITest/ribbon.png differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/background.png b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/background.png new file mode 100644 index 0000000..eff519b Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/background.png differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/buttonBackground.png b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/buttonBackground.png new file mode 100644 index 0000000..a467061 Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/buttonBackground.png differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/page_1.json b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/page_1.json new file mode 100644 index 0000000..266c278 --- /dev/null +++ b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/page_1.json @@ -0,0 +1,794 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "1.1.0.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "background_imageview", + "ZOrder": 0, + "actiontag": 39, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5, + "positionPercentY": 0.5, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1, + "sizePercentY": 1, + "sizeType": 0, + "tag": 19, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 240, + "y": 160, + "capInsetsHeight": 106.666664, + "capInsetsWidth": 160, + "capInsetsX": 160, + "capInsetsY": 106.666664, + "fileName": null, + "fileNameData": { + "path": "background.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 320, + "scale9Width": 480 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "page_alert_label", + "ZOrder": 0, + "actiontag": 115, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 0, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5, + "positionPercentY": 0.771929741, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.12, + "sizePercentY": 0.35, + "sizeType": 0, + "tag": 88, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 0, + "x": 240, + "y": 44, + "fontName": "宋体", + "fontSize": 20, + "fontType": 0, + "text": "page 1", + "touchScaleEnable": false + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "page_alert_top_panel", + "ZOrder": 0, + "actiontag": 109, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.821875, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1, + "sizePercentY": 0.179999992, + "sizeType": 0, + "tag": 82, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "y": 263, + "backGroundImage": null, + "backGroundImageData": { + "path": "ribbon.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 66.6666641, + "capInsetsWidth": 66.6666641, + "capInsetsX": 66.6666641, + "capInsetsY": 66.6666641, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "page_panel", + "ZOrder": 0, + "actiontag": 110, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 170, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.1875, + "positionPercentY": 0.234375, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.62, + "sizePercentY": 0.53, + "sizeType": 0, + "tag": 83, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 300, + "x": 90, + "y": 75, + "backGroundImage": null, + "backGroundImageData": { + "path": "buttonBackground.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": true, + "colorType": 1, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_1_bg_imageview", + "ZOrder": 0, + "actiontag": 31, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.110599078, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.9, + "sizeType": 0, + "tag": 11, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 46, + "x": 24, + "y": 25, + "capInsetsHeight": 15, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check01.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_2_bg_imageview", + "ZOrder": 0, + "actiontag": 32, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.368663579, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.9, + "sizeType": 0, + "tag": 12, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 46, + "x": 80, + "y": 25, + "capInsetsHeight": 15, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check01.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_3_bg_imageview", + "ZOrder": 0, + "actiontag": 33, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.6267281, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.9, + "sizeType": 0, + "tag": 13, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 46, + "x": 136, + "y": 25, + "capInsetsHeight": 15, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check01.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_4_bg_imageview", + "ZOrder": 0, + "actiontag": 34, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8847926, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.9, + "sizeType": 0, + "tag": 14, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 46, + "x": 192, + "y": 25, + "capInsetsHeight": 15, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check01.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_1_imageview", + "ZOrder": 0, + "actiontag": 38, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.110599078, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.94, + "sizeType": 0, + "tag": 11, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 46, + "x": 24, + "y": 25, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15.666667, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_2_imageview", + "ZOrder": 0, + "actiontag": 37, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.368663579, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.94, + "sizeType": 0, + "tag": 12, + "touchAble": false, + "useMergedTexture": false, + "visible": false, + "width": 46, + "x": 80, + "y": 25, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15.666667, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_3_imageview", + "ZOrder": 0, + "actiontag": 36, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.6267281, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.94, + "sizeType": 0, + "tag": 13, + "touchAble": false, + "useMergedTexture": false, + "visible": false, + "width": 46, + "x": 136, + "y": 25, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15.666667, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_4_imageview", + "ZOrder": 0, + "actiontag": 35, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8847926, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.94, + "sizeType": 0, + "tag": 14, + "touchAble": false, + "useMergedTexture": false, + "visible": false, + "width": 46, + "x": 192, + "y": 25, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15.666667, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 46 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "page_alert_bottom_panel", + "ZOrder": 0, + "actiontag": 35, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 50, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.272916675, + "positionPercentY": 0.0122499466, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.45, + "sizePercentY": 0.16, + "sizeType": 0, + "tag": 15, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 217, + "x": 131, + "y": 3, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "page_root", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.01, + "sizePercentY": 0.01, + "sizeType": 0, + "tag": 1, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "y": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/page_content/CocoStudio_AnimationEditor.png b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/page_content/CocoStudio_AnimationEditor.png new file mode 100644 index 0000000..29c723c Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/page_content/CocoStudio_AnimationEditor.png differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/page_content/CocoStudio_DataEditor.png b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/page_content/CocoStudio_DataEditor.png new file mode 100644 index 0000000..e54009b Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/page_content/CocoStudio_DataEditor.png differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/page_content/CocoStudio_SceneEditor.png b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/page_content/CocoStudio_SceneEditor.png new file mode 100644 index 0000000..7bae3f8 Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/page_content/CocoStudio_SceneEditor.png differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/page_content/CocoStudio_UIEditor.png b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/page_content/CocoStudio_UIEditor.png new file mode 100644 index 0000000..e11c588 Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/page_content/CocoStudio_UIEditor.png differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/ribbon.png b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/ribbon.png new file mode 100644 index 0000000..28583f5 Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/ribbon.png differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/teehanlax - iOS 6 - iPhone_check.png b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/teehanlax - iOS 6 - iPhone_check.png new file mode 100644 index 0000000..b47949c Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/teehanlax - iOS 6 - iPhone_check.png differ diff --git a/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/teehanlax - iOS 6 - iPhone_check01.png b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/teehanlax - iOS 6 - iPhone_check01.png new file mode 100644 index 0000000..97f6956 Binary files /dev/null and b/SampleImageViewer/Resources/hd/cocosgui/gui_examples/page_1/teehanlax - iOS 6 - iPhone_check01.png differ diff --git a/SampleImageViewer/Resources/hd/fonts/Marker Felt.ttf b/SampleImageViewer/Resources/hd/fonts/Marker Felt.ttf new file mode 100644 index 0000000..3752ef3 Binary files /dev/null and b/SampleImageViewer/Resources/hd/fonts/Marker Felt.ttf differ diff --git a/SampleImageViewer/SampleImageViewer_editor/Json/page_1.json b/SampleImageViewer/SampleImageViewer_editor/Json/page_1.json new file mode 100644 index 0000000..266c278 --- /dev/null +++ b/SampleImageViewer/SampleImageViewer_editor/Json/page_1.json @@ -0,0 +1,794 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "1.1.0.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "background_imageview", + "ZOrder": 0, + "actiontag": 39, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5, + "positionPercentY": 0.5, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1, + "sizePercentY": 1, + "sizeType": 0, + "tag": 19, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 240, + "y": 160, + "capInsetsHeight": 106.666664, + "capInsetsWidth": 160, + "capInsetsX": 160, + "capInsetsY": 106.666664, + "fileName": null, + "fileNameData": { + "path": "background.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 320, + "scale9Width": 480 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "page_alert_label", + "ZOrder": 0, + "actiontag": 115, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 0, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5, + "positionPercentY": 0.771929741, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.12, + "sizePercentY": 0.35, + "sizeType": 0, + "tag": 88, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 0, + "x": 240, + "y": 44, + "fontName": "宋体", + "fontSize": 20, + "fontType": 0, + "text": "page 1", + "touchScaleEnable": false + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "page_alert_top_panel", + "ZOrder": 0, + "actiontag": 109, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0.821875, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 1, + "sizePercentY": 0.179999992, + "sizeType": 0, + "tag": 82, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "y": 263, + "backGroundImage": null, + "backGroundImageData": { + "path": "ribbon.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 66.6666641, + "capInsetsWidth": 66.6666641, + "capInsetsX": 66.6666641, + "capInsetsY": 66.6666641, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "page_panel", + "ZOrder": 0, + "actiontag": 110, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 170, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.1875, + "positionPercentY": 0.234375, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.62, + "sizePercentY": 0.53, + "sizeType": 0, + "tag": 83, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 300, + "x": 90, + "y": 75, + "backGroundImage": null, + "backGroundImageData": { + "path": "buttonBackground.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": true, + "colorType": 1, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_1_bg_imageview", + "ZOrder": 0, + "actiontag": 31, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.110599078, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.9, + "sizeType": 0, + "tag": 11, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 46, + "x": 24, + "y": 25, + "capInsetsHeight": 15, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check01.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_2_bg_imageview", + "ZOrder": 0, + "actiontag": 32, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.368663579, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.9, + "sizeType": 0, + "tag": 12, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 46, + "x": 80, + "y": 25, + "capInsetsHeight": 15, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check01.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_3_bg_imageview", + "ZOrder": 0, + "actiontag": 33, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.6267281, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.9, + "sizeType": 0, + "tag": 13, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 46, + "x": 136, + "y": 25, + "capInsetsHeight": 15, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check01.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_4_bg_imageview", + "ZOrder": 0, + "actiontag": 34, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 45, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8847926, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.9, + "sizeType": 0, + "tag": 14, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 46, + "x": 192, + "y": 25, + "capInsetsHeight": 15, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check01.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 45, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_1_imageview", + "ZOrder": 0, + "actiontag": 38, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.110599078, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.94, + "sizeType": 0, + "tag": 11, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 46, + "x": 24, + "y": 25, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15.666667, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_2_imageview", + "ZOrder": 0, + "actiontag": 37, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.368663579, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.94, + "sizeType": 0, + "tag": 12, + "touchAble": false, + "useMergedTexture": false, + "visible": false, + "width": 46, + "x": 80, + "y": 25, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15.666667, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_3_imageview", + "ZOrder": 0, + "actiontag": 36, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.6267281, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.94, + "sizeType": 0, + "tag": 13, + "touchAble": false, + "useMergedTexture": false, + "visible": false, + "width": 46, + "x": 136, + "y": 25, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15.666667, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 46 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "page_4_imageview", + "ZOrder": 0, + "actiontag": 35, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.8847926, + "positionPercentY": 0.5016003, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.94, + "sizeType": 0, + "tag": 14, + "touchAble": false, + "useMergedTexture": false, + "visible": false, + "width": 46, + "x": 192, + "y": 25, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 15.333333, + "capInsetsX": 15.333333, + "capInsetsY": 15.666667, + "fileName": null, + "fileNameData": { + "path": "teehanlax - iOS 6 - iPhone_check.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 46 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "page_alert_bottom_panel", + "ZOrder": 0, + "actiontag": 35, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 50, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.272916675, + "positionPercentY": 0.0122499466, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.45, + "sizePercentY": 0.16, + "sizeType": 0, + "tag": 15, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 217, + "x": 131, + "y": 3, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "page_root", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.01, + "sizePercentY": 0.01, + "sizeType": 0, + "tag": 1, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "y": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/SampleImageViewer/SampleImageViewer_editor/Resources/CocoStudio_AnimationEditor.png b/SampleImageViewer/SampleImageViewer_editor/Resources/CocoStudio_AnimationEditor.png new file mode 100644 index 0000000..adeb095 Binary files /dev/null and b/SampleImageViewer/SampleImageViewer_editor/Resources/CocoStudio_AnimationEditor.png differ diff --git a/SampleImageViewer/SampleImageViewer_editor/Resources/CocoStudio_DataEditor.png b/SampleImageViewer/SampleImageViewer_editor/Resources/CocoStudio_DataEditor.png new file mode 100644 index 0000000..8715d54 Binary files /dev/null and b/SampleImageViewer/SampleImageViewer_editor/Resources/CocoStudio_DataEditor.png differ diff --git a/SampleImageViewer/SampleImageViewer_editor/Resources/CocoStudio_SceneEditor.png b/SampleImageViewer/SampleImageViewer_editor/Resources/CocoStudio_SceneEditor.png new file mode 100644 index 0000000..9662a8e Binary files /dev/null and b/SampleImageViewer/SampleImageViewer_editor/Resources/CocoStudio_SceneEditor.png differ diff --git a/SampleImageViewer/SampleImageViewer_editor/Resources/CocoStudio_UIEditor.png b/SampleImageViewer/SampleImageViewer_editor/Resources/CocoStudio_UIEditor.png new file mode 100644 index 0000000..83b1bcb Binary files /dev/null and b/SampleImageViewer/SampleImageViewer_editor/Resources/CocoStudio_UIEditor.png differ diff --git a/SampleImageViewer/SampleImageViewer_editor/Resources/b1.png b/SampleImageViewer/SampleImageViewer_editor/Resources/b1.png new file mode 100644 index 0000000..547e1c7 Binary files /dev/null and b/SampleImageViewer/SampleImageViewer_editor/Resources/b1.png differ diff --git a/SampleImageViewer/SampleImageViewer_editor/Resources/b2.png b/SampleImageViewer/SampleImageViewer_editor/Resources/b2.png new file mode 100644 index 0000000..2818054 Binary files /dev/null and b/SampleImageViewer/SampleImageViewer_editor/Resources/b2.png differ diff --git a/SampleImageViewer/SampleImageViewer_editor/Resources/background.png b/SampleImageViewer/SampleImageViewer_editor/Resources/background.png new file mode 100644 index 0000000..500d959 Binary files /dev/null and b/SampleImageViewer/SampleImageViewer_editor/Resources/background.png differ diff --git a/SampleImageViewer/SampleImageViewer_editor/Resources/buttonBackground.png b/SampleImageViewer/SampleImageViewer_editor/Resources/buttonBackground.png new file mode 100644 index 0000000..a467061 Binary files /dev/null and b/SampleImageViewer/SampleImageViewer_editor/Resources/buttonBackground.png differ diff --git a/SampleImageViewer/SampleImageViewer_editor/Resources/f1.png b/SampleImageViewer/SampleImageViewer_editor/Resources/f1.png new file mode 100644 index 0000000..4fd7bdb Binary files /dev/null and b/SampleImageViewer/SampleImageViewer_editor/Resources/f1.png differ diff --git a/SampleImageViewer/SampleImageViewer_editor/Resources/f2.png b/SampleImageViewer/SampleImageViewer_editor/Resources/f2.png new file mode 100644 index 0000000..e752eda Binary files /dev/null and b/SampleImageViewer/SampleImageViewer_editor/Resources/f2.png differ diff --git a/SampleImageViewer/SampleImageViewer_editor/Resources/r1.png b/SampleImageViewer/SampleImageViewer_editor/Resources/r1.png new file mode 100644 index 0000000..827a772 Binary files /dev/null and b/SampleImageViewer/SampleImageViewer_editor/Resources/r1.png differ diff --git a/SampleImageViewer/SampleImageViewer_editor/Resources/r2.png b/SampleImageViewer/SampleImageViewer_editor/Resources/r2.png new file mode 100644 index 0000000..727a1c6 Binary files /dev/null and b/SampleImageViewer/SampleImageViewer_editor/Resources/r2.png differ diff --git a/SampleImageViewer/SampleImageViewer_editor/Resources/ribbon.png b/SampleImageViewer/SampleImageViewer_editor/Resources/ribbon.png new file mode 100644 index 0000000..b80fb94 Binary files /dev/null and b/SampleImageViewer/SampleImageViewer_editor/Resources/ribbon.png differ diff --git a/SampleImageViewer/SampleImageViewer_editor/Resources/teehanlax - iOS 6 - iPhone_check.png b/SampleImageViewer/SampleImageViewer_editor/Resources/teehanlax - iOS 6 - iPhone_check.png new file mode 100644 index 0000000..93eb12b Binary files /dev/null and b/SampleImageViewer/SampleImageViewer_editor/Resources/teehanlax - iOS 6 - iPhone_check.png differ diff --git a/SampleImageViewer/SampleImageViewer_editor/Resources/teehanlax - iOS 6 - iPhone_check01.png b/SampleImageViewer/SampleImageViewer_editor/Resources/teehanlax - iOS 6 - iPhone_check01.png new file mode 100644 index 0000000..3a59782 Binary files /dev/null and b/SampleImageViewer/SampleImageViewer_editor/Resources/teehanlax - iOS 6 - iPhone_check01.png differ diff --git a/SampleImageViewer/SampleImageViewer_editor/page.xml.ui b/SampleImageViewer/SampleImageViewer_editor/page.xml.ui new file mode 100644 index 0000000..a0dd59a --- /dev/null +++ b/SampleImageViewer/SampleImageViewer_editor/page.xml.ui @@ -0,0 +1,20 @@ + + + C:\Users\houlong\Documents\Tencent Files\782622762\FileRecv\SampleImageViewer_editor\page.xml.ui + 1.1.0.0 + page + C:\Users\houlong\Documents\Tencent Files\782622762\FileRecv\SampleImageViewer_editor + page.json + C:\Users\houlong\Documents\Tencent Files\782622762\FileRecv\SampleImageViewer_editor\Resources + C:\Users\houlong\Documents\Tencent Files\782622762\FileRecv\SampleImageViewer_editor\Json + + page_1.json + + + .json + page_1.json + + 480 + 320 + + \ No newline at end of file diff --git a/SampleImageViewer/cocos2d/readme b/SampleImageViewer/cocos2d/readme new file mode 100644 index 0000000..00bfca5 --- /dev/null +++ b/SampleImageViewer/cocos2d/readme @@ -0,0 +1 @@ +put cocos2d here what in a project created by create_project.py \ No newline at end of file diff --git a/SampleImageViewer/proj.android/.classpath b/SampleImageViewer/proj.android/.classpath new file mode 100644 index 0000000..ce3da48 --- /dev/null +++ b/SampleImageViewer/proj.android/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/SampleImageViewer/proj.android/.project b/SampleImageViewer/proj.android/.project new file mode 100644 index 0000000..c955e82 --- /dev/null +++ b/SampleImageViewer/proj.android/.project @@ -0,0 +1,65 @@ + + + SampleImageViewer + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + Classes + 2 + COCOS2DX/projects/SampleImageViewer/Classes + + + cocos2dx + 2 + COCOS2DX/cocos2dx + + + extensions + 2 + COCOS2DX/extensions + + + scripting + 2 + COCOS2DX/scripting + + + diff --git a/SampleImageViewer/proj.android/AndroidManifest.xml b/SampleImageViewer/proj.android/AndroidManifest.xml new file mode 100644 index 0000000..f97c59a --- /dev/null +++ b/SampleImageViewer/proj.android/AndroidManifest.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleImageViewer/proj.android/README.md b/SampleImageViewer/proj.android/README.md new file mode 100644 index 0000000..aefa86b --- /dev/null +++ b/SampleImageViewer/proj.android/README.md @@ -0,0 +1,87 @@ +## Prerequisites: + +* Android NDK +* Android SDK **OR** Eclipse ADT Bundle +* Android AVD target installed + +## Building project + +There are two ways of building Android projects. + +1. Eclipse +2. Command Line + +### Import Project in Eclipse + +#### Features: + +1. Complete workflow from Eclipse, including: + * Build C++. + * Clean C++. + * Build and Run whole project. + * Logcat view. + * Debug Java code. + * Javascript editor. + * Project management. +2. True C++ editing, including: + * Code completion. + * Jump to definition. + * Refactoring tools etc. + * Quick open C++ files. + + +#### Setup Eclipse Environment (only once) + + +**NOTE:** This step needs to be done only once to setup the Eclipse environment for cocos2d-x projects. Skip this section if you've done this before. + +1. Download Eclipse ADT bundle from [Google ADT homepage](http://developer.android.com/sdk/index.html) + + **OR** + + Install Eclipse with Java. Add ADT and CDT plugins. + +2. Only for Windows + 1. Install [Cygwin](http://www.cygwin.com/) with make (select make package from the list during the install). + 2. Add `Cygwin\bin` directory to system PATH variable. + 3. Add this line `none /cygdrive cygdrive binary,noacl,posix=0,user 0 0` to `Cygwin\etc\fstab` file. + +3. Set up Variables: + 1. Path Variable `COCOS2DX`: + * Eclipse->Preferences->General->Workspace->**Linked Resources** + * Click **New** button to add a Path Variable `COCOS2DX` pointing to the root cocos2d-x directory. + ![Example](https://lh5.googleusercontent.com/-oPpk9kg3e5w/UUOYlq8n7aI/AAAAAAAAsdQ/zLA4eghBH9U/s400/cocos2d-x-eclipse-vars.png) + + 2. C/C++ Environment Variable `NDK_ROOT`: + * Eclipse->Preferences->C/C++->Build->**Environment**. + * Click **Add** button and add a new variable `NDK_ROOT` pointing to the root NDK directory. + ![Example](https://lh3.googleusercontent.com/-AVcY8IAT0_g/UUOYltoRobI/AAAAAAAAsdM/22D2J9u3sig/s400/cocos2d-x-eclipse-ndk.png) + * Only for Windows: Add new variables **CYGWIN** with value `nodosfilewarning` and **SHELLOPTS** with value `igncr` + +4. Import libcocos2dx library project: + 1. File->New->Project->Android Project From Existing Code. + 2. Click **Browse** button and open `cocos2d-x/cocos2dx/platform/android/java` directory. + 3. Click **Finish** to add project. + +#### Adding and running from Eclipse + +![Example](https://lh3.googleusercontent.com/-SLBOu6e3QbE/UUOcOXYaGqI/AAAAAAAAsdo/tYBY2SylOSM/s288/cocos2d-x-eclipse-project-from-code.png) ![Import](https://lh5.googleusercontent.com/-XzC9Pn65USc/UUOcOTAwizI/AAAAAAAAsdk/4b6YM-oim9Y/s400/cocos2d-x-eclipse-import-project.png) + +1. File->New->Project->Android Project From Existing Code +2. **Browse** to your project directory. eg: `cocos2d-x/cocos2dx/samples/Cpp/TestCpp/proj.android/` +3. Add the project +4. Click **Run** or **Debug** to compile C++ followed by Java and to run on connected device or emulator. + + +### Running project from Command Line + + $ cd cocos2d-x/samples/Cpp/TestCpp/proj.android/ + $ export NDK_ROOT=/path/to/ndk + $ ./build_native.sh + $ ant debug install + +If the last command results in sdk.dir missing error then do: + + $ android list target + $ android update project -p . -t (id from step 6) + $ android update project -p cocos2d/cocos/2d/platform/android/java/ -t (id from step 6) diff --git a/SampleImageViewer/proj.android/ant.properties b/SampleImageViewer/proj.android/ant.properties new file mode 100644 index 0000000..a51e6a0 --- /dev/null +++ b/SampleImageViewer/proj.android/ant.properties @@ -0,0 +1,17 @@ +# This file is used to override default values used by the Ant build system. +# +# This file must be checked into Version Control Systems, as it is +# integral to the build system of your project. + +# This file is only used by the Ant script. + +# You can use this to override default values such as +# 'source.dir' for the location of your java source folder and +# 'out.dir' for the location of your output folder. + +# You can also use it define how the release builds are signed by declaring +# the following properties: +# 'key.store' for the location of your keystore and +# 'key.alias' for the name of the key to use. +# The password will be asked during the build when you use the 'release' target. + diff --git a/SampleImageViewer/proj.android/build.xml b/SampleImageViewer/proj.android/build.xml new file mode 100644 index 0000000..f5a8b8b --- /dev/null +++ b/SampleImageViewer/proj.android/build.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleImageViewer/proj.android/build_native.py b/SampleImageViewer/proj.android/build_native.py new file mode 100644 index 0000000..5eec448 --- /dev/null +++ b/SampleImageViewer/proj.android/build_native.py @@ -0,0 +1,166 @@ +#!/usr/bin/python +# build_native.py +# Build native codes + + +import sys +import os, os.path +import shutil +from optparse import OptionParser + +def get_num_of_cpu(): + ''' The build process can be accelerated by running multiple concurrent job processes using the -j-option. + ''' + try: + platform = sys.platform + if platform == 'win32': + if 'NUMBER_OF_PROCESSORS' in os.environ: + return int(os.environ['NUMBER_OF_PROCESSORS']) + else: + return 1 + else: + from numpy.distutils import cpuinfo + return cpuinfo.cpu._getNCPUs() + except Exception: + print "Can't know cpuinfo, use default 1 cpu" + return 1 + +def check_environment_variables_sdk(): + ''' Checking the environment ANDROID_SDK_ROOT, which will be used for building + ''' + + try: + SDK_ROOT = os.environ['ANDROID_SDK_ROOT'] + except Exception: + print "ANDROID_SDK_ROOT not defined. Please define ANDROID_SDK_ROOT in your environment" + sys.exit(1) + + return SDK_ROOT + +def check_environment_variables(): + ''' Checking the environment NDK_ROOT, which will be used for building + ''' + + try: + NDK_ROOT = os.environ['NDK_ROOT'] + except Exception: + print "NDK_ROOT not defined. Please define NDK_ROOT in your environment" + sys.exit(1) + + return NDK_ROOT + +def select_toolchain_version(): + '''Because ndk-r8e uses gcc4.6 as default. gcc4.6 doesn't support c++11. So we should select gcc4.7 when + using ndk-r8e. But gcc4.7 is removed in ndk-r9, so we should determine whether gcc4.7 exist. + Conclution: + ndk-r8e -> use gcc4.7 + ndk-r9 -> use gcc4.8 + ''' + + ndk_root = check_environment_variables() + if os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.8")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.8' + print "The Selected NDK toolchain version was 4.8 !" + elif os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.7")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.7' + print "The Selected NDK toolchain version was 4.7 !" + else: + print "Couldn't find the gcc toolchain." + exit(1) + +def do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode): + + ndk_path = os.path.join(ndk_root, "ndk-build") + + # windows should use ";" to seperate module paths + platform = sys.platform + if platform == 'win32': + ndk_module_path = 'NDK_MODULE_PATH=%s;%s/external;%s/cocos' % (cocos_root, cocos_root, cocos_root) + else: + ndk_module_path = 'NDK_MODULE_PATH=%s:%s/external:%s/cocos' % (cocos_root, cocos_root, cocos_root) + + num_of_cpu = get_num_of_cpu() + + if ndk_build_param == None: + command = '%s -j%d -C %s %s' % (ndk_path, num_of_cpu, app_android_root, ndk_module_path) + else: + command = '%s -j%d -C %s %s %s' % (ndk_path, num_of_cpu, app_android_root, ''.join(str(e) for e in ndk_build_param), ndk_module_path) + if os.system(command) != 0: + raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!") + elif android_platform is not None: + sdk_tool_path = os.path.join(sdk_root, "tools/android") + cocoslib_path = os.path.join(cocos_root, "cocos/2d/platform/android/java") + command = '%s update lib-project -t %s -p %s' % (sdk_tool_path,android_platform,cocoslib_path) + if os.system(command) != 0: + raise Exception("update cocos lib-project [ " + cocoslib_path + " ] fails!") + command = '%s update project -t %s -p %s -s' % (sdk_tool_path,android_platform,app_android_root) + if os.system(command) != 0: + raise Exception("update project [ " + app_android_root + " ] fails!") + buildfile_path = os.path.join(app_android_root, "build.xml") + command = 'ant clean %s -f %s -Dsdk.dir=%s' % (build_mode,buildfile_path,sdk_root) + os.system(command) + +def copy_files(src, dst): + + for item in os.listdir(src): + path = os.path.join(src, item) + # Android can not package the file that ends with ".gz" + if not item.startswith('.') and not item.endswith('.gz') and os.path.isfile(path): + shutil.copy(path, dst) + if os.path.isdir(path): + new_dst = os.path.join(dst, item) + os.mkdir(new_dst) + copy_files(path, new_dst) + +def copy_resources(app_android_root): + + # remove app_android_root/assets if it exists + assets_dir = os.path.join(app_android_root, "assets") + if os.path.isdir(assets_dir): + shutil.rmtree(assets_dir) + + # copy resources + os.mkdir(assets_dir) + resources_dir = os.path.join(app_android_root, "../Resources") + if os.path.isdir(resources_dir): + copy_files(resources_dir, assets_dir) + +def build(ndk_build_param,android_platform,build_mode): + + ndk_root = check_environment_variables() + sdk_root = None + select_toolchain_version() + + current_dir = os.path.dirname(os.path.realpath(__file__)) + cocos_root = os.path.join(current_dir, "../cocos2d") + + app_android_root = current_dir + copy_resources(app_android_root) + + if android_platform is not None: + sdk_root = check_environment_variables_sdk() + if android_platform.isdigit(): + android_platform = 'android-'+android_platform + else: + print 'please use vaild android platform' + exit(1) + + if build_mode is None: + build_mode = 'debug' + elif build_mode != 'release': + build_mode = 'debug' + + do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode) + +# -------------- main -------------- +if __name__ == '__main__': + + parser = OptionParser() + parser.add_option("-n", "--ndk", dest="ndk_build_param", help='parameter for ndk-build') + parser.add_option("-p", "--platform", dest="android_platform", + help='parameter for android-update.Without the parameter,the script just build dynamic library for project. Valid android-platform are:[10|11|12|13|14|15|16|17|18|19]') + parser.add_option("-b", "--build", dest="build_mode", + help='the build mode for java project,debug[default] or release.Get more information,please refer to http://developer.android.com/tools/building/building-cmdline.html') + (opts, args) = parser.parse_args() + + build(opts.ndk_build_param,opts.android_platform,opts.build_mode) diff --git a/SampleImageViewer/proj.android/jni/Android.mk b/SampleImageViewer/proj.android/jni/Android.mk new file mode 100644 index 0000000..fb3bebc --- /dev/null +++ b/SampleImageViewer/proj.android/jni/Android.mk @@ -0,0 +1,34 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := cocos2dcpp_shared + +LOCAL_MODULE_FILENAME := libcocos2dcpp + +LOCAL_SRC_FILES := hellocpp/main.cpp \ + ../../Classes/AppDelegate.cpp \ + ../../Classes/HelloWorldScene.cpp \ + ../../Classes/CocosGUIExamplesPageScene.cpp + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \ + $(LOCAL_PATH)/../../cocos2d \ + $(LOCAL_PATH)/../../cocos2d/extensions \ + $(LOCAL_PATH)/../../cocos2d/cocos \ + $(LOCAL_PATH)/../../cocos2d/cocos/gui \ + $(LOCAL_PATH)/../../cocos2d/cocos/editor-support/cocostudio \ + +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static +LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocos_gui_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static + + +include $(BUILD_SHARED_LIBRARY) + +$(call import-module,2d) +$(call import-module,audio/android) +$(call import-module,Box2D) +$(call import-module,gui) +$(call import-module,editor-support/cocostudio) diff --git a/SampleImageViewer/proj.android/jni/Application.mk b/SampleImageViewer/proj.android/jni/Application.mk new file mode 100644 index 0000000..74c3f99 --- /dev/null +++ b/SampleImageViewer/proj.android/jni/Application.mk @@ -0,0 +1,2 @@ +APP_STL := gnustl_static +APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DCOCOS2D_DEBUG=1 -std=c++11 -fsigned-char diff --git a/SampleImageViewer/proj.android/jni/hellocpp/main.cpp b/SampleImageViewer/proj.android/jni/hellocpp/main.cpp new file mode 100644 index 0000000..006a744 --- /dev/null +++ b/SampleImageViewer/proj.android/jni/hellocpp/main.cpp @@ -0,0 +1,16 @@ +#include "AppDelegate.h" +#include "cocos2d.h" +#include "CCEventType.h" +#include "platform/android/jni/JniHelper.h" +#include +#include + +#define LOG_TAG "main" +#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__) + +using namespace cocos2d; + +void cocos_android_app_init (struct android_app* app) { + LOGD("cocos_android_app_init"); + AppDelegate *pAppDelegate = new AppDelegate(); +} diff --git a/SampleImageViewer/proj.android/proguard-project.txt b/SampleImageViewer/proj.android/proguard-project.txt new file mode 100644 index 0000000..b60ae7e --- /dev/null +++ b/SampleImageViewer/proj.android/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/SampleImageViewer/proj.android/project.properties b/SampleImageViewer/proj.android/project.properties new file mode 100644 index 0000000..c959301 --- /dev/null +++ b/SampleImageViewer/proj.android/project.properties @@ -0,0 +1,13 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system use, +# "ant.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-10 + +android.library.reference.1=../cocos2d/cocos/2d/platform/android/java diff --git a/SampleImageViewer/proj.android/res/drawable-hdpi/icon.png b/SampleImageViewer/proj.android/res/drawable-hdpi/icon.png new file mode 100644 index 0000000..8aa4767 Binary files /dev/null and b/SampleImageViewer/proj.android/res/drawable-hdpi/icon.png differ diff --git a/SampleImageViewer/proj.android/res/drawable-ldpi/icon.png b/SampleImageViewer/proj.android/res/drawable-ldpi/icon.png new file mode 100644 index 0000000..17ce11a Binary files /dev/null and b/SampleImageViewer/proj.android/res/drawable-ldpi/icon.png differ diff --git a/SampleImageViewer/proj.android/res/drawable-mdpi/icon.png b/SampleImageViewer/proj.android/res/drawable-mdpi/icon.png new file mode 100644 index 0000000..3780aac Binary files /dev/null and b/SampleImageViewer/proj.android/res/drawable-mdpi/icon.png differ diff --git a/SampleImageViewer/proj.android/res/values/strings.xml b/SampleImageViewer/proj.android/res/values/strings.xml new file mode 100644 index 0000000..5abe758 --- /dev/null +++ b/SampleImageViewer/proj.android/res/values/strings.xml @@ -0,0 +1,4 @@ + + + SampleImageViewer + diff --git a/SampleImageViewer/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java b/SampleImageViewer/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java new file mode 100644 index 0000000..d2dfa68 --- /dev/null +++ b/SampleImageViewer/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java @@ -0,0 +1,32 @@ +package org.cocos2dx.cpp; + +import android.app.NativeActivity; +import android.os.Bundle; + +public class Cocos2dxActivity extends NativeActivity{ + + @Override + protected void onCreate(Bundle savedInstanceState) { + // TODO Auto-generated method stub + super.onCreate(savedInstanceState); + + //For supports translucency + + //1.change "attribs" in cocos\2d\platform\android\nativeactivity.cpp + /*const EGLint attribs[] = { + EGL_SURFACE_TYPE, EGL_WINDOW_BIT, + EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, + //EGL_BLUE_SIZE, 5, -->delete + //EGL_GREEN_SIZE, 6, -->delete + //EGL_RED_SIZE, 5, -->delete + EGL_BUFFER_SIZE, 32, //-->new field + EGL_DEPTH_SIZE, 16, + EGL_STENCIL_SIZE, 8, + EGL_NONE + };*/ + + //2.Set the format of window + // getWindow().setFormat(PixelFormat.TRANSLUCENT); + + } +} diff --git a/SampleImageViewer/proj.ios_mac/SampleImageViewer.xcodeproj/project.pbxproj b/SampleImageViewer/proj.ios_mac/SampleImageViewer.xcodeproj/project.pbxproj new file mode 100644 index 0000000..255c295 --- /dev/null +++ b/SampleImageViewer/proj.ios_mac/SampleImageViewer.xcodeproj/project.pbxproj @@ -0,0 +1,1038 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */; }; + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */; }; + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */; }; + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */; }; + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */; }; + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */; }; + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */; }; + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */; }; + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */; }; + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */; }; + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 1AFAF8BE16D35E4900DB1158 /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 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 */; }; + 38DEFBAB18C823700025D030 /* cocosgui in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFBA818C823700025D030 /* cocosgui */; }; + 38DEFBAC18C823700025D030 /* cocosgui in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFBA818C823700025D030 /* cocosgui */; }; + 38DEFBAF18C823700025D030 /* hd in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFBAA18C823700025D030 /* hd */; }; + 38DEFBB018C823710025D030 /* hd in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFBAA18C823700025D030 /* hd */; }; + 38DEFBB818C823780025D030 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFBB718C823780025D030 /* fonts */; }; + 38DEFBB918C823780025D030 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFBB718C823780025D030 /* fonts */; }; + 38DEFBBC18C823860025D030 /* CocosGUIExamplesPageScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFBBA18C823860025D030 /* CocosGUIExamplesPageScene.cpp */; }; + 38DEFBBD18C823860025D030 /* CocosGUIExamplesPageScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFBBA18C823860025D030 /* CocosGUIExamplesPageScene.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 */; }; + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11117EB99EE00D1A890 /* libcurl.dylib */; }; + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11A17EB9C5A00D1A890 /* IOKit.framework */; }; + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.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 */; }; + 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 */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1551A33F158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2FD617814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2CB81780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2D9B1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2ED617814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F31FD1781479B006731B9; + remoteInfo = "jsbindings Mac"; + }; + 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A6FB53017854BC300CDF010; + remoteInfo = "luabindings Mac"; + }; + 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4D641783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4EFC1783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F3B178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F9E1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4FB4178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; + 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A5030178387750073F6A7; + remoteInfo = "jsbindings iOS"; + }; + 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A119791178526AA00D62A44; + remoteInfo = "luabindings iOS"; + }; + 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 1551A33E158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2FC117814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2B781780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2E9817814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2D5D1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4C241783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4E111783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4EFD178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F3C1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F9F178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../cocos2d/build/cocos2d_libs.xcodeproj; sourceTree = ""; }; + 1ACB3243164770DE00914215 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = ""; }; + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AppDelegate.cpp; path = ../Classes/AppDelegate.cpp; sourceTree = ""; }; + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ../Classes/AppDelegate.h; sourceTree = ""; }; + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HelloWorldScene.cpp; path = ../Classes/HelloWorldScene.cpp; sourceTree = ""; }; + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HelloWorldScene.h; path = ../Classes/HelloWorldScene.h; sourceTree = ""; }; + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseNormal.png; sourceTree = ""; }; + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseSelected.png; sourceTree = ""; }; + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = HelloWorld.png; sourceTree = ""; }; + 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 1D6058910D05DD3D006BFB54 /* SampleImageViewer iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleImageViewer iOS.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; }; + 38DEFBA818C823700025D030 /* cocosgui */ = {isa = PBXFileReference; lastKnownFileType = folder; path = cocosgui; sourceTree = ""; }; + 38DEFBAA18C823700025D030 /* hd */ = {isa = PBXFileReference; lastKnownFileType = folder; path = hd; sourceTree = ""; }; + 38DEFBB718C823780025D030 /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; path = fonts; sourceTree = ""; }; + 38DEFBBA18C823860025D030 /* CocosGUIExamplesPageScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CocosGUIExamplesPageScene.cpp; path = ../Classes/CocosGUIExamplesPageScene.cpp; sourceTree = ""; }; + 38DEFBBB18C823860025D030 /* CocosGUIExamplesPageScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CocosGUIExamplesPageScene.h; path = ../Classes/CocosGUIExamplesPageScene.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 /* SampleImageViewer Mac.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleImageViewer Mac.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 = ""; }; + 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; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */, + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */, + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */, + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */, + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a 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 */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75C17EB910900C73F5D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */, + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */, + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */, + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */, + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */, + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */, + 5087E76717EB910900C73F5D /* libz.dylib in Frameworks */, + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */, + 5087E78B17EB975400C73F5D /* OpenGL.framework in Frameworks */, + 5087E78917EB974C00C73F5D /* AppKit.framework in Frameworks */, + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */, + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */, + 5087E76817EB910900C73F5D /* QuartzCore.framework in Frameworks */, + 5087E76917EB910900C73F5D /* OpenAL.framework in Frameworks */, + 5087E76A17EB910900C73F5D /* AVFoundation.framework in Frameworks */, + 5087E76B17EB910900C73F5D /* AudioToolbox.framework 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 = ""; + }; + 15AA9C4015B7EC450033D6C2 /* Classes */ = { + isa = PBXGroup; + children = ( + 38DEFBBA18C823860025D030 /* CocosGUIExamplesPageScene.cpp */, + 38DEFBBB18C823860025D030 /* CocosGUIExamplesPageScene.h */, + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */, + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */, + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */, + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */, + ); + name = Classes; + path = ../classes; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 1D6058910D05DD3D006BFB54 /* SampleImageViewer iOS.app */, + 5087E76F17EB910900C73F5D /* SampleImageViewer Mac.app */, + ); + name = Products; + sourceTree = ""; + }; + 1AC6FAE6180E9839004C840B /* Products */ = { + isa = PBXGroup; + children = ( + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */, + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */, + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */, + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */, + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */, + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */, + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */, + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */, + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */, + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */, + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */, + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */, + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */, + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { + isa = PBXGroup; + children = ( + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */, + 15AA9C4015B7EC450033D6C2 /* Classes */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 080E96DDFE201D6D7F000001 /* ios */, + 503AE10617EB990700D1A890 /* mac */, + 19C28FACFE9D520D11CA2CBB /* Products */, + 78C7DDAA14EBA5050085D0C2 /* Resources */, + ); + name = CustomTemplate; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 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 = ""; + }; + 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 = ( + 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; + }; + 78C7DDAA14EBA5050085D0C2 /* Resources */ = { + isa = PBXGroup; + children = ( + 38DEFBA818C823700025D030 /* cocosgui */, + 38DEFBB718C823780025D030 /* fonts */, + 38DEFBAA18C823700025D030 /* hd */, + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */, + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */, + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */, + ); + name = Resources; + path = ../Resources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1D6058900D05DD3D006BFB54 /* SampleImageViewer iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "SampleImageViewer iOS" */; + buildPhases = ( + 1D60588D0D05DD3D006BFB54 /* Resources */, + 1D60588E0D05DD3D006BFB54 /* Sources */, + 1D60588F0D05DD3D006BFB54 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */, + ); + name = "SampleImageViewer iOS"; + productName = iphone; + productReference = 1D6058910D05DD3D006BFB54 /* SampleImageViewer iOS.app */; + productType = "com.apple.product-type.application"; + }; + 5087E73D17EB910900C73F5D /* SampleImageViewer Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleImageViewer Mac" */; + buildPhases = ( + 5087E74817EB910900C73F5D /* Resources */, + 5087E75617EB910900C73F5D /* Sources */, + 5087E75C17EB910900C73F5D /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */, + 1AC6FB16180E9959004C840B /* PBXTargetDependency */, + 1AC6FB18180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */, + ); + name = "SampleImageViewer Mac"; + productName = iphone; + productReference = 5087E76F17EB910900C73F5D /* SampleImageViewer Mac.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0500; + TargetAttributes = { + 1D6058900D05DD3D006BFB54 = { + DevelopmentTeam = MDDB52YB8L; + }; + }; + }; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleImageViewer" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = 1AC6FAE6180E9839004C840B /* Products */; + ProjectRef = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + 1D6058900D05DD3D006BFB54 /* SampleImageViewer iOS */, + 5087E73D17EB910900C73F5D /* SampleImageViewer Mac */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx Mac.a"; + remoteRef = 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions Mac.a"; + remoteRef = 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk Mac.a"; + remoteRef = 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d Mac.a"; + remoteRef = 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion Mac.a"; + remoteRef = 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings Mac.a"; + remoteRef = 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings Mac.a"; + remoteRef = 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx iOS.a"; + remoteRef = 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions iOS.a"; + remoteRef = 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk iOS.a"; + remoteRef = 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d iOS.a"; + remoteRef = 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion iOS.a"; + remoteRef = 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings iOS.a"; + remoteRef = 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings iOS.a"; + remoteRef = 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXResourcesBuildPhase section */ + 1D60588D0D05DD3D006BFB54 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFBAB18C823700025D030 /* cocosgui in Resources */, + 5087E78117EB970100C73F5D /* Icon-120.png in Resources */, + 5087E78617EB970100C73F5D /* Icon-76.png in Resources */, + 5087E77F17EB970100C73F5D /* Default@2x.png in Resources */, + 50EF629917ECD46A001EB2F8 /* Icon-100.png in Resources */, + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */, + 5087E78317EB970100C73F5D /* Icon-152.png in Resources */, + 5087E77D17EB970100C73F5D /* Default-568h@2x.png in Resources */, + 5087E78517EB970100C73F5D /* Icon-72.png in Resources */, + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */, + 38DEFBB818C823780025D030 /* fonts in Resources */, + 50EF62A317ECD613001EB2F8 /* Icon-50.png in Resources */, + 5087E78017EB970100C73F5D /* Icon-114.png in Resources */, + 38DEFBAF18C823700025D030 /* hd in Resources */, + 1AFAF8BE16D35E4900DB1158 /* 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 */, + 50EF629717ECD46A001EB2F8 /* Icon-58.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E74817EB910900C73F5D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFBAC18C823700025D030 /* cocosgui in Resources */, + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */, + 503AE0F817EB97AB00D1A890 /* Icon.icns in Resources */, + 38DEFBB018C823710025D030 /* hd in Resources */, + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */, + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */, + 38DEFBB918C823780025D030 /* fonts in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1D60588E0D05DD3D006BFB54 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFBBC18C823860025D030 /* CocosGUIExamplesPageScene.cpp in Sources */, + 503AE10017EB989F00D1A890 /* AppController.mm in Sources */, + 503AE10217EB989F00D1A890 /* RootViewController.mm in Sources */, + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */, + 503AE10117EB989F00D1A890 /* main.m in Sources */, + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75617EB910900C73F5D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFBBD18C823860025D030 /* CocosGUIExamplesPageScene.cpp in Sources */, + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */, + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */, + 503AE10517EB98FF00D1A890 /* main.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1AC6FB16180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx Mac"; + targetProxy = 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB18180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions Mac"; + targetProxy = 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk Mac"; + targetProxy = 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion Mac"; + targetProxy = 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d Mac"; + targetProxy = 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx iOS"; + targetProxy = 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions iOS"; + targetProxy = 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk iOS"; + targetProxy = 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d iOS"; + targetProxy = 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion iOS"; + targetProxy = 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 "SampleImageViewer iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1D6058940D05DD3E006BFB54 /* Debug */, + 1D6058950D05DD3E006BFB54 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleImageViewer Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5087E76D17EB910900C73F5D /* Debug */, + 5087E76E17EB910900C73F5D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleImageViewer" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/SampleImageViewer/proj.ios_mac/ios/AppController.h b/SampleImageViewer/proj.ios_mac/ios/AppController.h new file mode 100644 index 0000000..d0940a5 --- /dev/null +++ b/SampleImageViewer/proj.ios_mac/ios/AppController.h @@ -0,0 +1,11 @@ +#import + +@class RootViewController; + +@interface AppController : NSObject { + UIWindow *window; + RootViewController *viewController; +} + +@end + diff --git a/SampleImageViewer/proj.ios_mac/ios/AppController.mm b/SampleImageViewer/proj.ios_mac/ios/AppController.mm new file mode 100644 index 0000000..3ceacda --- /dev/null +++ b/SampleImageViewer/proj.ios_mac/ios/AppController.mm @@ -0,0 +1,142 @@ +/**************************************************************************** + 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 "CCEAGLView.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 { + + // 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: kEAGLColorFormatRGB565 + depthFormat: GL_DEPTH24_STENCIL8_OES + preserveBackbuffer: NO + sharegroup: nil + multiSampling: NO + numberOfSamples: 0]; + + // 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::GLView::createWithEAGLView(eaglView); + cocos2d::Director::getInstance()->setOpenGLView(glview); + + cocos2d::Application::getInstance()->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/SampleImageViewer/proj.ios_mac/ios/Default-568h@2x.png b/SampleImageViewer/proj.ios_mac/ios/Default-568h@2x.png new file mode 100644 index 0000000..66c6d1c Binary files /dev/null and b/SampleImageViewer/proj.ios_mac/ios/Default-568h@2x.png differ diff --git a/SampleImageViewer/proj.ios_mac/ios/Default.png b/SampleImageViewer/proj.ios_mac/ios/Default.png new file mode 100644 index 0000000..dcb8072 Binary files /dev/null and b/SampleImageViewer/proj.ios_mac/ios/Default.png differ diff --git a/SampleImageViewer/proj.ios_mac/ios/Default@2x.png b/SampleImageViewer/proj.ios_mac/ios/Default@2x.png new file mode 100644 index 0000000..8468988 Binary files /dev/null and b/SampleImageViewer/proj.ios_mac/ios/Default@2x.png differ diff --git a/SampleImageViewer/proj.ios_mac/ios/Icon-100.png b/SampleImageViewer/proj.ios_mac/ios/Icon-100.png new file mode 100644 index 0000000..ef38d45 Binary files /dev/null and b/SampleImageViewer/proj.ios_mac/ios/Icon-100.png differ diff --git a/SampleImageViewer/proj.ios_mac/ios/Icon-114.png b/SampleImageViewer/proj.ios_mac/ios/Icon-114.png new file mode 100644 index 0000000..c380786 Binary files /dev/null and b/SampleImageViewer/proj.ios_mac/ios/Icon-114.png differ diff --git a/SampleImageViewer/proj.ios_mac/ios/Icon-120.png b/SampleImageViewer/proj.ios_mac/ios/Icon-120.png new file mode 100644 index 0000000..a5b49cc Binary files /dev/null and b/SampleImageViewer/proj.ios_mac/ios/Icon-120.png differ diff --git a/SampleImageViewer/proj.ios_mac/ios/Icon-144.png b/SampleImageViewer/proj.ios_mac/ios/Icon-144.png new file mode 100644 index 0000000..1526615 Binary files /dev/null and b/SampleImageViewer/proj.ios_mac/ios/Icon-144.png differ diff --git a/SampleImageViewer/proj.ios_mac/ios/Icon-152.png b/SampleImageViewer/proj.ios_mac/ios/Icon-152.png new file mode 100644 index 0000000..8aa8250 Binary files /dev/null and b/SampleImageViewer/proj.ios_mac/ios/Icon-152.png differ diff --git a/SampleImageViewer/proj.ios_mac/ios/Icon-29.png b/SampleImageViewer/proj.ios_mac/ios/Icon-29.png new file mode 100644 index 0000000..0500184 Binary files /dev/null and b/SampleImageViewer/proj.ios_mac/ios/Icon-29.png differ diff --git a/SampleImageViewer/proj.ios_mac/ios/Icon-40.png b/SampleImageViewer/proj.ios_mac/ios/Icon-40.png new file mode 100644 index 0000000..775685d Binary files /dev/null and b/SampleImageViewer/proj.ios_mac/ios/Icon-40.png differ diff --git a/SampleImageViewer/proj.ios_mac/ios/Icon-50.png b/SampleImageViewer/proj.ios_mac/ios/Icon-50.png new file mode 100644 index 0000000..ac381bc Binary files /dev/null and b/SampleImageViewer/proj.ios_mac/ios/Icon-50.png differ diff --git a/SampleImageViewer/proj.ios_mac/ios/Icon-57.png b/SampleImageViewer/proj.ios_mac/ios/Icon-57.png new file mode 100644 index 0000000..4fcc6fd Binary files /dev/null and b/SampleImageViewer/proj.ios_mac/ios/Icon-57.png differ diff --git a/SampleImageViewer/proj.ios_mac/ios/Icon-58.png b/SampleImageViewer/proj.ios_mac/ios/Icon-58.png new file mode 100644 index 0000000..f0f8b7f Binary files /dev/null and b/SampleImageViewer/proj.ios_mac/ios/Icon-58.png differ diff --git a/SampleImageViewer/proj.ios_mac/ios/Icon-72.png b/SampleImageViewer/proj.ios_mac/ios/Icon-72.png new file mode 100644 index 0000000..2c573c8 Binary files /dev/null and b/SampleImageViewer/proj.ios_mac/ios/Icon-72.png differ diff --git a/SampleImageViewer/proj.ios_mac/ios/Icon-76.png b/SampleImageViewer/proj.ios_mac/ios/Icon-76.png new file mode 100644 index 0000000..8a1fa18 Binary files /dev/null and b/SampleImageViewer/proj.ios_mac/ios/Icon-76.png differ diff --git a/SampleImageViewer/proj.ios_mac/ios/Icon-80.png b/SampleImageViewer/proj.ios_mac/ios/Icon-80.png new file mode 100644 index 0000000..d9c7ab4 Binary files /dev/null and b/SampleImageViewer/proj.ios_mac/ios/Icon-80.png differ diff --git a/SampleImageViewer/proj.ios_mac/ios/Info.plist b/SampleImageViewer/proj.ios_mac/ios/Info.plist new file mode 100644 index 0000000..88a89b9 --- /dev/null +++ b/SampleImageViewer/proj.ios_mac/ios/Info.plist @@ -0,0 +1,70 @@ + + + + + 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.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIAppFonts + + UIPrerenderedIcon + + UISupportedInterfaceOrientations + + UIInterfaceOrientationLandscapeRight + UIInterfaceOrientationLandscapeLeft + + + diff --git a/SampleImageViewer/proj.ios_mac/ios/Prefix.pch b/SampleImageViewer/proj.ios_mac/ios/Prefix.pch new file mode 100644 index 0000000..3737d11 --- /dev/null +++ b/SampleImageViewer/proj.ios_mac/ios/Prefix.pch @@ -0,0 +1,8 @@ +// +// Prefix header for all source files of the 'iphone' target in the 'iphone' project +// + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/SampleImageViewer/proj.ios_mac/ios/RootViewController.h b/SampleImageViewer/proj.ios_mac/ios/RootViewController.h new file mode 100644 index 0000000..6cde57f --- /dev/null +++ b/SampleImageViewer/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/SampleImageViewer/proj.ios_mac/ios/RootViewController.mm b/SampleImageViewer/proj.ios_mac/ios/RootViewController.mm new file mode 100644 index 0000000..c500a44 --- /dev/null +++ b/SampleImageViewer/proj.ios_mac/ios/RootViewController.mm @@ -0,0 +1,108 @@ +/**************************************************************************** + 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 "CCEAGLView.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]; + + cocos2d::GLView *glview = cocos2d::Director::getInstance()->getOpenGLView(); + CCEAGLView *eaglview = (CCEAGLView*) glview->getEAGLView(); + + 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/SampleImageViewer/proj.ios_mac/ios/main.m b/SampleImageViewer/proj.ios_mac/ios/main.m new file mode 100644 index 0000000..84158b2 --- /dev/null +++ b/SampleImageViewer/proj.ios_mac/ios/main.m @@ -0,0 +1,12 @@ +#import + +// Under iOS and the Simulator, we can use an alternate Accelerometer interface +#import "AccelerometerSimulation.h" + +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/SampleImageViewer/proj.ios_mac/mac/Icon.icns b/SampleImageViewer/proj.ios_mac/mac/Icon.icns new file mode 100644 index 0000000..2040fc6 Binary files /dev/null and b/SampleImageViewer/proj.ios_mac/mac/Icon.icns differ diff --git a/SampleImageViewer/proj.ios_mac/mac/Info.plist b/SampleImageViewer/proj.ios_mac/mac/Info.plist new file mode 100644 index 0000000..df93f67 --- /dev/null +++ b/SampleImageViewer/proj.ios_mac/mac/Info.plist @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + Icon + CFBundleIdentifier + org.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + 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/SampleImageViewer/proj.ios_mac/mac/Prefix.pch b/SampleImageViewer/proj.ios_mac/mac/Prefix.pch new file mode 100644 index 0000000..96d93ae --- /dev/null +++ b/SampleImageViewer/proj.ios_mac/mac/Prefix.pch @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'Paralaxer' target in the 'Paralaxer' project +// + +#ifdef __OBJC__ + #import +#endif diff --git a/SampleImageViewer/proj.ios_mac/mac/main.cpp b/SampleImageViewer/proj.ios_mac/mac/main.cpp new file mode 100644 index 0000000..f0b87fb --- /dev/null +++ b/SampleImageViewer/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(); +} diff --git a/SampleImageViewer/proj.linux/main.cpp b/SampleImageViewer/proj.linux/main.cpp new file mode 100644 index 0000000..7742def --- /dev/null +++ b/SampleImageViewer/proj.linux/main.cpp @@ -0,0 +1,15 @@ +#include "../Classes/AppDelegate.h" + +#include +#include +#include +#include + +USING_NS_CC; + +int main(int argc, char **argv) +{ + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleImageViewer/proj.win32/SampleImageViewer.sln b/SampleImageViewer/proj.win32/SampleImageViewer.sln new file mode 100755 index 0000000..85a217b --- /dev/null +++ b/SampleImageViewer/proj.win32/SampleImageViewer.sln @@ -0,0 +1,61 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleImageViewer", "SampleImageViewer.vcxproj", "{76A39BB2-9B84-4C65-98A5-654D86B86F2A}" + ProjectSection(ProjectDependencies) = postProject + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\cocos2d\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\cocos2d\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\cocos2d\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosStudio", "..\cocos2d\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libGUI", "..\cocos2d\cocos\gui\proj.win32\libGUI.vcxproj", "{7E06E92C-537A-442B-9E4A-4761C84F8A1A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libExtensions", "..\cocos2d\extensions\proj.win32\libExtensions.vcxproj", "{21B2C324-891F-48EA-AD1A-5AE13DE12E28}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.ActiveCfg = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.Build.0 = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.ActiveCfg = Release|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.Build.0 = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.ActiveCfg = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.Build.0 = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.ActiveCfg = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.Build.0 = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.ActiveCfg = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.Build.0 = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.ActiveCfg = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.Build.0 = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.ActiveCfg = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.Build.0 = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.ActiveCfg = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.Build.0 = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.ActiveCfg = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.Build.0 = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.ActiveCfg = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.Build.0 = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.ActiveCfg = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.Build.0 = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.ActiveCfg = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.Build.0 = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.ActiveCfg = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.Build.0 = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.ActiveCfg = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SampleImageViewer/proj.win32/SampleImageViewer.vcxproj b/SampleImageViewer/proj.win32/SampleImageViewer.vcxproj new file mode 100755 index 0000000..a8dbc9f --- /dev/null +++ b/SampleImageViewer/proj.win32/SampleImageViewer.vcxproj @@ -0,0 +1,174 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {76A39BB2-9B84-4C65-98A5-654D86B86F2A} + test_win32 + Win32Proj + + + + Application + Unicode + true + v100 + v110 + v110_xp + + + Application + Unicode + v100 + v110 + v110_xp + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + true + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + false + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;$(EngineRoot);$(EngineRoot)cocos\editor-support;$(EngineRoot)cocos;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + EditAndContinue + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + MaxSpeed + true + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + ProgramDatabase + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + libcurl_imp.lib;websockets.lib;%(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + true + true + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + + + + + + + + + + + + + {98a51ba8-fc3a-415b-ac8f-8c7bd464e93e} + false + + + {f8edd7fa-9a51-4e80-baeb-860825d2eac6} + + + {b57cf53f-2e49-4031-9822-047cc0e6bde2} + + + {7e06e92c-537a-442b-9e4a-4761c84f8a1a} + + + {21b2c324-891f-48ea-ad1a-5ae13de12e28} + + + {207bc7a9-ccf1-4f2f-a04d-45f72242ae25} + + + + + + + + + \ No newline at end of file diff --git a/SampleImageViewer/proj.win32/SampleImageViewer.vcxproj.filters b/SampleImageViewer/proj.win32/SampleImageViewer.vcxproj.filters new file mode 100755 index 0000000..bc9d62c --- /dev/null +++ b/SampleImageViewer/proj.win32/SampleImageViewer.vcxproj.filters @@ -0,0 +1,47 @@ + + + + + {84a8ebd7-7cf0-47f6-b75e-d441df67da40} + + + {bb6c862e-70e9-49d9-81b7-3829a6f50471} + + + {715254bc-d70b-4ec5-bf29-467dd3ace079} + + + + + win32 + + + Classes + + + Classes + + + Classes + + + + + win32 + + + Classes + + + Classes + + + Classes + + + + + resource + + + \ No newline at end of file diff --git a/SampleImageViewer/proj.win32/SampleImageViewer.vcxproj.user b/SampleImageViewer/proj.win32/SampleImageViewer.vcxproj.user new file mode 100644 index 0000000..314a27a --- /dev/null +++ b/SampleImageViewer/proj.win32/SampleImageViewer.vcxproj.user @@ -0,0 +1,11 @@ + + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + \ No newline at end of file diff --git a/SampleImageViewer/proj.win32/game.rc b/SampleImageViewer/proj.win32/game.rc new file mode 100644 index 0000000..09d7d99 --- /dev/null +++ b/SampleImageViewer/proj.win32/game.rc @@ -0,0 +1,86 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +#undef APSTUDIO_HIDDEN_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +GLFW_ICON ICON "res\\game.ico" + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,1 + PRODUCTVERSION 1,0,0,1 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904B0" + BEGIN + VALUE "CompanyName", "\0" + VALUE "FileDescription", "game Module\0" + VALUE "FileVersion", "1, 0, 0, 1\0" + VALUE "InternalName", "game\0" + VALUE "LegalCopyright", "Copyright \0" + VALUE "OriginalFilename", "game.exe\0" + VALUE "ProductName", "game Module\0" + VALUE "ProductVersion", "1, 0, 0, 1\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0409, 0x04B0 + END +END + +///////////////////////////////////////////////////////////////////////////// +#endif // !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) diff --git a/SampleImageViewer/proj.win32/main.cpp b/SampleImageViewer/proj.win32/main.cpp new file mode 100644 index 0000000..4ef499e --- /dev/null +++ b/SampleImageViewer/proj.win32/main.cpp @@ -0,0 +1,18 @@ +#include "main.h" +#include "AppDelegate.h" +#include "cocos2d.h" + +USING_NS_CC; + +int APIENTRY _tWinMain(HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPTSTR lpCmdLine, + int nCmdShow) +{ + UNREFERENCED_PARAMETER(hPrevInstance); + UNREFERENCED_PARAMETER(lpCmdLine); + + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleImageViewer/proj.win32/main.h b/SampleImageViewer/proj.win32/main.h new file mode 100644 index 0000000..e4d2aa3 --- /dev/null +++ b/SampleImageViewer/proj.win32/main.h @@ -0,0 +1,13 @@ +#ifndef __MAIN_H__ +#define __MAIN_H__ + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers + +// Windows Header Files: +#include +#include + +// C RunTime Header Files +#include "CCStdC.h" + +#endif // __MAIN_H__ diff --git a/SampleImageViewer/proj.win32/res/game.ico b/SampleImageViewer/proj.win32/res/game.ico new file mode 100644 index 0000000..feaf932 Binary files /dev/null and b/SampleImageViewer/proj.win32/res/game.ico differ diff --git a/SampleImageViewer/proj.win32/resource.h b/SampleImageViewer/proj.win32/resource.h new file mode 100644 index 0000000..ecde7ef --- /dev/null +++ b/SampleImageViewer/proj.win32/resource.h @@ -0,0 +1,20 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by game.RC +// + +#define IDS_PROJNAME 100 +#define IDR_TESTJS 100 + +#define ID_FILE_NEW_WINDOW 32771 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 201 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 32775 +#endif +#endif diff --git a/SampleKeyFrameAnimation/CMakeLists.txt b/SampleKeyFrameAnimation/CMakeLists.txt new file mode 100644 index 0000000..82a8f20 --- /dev/null +++ b/SampleKeyFrameAnimation/CMakeLists.txt @@ -0,0 +1,169 @@ +cmake_minimum_required(VERSION 2.6) + +set(APP_NAME MyGame) +project (${APP_NAME}) + +include(cocos2d/build/BuildHelpers.CMakeLists.txt) + +option(USE_CHIPMUNK "Use chipmunk for physics library" ON) +option(USE_BOX2D "Use box2d for physics library" OFF) +option(DEBUG_MODE "Debug or release?" ON) + +if(DEBUG_MODE) + set(CMAKE_BUILD_TYPE DEBUG) +else(DEBUG_MODE) + set(CMAKE_BUILD_TYPE RELEASE) +endif(DEBUG_MODE) + +set(CMAKE_C_FLAGS_DEBUG "-g -Wall -DCOCOS2D_DEBUG=1") +set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) + +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + +if(USE_CHIPMUNK) + message("Using chipmunk ...") + add_definitions(-DLINUX -DCC_ENABLE_CHIPMUNK_INTEGRATION=1) +elseif(USE_BOX2D) + message("Using box2d ...") + add_definitions(-DLINUX -DCC_ENABLE_BOX2D_INTEGRATION=1) +else(USE_CHIPMUNK) + message(FATAL_ERROR "Must choose a physics library.") +endif(USE_CHIPMUNK) + +# architecture +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(ARCH_DIR "64-bit") +else() +set(ARCH_DIR "32-bit") +endif() + + +set(GAME_SRC + proj.linux/main.cpp + Classes/AppDelegate.cpp + Classes/HelloWorldScene.cpp +) + +set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/cocos2d) + +include_directories( + /usr/local/include/GLFW + ${COCOS2D_ROOT} + ${COCOS2D_ROOT}/cocos + ${COCOS2D_ROOT}/cocos/audio/include + ${COCOS2D_ROOT}/cocos/2d + ${COCOS2D_ROOT}/cocos/2d/renderer + ${COCOS2D_ROOT}/cocos/2d/platform + ${COCOS2D_ROOT}/cocos/2d/platform/desktop + ${COCOS2D_ROOT}/cocos/2d/platform/linux + ${COCOS2D_ROOT}/cocos/base + ${COCOS2D_ROOT}/cocos/physics + ${COCOS2D_ROOT}/cocos/editor-support + ${COCOS2D_ROOT}/cocos/math/kazmath/include + ${COCOS2D_ROOT}/extensions + ${COCOS2D_ROOT}/external + ${COCOS2D_ROOT}/external/edtaa3func + ${COCOS2D_ROOT}/external/jpeg/include/linux + ${COCOS2D_ROOT}/external/tiff/include/linux + ${COCOS2D_ROOT}/external/webp/include/linux + ${COCOS2D_ROOT}/external/tinyxml2 + ${COCOS2D_ROOT}/external/unzip + ${COCOS2D_ROOT}/external/chipmunk/include/chipmunk + ${COCOS2D_ROOT}/external/freetype2/include/linux + ${COCOS2D_ROOT}/external/websockets/include/linux + ${COCOS2D_ROOT}/external/spidermonkey/include/linux + ${COCOS2D_ROOT}/external/linux-specific/fmod/include/${ARCH_DIR} +) + +link_directories( + /usr/local/lib + ${COCOS2D_ROOT}/external/jpeg/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/tiff/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/webp/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/freetype2/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/websockets/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/spidermonkey/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/linux-specific/fmod/prebuilt/${ARCH_DIR} +) + +# kazmath +add_subdirectory(${COCOS2D_ROOT}/cocos/math/kazmath) + +# chipmunk library +add_subdirectory(${COCOS2D_ROOT}/external/chipmunk/src) + +# box2d library +add_subdirectory(${COCOS2D_ROOT}/external/Box2D) + +# unzip library +add_subdirectory(${COCOS2D_ROOT}/external/unzip) + +# tinyxml2 library +add_subdirectory(${COCOS2D_ROOT}/external/tinyxml2) + +# audio +add_subdirectory(${COCOS2D_ROOT}/cocos/audio) + +# cocos base library +add_subdirectory(${COCOS2D_ROOT}/cocos/base) + +# cocos 2d library +add_subdirectory(${COCOS2D_ROOT}/cocos/2d) + +# cocos storage +add_subdirectory(${COCOS2D_ROOT}/cocos/storage) + +# gui +add_subdirectory(${COCOS2D_ROOT}/cocos/gui) + +# network +add_subdirectory(${COCOS2D_ROOT}/cocos/network) + +# extensions +add_subdirectory(${COCOS2D_ROOT}/extensions) + +## Editor Support + +# spine +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/spine) + +# cocosbuilder +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocosbuilder) + +# cocostudio +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocostudio) + +# add the executable +add_executable(${APP_NAME} + ${GAME_SRC} +) + +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(FMOD_LIB "fmodex64") +else() +set(FMOD_LIB "fmodex") +endif() + +target_link_libraries(${APP_NAME} + gui + network + storage + spine + cocostudio + cocosbuilder + extensions + audio + cocos2d + ) + +set(APP_BIN_DIR "${CMAKE_BINARY_DIR}/bin") + +set_target_properties(${APP_NAME} PROPERTIES + RUNTIME_OUTPUT_DIRECTORY "${APP_BIN_DIR}") + +pre_build(${APP_NAME} + COMMAND ${CMAKE_COMMAND} -E remove_directory ${APP_BIN_DIR}/Resources + COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/Resources ${APP_BIN_DIR}/Resources + ) + diff --git a/SampleKeyFrameAnimation/Classes/AppDelegate.cpp b/SampleKeyFrameAnimation/Classes/AppDelegate.cpp new file mode 100644 index 0000000..5347964 --- /dev/null +++ b/SampleKeyFrameAnimation/Classes/AppDelegate.cpp @@ -0,0 +1,52 @@ +#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 = GLView::create("My Game"); + director->setOpenGLView(glview); + } + + // turn on display FPS + director->setDisplayStats(true); + + // 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::sharedEngine()->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::sharedEngine()->resumeBackgroundMusic(); +} diff --git a/SampleKeyFrameAnimation/Classes/AppDelegate.h b/SampleKeyFrameAnimation/Classes/AppDelegate.h new file mode 100644 index 0000000..01cbb7c --- /dev/null +++ b/SampleKeyFrameAnimation/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/SampleKeyFrameAnimation/Classes/HelloWorldScene.cpp b/SampleKeyFrameAnimation/Classes/HelloWorldScene.cpp new file mode 100644 index 0000000..2878e4c --- /dev/null +++ b/SampleKeyFrameAnimation/Classes/HelloWorldScene.cpp @@ -0,0 +1,101 @@ +#include "HelloWorldScene.h" + +USING_NS_CC; +using namespace cocostudio; + + +Scene* HelloWorld::createScene() +{ + // 'scene' is an autorelease object + 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; + } + + CCSize visibleSize = CCDirector::sharedDirector()->getVisibleSize(); + CCPoint origin = CCDirector::sharedDirector()->getVisibleOrigin(); + + ///////////////////////////// + // 2. add a menu item with "X" image, which is clicked to quit the program + // you may modify it. + + // add a "close" icon to exit the progress. it's an autorelease object + CCMenuItemImage *pCloseItem = CCMenuItemImage::create( + "CloseNormal.png", + "CloseSelected.png", + this, + menu_selector(HelloWorld::menuCloseCallback)); + pCloseItem->setPosition(ccp(origin.x + visibleSize.width - pCloseItem->getContentSize().width/2 , + origin.y + pCloseItem->getContentSize().height/2)); + + // create menu, it's an autorelease object + CCMenu* pMenu = CCMenu::create(pCloseItem, NULL); + pMenu->setPosition(CCPointZero); + this->addChild(pMenu, 1); + + ///////////////////////////// + //init info + setTouchEnabled(true); + count = 0; + //add armature + ArmatureDataManager::sharedArmatureDataManager()->addArmatureFileInfo("100.png","100.plist","10.ExportJson"); + armature = Armature::create("10"); + armature->setPosition(ccp(visibleSize.width * 0.8,visibleSize.height * 0.5)); + armature->getAnimation()->playByIndex(0); + armature->setScale(0.25); + this->addChild(armature); + + // create and initialize a label + CCLabelTTF* pLabel = CCLabelTTF::create("Touch Screen to Change Animation", "Arial", 30); + + // position the label on the center of the screen + pLabel->setPosition(ccp(origin.x + visibleSize.width*0.5, + origin.y + visibleSize.height * 0.2)); + this->addChild(pLabel,0); + + + //events + auto listener = EventListenerTouchOneByOne::create(); + listener->onTouchBegan = CC_CALLBACK_2(HelloWorld::onTouchBegan, this); + _eventDispatcher->addEventListenerWithSceneGraphPriority(listener,this ); + + return true; +} + + + + + +void HelloWorld::menuCloseCallback(Ref* pSender) +{ + Director::getInstance()->end(); + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + exit(0); +#endif +} + +bool HelloWorld::onTouchBegan( Touch* touch, Event* event ) +{ + count++; + count = count% armature->getAnimation()->getMovementCount(); + armature->getAnimation()->playByIndex(count); + return true; +} diff --git a/SampleKeyFrameAnimation/Classes/HelloWorldScene.h b/SampleKeyFrameAnimation/Classes/HelloWorldScene.h new file mode 100644 index 0000000..85d3836 --- /dev/null +++ b/SampleKeyFrameAnimation/Classes/HelloWorldScene.h @@ -0,0 +1,35 @@ +#ifndef __HELLOWORLD_SCENE_H__ +#define __HELLOWORLD_SCENE_H__ + +#include "cocos2d.h" +#include "cocos-ext.h" +#include "cocostudio/CocoStudio.h" +#include "CocosGUI.h" + +USING_NS_CC; + +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(); + + // a selector callback about a touch event began + bool onTouchBegan(Touch* touch, Event* event); + + static cocos2d::CCScene* scene(); + + // a selector callback + void menuCloseCallback(Object* pSender); + + // implement the "static node()" method manually + CREATE_FUNC(HelloWorld); +private: + cocostudio::Armature* armature; + int count; +}; + +#endif // __HELLOWORLD_SCENE_H__ diff --git a/SampleKeyFrameAnimation/Resources/10.ExportJson b/SampleKeyFrameAnimation/Resources/10.ExportJson new file mode 100644 index 0000000..04d4e32 --- /dev/null +++ b/SampleKeyFrameAnimation/Resources/10.ExportJson @@ -0,0 +1,4390 @@ +{ + "armature_data": [ + { + "strVersion": "0.3.3.0", + "version": 0.33, + "name": "10", + "bone_data": [ + { + "name": "Layer10", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 9, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "2013-8-27 18-52-46.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer9", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 6, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "hat.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer8", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "8.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer7", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 8, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "7.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer6", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 5, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "6.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer5", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 3, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "5.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer4", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 4, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "4.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer3", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 2, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "3.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer2", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 7, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "2.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer1", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 10, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "1.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "10", + "mov_data": [ + { + "name": "Animation1", + "dr": 40, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.6666667, + "mov_bone_data": [ + { + "name": "Layer1", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 149.214325, + "y": 127.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.91080415, + "kY": -1.91080415, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -64.7857, + "y": 215.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.56726933, + "kY": -1.56726933, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -222.785721, + "y": 159.705688, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.11067116, + "kY": -1.11067116, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -337.385742, + "y": 218.3057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.416286647, + "kY": -0.416286647, + "fi": 27, + "twE": 0 + }, + { + "dI": 0, + "x": -380.785736, + "y": 197.705688, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.118693262, + "kY": -0.118693262, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -380.785736, + "y": 197.705688, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.1467216, + "kY": -1.1467216, + "fi": 35, + "twE": 0 + }, + { + "dI": 0, + "x": -380.785736, + "y": 197.705688, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.118693262, + "kY": -0.118693262, + "fi": 40, + "twE": 0 + } + ] + }, + { + "name": "Layer10", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -85.35716, + "y": 144.671387, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.93373382, + "kY": 1.93373382, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -287.357178, + "y": 152.671387, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.60727954, + "kY": 1.60727954, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -397.357178, + "y": 16.6713181, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.183280379, + "kY": -0.183280379, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -363.557159, + "y": 13.6712837, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.263122529, + "kY": 0.263122529, + "fi": 27, + "twE": 0 + }, + { + "dI": 0, + "x": -343.357147, + "y": -33.32873, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.454438061, + "kY": 0.454438061, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -553.357239, + "y": 60.6712265, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2769496, + "kY": -0.2769496, + "fi": 35, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -343.357147, + "y": -33.32873, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.454438061, + "kY": 0.454438061, + "fi": 40, + "twE": 0 + } + ] + }, + { + "name": "Layer7", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 205.178619, + "y": -85.40142, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.15701163, + "kY": 1.15701163, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -60.82142, + "y": -39.4014244, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6791956, + "kY": 0.6791956, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -382.821472, + "y": -99.40143, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.20338437, + "kY": -0.20338437, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -396.62146, + "y": -56.20143, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0807161, + "kY": -0.0807161, + "fi": 27, + "twE": 0 + }, + { + "dI": 0, + "x": -396.821472, + "y": -83.40143, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0281439871, + "kY": -0.0281439871, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -396.821472, + "y": -83.40143, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0281439871, + "kY": -0.0281439871, + "fi": 40, + "twE": 0 + } + ] + }, + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 66.35712, + "y": 19.1342545, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.335356861, + "kY": 0.335356861, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -147.642914, + "y": 107.134262, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.009863426, + "kY": -0.009863426, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -305.642944, + "y": 51.1342468, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.09650671, + "kY": -1.09650671, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -420.24295, + "y": 112.534256, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.432460845, + "kY": -0.432460845, + "fi": 27, + "twE": 0 + }, + { + "dI": 0, + "x": -463.642944, + "y": 93.13426, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.147869721, + "kY": -0.147869721, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -463.642944, + "y": 93.13426, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.147869721, + "kY": -0.147869721, + "fi": 40, + "twE": 0 + } + ] + }, + { + "name": "Layer9", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 2.499992, + "y": 312.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0622559972, + "kY": 0.0622559972, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -211.500046, + "y": 400.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.208468676, + "kY": -0.208468676, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -369.500061, + "y": 344.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.208468676, + "kY": -0.208468676, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -464.500061, + "y": 403.3057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2854597, + "kY": -0.2854597, + "fi": 27, + "twE": 0 + }, + { + "dI": 0, + "x": -499.500061, + "y": 382.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.318455845, + "kY": -0.318455845, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -499.500061, + "y": 382.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.318455845, + "kY": -0.318455845, + "fi": 40, + "twE": 0 + } + ] + }, + { + "name": "Layer6", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 104.071419, + "y": 183.848679, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -109.928604, + "y": 271.8487, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -267.92865, + "y": 215.8487, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -382.528656, + "y": 277.2487, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0412553549, + "kY": -0.0412553549, + "fi": 27, + "twE": 0 + }, + { + "dI": 0, + "x": -425.92865, + "y": 257.8487, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0589362234, + "kY": -0.0589362234, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -425.92865, + "y": 257.8487, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0589362234, + "kY": -0.0589362234, + "fi": 40, + "twE": 0 + } + ] + }, + { + "name": "Layer4", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -129.892746, + "y": -91.2228546, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -153.892776, + "y": -69.2228851, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.294860482, + "kY": 0.294860482, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -213.8928, + "y": -59.2228928, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.962954, + "kY": 0.962954, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -462.892822, + "y": -39.8228836, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.698115, + "kY": 0.698115, + "fi": 27, + "twE": 0 + }, + { + "dI": 0, + "x": -563.8928, + "y": -89.2228851, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0362442024, + "kY": 0.0362442024, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -563.8928, + "y": -89.2228851, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0362442024, + "kY": 0.0362442024, + "fi": 40, + "twE": 0 + } + ] + }, + { + "name": "Layer5", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -0.7856827, + "y": 37.7056961, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5652371, + "kY": -0.5652371, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -214.7857, + "y": 125.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6469608, + "kY": 0.6469608, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -372.7857, + "y": 69.70569, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.17695594, + "kY": 1.17695594, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -487.3857, + "y": 131.1057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.471047521, + "kY": 0.471047521, + "fi": 27, + "twE": 0 + }, + { + "dI": 0, + "x": -530.7857, + "y": 111.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.1685153, + "kY": 0.1685153, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -530.7857, + "y": 111.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.1685153, + "kY": 0.1685153, + "fi": 40, + "twE": 0 + } + ] + }, + { + "name": "Layer3", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -113.642845, + "y": 37.7056847, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.04695272, + "kY": 2.04695272, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -221.642868, + "y": 113.705688, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.96948075, + "kY": 1.96948075, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -427.642883, + "y": 45.7056656, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.4962883, + "kY": 1.4962883, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -595.442932, + "y": 136.505692, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.782402039, + "kY": 0.782402039, + "fi": 27, + "twE": 0 + }, + { + "dI": 0, + "x": -661.642944, + "y": 129.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.476450831, + "kY": 0.476450831, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -661.642944, + "y": 129.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.476450831, + "kY": 0.476450831, + "fi": 40, + "twE": 0 + } + ] + }, + { + "name": "Layer8", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -42.21425, + "y": 126.277115, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -256.2143, + "y": 214.277115, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.952557266, + "kY": 0.952557266, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -414.2143, + "y": 158.2771, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.487256765, + "kY": 0.487256765, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -528.8143, + "y": 219.6771, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.00920248, + "kY": -0.00920248, + "fi": 27, + "twE": 0 + }, + { + "dI": 0, + "x": -572.2143, + "y": 200.2771, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.221970722, + "kY": -0.221970722, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -572.2143, + "y": 200.2771, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.221970722, + "kY": -0.221970722, + "fi": 40, + "twE": 0 + } + ] + } + ] + }, + { + "name": "Animation2", + "dr": 53, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.6666667, + "mov_bone_data": [ + { + "name": "Layer1", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 149.214325, + "y": 127.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.632015646, + "kY": -0.632015646, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 121.214325, + "y": 143.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.1352339, + "kY": -0.1352339, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -112.78569, + "y": 119.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.191964462, + "kY": 0.191964462, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -174.7857, + "y": 147.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3106683, + "kY": -0.3106683, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -230.7857, + "y": 135.705719, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.25170135, + "kY": -2.25170135, + "fi": 40, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -230.7857, + "y": 135.705719, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -3.77798414, + "kY": 3.77798414, + "fi": 50, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -180.785736, + "y": 73.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.91080415, + "kY": -1.91080415, + "fi": 53, + "twE": 0 + } + ] + }, + { + "name": "Layer10", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 56.6428375, + "y": -85.32867, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0269051231, + "kY": -0.0269051231, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 136.642853, + "y": -97.32867, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.306043923, + "kY": 0.306043923, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -17.35717, + "y": -77.3286743, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.92127043, + "kY": 0.92127043, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -191.357178, + "y": -81.32867, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.306043923, + "kY": 0.306043923, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -428.357178, + "y": 229.671387, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.07270575, + "kY": 2.07270575, + "fi": 40, + "twE": 0 + }, + { + "dI": 0, + "x": -422.357178, + "y": 283.6714, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.35034251, + "kY": 1.35034251, + "fi": 50, + "twE": 0 + }, + { + "dI": 0, + "x": -415.357178, + "y": 90.67139, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.93373382, + "kY": 1.93373382, + "fi": 53, + "twE": 0 + } + ] + }, + { + "name": "Layer7", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 95.1786041, + "y": -151.401413, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.008782991, + "kY": -0.008782991, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 47.1785927, + "y": -149.401413, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.06494529, + "kY": -0.06494529, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -266.821381, + "y": -147.4014, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.06494529, + "kY": -0.06494529, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -254.821411, + "y": -145.4014, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.06494529, + "kY": -0.06494529, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -266.8214, + "y": -147.4014, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0714122057, + "kY": 0.0714122057, + "fi": 40, + "twE": 0 + }, + { + "dI": 0, + "x": -266.8214, + "y": -147.4014, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0714122057, + "kY": 0.0714122057, + "fi": 50, + "twE": 0 + }, + { + "dI": 0, + "x": -124.821442, + "y": -139.401413, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.15701163, + "kY": 1.15701163, + "fi": 53, + "twE": 0 + } + ] + }, + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 66.35712, + "y": 19.1342545, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2935975, + "kY": -0.2935975, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 22.3571053, + "y": 17.1342545, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2935975, + "kY": -0.2935975, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -197.642914, + "y": 3.13425446, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.06613779, + "kY": -1.06613779, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -273.642944, + "y": 21.1342583, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.334547937, + "kY": -0.334547937, + "fi": 30, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -321.642944, + "y": 18.134264, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.13030915, + "kY": -0.13030915, + "fi": 40, + "twE": 0 + }, + { + "dI": 0, + "x": -321.642944, + "y": 18.134264, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.13030915, + "kY": -0.13030915, + "fi": 50, + "twE": 0 + }, + { + "dI": 0, + "x": -263.642944, + "y": -34.8657532, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.335356861, + "kY": 0.335356861, + "fi": 53, + "twE": 0 + } + ] + }, + { + "name": "Layer9", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 22.4999943, + "y": 320.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.193711549, + "kY": -0.193711549, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 12.4999886, + "y": 334.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.365090668, + "kY": -0.365090668, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -207.500031, + "y": 320.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.365090668, + "kY": -0.365090668, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -283.500061, + "y": 338.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.365090668, + "kY": -0.365090668, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -358.5001, + "y": 323.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.15141733, + "kY": -0.15141733, + "fi": 40, + "twE": 0 + }, + { + "dI": 0, + "x": -358.5001, + "y": 323.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.15141733, + "kY": -0.15141733, + "fi": 50, + "twE": 0 + }, + { + "dI": 0, + "x": -327.500122, + "y": 258.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0622559972, + "kY": 0.0622559972, + "fi": 53, + "twE": 0 + } + ] + }, + { + "name": "Layer6", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 104.071419, + "y": 183.848679, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 76.07141, + "y": 199.848679, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -143.928589, + "y": 185.848679, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -219.9286, + "y": 203.848679, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -275.928619, + "y": 191.8487, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0577432923, + "kY": -0.0577432923, + "fi": 40, + "twE": 0 + }, + { + "dI": 0, + "x": -275.928619, + "y": 191.8487, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0577432923, + "kY": -0.0577432923, + "fi": 50, + "twE": 0 + }, + { + "dI": 0, + "x": -225.92865, + "y": 129.848679, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 53, + "twE": 0 + } + ] + }, + { + "name": "Layer4", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -45.89274, + "y": -153.222855, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -47.8927422, + "y": -147.22287, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -115.892761, + "y": -99.22286, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.968907833, + "kY": 0.968907833, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -293.892761, + "y": -127.222855, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.440926045, + "kY": 0.440926045, + "fi": 30, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -431.892822, + "y": -141.222839, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0164549854, + "kY": 0.0164549854, + "fi": 40, + "twE": 0 + }, + { + "dI": 0, + "x": -431.892822, + "y": -141.222839, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0164549854, + "kY": 0.0164549854, + "fi": 50, + "twE": 0 + }, + { + "dI": 0, + "x": -459.892822, + "y": -145.222855, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 53, + "twE": 0 + } + ] + }, + { + "name": "Layer5", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -0.7856827, + "y": 37.7056961, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.05865755, + "kY": 0.05865755, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -28.7856865, + "y": 53.7056961, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.2892836, + "kY": 0.2892836, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -248.7857, + "y": 39.7056961, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.07664239, + "kY": 1.07664239, + "fi": 20, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -324.7857, + "y": 57.7056961, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.496329963, + "kY": 0.496329963, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -380.785736, + "y": 45.7057037, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0419666655, + "kY": 0.0419666655, + "fi": 40, + "twE": 0 + }, + { + "dI": 0, + "x": -380.785736, + "y": 45.7057037, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0419666655, + "kY": 0.0419666655, + "fi": 50, + "twE": 0 + }, + { + "dI": 0, + "x": -330.785767, + "y": -16.2943077, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5652371, + "kY": -0.5652371, + "fi": 53, + "twE": 0 + } + ] + }, + { + "name": "Layer3", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -149.642853, + "y": 77.70569, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.00230204384, + "kY": 0.00230204384, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -143.642838, + "y": 59.705658, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.445426345, + "kY": 0.445426345, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -325.642853, + "y": 21.70565, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.892308056, + "kY": 0.892308056, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -345.642883, + "y": 37.70565, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.3239398, + "kY": 1.3239398, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -447.642944, + "y": 35.7056732, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.68544626, + "kY": 1.68544626, + "fi": 40, + "twE": 0 + }, + { + "dI": 0, + "x": -447.642944, + "y": 35.7056732, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.68544626, + "kY": 1.68544626, + "fi": 50, + "twE": 0 + }, + { + "dI": 0, + "x": -443.642944, + "y": -16.294323, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.04695272, + "kY": 2.04695272, + "fi": 53, + "twE": 0 + } + ] + }, + { + "name": "Layer8", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -42.21425, + "y": 126.277115, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.4298555, + "kY": -0.4298555, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -70.21425, + "y": 142.277115, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.09773954, + "kY": -0.09773954, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -290.214264, + "y": 128.277115, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.356257975, + "kY": 0.356257975, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -366.2143, + "y": 146.277115, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.9131366, + "kY": 0.9131366, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -422.214325, + "y": 134.27713, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.4565683, + "kY": 0.4565683, + "fi": 40, + "twE": 0 + }, + { + "dI": 0, + "x": -422.214325, + "y": 134.27713, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.4565683, + "kY": 0.4565683, + "fi": 50, + "twE": 0 + }, + { + "dI": 0, + "x": -372.214355, + "y": 72.2771149, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 53, + "twE": 0 + } + ] + } + ] + }, + { + "name": "Animation3", + "dr": 70, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.6666667, + "mov_bone_data": [ + { + "name": "Layer1", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -18.7856827, + "y": 155.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0283652842, + "kY": 0.0283652842, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -134.78569, + "y": 119.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.191964462, + "kY": 0.191964462, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -221.7857, + "y": 166.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3106683, + "kY": -0.3106683, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -342.785675, + "y": 120.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.632015646, + "kY": -0.632015646, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -541.785767, + "y": 156.705719, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0283652842, + "kY": 0.0283652842, + "fi": 40, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -686.285767, + "y": 112.2057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.191964462, + "kY": 0.191964462, + "fi": 50, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -763.2858, + "y": 168.2057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3106683, + "kY": -0.3106683, + "fi": 60, + "twE": 0 + }, + { + "dI": 0, + "x": -797.785767, + "y": 120.2057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.632015646, + "kY": -0.632015646, + "fi": 70, + "twE": 0 + } + ] + }, + { + "name": "Layer10", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 36.6428375, + "y": -63.3286743, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6136572, + "kY": 0.6136572, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -39.35717, + "y": -77.3286743, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.92127043, + "kY": 0.92127043, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -238.357178, + "y": -62.3286667, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.306043923, + "kY": 0.306043923, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -435.357178, + "y": -92.32867, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0269051231, + "kY": -0.0269051231, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -486.357239, + "y": -62.3286743, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6136572, + "kY": 0.6136572, + "fi": 40, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -590.857239, + "y": -84.8286743, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.92127043, + "kY": 0.92127043, + "fi": 50, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -779.8573, + "y": -60.82866, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.306043923, + "kY": 0.306043923, + "fi": 60, + "twE": 0 + }, + { + "dI": 0, + "x": -890.357239, + "y": -92.82867, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0269051231, + "kY": -0.0269051231, + "fi": 70, + "twE": 0 + } + ] + }, + { + "name": "Layer7", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -132.8214, + "y": -124.4014, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.06494529, + "kY": -0.06494529, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -288.821381, + "y": -147.4014, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.06494529, + "kY": -0.06494529, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -301.8214, + "y": -126.4014, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.06494529, + "kY": -0.06494529, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -351.3214, + "y": -128.9014, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.510189533, + "kY": 0.510189533, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -655.321533, + "y": -115.9014, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.06494529, + "kY": -0.06494529, + "fi": 40, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -846.3215, + "y": -147.4014, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.06494529, + "kY": -0.06494529, + "fi": 50, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -835.8215, + "y": -123.9014, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.06494529, + "kY": -0.06494529, + "fi": 60, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -848.8215, + "y": -151.401413, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.008782991, + "kY": -0.008782991, + "fi": 70, + "twE": 0 + } + ] + }, + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -110.6429, + "y": 34.1342545, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.6798676, + "kY": -0.6798676, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -219.642914, + "y": 3.13425446, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.06613779, + "kY": -1.06613779, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -320.642944, + "y": 40.13426, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.334547937, + "kY": -0.334547937, + "fi": 20, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -422.642883, + "y": 14.1342535, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.011102655, + "kY": -0.011102655, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -633.143, + "y": 42.6342545, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.6798676, + "kY": -0.6798676, + "fi": 40, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -777.143, + "y": 3.13425446, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.06613779, + "kY": -1.06613779, + "fi": 50, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -854.643, + "y": 42.63425, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.334547937, + "kY": -0.334547937, + "fi": 60, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -877.643, + "y": 19.1342564, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2935975, + "kY": -0.2935975, + "fi": 70, + "twE": 0 + } + ] + }, + { + "name": "Layer9", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -120.500015, + "y": 351.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.365090668, + "kY": -0.365090668, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -229.500031, + "y": 320.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.365090668, + "kY": -0.365090668, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -330.500061, + "y": 357.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.365090668, + "kY": -0.365090668, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -466.5, + "y": 315.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.333654374, + "kY": -0.333654374, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -643.0002, + "y": 360.2057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.365090668, + "kY": -0.365090668, + "fi": 40, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -787.0002, + "y": 320.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.365090668, + "kY": -0.365090668, + "fi": 50, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -864.5002, + "y": 360.2057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.365090668, + "kY": -0.365090668, + "fi": 60, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -921.500061, + "y": 320.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.193711549, + "kY": -0.193711549, + "fi": 70, + "twE": 0 + } + ] + }, + { + "name": "Layer6", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -56.92859, + "y": 216.848679, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -165.928589, + "y": 185.848679, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -266.9286, + "y": 222.848679, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -384.9286, + "y": 178.848679, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -579.4287, + "y": 225.3487, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 40, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -723.42865, + "y": 185.848679, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 50, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -800.92865, + "y": 225.348663, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 60, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -839.92865, + "y": 183.848679, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 70, + "twE": 0 + } + ] + }, + { + "name": "Layer4", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -104.892746, + "y": -99.22287, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.484453917, + "kY": 0.484453917, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -137.892761, + "y": -99.22286, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.968907833, + "kY": 0.968907833, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -340.892761, + "y": -108.222855, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.440926045, + "kY": 0.440926045, + "fi": 20, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -582.3927, + "y": -143.222839, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 30, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -627.3929, + "y": -90.72286, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.484453917, + "kY": 0.484453917, + "fi": 40, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -695.3929, + "y": -99.22287, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.968907833, + "kY": 0.968907833, + "fi": 50, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -874.8929, + "y": -105.72287, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.440926045, + "kY": 0.440926045, + "fi": 60, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -989.892761, + "y": -153.222855, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 70, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer5", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -161.78569, + "y": 70.7056961, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.682963, + "kY": 0.682963, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -270.7857, + "y": 39.7056961, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.07664239, + "kY": 1.07664239, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -371.7857, + "y": 76.7056961, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.496329963, + "kY": 0.496329963, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -489.785675, + "y": 32.7056961, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.236161441, + "kY": -0.236161441, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -684.2858, + "y": 79.2056961, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.682963, + "kY": 0.682963, + "fi": 40, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -828.2858, + "y": 39.7056961, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.07664239, + "kY": 1.07664239, + "fi": 50, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -905.7858, + "y": 79.2056961, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.496329963, + "kY": 0.496329963, + "fi": 60, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -944.7857, + "y": 37.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.05865755, + "kY": 0.05865755, + "fi": 70, + "twE": 0 + } + ] + }, + { + "name": "Layer3", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -257.642853, + "y": 64.70566, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.56969559, + "kY": 1.56969559, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -385.142853, + "y": 44.20565, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.211473763, + "kY": 0.211473763, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -392.642883, + "y": 56.70565, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.3239398, + "kY": 1.3239398, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -533.6428, + "y": 7.70568, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.05271673, + "kY": 2.05271673, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -780.143, + "y": 73.20565, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.56969559, + "kY": 1.56969559, + "fi": 40, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -942.643, + "y": 44.20565, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.211473763, + "kY": 0.211473763, + "fi": 50, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -926.643, + "y": 59.2056427, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.3239398, + "kY": 1.3239398, + "fi": 60, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -988.6429, + "y": 12.7056856, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.05271673, + "kY": 2.05271673, + "fi": 70, + "twE": 0 + } + ] + }, + { + "name": "Layer8", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -203.214264, + "y": 159.277115, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.129259229, + "kY": 0.129259229, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -312.214264, + "y": 128.277115, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0768479, + "kY": -0.0768479, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -413.2143, + "y": 165.277115, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.9131366, + "kY": 0.9131366, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -531.214233, + "y": 121.277115, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.5787042, + "kY": 0.5787042, + "fi": 30, + "twE": 0 + }, + { + "dI": 0, + "x": -725.7144, + "y": 167.77713, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.129259229, + "kY": 0.129259229, + "fi": 40, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -869.7144, + "y": 128.277115, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0768479, + "kY": -0.0768479, + "fi": 50, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -947.2144, + "y": 167.7771, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.9131366, + "kY": 0.9131366, + "fi": 60, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -986.2143, + "y": 126.277115, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.5787042, + "kY": 0.5787042, + "fi": 70, + "twE": 0 + } + ] + } + ] + }, + { + "name": "Animation4", + "dr": 50, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.6666667, + "mov_bone_data": [ + { + "name": "Layer1", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -530.785767, + "y": 100.705719, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115545079, + "kY": -0.115545079, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -675.785767, + "y": 66.95572, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.30737448, + "kY": -1.30737448, + "fi": 5, + "twE": 0 + }, + { + "dI": 0, + "x": -945.7859, + "y": 238.205734, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.76813185, + "kY": -1.76813185, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -1022.036, + "y": 248.20575, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.18542147, + "kY": -2.18542147, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -1388.286, + "y": 333.20575, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -3.0148344, + "kY": 3.0148344, + "fi": 45, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -1691.786, + "y": 113.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.91080415, + "kY": -1.91080415, + "fi": 50, + "twE": 0 + } + ] + }, + { + "name": "Layer10", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -507.357147, + "y": -128.82869, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.600804031, + "kY": 0.600804031, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -804.8571, + "y": -133.8287, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.584943, + "kY": 2.584943, + "fi": 5, + "twE": 0 + }, + { + "dI": 0, + "x": -1179.85718, + "y": 221.171265, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.15241528, + "kY": 2.15241528, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -1248.6073, + "y": 329.921356, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.46652865, + "kY": 1.46652865, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -1422.3573, + "y": 558.6713, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.7806426, + "kY": 0.7806426, + "fi": 45, + "twE": 0 + }, + { + "dI": 0, + "x": -1926.3573, + "y": 130.671387, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.956817, + "kY": 1.956817, + "fi": 50, + "twE": 0 + } + ] + }, + { + "name": "Layer7", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -734.3214, + "y": -169.9014, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.409249, + "kY": -0.409249, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -785.5715, + "y": -196.151382, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0656998754, + "kY": 0.0656998754, + "fi": 5, + "twE": 0 + }, + { + "dI": 0, + "x": -961.821655, + "y": -17.4013748, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.540648758, + "kY": 0.540648758, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -1411.8219, + "y": 77.59866, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.5777364, + "kY": 0.5777364, + "fi": 45, + "twE": 0 + }, + { + "dI": 0, + "x": -1635.82166, + "y": -99.40141, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.15701163, + "kY": 1.15701163, + "fi": 50, + "twE": 0 + } + ] + }, + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -621.642944, + "y": -16.8657417, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.222835, + "kY": -1.222835, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -766.642944, + "y": -50.6157532, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.663925946, + "kY": -0.663925946, + "fi": 5, + "twE": 0 + }, + { + "dI": 0, + "x": -1036.64307, + "y": 120.634277, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.105017, + "kY": -0.105017, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -1479.14319, + "y": 215.6343, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.112489186, + "kY": -0.112489186, + "fi": 45, + "twE": 0 + }, + { + "dI": 0, + "x": -1774.64319, + "y": 5.13425446, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.335356861, + "kY": 0.335356861, + "fi": 50, + "twE": 0 + } + ] + }, + { + "name": "Layer9", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -658.5001, + "y": 288.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.15141733, + "kY": -0.15141733, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -803.5001, + "y": 254.955688, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.15141733, + "kY": -0.15141733, + "fi": 5, + "twE": 0 + }, + { + "dI": 0, + "x": -1073.50024, + "y": 426.2057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.15141733, + "kY": -0.15141733, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -1516.00037, + "y": 521.2057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.15141733, + "kY": -0.15141733, + "fi": 45, + "twE": 0 + }, + { + "dI": 0, + "x": -1838.50037, + "y": 298.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0622559972, + "kY": 0.0622559972, + "fi": 50, + "twE": 0 + } + ] + }, + { + "name": "Layer6", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -575.9286, + "y": 156.8487, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0577432923, + "kY": -0.0577432923, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -720.92865, + "y": 123.098694, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0577432923, + "kY": -0.0577432923, + "fi": 5, + "twE": 0 + }, + { + "dI": 0, + "x": -990.928833, + "y": 294.3487, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0577432923, + "kY": -0.0577432923, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -1433.429, + "y": 389.3487, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0577432923, + "kY": -0.0577432923, + "fi": 45, + "twE": 0 + }, + { + "dI": 0, + "x": -1736.92883, + "y": 169.848679, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0 + } + ] + }, + { + "name": "Layer4", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -521.8928, + "y": -116.222839, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.0960393, + "kY": 1.0960393, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -764.3929, + "y": -171.222824, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.91899395, + "kY": 0.91899395, + "fi": 5, + "twE": 0 + }, + { + "dI": 0, + "x": -1131.89307, + "y": -21.2228127, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.741948664, + "kY": 0.741948664, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -1659.39319, + "y": 133.777237, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.220413625, + "kY": 0.220413625, + "fi": 45, + "twE": 0 + }, + { + "dI": 0, + "x": -1970.893, + "y": -105.222855, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0 + } + ] + }, + { + "name": "Layer5", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -680.785767, + "y": 10.7057, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.1883682, + "kY": 1.1883682, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -825.785767, + "y": -23.04429, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6358449, + "kY": 0.6358449, + "fi": 5, + "twE": 0 + }, + { + "dI": 0, + "x": -1095.78589, + "y": 148.205734, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.08332159, + "kY": 0.08332159, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -1538.286, + "y": 243.20575, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.552100837, + "kY": -0.552100837, + "fi": 45, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -1841.786, + "y": 23.7057076, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5652371, + "kY": -0.5652371, + "fi": 50, + "twE": 0 + } + ] + }, + { + "name": "Layer3", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -752.642944, + "y": -16.7943325, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.33556139, + "kY": 1.33556139, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -892.642944, + "y": -33.044342, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.68544626, + "kY": 1.68544626, + "fi": 5, + "twE": 0 + }, + { + "dI": 0, + "x": -1110.14307, + "y": 113.205688, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.04923844, + "kY": 2.04923844, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -1535.14319, + "y": 238.205688, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.9523505, + "kY": 1.9523505, + "fi": 45, + "twE": 0 + }, + { + "dI": 0, + "x": -1954.64319, + "y": 23.7056923, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.04695272, + "kY": 2.04695272, + "fi": 50, + "twE": 0 + } + ] + }, + { + "name": "Layer8", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -722.214355, + "y": 99.27713, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.4565683, + "kY": 0.4565683, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -867.2143, + "y": 65.52713, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.4565683, + "kY": 0.4565683, + "fi": 5, + "twE": 0 + }, + { + "dI": 0, + "x": -1137.21436, + "y": 236.777145, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.7512083, + "kY": 0.7512083, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -1579.71448, + "y": 331.777161, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.005179, + "kY": 1.005179, + "fi": 45, + "twE": 0 + }, + { + "dI": 0, + "x": -1883.21448, + "y": 112.277115, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0 + } + ] + } + ] + } + ] + } + ], + "texture_data": [ + { + "name": "1", + "width": 201.0, + "height": 320.0, + "pX": 0.2238806, + "pY": 0.859375 + }, + { + "name": "2", + "width": 186.0, + "height": 252.0, + "pX": 0.4516129, + "pY": 0.714285731 + }, + { + "name": "3", + "width": 247.0, + "height": 479.0, + "pX": 0.4493927, + "pY": 0.139874741 + }, + { + "name": "4", + "width": 141.0, + "height": 110.0, + "pX": 0.7092199, + "pY": 0.6727273 + }, + { + "name": "5", + "width": 190.0, + "height": 236.0, + "pX": 0.684210539, + "pY": 0.7881356 + }, + { + "name": "6", + "width": 474.0, + "height": 402.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "7", + "width": 146.0, + "height": 112.0, + "pX": 0.5410959, + "pY": 0.6785714 + }, + { + "name": "8", + "width": 135.0, + "height": 180.0, + "pX": 0.762962937, + "pY": 0.7277778 + }, + { + "name": "hat", + "width": 452.0, + "height": 458.0, + "pX": 0.7743363, + "pY": 0.310043663 + }, + { + "name": "2013-8-27 18-52-46", + "width": 480.0, + "height": 214.0, + "pX": 0.8229167, + "pY": 0.303738326 + } + ], + "config_file_path": [ + "100.plist", + "101.plist" + ] +} \ No newline at end of file diff --git a/SampleKeyFrameAnimation/Resources/100.plist b/SampleKeyFrameAnimation/Resources/100.plist new file mode 100644 index 0000000..a9acd75 --- /dev/null +++ b/SampleKeyFrameAnimation/Resources/100.plist @@ -0,0 +1,236 @@ + + + + + frames + + 1.png + + width + 201 + height + 320 + originalWidth + 201 + originalHeight + 320 + x + 0 + y + 0 + offsetX + 0 + offsetY + 0 + + 2.png + + width + 186 + height + 252 + originalWidth + 186 + originalHeight + 252 + x + 203 + y + 0 + offsetX + 0 + offsetY + 0 + + 3.png + + width + 247 + height + 479 + originalWidth + 247 + originalHeight + 479 + x + 391 + y + 0 + offsetX + 0 + offsetY + 0 + + 4.png + + width + 141 + height + 110 + originalWidth + 141 + originalHeight + 110 + x + 640 + y + 0 + offsetX + 0 + offsetY + 0 + + 5.png + + width + 190 + height + 236 + originalWidth + 190 + originalHeight + 236 + x + 783 + y + 0 + offsetX + 0 + offsetY + 0 + + 6.png + + width + 474 + height + 402 + originalWidth + 474 + originalHeight + 402 + x + 975 + y + 0 + offsetX + 0 + offsetY + 0 + + 7.png + + width + 146 + height + 112 + originalWidth + 146 + originalHeight + 112 + x + 1451 + y + 0 + offsetX + 0 + offsetY + 0 + + 8.png + + width + 135 + height + 180 + originalWidth + 135 + originalHeight + 180 + x + 1599 + y + 0 + offsetX + 0 + offsetY + 0 + + hat.png + + width + 452 + height + 458 + originalWidth + 452 + originalHeight + 458 + x + 0 + y + 481 + offsetX + 0 + offsetY + 0 + + 2013-8-27 18-52-46.png + + width + 480 + height + 214 + originalWidth + 480 + originalHeight + 214 + x + 454 + y + 481 + offsetX + 0 + offsetY + 0 + + DefaultBone.png + + width + 114 + height + 114 + originalWidth + 114 + originalHeight + 114 + x + 936 + y + 481 + offsetX + 0 + offsetY + 0 + + + metadata + + format + 0 + textureFileName + 100.png + realTextureFileName + 100.png + size + {2048,1024} + + texture + + width + 2048 + height + 1024 + + + \ No newline at end of file diff --git a/SampleKeyFrameAnimation/Resources/100.png b/SampleKeyFrameAnimation/Resources/100.png new file mode 100644 index 0000000..7758298 Binary files /dev/null and b/SampleKeyFrameAnimation/Resources/100.png differ diff --git a/SampleKeyFrameAnimation/Resources/CloseNormal.png b/SampleKeyFrameAnimation/Resources/CloseNormal.png new file mode 100644 index 0000000..5657a13 Binary files /dev/null and b/SampleKeyFrameAnimation/Resources/CloseNormal.png differ diff --git a/SampleKeyFrameAnimation/Resources/CloseSelected.png b/SampleKeyFrameAnimation/Resources/CloseSelected.png new file mode 100644 index 0000000..e4c82da Binary files /dev/null and b/SampleKeyFrameAnimation/Resources/CloseSelected.png differ diff --git a/SampleKeyFrameAnimation/Resources/HelloWorld.png b/SampleKeyFrameAnimation/Resources/HelloWorld.png new file mode 100644 index 0000000..5fe89fb Binary files /dev/null and b/SampleKeyFrameAnimation/Resources/HelloWorld.png differ diff --git a/SampleKeyFrameAnimation/Resources/fonts/Marker Felt.ttf b/SampleKeyFrameAnimation/Resources/fonts/Marker Felt.ttf new file mode 100644 index 0000000..3752ef3 Binary files /dev/null and b/SampleKeyFrameAnimation/Resources/fonts/Marker Felt.ttf differ diff --git a/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation.png b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation.png new file mode 100644 index 0000000..c85e692 Binary files /dev/null and b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation.png differ diff --git a/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/10.xml.animation b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/10.xml.animation new file mode 100644 index 0000000..ebf5a42 --- /dev/null +++ b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/10.xml.animation @@ -0,0 +1,19 @@ + + + 0.0.0.0 + 10 + C:\Users\KaiLe\Desktop\SampleProjects\SampleKeyFrameAnimation\SampleKeyFrameAnimation_Editor\KeyFrameAnimation\KeyFrameAnimation + 10.json + C:\Users\KaiLe\Desktop\SampleProjects\SampleKeyFrameAnimation\SampleKeyFrameAnimation_Editor\KeyFrameAnimation\KeyFrameAnimation\Resources + C:\Users\KaiLe\Desktop\SampleProjects\SampleKeyFrameAnimation\SampleKeyFrameAnimation_Editor\KeyFrameAnimation\KeyFrameAnimation\Json + + + 100.plist + 101.plist + + + 0 + 0 + + true + \ No newline at end of file diff --git a/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/1.png b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/1.png new file mode 100644 index 0000000..065f83f Binary files /dev/null and b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/1.png differ diff --git a/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/10.json b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/10.json new file mode 100644 index 0000000..cf2fd8b --- /dev/null +++ b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/10.json @@ -0,0 +1,5131 @@ +{ + "armature_data": [ + { + "strVersion": "1.0.0.0", + "version": 1.0, + "name": "10", + "bone_data": [ + { + "name": "Layer1", + "parent": "", + "x": 149.21432495117188, + "y": 127.70570373535156, + "z": 10, + "cX": 1.0, + "cY": 1.0, + "kX": 1.91080415, + "kY": -1.91080415, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "1.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer10", + "parent": "", + "x": -85.357162475585938, + "y": 144.67138671875, + "z": 9, + "cX": 1.0, + "cY": 1.0, + "kX": -1.93373382, + "kY": 1.93373382, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "2013-8-27 18-52-46.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer7", + "parent": "", + "x": 205.17861938476563, + "y": -85.401420593261719, + "z": 8, + "cX": 1.0, + "cY": 1.0, + "kX": -1.15701163, + "kY": 1.15701163, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "7.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer2", + "parent": "", + "x": 66.35711669921875, + "y": 19.134254455566406, + "z": 7, + "cX": 1.0, + "cY": 1.0, + "kX": -0.335356861, + "kY": 0.335356861, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "2.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer9", + "parent": "", + "x": 2.4999918937683105, + "y": 312.7056884765625, + "z": 6, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0622559972, + "kY": 0.0622559972, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "hat.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer6", + "parent": "", + "x": 104.07141876220703, + "y": 183.84867858886719, + "z": 5, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "6.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer4", + "parent": "", + "x": -129.89274597167969, + "y": -91.222854614257812, + "z": 4, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "4.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer5", + "parent": "", + "x": -0.78568267822265625, + "y": 37.705696105957031, + "z": 3, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5652371, + "kY": -0.5652371, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "5.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer3", + "parent": "", + "x": -113.64284515380859, + "y": 37.705684661865234, + "z": 2, + "cX": 1.0, + "cY": 1.0, + "kX": -2.04695272, + "kY": 2.04695272, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "3.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer8", + "parent": "", + "x": -42.214248657226562, + "y": 126.27711486816406, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "8.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "10", + "mov_data": [ + { + "name": "Animation1", + "dr": 40, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.6666667, + "mov_bone_data": [ + { + "name": "Layer1", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -214.00003051757813, + "y": 88.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.343534827, + "kY": 0.343534827, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -372.00006103515625, + "y": 31.999984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.800133, + "kY": 0.800133, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -486.60006713867188, + "y": 90.599990844726562, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.49451756, + "kY": 1.49451756, + "fi": 27, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -530.00006103515625, + "y": 69.999984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.79211092, + "kY": 1.79211092, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -530.00006103515625, + "y": 69.999984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.764082551, + "kY": 0.764082551, + "fi": 35, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -530.00006103515625, + "y": 69.999984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.79211092, + "kY": 1.79211092, + "fi": 40, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer10", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -202.00001525878906, + "y": 8.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.326454282, + "kY": -0.326454282, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -312.0, + "y": -128.00006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.11701417, + "kY": -2.11701417, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -278.20001220703125, + "y": -131.00010681152344, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.67061126, + "kY": -1.67061126, + "fi": 27, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -258.0, + "y": -178.0001220703125, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.47929573, + "kY": -1.47929573, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -468.00006103515625, + "y": -84.000160217285156, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.21068335, + "kY": -2.21068335, + "fi": 35, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -258.0, + "y": -178.0001220703125, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.47929573, + "kY": -1.47929573, + "fi": 40, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer7", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -266.00003051757812, + "y": 45.999996185302734, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.477816045, + "kY": -0.477816045, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -588.0001220703125, + "y": -14.000007629394531, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.360396, + "kY": -1.360396, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -601.800048828125, + "y": 29.199989318847656, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.23772776, + "kY": -1.23772776, + "fi": 27, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -602.0001220703125, + "y": 1.9999923706054688, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.18515563, + "kY": -1.18515563, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -602.0001220703125, + "y": 1.9999923706054688, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.18515563, + "kY": -1.18515563, + "fi": 40, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -214.00003051757813, + "y": 88.000007629394531, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3452203, + "kY": -0.3452203, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -372.00006103515625, + "y": 31.999992370605469, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.43186355, + "kY": -1.43186355, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -486.60006713867188, + "y": 93.4000015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.767817736, + "kY": -0.767817736, + "fi": 27, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -530.00006103515625, + "y": 74.000007629394531, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.4832266, + "kY": -0.4832266, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -530.00006103515625, + "y": 74.000007629394531, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.4832266, + "kY": -0.4832266, + "fi": 40, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer9", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -214.00003051757813, + "y": 88.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.270724684, + "kY": -0.270724684, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -372.00006103515625, + "y": 32.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.270724684, + "kY": -0.270724684, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -467.00006103515625, + "y": 90.600006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3477157, + "kY": -0.3477157, + "fi": 27, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -502.00006103515625, + "y": 70.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.380711854, + "kY": -0.380711854, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -502.00006103515625, + "y": 70.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.380711854, + "kY": -0.380711854, + "fi": 40, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer6", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -214.00003051757813, + "y": 88.000015258789062, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -372.00006103515625, + "y": 32.000015258789062, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -486.60006713867188, + "y": 93.400009155273438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0412553549, + "kY": -0.0412553549, + "fi": 27, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -530.00006103515625, + "y": 74.000015258789062, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0589362234, + "kY": -0.0589362234, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -530.00006103515625, + "y": 74.000015258789062, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0589362234, + "kY": -0.0589362234, + "fi": 40, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer4", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -24.000030517578125, + "y": 21.999969482421875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.294860482, + "kY": 0.294860482, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -84.00006103515625, + "y": 31.999961853027344, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.962954, + "kY": 0.962954, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -333.00006103515625, + "y": 51.399971008300781, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.698115, + "kY": 0.698115, + "fi": 27, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -434.00006103515625, + "y": 1.999969482421875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0362442024, + "kY": 0.0362442024, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -434.00006103515625, + "y": 1.999969482421875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0362442024, + "kY": 0.0362442024, + "fi": 40, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer5", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -214.00003051757813, + "y": 88.000007629394531, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.2121979, + "kY": 1.2121979, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -372.00003051757812, + "y": 31.999992370605469, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.742193, + "kY": 1.742193, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -486.60003662109375, + "y": 93.4000015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.03628469, + "kY": 1.03628469, + "fi": 27, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -530.0, + "y": 74.000007629394531, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.73375237, + "kY": 0.73375237, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -530.0, + "y": 74.000007629394531, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.73375237, + "kY": 0.73375237, + "fi": 40, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer3", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -108.00002288818359, + "y": 76.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.07747197, + "kY": -0.07747197, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -314.00003051757812, + "y": 7.9999809265136719, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5506644, + "kY": -0.5506644, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -481.80007934570312, + "y": 98.800003051757812, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.26455069, + "kY": -1.26455069, + "fi": 27, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -548.0001220703125, + "y": 92.000015258789062, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.57050192, + "kY": -1.57050192, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -548.0001220703125, + "y": 92.000015258789062, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.57050192, + "kY": -1.57050192, + "fi": 40, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer8", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -214.00004577636719, + "y": 88.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.952557266, + "kY": 0.952557266, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -372.00006103515625, + "y": 31.999984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.487256765, + "kY": 0.487256765, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -486.60003662109375, + "y": 93.399978637695312, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.00920248, + "kY": -0.00920248, + "fi": 27, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -530.00006103515625, + "y": 73.999984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.221970722, + "kY": -0.221970722, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -530.00006103515625, + "y": 73.999984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.221970722, + "kY": -0.221970722, + "fi": 40, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "Animation2", + "dr": 53, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.6666667, + "mov_bone_data": [ + { + "name": "Layer1", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.27878857, + "kY": 1.27878857, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -28.0, + "y": 16.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.77557027, + "kY": 1.77557027, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -262.0, + "y": -8.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.10276866, + "kY": 2.10276866, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -324.00003051757812, + "y": 20.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.6001358, + "kY": 1.6001358, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -380.00003051757812, + "y": 8.0000152587890625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3408972, + "kY": -0.3408972, + "fi": 40, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -380.00003051757812, + "y": 8.0000152587890625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.594396949, + "kY": -0.594396949, + "fi": 50, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -562.857177734375, + "y": -45.428565979003906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 53, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer10", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 142.0, + "y": -230.00006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.960639, + "kY": -1.960639, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 222.00001525878906, + "y": -242.00006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.62768984, + "kY": -1.62768984, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 67.999992370605469, + "y": -222.00006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.01246333, + "kY": -1.01246333, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -106.00001525878906, + "y": -226.00006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.62768984, + "kY": -1.62768984, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -343.0, + "y": 85.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.138971925, + "kY": 0.138971925, + "fi": 40, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -337.0, + "y": 139.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5833913, + "kY": -0.5833913, + "fi": 50, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -562.8570556640625, + "y": -45.428565979003906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 53, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer7", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -110.00001525878906, + "y": -65.999992370605469, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.16579461, + "kY": -1.16579461, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -158.00003051757813, + "y": -63.999992370605469, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.221957, + "kY": -1.221957, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -472.0, + "y": -61.999977111816406, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.221957, + "kY": -1.221957, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -460.00003051757812, + "y": -59.999977111816406, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.221957, + "kY": -1.221957, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -472.00003051757812, + "y": -61.999977111816406, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.08559942, + "kY": -1.08559942, + "fi": 40, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -472.00003051757812, + "y": -61.999977111816406, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.08559942, + "kY": -1.08559942, + "fi": 50, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -562.857177734375, + "y": -45.428565979003906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 53, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.628954351, + "kY": -0.628954351, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -44.0000114440918, + "y": -2.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.628954351, + "kY": -0.628954351, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -264.00003051757812, + "y": -16.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.40149462, + "kY": -1.40149462, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -340.00006103515625, + "y": 2.0000038146972656, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.6699048, + "kY": -0.6699048, + "fi": 30, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -388.00006103515625, + "y": -0.99999046325683594, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.465666, + "kY": -0.465666, + "fi": 40, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -388.00006103515625, + "y": -0.99999046325683594, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.465666, + "kY": -0.465666, + "fi": 50, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -562.857177734375, + "y": -45.428573608398438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 53, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer9", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 20.000001907348633, + "y": 8.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.255967557, + "kY": -0.255967557, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 9.9999961853027344, + "y": 22.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.427346677, + "kY": -0.427346677, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -210.00001525878906, + "y": 8.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.427346677, + "kY": -0.427346677, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -286.00006103515625, + "y": 26.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.427346677, + "kY": -0.427346677, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -361.00009155273438, + "y": 11.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.213673323, + "kY": -0.213673323, + "fi": 40, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -361.00009155273438, + "y": 11.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.213673323, + "kY": -0.213673323, + "fi": 50, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -562.85723876953125, + "y": -45.428558349609375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 53, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer6", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -28.000007629394531, + "y": 16.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -248.0, + "y": 2.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -324.00003051757812, + "y": 20.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -380.00003051757812, + "y": 8.0000152587890625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0577432923, + "kY": -0.0577432923, + "fi": 40, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -380.00003051757812, + "y": 8.0000152587890625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0577432923, + "kY": -0.0577432923, + "fi": 50, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -562.857177734375, + "y": -45.428573608398438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 53, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer4", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 84.000007629394531, + "y": -62.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 82.0, + "y": -56.000015258789062, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 13.999984741210938, + "y": -8.0000076293945312, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.968907833, + "kY": 0.968907833, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -164.00001525878906, + "y": -36.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.440926045, + "kY": 0.440926045, + "fi": 30, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -302.00006103515625, + "y": -49.999984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0164549854, + "kY": 0.0164549854, + "fi": 40, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -302.00006103515625, + "y": -49.999984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0164549854, + "kY": 0.0164549854, + "fi": 50, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -562.85736083984375, + "y": -45.428573608398438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 53, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer5", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.623894632, + "kY": 0.623894632, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -28.000003814697266, + "y": 16.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.8545207, + "kY": 0.8545207, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -248.00003051757813, + "y": 2.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.64187956, + "kY": 1.64187956, + "fi": 20, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -324.00003051757812, + "y": 20.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.06156707, + "kY": 1.06156707, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -380.00006103515625, + "y": 8.0000076293945312, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6072038, + "kY": 0.6072038, + "fi": 40, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -380.00006103515625, + "y": 8.0000076293945312, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6072038, + "kY": 0.6072038, + "fi": 50, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -562.857177734375, + "y": -45.428569793701172, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 53, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer3", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -36.000007629394531, + "y": 40.000003814697266, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.04465079, + "kY": -2.04465079, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -29.999992370605469, + "y": 21.999973297119141, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.60152638, + "kY": -1.60152638, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -212.0, + "y": -16.000034332275391, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.15464473, + "kY": -1.15464473, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -232.00003051757813, + "y": -3.4332275390625E-05, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.7230129, + "kY": -0.7230129, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -334.00009155273438, + "y": -2.0000114440917969, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.361506462, + "kY": -0.361506462, + "fi": 40, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -334.00009155273438, + "y": -2.0000114440917969, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.361506462, + "kY": -0.361506462, + "fi": 50, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -562.8572998046875, + "y": -45.428573608398438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 53, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer8", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.4298555, + "kY": -0.4298555, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -28.0, + "y": 16.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.09773954, + "kY": -0.09773954, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -248.00001525878906, + "y": 2.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.356257975, + "kY": 0.356257975, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -324.00006103515625, + "y": 20.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.9131366, + "kY": 0.9131366, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -380.00006103515625, + "y": 8.0000152587890625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.4565683, + "kY": 0.4565683, + "fi": 40, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -380.00006103515625, + "y": 8.0000152587890625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.4565683, + "kY": 0.4565683, + "fi": 50, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -562.8572998046875, + "y": -45.428565979003906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 53, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "Animation3", + "dr": 70, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.6666667, + "mov_bone_data": [ + { + "name": "Layer1", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -168.0, + "y": 28.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.93916941, + "kY": 1.93916941, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -284.0, + "y": -8.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.10276866, + "kY": 2.10276866, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -371.00003051757812, + "y": 39.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.6001358, + "kY": 1.6001358, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -492.0, + "y": -7.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.27878857, + "kY": 1.27878857, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -691.0001220703125, + "y": 29.000015258789062, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.93916941, + "kY": 1.93916941, + "fi": 40, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -835.5001220703125, + "y": -15.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.10276866, + "kY": 2.10276866, + "fi": 50, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -912.5001220703125, + "y": 40.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.6001358, + "kY": 1.6001358, + "fi": 60, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -947.0001220703125, + "y": -7.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.27878857, + "kY": 1.27878857, + "fi": 70, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer10", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 122.0, + "y": -208.00006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.3200767, + "kY": -1.3200767, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 45.999992370605469, + "y": -222.00006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.01246333, + "kY": -1.01246333, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -153.00001525878906, + "y": -207.00006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.62768984, + "kY": -1.62768984, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -350.0, + "y": -237.00006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.960639, + "kY": -1.960639, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -401.00006103515625, + "y": -207.00006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.3200767, + "kY": -1.3200767, + "fi": 40, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -505.50006103515625, + "y": -229.50006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.01246333, + "kY": -1.01246333, + "fi": 50, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -694.5001220703125, + "y": -205.50004577636719, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.62768984, + "kY": -1.62768984, + "fi": 60, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -805.00006103515625, + "y": -237.50006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.960639, + "kY": -1.960639, + "fi": 70, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer7", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -338.0, + "y": -38.999977111816406, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.221957, + "kY": -1.221957, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -494.0, + "y": -61.999977111816406, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.221957, + "kY": -1.221957, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -507.00003051757812, + "y": -40.999977111816406, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.221957, + "kY": -1.221957, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -556.5, + "y": -43.499977111816406, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.6468221, + "kY": -0.6468221, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -860.5001220703125, + "y": -30.499977111816406, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.221957, + "kY": -1.221957, + "fi": 40, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -1051.5001220703125, + "y": -61.999977111816406, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.221957, + "kY": -1.221957, + "fi": 50, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -1041.0001220703125, + "y": -38.499977111816406, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.221957, + "kY": -1.221957, + "fi": 60, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -1054.0001220703125, + "y": -65.999992370605469, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.16579461, + "kY": -1.16579461, + "fi": 70, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -177.00001525878906, + "y": 15.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.01522446, + "kY": -1.01522446, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -286.00003051757812, + "y": -16.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.40149462, + "kY": -1.40149462, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -387.00006103515625, + "y": 21.000003814697266, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.6699048, + "kY": -0.6699048, + "fi": 20, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -489.0, + "y": -5.0000009536743164, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3464595, + "kY": -0.3464595, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -699.5001220703125, + "y": 23.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.01522446, + "kY": -1.01522446, + "fi": 40, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -843.5001220703125, + "y": -16.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.40149462, + "kY": -1.40149462, + "fi": 50, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -921.0001220703125, + "y": 23.499996185302734, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.6699048, + "kY": -0.6699048, + "fi": 60, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -944.0001220703125, + "y": 1.9073486328125E-06, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.628954351, + "kY": -0.628954351, + "fi": 70, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer9", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -123.00000762939453, + "y": 39.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.427346677, + "kY": -0.427346677, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -232.00001525878906, + "y": 8.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.427346677, + "kY": -0.427346677, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -333.00006103515625, + "y": 45.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.427346677, + "kY": -0.427346677, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -469.0, + "y": 3.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.395910382, + "kY": -0.395910382, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -645.50018310546875, + "y": 47.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.427346677, + "kY": -0.427346677, + "fi": 40, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -789.50018310546875, + "y": 8.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.427346677, + "kY": -0.427346677, + "fi": 50, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -867.00018310546875, + "y": 47.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.427346677, + "kY": -0.427346677, + "fi": 60, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -924.00006103515625, + "y": 8.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.255967557, + "kY": -0.255967557, + "fi": 70, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer6", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -161.0, + "y": 33.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -270.0, + "y": 2.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -371.0, + "y": 39.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -489.0, + "y": -5.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -683.5001220703125, + "y": 41.500015258789062, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 40, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -827.50006103515625, + "y": 2.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 50, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -905.00006103515625, + "y": 41.499984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 60, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -944.00006103515625, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 70, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer4", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 25.0, + "y": -8.0000152587890625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.484453917, + "kY": 0.484453917, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -8.0000152587890625, + "y": -8.0000076293945312, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.968907833, + "kY": 0.968907833, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -211.00001525878906, + "y": -17.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.440926045, + "kY": 0.440926045, + "fi": 20, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -452.49993896484375, + "y": -51.999984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 30, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -497.5001220703125, + "y": 0.49999237060546875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.484453917, + "kY": 0.484453917, + "fi": 40, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -565.5001220703125, + "y": -8.0000152587890625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.968907833, + "kY": 0.968907833, + "fi": 50, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -745.0001220703125, + "y": -14.500015258789063, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.440926045, + "kY": 0.440926045, + "fi": 60, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -860.0, + "y": -62.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 70, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer5", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -161.0, + "y": 33.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.24820018, + "kY": 1.24820018, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -270.00003051757812, + "y": 2.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.64187956, + "kY": 1.64187956, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -371.00003051757812, + "y": 39.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.06156707, + "kY": 1.06156707, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -489.0, + "y": -5.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.329075664, + "kY": 0.329075664, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -683.5001220703125, + "y": 41.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.24820018, + "kY": 1.24820018, + "fi": 40, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -827.5001220703125, + "y": 2.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.64187956, + "kY": 1.64187956, + "fi": 50, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -905.0001220703125, + "y": 41.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.06156707, + "kY": 1.06156707, + "fi": 60, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -944.0, + "y": 3.814697265625E-06, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.623894632, + "kY": 0.623894632, + "fi": 70, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer3", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -144.0, + "y": 26.999973297119141, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.477257133, + "kY": -0.477257133, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -271.5, + "y": 6.4999656677246094, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.835479, + "kY": -1.835479, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -279.00003051757812, + "y": 18.999965667724609, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.7230129, + "kY": -0.7230129, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -419.99996948242188, + "y": -30.000003814697266, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.00576400757, + "kY": 0.00576400757, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -666.50018310546875, + "y": 35.499965667724609, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.477257133, + "kY": -0.477257133, + "fi": 40, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -829.00018310546875, + "y": 6.4999656677246094, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.835479, + "kY": -1.835479, + "fi": 50, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -813.00018310546875, + "y": 21.499958038330078, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.7230129, + "kY": -0.7230129, + "fi": 60, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -875.00006103515625, + "y": -25.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.00576400757, + "kY": 0.00576400757, + "fi": 70, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer8", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -161.00001525878906, + "y": 33.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.129259229, + "kY": 0.129259229, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -270.0, + "y": 2.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0768479, + "kY": -0.0768479, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -371.00006103515625, + "y": 39.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.9131366, + "kY": 0.9131366, + "fi": 20, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -489.0, + "y": -5.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.5787042, + "kY": 0.5787042, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -683.50018310546875, + "y": 41.500015258789062, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.129259229, + "kY": 0.129259229, + "fi": 40, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -827.50018310546875, + "y": 2.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0768479, + "kY": -0.0768479, + "fi": 50, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -905.00018310546875, + "y": 41.499984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.9131366, + "kY": 0.9131366, + "fi": 60, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -944.00006103515625, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.5787042, + "kY": 0.5787042, + "fi": 70, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "Animation4", + "dr": 50, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.6666667, + "mov_bone_data": [ + { + "name": "Layer1", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -680.0001220703125, + "y": -26.999984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.79525912, + "kY": 1.79525912, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -825.0001220703125, + "y": -60.749984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6034297, + "kY": 0.6034297, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1095.000244140625, + "y": 110.50003051757813, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.1426723, + "kY": 0.1426723, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -1171.2503662109375, + "y": 120.50004577636719, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2746173, + "kY": -0.2746173, + "fi": 15, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1537.5003662109375, + "y": 205.50004577636719, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.35754669, + "kY": -1.35754669, + "fi": 45, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -1841.0003662109375, + "y": -14.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer10", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -422.0, + "y": -273.50006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.33292985, + "kY": -1.33292985, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -719.49993896484375, + "y": -278.50009155273438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.651209235, + "kY": 0.651209235, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1094.5, + "y": 76.4998779296875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.218681455, + "kY": 0.218681455, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1163.2501220703125, + "y": 185.24996948242188, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.467205167, + "kY": -0.467205167, + "fi": 15, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1337.0001220703125, + "y": 413.99993896484375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.15309119, + "kY": -1.15309119, + "fi": 45, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1841.0001220703125, + "y": -14.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.02308321, + "kY": 0.02308321, + "fi": 50, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer7", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -939.5, + "y": -84.4999771118164, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.56626058, + "kY": -1.56626058, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -990.7501220703125, + "y": -110.74996185302734, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.09131169, + "kY": -1.09131169, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1167.000244140625, + "y": 68.000045776367188, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.61636287, + "kY": -0.61636287, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1617.00048828125, + "y": 163.00009155273438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.57927525, + "kY": -0.57927525, + "fi": 45, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1841.000244140625, + "y": -13.999992370605469, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -688.00006103515625, + "y": -35.999996185302734, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.55819178, + "kY": -1.55819178, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -833.00006103515625, + "y": -69.750007629394531, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.999282837, + "kY": -0.999282837, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1103.000244140625, + "y": 101.50002288818359, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.440373868, + "kY": -0.440373868, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1545.500244140625, + "y": 196.50003051757813, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.447846055, + "kY": -0.447846055, + "fi": 45, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1841.000244140625, + "y": -14.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer9", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -661.0001220703125, + "y": -24.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.213673323, + "kY": -0.213673323, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -806.0001220703125, + "y": -57.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.213673323, + "kY": -0.213673323, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1076.000244140625, + "y": 113.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.213673323, + "kY": -0.213673323, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1518.5003662109375, + "y": 208.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.213673323, + "kY": -0.213673323, + "fi": 45, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1841.0003662109375, + "y": -14.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer6", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -680.0, + "y": -26.999984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0577432923, + "kY": -0.0577432923, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -825.00006103515625, + "y": -60.749984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0577432923, + "kY": -0.0577432923, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1095.000244140625, + "y": 110.50001525878906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0577432923, + "kY": -0.0577432923, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1537.5003662109375, + "y": 205.50001525878906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0577432923, + "kY": -0.0577432923, + "fi": 45, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1841.000244140625, + "y": -14.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer4", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -392.00006103515625, + "y": -24.999984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.0960393, + "kY": 1.0960393, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -634.5001220703125, + "y": -79.999969482421875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.91899395, + "kY": 0.91899395, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1002.0003051757813, + "y": 70.000045776367188, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.741948664, + "kY": 0.741948664, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1529.50048828125, + "y": 225.00009155273438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.220413625, + "kY": 0.220413625, + "fi": 45, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1841.000244140625, + "y": -14.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer5", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -680.00006103515625, + "y": -26.999996185302734, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.75360537, + "kY": 1.75360537, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -825.00006103515625, + "y": -60.749984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.201082, + "kY": 1.201082, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1095.000244140625, + "y": 110.50003814697266, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6485587, + "kY": 0.6485587, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -1537.5003662109375, + "y": 205.50006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0131362677, + "kY": 0.0131362677, + "fi": 45, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -1841.0003662109375, + "y": -13.999988555908203, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer3", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -639.0001220703125, + "y": -54.500015258789062, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.7113913, + "kY": -0.7113913, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -779.0001220703125, + "y": -70.750030517578125, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.361506462, + "kY": -0.361506462, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -996.500244140625, + "y": 75.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.002285719, + "kY": 0.002285719, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1421.5003662109375, + "y": 200.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.09460223, + "kY": -0.09460223, + "fi": 45, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1841.0003662109375, + "y": -13.999992370605469, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer8", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -680.0001220703125, + "y": -26.999984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.4565683, + "kY": 0.4565683, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -825.00006103515625, + "y": -60.749984741210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.4565683, + "kY": 0.4565683, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1095.0001220703125, + "y": 110.50003051757813, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.7512083, + "kY": 0.7512083, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1537.500244140625, + "y": 205.50004577636719, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.005179, + "kY": 1.005179, + "fi": 45, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1841.000244140625, + "y": -14.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 50, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "Animation5", + "dr": 60, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.333333343, + "mov_bone_data": [ + { + "name": "Layer1", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.81821823, + "kY": 1.81821823, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.59880638, + "kY": 1.59880638, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.81821823, + "kY": 1.81821823, + "fi": 60, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer10", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 257.0, + "y": -242.50006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.27254891, + "kY": -1.27254891, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 209.50001525878906, + "y": -242.50006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.5767858, + "kY": -1.5767858, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 257.0, + "y": -242.50006103515625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.27254891, + "kY": -1.27254891, + "fi": 60, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer7", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -110.00001525878906, + "y": -65.999992370605469, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.16579461, + "kY": -1.16579461, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -110.00001525878906, + "y": -65.999992370605469, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.16579461, + "kY": -1.16579461, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -110.00001525878906, + "y": -65.999992370605469, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.16579461, + "kY": -1.16579461, + "fi": 60, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.628954351, + "kY": -0.628954351, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -20.0, + "y": 7.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5412476, + "kY": -0.5412476, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.628954351, + "kY": -0.628954351, + "fi": 60, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer9", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 20.000001907348633, + "y": 8.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.255967557, + "kY": -0.255967557, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 37.500003814697266, + "y": 23.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.445296764, + "kY": -0.445296764, + "fi": 30, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 20.000001907348633, + "y": 8.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.255967557, + "kY": -0.255967557, + "fi": 60, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer6", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -2.5, + "y": 15.000015258789063, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.162800223, + "kY": -0.162800223, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.115486585, + "kY": -0.115486585, + "fi": 60, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer4", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 84.000007629394531, + "y": -62.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 84.000007629394531, + "y": -62.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 84.000007629394531, + "y": -62.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 60, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer5", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.623894632, + "kY": 0.623894632, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -17.500003814697266, + "y": 15.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.739328, + "kY": 0.739328, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.623894632, + "kY": 0.623894632, + "fi": 60, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer3", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 8.9999923706054688, + "y": -1.1444091796875E-05, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.50150466, + "kY": -1.50150466, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 41.500007629394531, + "y": -10.000007629394531, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.24403763, + "kY": -1.24403763, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 8.9999923706054688, + "y": -1.1444091796875E-05, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.50150466, + "kY": -1.50150466, + "fi": 60, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer8", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.174176022, + "kY": 0.174176022, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.4213494, + "kY": 0.4213494, + "fi": 30, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.174176022, + "kY": 0.174176022, + "fi": 60, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + } + ] + } + ], + "texture_data": [ + { + "name": "1", + "width": 100.5, + "height": 160.0, + "pX": 0.2238806, + "pY": 0.859375 + }, + { + "name": "2", + "width": 186.0, + "height": 252.0, + "pX": 0.4516129, + "pY": 0.714285731 + }, + { + "name": "3", + "width": 247.0, + "height": 479.0, + "pX": 0.4493927, + "pY": 0.139874741 + }, + { + "name": "4", + "width": 141.0, + "height": 110.0, + "pX": 0.7092199, + "pY": 0.6727273 + }, + { + "name": "5", + "width": 190.0, + "height": 236.0, + "pX": 0.684210539, + "pY": 0.7881356 + }, + { + "name": "6", + "width": 474.0, + "height": 402.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "7", + "width": 146.0, + "height": 112.0, + "pX": 0.5410959, + "pY": 0.6785714 + }, + { + "name": "8", + "width": 135.0, + "height": 180.0, + "pX": 0.762962937, + "pY": 0.7277778 + }, + { + "name": "hat", + "width": 452.0, + "height": 458.0, + "pX": 0.7743363, + "pY": 0.310043663 + }, + { + "name": "2013-8-27 18-52-46", + "width": 480.0, + "height": 214.0, + "pX": 0.8229167, + "pY": 0.303738326 + } + ], + "config_file_path": [ + "100.plist", + "101.plist" + ] +} \ No newline at end of file diff --git a/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/2.png b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/2.png new file mode 100644 index 0000000..d5a5be2 Binary files /dev/null and b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/2.png differ diff --git a/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/2013-8-27 18-52-46.png b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/2013-8-27 18-52-46.png new file mode 100644 index 0000000..c92403e Binary files /dev/null and b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/2013-8-27 18-52-46.png differ diff --git a/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/3.png b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/3.png new file mode 100644 index 0000000..ad9bfdb Binary files /dev/null and b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/3.png differ diff --git a/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/4.png b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/4.png new file mode 100644 index 0000000..0ea0ff8 Binary files /dev/null and b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/4.png differ diff --git a/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/5.png b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/5.png new file mode 100644 index 0000000..12ecbb6 Binary files /dev/null and b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/5.png differ diff --git a/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/6.png b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/6.png new file mode 100644 index 0000000..e375847 Binary files /dev/null and b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/6.png differ diff --git a/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/7.png b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/7.png new file mode 100644 index 0000000..d1dc817 Binary files /dev/null and b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/7.png differ diff --git a/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/8.png b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/8.png new file mode 100644 index 0000000..cf56899 Binary files /dev/null and b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/8.png differ diff --git a/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/DefaultBone.png b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/DefaultBone.png new file mode 100644 index 0000000..cdc94fb Binary files /dev/null and b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/DefaultBone.png differ diff --git a/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/Scotsman's_skullcutter.png b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/Scotsman's_skullcutter.png new file mode 100644 index 0000000..77de6e5 Binary files /dev/null and b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/Scotsman's_skullcutter.png differ diff --git a/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/hat.png b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/hat.png new file mode 100644 index 0000000..5d1f77b Binary files /dev/null and b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/hat.png differ diff --git a/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/stock_draw_circle.png b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/stock_draw_circle.png new file mode 100644 index 0000000..b18cb0c Binary files /dev/null and b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/KeyFrameAnimation/KeyFrameAnimation/Resources/stock_draw_circle.png differ diff --git a/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/SampleKeyFrameAnimation.png b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/SampleKeyFrameAnimation.png new file mode 100644 index 0000000..1e51e2a Binary files /dev/null and b/SampleKeyFrameAnimation/SampleKeyFrameAnimation_Editor/SampleKeyFrameAnimation.png differ diff --git a/SampleKeyFrameAnimation/cocos2d/readme b/SampleKeyFrameAnimation/cocos2d/readme new file mode 100644 index 0000000..00bfca5 --- /dev/null +++ b/SampleKeyFrameAnimation/cocos2d/readme @@ -0,0 +1 @@ +put cocos2d here what in a project created by create_project.py \ No newline at end of file diff --git a/SampleKeyFrameAnimation/proj.android/.classpath b/SampleKeyFrameAnimation/proj.android/.classpath new file mode 100644 index 0000000..5176974 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.android/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/SampleKeyFrameAnimation/proj.android/.project b/SampleKeyFrameAnimation/proj.android/.project new file mode 100644 index 0000000..62d789a --- /dev/null +++ b/SampleKeyFrameAnimation/proj.android/.project @@ -0,0 +1,65 @@ + + + SampleKeyFrameAnimation + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + Classes + 2 + COCOS2DX/projects/SampleKeyFrameAnimation/Classes + + + cocos2dx + 2 + COCOS2DX/cocos2dx + + + extensions + 2 + COCOS2DX/extensions + + + scripting + 2 + COCOS2DX/scripting + + + diff --git a/SampleKeyFrameAnimation/proj.android/AndroidManifest.xml b/SampleKeyFrameAnimation/proj.android/AndroidManifest.xml new file mode 100644 index 0000000..dd353d4 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.android/AndroidManifest.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleKeyFrameAnimation/proj.android/README.md b/SampleKeyFrameAnimation/proj.android/README.md new file mode 100644 index 0000000..aefa86b --- /dev/null +++ b/SampleKeyFrameAnimation/proj.android/README.md @@ -0,0 +1,87 @@ +## Prerequisites: + +* Android NDK +* Android SDK **OR** Eclipse ADT Bundle +* Android AVD target installed + +## Building project + +There are two ways of building Android projects. + +1. Eclipse +2. Command Line + +### Import Project in Eclipse + +#### Features: + +1. Complete workflow from Eclipse, including: + * Build C++. + * Clean C++. + * Build and Run whole project. + * Logcat view. + * Debug Java code. + * Javascript editor. + * Project management. +2. True C++ editing, including: + * Code completion. + * Jump to definition. + * Refactoring tools etc. + * Quick open C++ files. + + +#### Setup Eclipse Environment (only once) + + +**NOTE:** This step needs to be done only once to setup the Eclipse environment for cocos2d-x projects. Skip this section if you've done this before. + +1. Download Eclipse ADT bundle from [Google ADT homepage](http://developer.android.com/sdk/index.html) + + **OR** + + Install Eclipse with Java. Add ADT and CDT plugins. + +2. Only for Windows + 1. Install [Cygwin](http://www.cygwin.com/) with make (select make package from the list during the install). + 2. Add `Cygwin\bin` directory to system PATH variable. + 3. Add this line `none /cygdrive cygdrive binary,noacl,posix=0,user 0 0` to `Cygwin\etc\fstab` file. + +3. Set up Variables: + 1. Path Variable `COCOS2DX`: + * Eclipse->Preferences->General->Workspace->**Linked Resources** + * Click **New** button to add a Path Variable `COCOS2DX` pointing to the root cocos2d-x directory. + ![Example](https://lh5.googleusercontent.com/-oPpk9kg3e5w/UUOYlq8n7aI/AAAAAAAAsdQ/zLA4eghBH9U/s400/cocos2d-x-eclipse-vars.png) + + 2. C/C++ Environment Variable `NDK_ROOT`: + * Eclipse->Preferences->C/C++->Build->**Environment**. + * Click **Add** button and add a new variable `NDK_ROOT` pointing to the root NDK directory. + ![Example](https://lh3.googleusercontent.com/-AVcY8IAT0_g/UUOYltoRobI/AAAAAAAAsdM/22D2J9u3sig/s400/cocos2d-x-eclipse-ndk.png) + * Only for Windows: Add new variables **CYGWIN** with value `nodosfilewarning` and **SHELLOPTS** with value `igncr` + +4. Import libcocos2dx library project: + 1. File->New->Project->Android Project From Existing Code. + 2. Click **Browse** button and open `cocos2d-x/cocos2dx/platform/android/java` directory. + 3. Click **Finish** to add project. + +#### Adding and running from Eclipse + +![Example](https://lh3.googleusercontent.com/-SLBOu6e3QbE/UUOcOXYaGqI/AAAAAAAAsdo/tYBY2SylOSM/s288/cocos2d-x-eclipse-project-from-code.png) ![Import](https://lh5.googleusercontent.com/-XzC9Pn65USc/UUOcOTAwizI/AAAAAAAAsdk/4b6YM-oim9Y/s400/cocos2d-x-eclipse-import-project.png) + +1. File->New->Project->Android Project From Existing Code +2. **Browse** to your project directory. eg: `cocos2d-x/cocos2dx/samples/Cpp/TestCpp/proj.android/` +3. Add the project +4. Click **Run** or **Debug** to compile C++ followed by Java and to run on connected device or emulator. + + +### Running project from Command Line + + $ cd cocos2d-x/samples/Cpp/TestCpp/proj.android/ + $ export NDK_ROOT=/path/to/ndk + $ ./build_native.sh + $ ant debug install + +If the last command results in sdk.dir missing error then do: + + $ android list target + $ android update project -p . -t (id from step 6) + $ android update project -p cocos2d/cocos/2d/platform/android/java/ -t (id from step 6) diff --git a/SampleKeyFrameAnimation/proj.android/ant.properties b/SampleKeyFrameAnimation/proj.android/ant.properties new file mode 100644 index 0000000..a51e6a0 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.android/ant.properties @@ -0,0 +1,17 @@ +# This file is used to override default values used by the Ant build system. +# +# This file must be checked into Version Control Systems, as it is +# integral to the build system of your project. + +# This file is only used by the Ant script. + +# You can use this to override default values such as +# 'source.dir' for the location of your java source folder and +# 'out.dir' for the location of your output folder. + +# You can also use it define how the release builds are signed by declaring +# the following properties: +# 'key.store' for the location of your keystore and +# 'key.alias' for the name of the key to use. +# The password will be asked during the build when you use the 'release' target. + diff --git a/SampleKeyFrameAnimation/proj.android/build.xml b/SampleKeyFrameAnimation/proj.android/build.xml new file mode 100644 index 0000000..3828d2c --- /dev/null +++ b/SampleKeyFrameAnimation/proj.android/build.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleKeyFrameAnimation/proj.android/build_native.py b/SampleKeyFrameAnimation/proj.android/build_native.py new file mode 100644 index 0000000..5eec448 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.android/build_native.py @@ -0,0 +1,166 @@ +#!/usr/bin/python +# build_native.py +# Build native codes + + +import sys +import os, os.path +import shutil +from optparse import OptionParser + +def get_num_of_cpu(): + ''' The build process can be accelerated by running multiple concurrent job processes using the -j-option. + ''' + try: + platform = sys.platform + if platform == 'win32': + if 'NUMBER_OF_PROCESSORS' in os.environ: + return int(os.environ['NUMBER_OF_PROCESSORS']) + else: + return 1 + else: + from numpy.distutils import cpuinfo + return cpuinfo.cpu._getNCPUs() + except Exception: + print "Can't know cpuinfo, use default 1 cpu" + return 1 + +def check_environment_variables_sdk(): + ''' Checking the environment ANDROID_SDK_ROOT, which will be used for building + ''' + + try: + SDK_ROOT = os.environ['ANDROID_SDK_ROOT'] + except Exception: + print "ANDROID_SDK_ROOT not defined. Please define ANDROID_SDK_ROOT in your environment" + sys.exit(1) + + return SDK_ROOT + +def check_environment_variables(): + ''' Checking the environment NDK_ROOT, which will be used for building + ''' + + try: + NDK_ROOT = os.environ['NDK_ROOT'] + except Exception: + print "NDK_ROOT not defined. Please define NDK_ROOT in your environment" + sys.exit(1) + + return NDK_ROOT + +def select_toolchain_version(): + '''Because ndk-r8e uses gcc4.6 as default. gcc4.6 doesn't support c++11. So we should select gcc4.7 when + using ndk-r8e. But gcc4.7 is removed in ndk-r9, so we should determine whether gcc4.7 exist. + Conclution: + ndk-r8e -> use gcc4.7 + ndk-r9 -> use gcc4.8 + ''' + + ndk_root = check_environment_variables() + if os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.8")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.8' + print "The Selected NDK toolchain version was 4.8 !" + elif os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.7")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.7' + print "The Selected NDK toolchain version was 4.7 !" + else: + print "Couldn't find the gcc toolchain." + exit(1) + +def do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode): + + ndk_path = os.path.join(ndk_root, "ndk-build") + + # windows should use ";" to seperate module paths + platform = sys.platform + if platform == 'win32': + ndk_module_path = 'NDK_MODULE_PATH=%s;%s/external;%s/cocos' % (cocos_root, cocos_root, cocos_root) + else: + ndk_module_path = 'NDK_MODULE_PATH=%s:%s/external:%s/cocos' % (cocos_root, cocos_root, cocos_root) + + num_of_cpu = get_num_of_cpu() + + if ndk_build_param == None: + command = '%s -j%d -C %s %s' % (ndk_path, num_of_cpu, app_android_root, ndk_module_path) + else: + command = '%s -j%d -C %s %s %s' % (ndk_path, num_of_cpu, app_android_root, ''.join(str(e) for e in ndk_build_param), ndk_module_path) + if os.system(command) != 0: + raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!") + elif android_platform is not None: + sdk_tool_path = os.path.join(sdk_root, "tools/android") + cocoslib_path = os.path.join(cocos_root, "cocos/2d/platform/android/java") + command = '%s update lib-project -t %s -p %s' % (sdk_tool_path,android_platform,cocoslib_path) + if os.system(command) != 0: + raise Exception("update cocos lib-project [ " + cocoslib_path + " ] fails!") + command = '%s update project -t %s -p %s -s' % (sdk_tool_path,android_platform,app_android_root) + if os.system(command) != 0: + raise Exception("update project [ " + app_android_root + " ] fails!") + buildfile_path = os.path.join(app_android_root, "build.xml") + command = 'ant clean %s -f %s -Dsdk.dir=%s' % (build_mode,buildfile_path,sdk_root) + os.system(command) + +def copy_files(src, dst): + + for item in os.listdir(src): + path = os.path.join(src, item) + # Android can not package the file that ends with ".gz" + if not item.startswith('.') and not item.endswith('.gz') and os.path.isfile(path): + shutil.copy(path, dst) + if os.path.isdir(path): + new_dst = os.path.join(dst, item) + os.mkdir(new_dst) + copy_files(path, new_dst) + +def copy_resources(app_android_root): + + # remove app_android_root/assets if it exists + assets_dir = os.path.join(app_android_root, "assets") + if os.path.isdir(assets_dir): + shutil.rmtree(assets_dir) + + # copy resources + os.mkdir(assets_dir) + resources_dir = os.path.join(app_android_root, "../Resources") + if os.path.isdir(resources_dir): + copy_files(resources_dir, assets_dir) + +def build(ndk_build_param,android_platform,build_mode): + + ndk_root = check_environment_variables() + sdk_root = None + select_toolchain_version() + + current_dir = os.path.dirname(os.path.realpath(__file__)) + cocos_root = os.path.join(current_dir, "../cocos2d") + + app_android_root = current_dir + copy_resources(app_android_root) + + if android_platform is not None: + sdk_root = check_environment_variables_sdk() + if android_platform.isdigit(): + android_platform = 'android-'+android_platform + else: + print 'please use vaild android platform' + exit(1) + + if build_mode is None: + build_mode = 'debug' + elif build_mode != 'release': + build_mode = 'debug' + + do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode) + +# -------------- main -------------- +if __name__ == '__main__': + + parser = OptionParser() + parser.add_option("-n", "--ndk", dest="ndk_build_param", help='parameter for ndk-build') + parser.add_option("-p", "--platform", dest="android_platform", + help='parameter for android-update.Without the parameter,the script just build dynamic library for project. Valid android-platform are:[10|11|12|13|14|15|16|17|18|19]') + parser.add_option("-b", "--build", dest="build_mode", + help='the build mode for java project,debug[default] or release.Get more information,please refer to http://developer.android.com/tools/building/building-cmdline.html') + (opts, args) = parser.parse_args() + + build(opts.ndk_build_param,opts.android_platform,opts.build_mode) diff --git a/SampleKeyFrameAnimation/proj.android/jni/Android.mk b/SampleKeyFrameAnimation/proj.android/jni/Android.mk new file mode 100644 index 0000000..65bb0fa --- /dev/null +++ b/SampleKeyFrameAnimation/proj.android/jni/Android.mk @@ -0,0 +1,33 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := cocos2dcpp_shared + +LOCAL_MODULE_FILENAME := libcocos2dcpp + +LOCAL_SRC_FILES := hellocpp/main.cpp \ + ../../Classes/AppDelegate.cpp \ + ../../Classes/HelloWorldScene.cpp + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \ + $(LOCAL_PATH)/../../cocos2d \ + $(LOCAL_PATH)/../../cocos2d/extensions \ + $(LOCAL_PATH)/../../cocos2d/cocos \ + $(LOCAL_PATH)/../../cocos2d/cocos/gui \ + $(LOCAL_PATH)/../../cocos2d/cocos/editor-support/cocostudio \ + +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static +LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocos_gui_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static + + +include $(BUILD_SHARED_LIBRARY) + +$(call import-module,2d) +$(call import-module,audio/android) +$(call import-module,Box2D) +$(call import-module,gui) +$(call import-module,editor-support/cocostudio) \ No newline at end of file diff --git a/SampleKeyFrameAnimation/proj.android/jni/Application.mk b/SampleKeyFrameAnimation/proj.android/jni/Application.mk new file mode 100644 index 0000000..74c3f99 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.android/jni/Application.mk @@ -0,0 +1,2 @@ +APP_STL := gnustl_static +APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DCOCOS2D_DEBUG=1 -std=c++11 -fsigned-char diff --git a/SampleKeyFrameAnimation/proj.android/jni/hellocpp/main.cpp b/SampleKeyFrameAnimation/proj.android/jni/hellocpp/main.cpp new file mode 100644 index 0000000..006a744 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.android/jni/hellocpp/main.cpp @@ -0,0 +1,16 @@ +#include "AppDelegate.h" +#include "cocos2d.h" +#include "CCEventType.h" +#include "platform/android/jni/JniHelper.h" +#include +#include + +#define LOG_TAG "main" +#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__) + +using namespace cocos2d; + +void cocos_android_app_init (struct android_app* app) { + LOGD("cocos_android_app_init"); + AppDelegate *pAppDelegate = new AppDelegate(); +} diff --git a/SampleKeyFrameAnimation/proj.android/proguard-project.txt b/SampleKeyFrameAnimation/proj.android/proguard-project.txt new file mode 100644 index 0000000..b60ae7e --- /dev/null +++ b/SampleKeyFrameAnimation/proj.android/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/SampleKeyFrameAnimation/proj.android/project.properties b/SampleKeyFrameAnimation/proj.android/project.properties new file mode 100644 index 0000000..6b485b4 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.android/project.properties @@ -0,0 +1,13 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system use, +# "ant.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-19 + +android.library.reference.1=../../DemoCowboyGame/cocos2d/cocos/2d/platform/android/java diff --git a/SampleKeyFrameAnimation/proj.android/res/drawable-hdpi/icon.png b/SampleKeyFrameAnimation/proj.android/res/drawable-hdpi/icon.png new file mode 100644 index 0000000..8aa4767 Binary files /dev/null and b/SampleKeyFrameAnimation/proj.android/res/drawable-hdpi/icon.png differ diff --git a/SampleKeyFrameAnimation/proj.android/res/drawable-ldpi/icon.png b/SampleKeyFrameAnimation/proj.android/res/drawable-ldpi/icon.png new file mode 100644 index 0000000..17ce11a Binary files /dev/null and b/SampleKeyFrameAnimation/proj.android/res/drawable-ldpi/icon.png differ diff --git a/SampleKeyFrameAnimation/proj.android/res/drawable-mdpi/icon.png b/SampleKeyFrameAnimation/proj.android/res/drawable-mdpi/icon.png new file mode 100644 index 0000000..3780aac Binary files /dev/null and b/SampleKeyFrameAnimation/proj.android/res/drawable-mdpi/icon.png differ diff --git a/SampleKeyFrameAnimation/proj.android/res/values/strings.xml b/SampleKeyFrameAnimation/proj.android/res/values/strings.xml new file mode 100644 index 0000000..d616d37 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.android/res/values/strings.xml @@ -0,0 +1,4 @@ + + + SampleKeyFrameAnimation + diff --git a/SampleKeyFrameAnimation/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java b/SampleKeyFrameAnimation/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java new file mode 100644 index 0000000..d2dfa68 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java @@ -0,0 +1,32 @@ +package org.cocos2dx.cpp; + +import android.app.NativeActivity; +import android.os.Bundle; + +public class Cocos2dxActivity extends NativeActivity{ + + @Override + protected void onCreate(Bundle savedInstanceState) { + // TODO Auto-generated method stub + super.onCreate(savedInstanceState); + + //For supports translucency + + //1.change "attribs" in cocos\2d\platform\android\nativeactivity.cpp + /*const EGLint attribs[] = { + EGL_SURFACE_TYPE, EGL_WINDOW_BIT, + EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, + //EGL_BLUE_SIZE, 5, -->delete + //EGL_GREEN_SIZE, 6, -->delete + //EGL_RED_SIZE, 5, -->delete + EGL_BUFFER_SIZE, 32, //-->new field + EGL_DEPTH_SIZE, 16, + EGL_STENCIL_SIZE, 8, + EGL_NONE + };*/ + + //2.Set the format of window + // getWindow().setFormat(PixelFormat.TRANSLUCENT); + + } +} diff --git a/SampleKeyFrameAnimation/proj.ios_mac/SampleKeyFrameAnimation.xcodeproj/project.pbxproj b/SampleKeyFrameAnimation/proj.ios_mac/SampleKeyFrameAnimation.xcodeproj/project.pbxproj new file mode 100644 index 0000000..576d58f --- /dev/null +++ b/SampleKeyFrameAnimation/proj.ios_mac/SampleKeyFrameAnimation.xcodeproj/project.pbxproj @@ -0,0 +1,1036 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 15F032CB18C8240C007219BB /* 10.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F032C718C8240C007219BB /* 10.ExportJson */; }; + 15F032CC18C8240C007219BB /* 10.ExportJson in Resources */ = {isa = PBXBuildFile; fileRef = 15F032C718C8240C007219BB /* 10.ExportJson */; }; + 15F032CD18C8240C007219BB /* 100.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F032C818C8240C007219BB /* 100.plist */; }; + 15F032CE18C8240C007219BB /* 100.plist in Resources */ = {isa = PBXBuildFile; fileRef = 15F032C818C8240C007219BB /* 100.plist */; }; + 15F032CF18C8240C007219BB /* 100.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F032C918C8240C007219BB /* 100.png */; }; + 15F032D018C8240C007219BB /* 100.png in Resources */ = {isa = PBXBuildFile; fileRef = 15F032C918C8240C007219BB /* 100.png */; }; + 15F032D118C8240C007219BB /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 15F032CA18C8240C007219BB /* fonts */; }; + 15F032D218C8240C007219BB /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 15F032CA18C8240C007219BB /* fonts */; }; + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */; }; + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */; }; + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */; }; + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */; }; + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */; }; + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */; }; + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */; }; + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */; }; + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */; }; + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */; }; + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 1AFAF8BE16D35E4900DB1158 /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 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 */; }; + 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 */; }; + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11117EB99EE00D1A890 /* libcurl.dylib */; }; + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11A17EB9C5A00D1A890 /* IOKit.framework */; }; + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.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 */; }; + 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 */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1551A33F158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2FD617814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2CB81780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2D9B1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2ED617814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F31FD1781479B006731B9; + remoteInfo = "jsbindings Mac"; + }; + 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A6FB53017854BC300CDF010; + remoteInfo = "luabindings Mac"; + }; + 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4D641783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4EFC1783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F3B178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F9E1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4FB4178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; + 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A5030178387750073F6A7; + remoteInfo = "jsbindings iOS"; + }; + 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A119791178526AA00D62A44; + remoteInfo = "luabindings iOS"; + }; + 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 1551A33E158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2FC117814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2B781780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2E9817814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2D5D1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4C241783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4E111783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4EFD178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F3C1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F9F178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 15F032C718C8240C007219BB /* 10.ExportJson */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = 10.ExportJson; sourceTree = ""; }; + 15F032C818C8240C007219BB /* 100.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = 100.plist; sourceTree = ""; }; + 15F032C918C8240C007219BB /* 100.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = 100.png; sourceTree = ""; }; + 15F032CA18C8240C007219BB /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; path = fonts; sourceTree = ""; }; + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../cocos2d/build/cocos2d_libs.xcodeproj; sourceTree = ""; }; + 1ACB3243164770DE00914215 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = ""; }; + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AppDelegate.cpp; path = ../Classes/AppDelegate.cpp; sourceTree = ""; }; + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ../Classes/AppDelegate.h; sourceTree = ""; }; + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HelloWorldScene.cpp; path = ../Classes/HelloWorldScene.cpp; sourceTree = ""; }; + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HelloWorldScene.h; path = ../Classes/HelloWorldScene.h; sourceTree = ""; }; + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseNormal.png; sourceTree = ""; }; + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseSelected.png; sourceTree = ""; }; + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = HelloWorld.png; sourceTree = ""; }; + 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 1D6058910D05DD3D006BFB54 /* SampleKeyFrameAnimation iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleKeyFrameAnimation iOS.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; }; + 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 /* SampleKeyFrameAnimation Mac.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleKeyFrameAnimation Mac.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 = ""; }; + 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; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */, + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */, + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */, + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */, + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a 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 */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75C17EB910900C73F5D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */, + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */, + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */, + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */, + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */, + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */, + 5087E76717EB910900C73F5D /* libz.dylib in Frameworks */, + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */, + 5087E78B17EB975400C73F5D /* OpenGL.framework in Frameworks */, + 5087E78917EB974C00C73F5D /* AppKit.framework in Frameworks */, + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */, + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */, + 5087E76817EB910900C73F5D /* QuartzCore.framework in Frameworks */, + 5087E76917EB910900C73F5D /* OpenAL.framework in Frameworks */, + 5087E76A17EB910900C73F5D /* AVFoundation.framework in Frameworks */, + 5087E76B17EB910900C73F5D /* AudioToolbox.framework 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 = ""; + }; + 15AA9C4015B7EC450033D6C2 /* Classes */ = { + isa = PBXGroup; + children = ( + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */, + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */, + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */, + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */, + ); + name = Classes; + path = ../classes; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 1D6058910D05DD3D006BFB54 /* SampleKeyFrameAnimation iOS.app */, + 5087E76F17EB910900C73F5D /* SampleKeyFrameAnimation Mac.app */, + ); + name = Products; + sourceTree = ""; + }; + 1AC6FAE6180E9839004C840B /* Products */ = { + isa = PBXGroup; + children = ( + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */, + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */, + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */, + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */, + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */, + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */, + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */, + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */, + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */, + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */, + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */, + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */, + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */, + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { + isa = PBXGroup; + children = ( + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */, + 15AA9C4015B7EC450033D6C2 /* Classes */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 080E96DDFE201D6D7F000001 /* ios */, + 503AE10617EB990700D1A890 /* mac */, + 19C28FACFE9D520D11CA2CBB /* Products */, + 78C7DDAA14EBA5050085D0C2 /* Resources */, + ); + name = CustomTemplate; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 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 = ""; + }; + 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 = ( + 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; + }; + 78C7DDAA14EBA5050085D0C2 /* Resources */ = { + isa = PBXGroup; + children = ( + 15F032C718C8240C007219BB /* 10.ExportJson */, + 15F032C818C8240C007219BB /* 100.plist */, + 15F032C918C8240C007219BB /* 100.png */, + 15F032CA18C8240C007219BB /* fonts */, + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */, + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */, + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */, + ); + name = Resources; + path = ../Resources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1D6058900D05DD3D006BFB54 /* SampleKeyFrameAnimation iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "SampleKeyFrameAnimation iOS" */; + buildPhases = ( + 1D60588D0D05DD3D006BFB54 /* Resources */, + 1D60588E0D05DD3D006BFB54 /* Sources */, + 1D60588F0D05DD3D006BFB54 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */, + ); + name = "SampleKeyFrameAnimation iOS"; + productName = iphone; + productReference = 1D6058910D05DD3D006BFB54 /* SampleKeyFrameAnimation iOS.app */; + productType = "com.apple.product-type.application"; + }; + 5087E73D17EB910900C73F5D /* SampleKeyFrameAnimation Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleKeyFrameAnimation Mac" */; + buildPhases = ( + 5087E74817EB910900C73F5D /* Resources */, + 5087E75617EB910900C73F5D /* Sources */, + 5087E75C17EB910900C73F5D /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */, + 1AC6FB16180E9959004C840B /* PBXTargetDependency */, + 1AC6FB18180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */, + ); + name = "SampleKeyFrameAnimation Mac"; + productName = iphone; + productReference = 5087E76F17EB910900C73F5D /* SampleKeyFrameAnimation Mac.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0500; + TargetAttributes = { + 1D6058900D05DD3D006BFB54 = { + DevelopmentTeam = MDDB52YB8L; + }; + }; + }; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleKeyFrameAnimation" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = 1AC6FAE6180E9839004C840B /* Products */; + ProjectRef = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + 1D6058900D05DD3D006BFB54 /* SampleKeyFrameAnimation iOS */, + 5087E73D17EB910900C73F5D /* SampleKeyFrameAnimation Mac */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx Mac.a"; + remoteRef = 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions Mac.a"; + remoteRef = 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk Mac.a"; + remoteRef = 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d Mac.a"; + remoteRef = 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion Mac.a"; + remoteRef = 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings Mac.a"; + remoteRef = 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings Mac.a"; + remoteRef = 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx iOS.a"; + remoteRef = 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions iOS.a"; + remoteRef = 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk iOS.a"; + remoteRef = 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d iOS.a"; + remoteRef = 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion iOS.a"; + remoteRef = 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings iOS.a"; + remoteRef = 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings iOS.a"; + remoteRef = 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXResourcesBuildPhase section */ + 1D60588D0D05DD3D006BFB54 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5087E78117EB970100C73F5D /* Icon-120.png in Resources */, + 5087E78617EB970100C73F5D /* Icon-76.png in Resources */, + 5087E77F17EB970100C73F5D /* Default@2x.png in Resources */, + 50EF629917ECD46A001EB2F8 /* Icon-100.png in Resources */, + 15F032CB18C8240C007219BB /* 10.ExportJson in Resources */, + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */, + 5087E78317EB970100C73F5D /* Icon-152.png in Resources */, + 15F032CF18C8240C007219BB /* 100.png in Resources */, + 5087E77D17EB970100C73F5D /* Default-568h@2x.png in Resources */, + 5087E78517EB970100C73F5D /* Icon-72.png in Resources */, + 15F032D118C8240C007219BB /* fonts in Resources */, + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */, + 50EF62A317ECD613001EB2F8 /* Icon-50.png in Resources */, + 5087E78017EB970100C73F5D /* Icon-114.png in Resources */, + 1AFAF8BE16D35E4900DB1158 /* 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 */, + 15F032CD18C8240C007219BB /* 100.plist in Resources */, + 50EF629717ECD46A001EB2F8 /* Icon-58.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E74817EB910900C73F5D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15F032D018C8240C007219BB /* 100.png in Resources */, + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */, + 503AE0F817EB97AB00D1A890 /* Icon.icns in Resources */, + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */, + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */, + 15F032CE18C8240C007219BB /* 100.plist in Resources */, + 15F032CC18C8240C007219BB /* 10.ExportJson in Resources */, + 15F032D218C8240C007219BB /* fonts in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1D60588E0D05DD3D006BFB54 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 503AE10017EB989F00D1A890 /* AppController.mm in Sources */, + 503AE10217EB989F00D1A890 /* RootViewController.mm in Sources */, + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */, + 503AE10117EB989F00D1A890 /* main.m in Sources */, + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75617EB910900C73F5D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */, + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */, + 503AE10517EB98FF00D1A890 /* main.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1AC6FB16180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx Mac"; + targetProxy = 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB18180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions Mac"; + targetProxy = 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk Mac"; + targetProxy = 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion Mac"; + targetProxy = 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d Mac"; + targetProxy = 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx iOS"; + targetProxy = 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions iOS"; + targetProxy = 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk iOS"; + targetProxy = 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d iOS"; + targetProxy = 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion iOS"; + targetProxy = 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 "SampleKeyFrameAnimation iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1D6058940D05DD3E006BFB54 /* Debug */, + 1D6058950D05DD3E006BFB54 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleKeyFrameAnimation Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5087E76D17EB910900C73F5D /* Debug */, + 5087E76E17EB910900C73F5D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleKeyFrameAnimation" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/AppController.h b/SampleKeyFrameAnimation/proj.ios_mac/ios/AppController.h new file mode 100644 index 0000000..d0940a5 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.ios_mac/ios/AppController.h @@ -0,0 +1,11 @@ +#import + +@class RootViewController; + +@interface AppController : NSObject { + UIWindow *window; + RootViewController *viewController; +} + +@end + diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/AppController.mm b/SampleKeyFrameAnimation/proj.ios_mac/ios/AppController.mm new file mode 100644 index 0000000..3ceacda --- /dev/null +++ b/SampleKeyFrameAnimation/proj.ios_mac/ios/AppController.mm @@ -0,0 +1,142 @@ +/**************************************************************************** + 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 "CCEAGLView.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 { + + // 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: kEAGLColorFormatRGB565 + depthFormat: GL_DEPTH24_STENCIL8_OES + preserveBackbuffer: NO + sharegroup: nil + multiSampling: NO + numberOfSamples: 0]; + + // 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::GLView::createWithEAGLView(eaglView); + cocos2d::Director::getInstance()->setOpenGLView(glview); + + cocos2d::Application::getInstance()->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/SampleKeyFrameAnimation/proj.ios_mac/ios/Default-568h@2x.png b/SampleKeyFrameAnimation/proj.ios_mac/ios/Default-568h@2x.png new file mode 100644 index 0000000..66c6d1c Binary files /dev/null and b/SampleKeyFrameAnimation/proj.ios_mac/ios/Default-568h@2x.png differ diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/Default.png b/SampleKeyFrameAnimation/proj.ios_mac/ios/Default.png new file mode 100644 index 0000000..dcb8072 Binary files /dev/null and b/SampleKeyFrameAnimation/proj.ios_mac/ios/Default.png differ diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/Default@2x.png b/SampleKeyFrameAnimation/proj.ios_mac/ios/Default@2x.png new file mode 100644 index 0000000..8468988 Binary files /dev/null and b/SampleKeyFrameAnimation/proj.ios_mac/ios/Default@2x.png differ diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-100.png b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-100.png new file mode 100644 index 0000000..ef38d45 Binary files /dev/null and b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-100.png differ diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-114.png b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-114.png new file mode 100644 index 0000000..c380786 Binary files /dev/null and b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-114.png differ diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-120.png b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-120.png new file mode 100644 index 0000000..a5b49cc Binary files /dev/null and b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-120.png differ diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-144.png b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-144.png new file mode 100644 index 0000000..1526615 Binary files /dev/null and b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-144.png differ diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-152.png b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-152.png new file mode 100644 index 0000000..8aa8250 Binary files /dev/null and b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-152.png differ diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-29.png b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-29.png new file mode 100644 index 0000000..0500184 Binary files /dev/null and b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-29.png differ diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-40.png b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-40.png new file mode 100644 index 0000000..775685d Binary files /dev/null and b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-40.png differ diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-50.png b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-50.png new file mode 100644 index 0000000..ac381bc Binary files /dev/null and b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-50.png differ diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-57.png b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-57.png new file mode 100644 index 0000000..4fcc6fd Binary files /dev/null and b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-57.png differ diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-58.png b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-58.png new file mode 100644 index 0000000..f0f8b7f Binary files /dev/null and b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-58.png differ diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-72.png b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-72.png new file mode 100644 index 0000000..2c573c8 Binary files /dev/null and b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-72.png differ diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-76.png b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-76.png new file mode 100644 index 0000000..8a1fa18 Binary files /dev/null and b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-76.png differ diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-80.png b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-80.png new file mode 100644 index 0000000..d9c7ab4 Binary files /dev/null and b/SampleKeyFrameAnimation/proj.ios_mac/ios/Icon-80.png differ diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/Info.plist b/SampleKeyFrameAnimation/proj.ios_mac/ios/Info.plist new file mode 100644 index 0000000..88a89b9 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.ios_mac/ios/Info.plist @@ -0,0 +1,70 @@ + + + + + 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.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIAppFonts + + UIPrerenderedIcon + + UISupportedInterfaceOrientations + + UIInterfaceOrientationLandscapeRight + UIInterfaceOrientationLandscapeLeft + + + diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/Prefix.pch b/SampleKeyFrameAnimation/proj.ios_mac/ios/Prefix.pch new file mode 100644 index 0000000..3737d11 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.ios_mac/ios/Prefix.pch @@ -0,0 +1,8 @@ +// +// Prefix header for all source files of the 'iphone' target in the 'iphone' project +// + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/SampleKeyFrameAnimation/proj.ios_mac/ios/RootViewController.h b/SampleKeyFrameAnimation/proj.ios_mac/ios/RootViewController.h new file mode 100644 index 0000000..6cde57f --- /dev/null +++ b/SampleKeyFrameAnimation/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/SampleKeyFrameAnimation/proj.ios_mac/ios/RootViewController.mm b/SampleKeyFrameAnimation/proj.ios_mac/ios/RootViewController.mm new file mode 100644 index 0000000..c500a44 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.ios_mac/ios/RootViewController.mm @@ -0,0 +1,108 @@ +/**************************************************************************** + 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 "CCEAGLView.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]; + + cocos2d::GLView *glview = cocos2d::Director::getInstance()->getOpenGLView(); + CCEAGLView *eaglview = (CCEAGLView*) glview->getEAGLView(); + + 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/SampleKeyFrameAnimation/proj.ios_mac/ios/main.m b/SampleKeyFrameAnimation/proj.ios_mac/ios/main.m new file mode 100644 index 0000000..84158b2 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.ios_mac/ios/main.m @@ -0,0 +1,12 @@ +#import + +// Under iOS and the Simulator, we can use an alternate Accelerometer interface +#import "AccelerometerSimulation.h" + +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/SampleKeyFrameAnimation/proj.ios_mac/mac/Icon.icns b/SampleKeyFrameAnimation/proj.ios_mac/mac/Icon.icns new file mode 100644 index 0000000..2040fc6 Binary files /dev/null and b/SampleKeyFrameAnimation/proj.ios_mac/mac/Icon.icns differ diff --git a/SampleKeyFrameAnimation/proj.ios_mac/mac/Info.plist b/SampleKeyFrameAnimation/proj.ios_mac/mac/Info.plist new file mode 100644 index 0000000..df93f67 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.ios_mac/mac/Info.plist @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + Icon + CFBundleIdentifier + org.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + 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/SampleKeyFrameAnimation/proj.ios_mac/mac/Prefix.pch b/SampleKeyFrameAnimation/proj.ios_mac/mac/Prefix.pch new file mode 100644 index 0000000..96d93ae --- /dev/null +++ b/SampleKeyFrameAnimation/proj.ios_mac/mac/Prefix.pch @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'Paralaxer' target in the 'Paralaxer' project +// + +#ifdef __OBJC__ + #import +#endif diff --git a/SampleKeyFrameAnimation/proj.ios_mac/mac/main.cpp b/SampleKeyFrameAnimation/proj.ios_mac/mac/main.cpp new file mode 100644 index 0000000..f0b87fb --- /dev/null +++ b/SampleKeyFrameAnimation/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(); +} diff --git a/SampleKeyFrameAnimation/proj.linux/main.cpp b/SampleKeyFrameAnimation/proj.linux/main.cpp new file mode 100644 index 0000000..7742def --- /dev/null +++ b/SampleKeyFrameAnimation/proj.linux/main.cpp @@ -0,0 +1,15 @@ +#include "../Classes/AppDelegate.h" + +#include +#include +#include +#include + +USING_NS_CC; + +int main(int argc, char **argv) +{ + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleKeyFrameAnimation/proj.win32/SampleKeyFrameAnimation.sln b/SampleKeyFrameAnimation/proj.win32/SampleKeyFrameAnimation.sln new file mode 100644 index 0000000..1857a3d --- /dev/null +++ b/SampleKeyFrameAnimation/proj.win32/SampleKeyFrameAnimation.sln @@ -0,0 +1,61 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleKeyFrameAnimation", "SampleKeyFrameAnimation.vcxproj", "{76A39BB2-9B84-4C65-98A5-654D86B86F2A}" + ProjectSection(ProjectDependencies) = postProject + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\cocos2d\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\cocos2d\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\cocos2d\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosStudio", "..\cocos2d\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libGUI", "..\cocos2d\cocos\gui\proj.win32\libGUI.vcxproj", "{7E06E92C-537A-442B-9E4A-4761C84F8A1A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libExtensions", "..\cocos2d\extensions\proj.win32\libExtensions.vcxproj", "{21B2C324-891F-48EA-AD1A-5AE13DE12E28}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.ActiveCfg = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.Build.0 = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.ActiveCfg = Release|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.Build.0 = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.ActiveCfg = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.Build.0 = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.ActiveCfg = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.Build.0 = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.ActiveCfg = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.Build.0 = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.ActiveCfg = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.Build.0 = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.ActiveCfg = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.Build.0 = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.ActiveCfg = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.Build.0 = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.ActiveCfg = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.Build.0 = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.ActiveCfg = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.Build.0 = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.ActiveCfg = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.Build.0 = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.ActiveCfg = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.Build.0 = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.ActiveCfg = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.Build.0 = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.ActiveCfg = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SampleKeyFrameAnimation/proj.win32/SampleKeyFrameAnimation.vcxproj b/SampleKeyFrameAnimation/proj.win32/SampleKeyFrameAnimation.vcxproj new file mode 100644 index 0000000..144b675 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.win32/SampleKeyFrameAnimation.vcxproj @@ -0,0 +1,172 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {76A39BB2-9B84-4C65-98A5-654D86B86F2A} + test_win32 + Win32Proj + + + + Application + Unicode + true + v100 + v110 + v110_xp + + + Application + Unicode + v100 + v110 + v110_xp + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + true + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + false + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;$(EngineRoot)cocos\editor-support;$(EngineRoot)cocos\;$(EngineRoot);%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + EditAndContinue + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + MaxSpeed + true + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + ProgramDatabase + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + libcurl_imp.lib;websockets.lib;%(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + true + true + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + + + + + + + + + + + {98a51ba8-fc3a-415b-ac8f-8c7bd464e93e} + false + + + {f8edd7fa-9a51-4e80-baeb-860825d2eac6} + + + {b57cf53f-2e49-4031-9822-047cc0e6bde2} + + + {7e06e92c-537a-442b-9e4a-4761c84f8a1a} + + + {21b2c324-891f-48ea-ad1a-5ae13de12e28} + + + {207bc7a9-ccf1-4f2f-a04d-45f72242ae25} + + + + + + + + + \ No newline at end of file diff --git a/SampleKeyFrameAnimation/proj.win32/SampleKeyFrameAnimation.vcxproj.filters b/SampleKeyFrameAnimation/proj.win32/SampleKeyFrameAnimation.vcxproj.filters new file mode 100644 index 0000000..6dc5f38 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.win32/SampleKeyFrameAnimation.vcxproj.filters @@ -0,0 +1,41 @@ + + + + + {84a8ebd7-7cf0-47f6-b75e-d441df67da40} + + + {bb6c862e-70e9-49d9-81b7-3829a6f50471} + + + {715254bc-d70b-4ec5-bf29-467dd3ace079} + + + + + win32 + + + Classes + + + Classes + + + + + win32 + + + Classes + + + Classes + + + + + resource + + + \ No newline at end of file diff --git a/SampleKeyFrameAnimation/proj.win32/SampleKeyFrameAnimation.vcxproj.user b/SampleKeyFrameAnimation/proj.win32/SampleKeyFrameAnimation.vcxproj.user new file mode 100644 index 0000000..314a27a --- /dev/null +++ b/SampleKeyFrameAnimation/proj.win32/SampleKeyFrameAnimation.vcxproj.user @@ -0,0 +1,11 @@ + + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + \ No newline at end of file diff --git a/SampleKeyFrameAnimation/proj.win32/game.rc b/SampleKeyFrameAnimation/proj.win32/game.rc new file mode 100644 index 0000000..09d7d99 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.win32/game.rc @@ -0,0 +1,86 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +#undef APSTUDIO_HIDDEN_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +GLFW_ICON ICON "res\\game.ico" + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,1 + PRODUCTVERSION 1,0,0,1 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904B0" + BEGIN + VALUE "CompanyName", "\0" + VALUE "FileDescription", "game Module\0" + VALUE "FileVersion", "1, 0, 0, 1\0" + VALUE "InternalName", "game\0" + VALUE "LegalCopyright", "Copyright \0" + VALUE "OriginalFilename", "game.exe\0" + VALUE "ProductName", "game Module\0" + VALUE "ProductVersion", "1, 0, 0, 1\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0409, 0x04B0 + END +END + +///////////////////////////////////////////////////////////////////////////// +#endif // !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) diff --git a/SampleKeyFrameAnimation/proj.win32/main.cpp b/SampleKeyFrameAnimation/proj.win32/main.cpp new file mode 100644 index 0000000..4ef499e --- /dev/null +++ b/SampleKeyFrameAnimation/proj.win32/main.cpp @@ -0,0 +1,18 @@ +#include "main.h" +#include "AppDelegate.h" +#include "cocos2d.h" + +USING_NS_CC; + +int APIENTRY _tWinMain(HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPTSTR lpCmdLine, + int nCmdShow) +{ + UNREFERENCED_PARAMETER(hPrevInstance); + UNREFERENCED_PARAMETER(lpCmdLine); + + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleKeyFrameAnimation/proj.win32/main.h b/SampleKeyFrameAnimation/proj.win32/main.h new file mode 100644 index 0000000..e4d2aa3 --- /dev/null +++ b/SampleKeyFrameAnimation/proj.win32/main.h @@ -0,0 +1,13 @@ +#ifndef __MAIN_H__ +#define __MAIN_H__ + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers + +// Windows Header Files: +#include +#include + +// C RunTime Header Files +#include "CCStdC.h" + +#endif // __MAIN_H__ diff --git a/SampleKeyFrameAnimation/proj.win32/res/game.ico b/SampleKeyFrameAnimation/proj.win32/res/game.ico new file mode 100644 index 0000000..feaf932 Binary files /dev/null and b/SampleKeyFrameAnimation/proj.win32/res/game.ico differ diff --git a/SampleKeyFrameAnimation/proj.win32/resource.h b/SampleKeyFrameAnimation/proj.win32/resource.h new file mode 100644 index 0000000..ecde7ef --- /dev/null +++ b/SampleKeyFrameAnimation/proj.win32/resource.h @@ -0,0 +1,20 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by game.RC +// + +#define IDS_PROJNAME 100 +#define IDR_TESTJS 100 + +#define ID_FILE_NEW_WINDOW 32771 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 201 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 32775 +#endif +#endif diff --git a/SampleParticle/CMakeLists.txt b/SampleParticle/CMakeLists.txt new file mode 100644 index 0000000..82a8f20 --- /dev/null +++ b/SampleParticle/CMakeLists.txt @@ -0,0 +1,169 @@ +cmake_minimum_required(VERSION 2.6) + +set(APP_NAME MyGame) +project (${APP_NAME}) + +include(cocos2d/build/BuildHelpers.CMakeLists.txt) + +option(USE_CHIPMUNK "Use chipmunk for physics library" ON) +option(USE_BOX2D "Use box2d for physics library" OFF) +option(DEBUG_MODE "Debug or release?" ON) + +if(DEBUG_MODE) + set(CMAKE_BUILD_TYPE DEBUG) +else(DEBUG_MODE) + set(CMAKE_BUILD_TYPE RELEASE) +endif(DEBUG_MODE) + +set(CMAKE_C_FLAGS_DEBUG "-g -Wall -DCOCOS2D_DEBUG=1") +set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) + +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + +if(USE_CHIPMUNK) + message("Using chipmunk ...") + add_definitions(-DLINUX -DCC_ENABLE_CHIPMUNK_INTEGRATION=1) +elseif(USE_BOX2D) + message("Using box2d ...") + add_definitions(-DLINUX -DCC_ENABLE_BOX2D_INTEGRATION=1) +else(USE_CHIPMUNK) + message(FATAL_ERROR "Must choose a physics library.") +endif(USE_CHIPMUNK) + +# architecture +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(ARCH_DIR "64-bit") +else() +set(ARCH_DIR "32-bit") +endif() + + +set(GAME_SRC + proj.linux/main.cpp + Classes/AppDelegate.cpp + Classes/HelloWorldScene.cpp +) + +set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/cocos2d) + +include_directories( + /usr/local/include/GLFW + ${COCOS2D_ROOT} + ${COCOS2D_ROOT}/cocos + ${COCOS2D_ROOT}/cocos/audio/include + ${COCOS2D_ROOT}/cocos/2d + ${COCOS2D_ROOT}/cocos/2d/renderer + ${COCOS2D_ROOT}/cocos/2d/platform + ${COCOS2D_ROOT}/cocos/2d/platform/desktop + ${COCOS2D_ROOT}/cocos/2d/platform/linux + ${COCOS2D_ROOT}/cocos/base + ${COCOS2D_ROOT}/cocos/physics + ${COCOS2D_ROOT}/cocos/editor-support + ${COCOS2D_ROOT}/cocos/math/kazmath/include + ${COCOS2D_ROOT}/extensions + ${COCOS2D_ROOT}/external + ${COCOS2D_ROOT}/external/edtaa3func + ${COCOS2D_ROOT}/external/jpeg/include/linux + ${COCOS2D_ROOT}/external/tiff/include/linux + ${COCOS2D_ROOT}/external/webp/include/linux + ${COCOS2D_ROOT}/external/tinyxml2 + ${COCOS2D_ROOT}/external/unzip + ${COCOS2D_ROOT}/external/chipmunk/include/chipmunk + ${COCOS2D_ROOT}/external/freetype2/include/linux + ${COCOS2D_ROOT}/external/websockets/include/linux + ${COCOS2D_ROOT}/external/spidermonkey/include/linux + ${COCOS2D_ROOT}/external/linux-specific/fmod/include/${ARCH_DIR} +) + +link_directories( + /usr/local/lib + ${COCOS2D_ROOT}/external/jpeg/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/tiff/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/webp/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/freetype2/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/websockets/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/spidermonkey/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/linux-specific/fmod/prebuilt/${ARCH_DIR} +) + +# kazmath +add_subdirectory(${COCOS2D_ROOT}/cocos/math/kazmath) + +# chipmunk library +add_subdirectory(${COCOS2D_ROOT}/external/chipmunk/src) + +# box2d library +add_subdirectory(${COCOS2D_ROOT}/external/Box2D) + +# unzip library +add_subdirectory(${COCOS2D_ROOT}/external/unzip) + +# tinyxml2 library +add_subdirectory(${COCOS2D_ROOT}/external/tinyxml2) + +# audio +add_subdirectory(${COCOS2D_ROOT}/cocos/audio) + +# cocos base library +add_subdirectory(${COCOS2D_ROOT}/cocos/base) + +# cocos 2d library +add_subdirectory(${COCOS2D_ROOT}/cocos/2d) + +# cocos storage +add_subdirectory(${COCOS2D_ROOT}/cocos/storage) + +# gui +add_subdirectory(${COCOS2D_ROOT}/cocos/gui) + +# network +add_subdirectory(${COCOS2D_ROOT}/cocos/network) + +# extensions +add_subdirectory(${COCOS2D_ROOT}/extensions) + +## Editor Support + +# spine +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/spine) + +# cocosbuilder +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocosbuilder) + +# cocostudio +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocostudio) + +# add the executable +add_executable(${APP_NAME} + ${GAME_SRC} +) + +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(FMOD_LIB "fmodex64") +else() +set(FMOD_LIB "fmodex") +endif() + +target_link_libraries(${APP_NAME} + gui + network + storage + spine + cocostudio + cocosbuilder + extensions + audio + cocos2d + ) + +set(APP_BIN_DIR "${CMAKE_BINARY_DIR}/bin") + +set_target_properties(${APP_NAME} PROPERTIES + RUNTIME_OUTPUT_DIRECTORY "${APP_BIN_DIR}") + +pre_build(${APP_NAME} + COMMAND ${CMAKE_COMMAND} -E remove_directory ${APP_BIN_DIR}/Resources + COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/Resources ${APP_BIN_DIR}/Resources + ) + diff --git a/SampleParticle/Classes/AppDelegate.cpp b/SampleParticle/Classes/AppDelegate.cpp new file mode 100644 index 0000000..5347964 --- /dev/null +++ b/SampleParticle/Classes/AppDelegate.cpp @@ -0,0 +1,52 @@ +#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 = GLView::create("My Game"); + director->setOpenGLView(glview); + } + + // turn on display FPS + director->setDisplayStats(true); + + // 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::sharedEngine()->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::sharedEngine()->resumeBackgroundMusic(); +} diff --git a/SampleParticle/Classes/AppDelegate.h b/SampleParticle/Classes/AppDelegate.h new file mode 100644 index 0000000..01cbb7c --- /dev/null +++ b/SampleParticle/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/SampleParticle/Classes/HelloWorldScene.cpp b/SampleParticle/Classes/HelloWorldScene.cpp new file mode 100644 index 0000000..afd7d29 --- /dev/null +++ b/SampleParticle/Classes/HelloWorldScene.cpp @@ -0,0 +1,80 @@ +#include "HelloWorldScene.h" +#include "GUI/CocosGUI.h" +#include "cocostudio/CocoStudio.h" + + + +USING_NS_CC; +using namespace cocostudio; + +Scene* HelloWorld::createScene() +{ + // 'scene' is an autorelease object + 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; + } + + CCSize visibleSize = CCDirector::sharedDirector()->getVisibleSize(); + CCPoint origin = CCDirector::sharedDirector()->getVisibleOrigin(); + + ///////////////////////////// + // 2. add a menu item with "X" image, which is clicked to quit the program + // you may modify it. + + // add a "close" icon to exit the progress. it's an autorelease object + CCMenuItemImage *pCloseItem = CCMenuItemImage::create( + "CloseNormal.png", + "CloseSelected.png", + this, + menu_selector(HelloWorld::menuCloseCallback)); + + pCloseItem->setPosition(ccp(origin.x + visibleSize.width - pCloseItem->getContentSize().width/2 , + origin.y + pCloseItem->getContentSize().height/2)); + + // create menu, it's an autorelease object + CCMenu* pMenu = CCMenu::create(pCloseItem, NULL); + pMenu->setPosition(CCPointZero); + this->addChild(pMenu, 1); + + ///////////////////////////// + // 3. add your codes below... + + CCArmatureDataManager::sharedArmatureDataManager()->addArmatureFileInfo("hero/Hero.ExportJson"); + CCArmature* armature = CCArmature::create("Hero"); + armature->getAnimation()->play("attack"); + armature->setScale(1.5); + armature->setPosition(ccp(visibleSize.width*0.25, visibleSize.height*0.25)); + + addChild(armature); + + + return true; +} + + +void HelloWorld::menuCloseCallback(Ref* pSender) +{ + Director::getInstance()->end(); + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + exit(0); +#endif +} diff --git a/SampleParticle/Classes/HelloWorldScene.h b/SampleParticle/Classes/HelloWorldScene.h new file mode 100644 index 0000000..3473313 --- /dev/null +++ b/SampleParticle/Classes/HelloWorldScene.h @@ -0,0 +1,22 @@ +#ifndef __HELLOWORLD_SCENE_H__ +#define __HELLOWORLD_SCENE_H__ + +#include "cocos2d.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(); + + // a selector callback + void menuCloseCallback(cocos2d::Ref* pSender); + + // implement the "static create()" method manually + CREATE_FUNC(HelloWorld); +}; + +#endif // __HELLOWORLD_SCENE_H__ diff --git a/SampleParticle/Resources/CloseNormal.png b/SampleParticle/Resources/CloseNormal.png new file mode 100644 index 0000000..5657a13 Binary files /dev/null and b/SampleParticle/Resources/CloseNormal.png differ diff --git a/SampleParticle/Resources/CloseSelected.png b/SampleParticle/Resources/CloseSelected.png new file mode 100644 index 0000000..e4c82da Binary files /dev/null and b/SampleParticle/Resources/CloseSelected.png differ diff --git a/SampleParticle/Resources/HelloWorld.png b/SampleParticle/Resources/HelloWorld.png new file mode 100644 index 0000000..5fe89fb Binary files /dev/null and b/SampleParticle/Resources/HelloWorld.png differ diff --git a/SampleParticle/Resources/fonts/Marker Felt.ttf b/SampleParticle/Resources/fonts/Marker Felt.ttf new file mode 100644 index 0000000..3752ef3 Binary files /dev/null and b/SampleParticle/Resources/fonts/Marker Felt.ttf differ diff --git a/SampleParticle/Resources/hero/HEROXM~10.plist b/SampleParticle/Resources/hero/HEROXM~10.plist new file mode 100644 index 0000000..bce12bb --- /dev/null +++ b/SampleParticle/Resources/hero/HEROXM~10.plist @@ -0,0 +1,350 @@ + + + + + frames + + DefaultBone.png + + width + 114 + height + 114 + originalWidth + 114 + originalHeight + 114 + x + 0 + y + 0 + offsetX + 0 + offsetY + 0 + + effect_1.png + + width + 202 + height + 109 + originalWidth + 202 + originalHeight + 109 + x + 116 + y + 0 + offsetX + 0 + offsetY + 0 + + effect_2.png + + width + 83 + height + 194 + originalWidth + 83 + originalHeight + 194 + x + 320 + y + 0 + offsetX + 0 + offsetY + 0 + + effect_3.png + + width + 69 + height + 122 + originalWidth + 69 + originalHeight + 122 + x + 405 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_arms.png + + width + 41 + height + 195 + originalWidth + 41 + originalHeight + 195 + x + 476 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_arm_left.png + + width + 22 + height + 33 + originalWidth + 22 + originalHeight + 33 + x + 519 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_arm_right.png + + width + 25 + height + 35 + originalWidth + 25 + originalHeight + 35 + x + 543 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_body.png + + width + 51 + height + 56 + originalWidth + 51 + originalHeight + 56 + x + 570 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_foot_left.png + + width + 49 + height + 41 + originalWidth + 49 + originalHeight + 41 + x + 623 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_foot_right.png + + width + 55 + height + 45 + originalWidth + 55 + originalHeight + 45 + x + 674 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_hand.png + + width + 39 + height + 75 + originalWidth + 39 + originalHeight + 75 + x + 731 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_hand_left.png + + width + 31 + height + 38 + originalWidth + 31 + originalHeight + 38 + x + 772 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_hand_right.png + + width + 39 + height + 48 + originalWidth + 39 + originalHeight + 48 + x + 805 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_head.png + + width + 66 + height + 66 + originalWidth + 66 + originalHeight + 66 + x + 846 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_leg_left.png + + width + 44 + height + 55 + originalWidth + 44 + originalHeight + 55 + x + 914 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_leg_right.png + + width + 42 + height + 52 + originalWidth + 42 + originalHeight + 52 + x + 960 + y + 0 + offsetX + 0 + offsetY + 0 + + stock_draw_circle.png + + width + 8 + height + 8 + originalWidth + 8 + originalHeight + 8 + x + 1004 + y + 0 + offsetX + 0 + offsetY + 0 + + + metadata + + format + 0 + textureFileName + HEROXM~10.png + realTextureFileName + HEROXM~10.png + size + {2048,1024} + + texture + + width + 2048 + height + 1024 + + + \ No newline at end of file diff --git a/SampleParticle/Resources/hero/HEROXM~10.png b/SampleParticle/Resources/hero/HEROXM~10.png new file mode 100644 index 0000000..7e3622d Binary files /dev/null and b/SampleParticle/Resources/hero/HEROXM~10.png differ diff --git a/SampleParticle/Resources/hero/Hero.ExportJson b/SampleParticle/Resources/hero/Hero.ExportJson new file mode 100644 index 0000000..43381fd --- /dev/null +++ b/SampleParticle/Resources/hero/Hero.ExportJson @@ -0,0 +1,5351 @@ +{ + "armature_data": [ + { + "strVersion": "0.4.0.0", + "version": 0.4, + "name": "Hero", + "bone_data": [ + { + "name": "Layer4", + "parent": "", + "x": 193.0, + "y": 41.37332, + "z": 15, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "plist": "blood.plist", + "displayType": 2 + } + ] + }, + { + "name": "Layer14", + "parent": "", + "x": 37.5756226, + "y": -1.03360415, + "z": 11, + "cX": 1.0, + "cY": 1.0, + "kX": -1.64683986, + "kY": 1.64683986, + "arrow_x": 45.784511566162109, + "arrow_y": 1.17664549179608E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_body.png", + "displayType": 0, + "skin_data": [ + { + "x": 20.6592579, + "y": 12.6013756, + "cX": 1.00000012, + "cY": 1.00000012, + "kX": 1.64684021, + "kY": -1.64684021 + } + ] + } + ] + }, + { + "name": "Layer15", + "parent": "Layer14", + "x": 41.5772324, + "y": 7.733305, + "z": 12, + "cX": 0.999999464, + "cY": 1.00000012, + "kX": 3.78897333, + "kY": 2.4942112, + "arrow_x": 36.181148529052734, + "arrow_y": -2.2014437490724958E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_arm_right.png", + "displayType": 0, + "skin_data": [ + { + "x": 25.3439484, + "y": -3.92694759, + "cX": 1.0, + "cY": 1.0, + "kX": 4.116578, + "kY": -4.116578 + } + ] + } + ] + }, + { + "name": "Layer16", + "parent": "Layer15", + "x": 35.4758, + "y": 1.09720087, + "z": 14, + "cX": 0.9999995, + "cY": 1.00000048, + "kX": 3.50830364, + "kY": 2.77488041, + "arrow_x": 32.349712371826172, + "arrow_y": 1.6346444681403227E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_hand_right.png", + "displayType": 0, + "skin_data": [ + { + "x": 21.82396, + "y": -1.77116537, + "cX": 1.0, + "cY": 1.0, + "kX": -1.40590465, + "kY": 1.40590465 + } + ] + } + ] + }, + { + "name": "Layer17", + "parent": "Layer16", + "x": 32.186142, + "y": -41.39541, + "z": 13, + "cX": 1.0, + "cY": 1.00000012, + "kX": 4.54420042, + "kY": 1.7389847, + "arrow_x": 152.34587097167969, + "arrow_y": -1.0771789675345644E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_arms.png", + "displayType": 0, + "skin_data": [ + { + "x": 86.0385742, + "y": -2.26699448, + "cX": 0.99999994, + "cY": 0.99999994, + "kX": 1.59027672, + "kY": -1.59027672 + } + ] + } + ] + }, + { + "name": "Layer13", + "parent": "Layer14", + "x": 44.85143, + "y": -0.800907135, + "z": 10, + "cX": 0.9999988, + "cY": 1.00000024, + "kX": 0.345517874, + "kY": -0.345517159, + "arrow_x": 47.361381530761719, + "arrow_y": 3.0053661248530261E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_head.png", + "displayType": 0, + "skin_data": [ + { + "x": 28.9347382, + "y": 4.082052, + "cX": 0.99999994, + "cY": 0.99999994, + "kX": 1.53030133, + "kY": -1.53030133 + } + ] + } + ] + }, + { + "name": "Layer18", + "parent": "Layer14", + "x": 38.05122, + "y": -4.207245, + "z": 9, + "cX": 1.00000024, + "cY": 0.999999762, + "kX": 2.38575959, + "kY": -2.385758, + "arrow_x": 26.468238830566406, + "arrow_y": -2.6681816962081939E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_arm_left.png", + "displayType": 0, + "skin_data": [ + { + "x": 14.279438, + "y": -2.23035812, + "cX": 1.0, + "cY": 1.0, + "kX": -1.54282033, + "kY": 1.54282033 + } + ] + } + ] + }, + { + "name": "Layer19", + "parent": "Layer18", + "x": 27.9894886, + "y": -0.378566742, + "z": 6, + "cX": 1.0, + "cY": 1.0, + "kX": -0.7652279, + "kY": 0.76522845, + "arrow_x": 33.054901123046875, + "arrow_y": -4.1121584217762575E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_hand_left.png", + "displayType": 0, + "skin_data": [ + { + "x": 12.8738365, + "y": 4.05151749, + "cX": 1.0, + "cY": 1.0, + "kX": -1.52085006, + "kY": 1.52085006 + } + ] + } + ] + }, + { + "name": "Layer20", + "parent": "Layer14", + "x": 0.466557026, + "y": 0.400508881, + "z": 8, + "cX": 0.999999762, + "cY": 1.00000024, + "kX": 3.57936382, + "kY": 2.703823, + "arrow_x": 34.400066375732422, + "arrow_y": -3.626859779615188E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_leg_right.png", + "displayType": 0, + "skin_data": [ + { + "x": 21.0746212, + "y": -3.21423912, + "cX": 1.0, + "cY": 1.0, + "kX": 4.50524759, + "kY": -4.50524759 + } + ] + } + ] + }, + { + "name": "Layer21", + "parent": "Layer20", + "x": 34.40007, + "y": 4.196167E-05, + "z": 7, + "cX": 1.00000036, + "cY": 0.9999991, + "kX": -0.272225142, + "kY": 0.2722246, + "arrow_x": 34.049331665039062, + "arrow_y": -7.3909486673073843E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_foot_right.png", + "displayType": 0, + "skin_data": [ + { + "x": 18.7556019, + "y": 2.29894257, + "cX": 1.0, + "cY": 1.0, + "kX": 4.622885, + "kY": -4.622885 + } + ] + } + ] + }, + { + "name": "Layer22", + "parent": "Layer14", + "x": -0.598679066, + "y": -2.13460159, + "z": 5, + "cX": 1.00000024, + "cY": 0.999999762, + "kX": 2.54118037, + "kY": -2.54117942, + "arrow_x": 39.586719512939453, + "arrow_y": 2.2544500097865239E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_leg_left.png", + "displayType": 0, + "skin_data": [ + { + "x": 23.775753, + "y": 2.104971, + "cX": 1.0, + "cY": 1.0, + "kX": -1.49112451, + "kY": 1.49112451 + } + ] + } + ] + }, + { + "name": "Layer23", + "parent": "Layer22", + "x": 39.9257622, + "y": -0.2721882, + "z": 4, + "cX": 1.00000048, + "cY": 0.999999762, + "kX": 0.6764565, + "kY": -0.6764562, + "arrow_x": 27.826082229614258, + "arrow_y": 5.9652838899637572E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_foot_left.png", + "displayType": 0, + "skin_data": [ + { + "x": 11.29245, + "y": 4.49725342, + "cX": 1.0, + "cY": 1.0, + "kX": -1.54508293, + "kY": 1.54508293 + } + ] + } + ] + }, + { + "name": "Layer3", + "parent": "", + "x": 149.705917, + "y": 220.219635, + "z": 3, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "effect_3.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer2", + "parent": "", + "x": 149.705917, + "y": 220.807861, + "z": 2, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "effect_2.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer1", + "parent": "", + "x": 149.705917, + "y": 220.219635, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "effect_1.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "Hero", + "mov_data": [ + { + "name": "loading", + "dr": 23, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "Layer16", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -1.32192421, + "y": -3.16499567, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0964712, + "kY": 0.0964712, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -1.32192421, + "y": -3.16499567, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.08073177, + "kY": 0.08073177, + "fi": 12, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -1.32192421, + "y": -3.16499567, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0964712, + "kY": 0.0964712, + "fi": 23, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer17", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 23, + "twE": 0 + } + ] + }, + { + "name": "Layer15", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.08937836, + "y": 1.17307186, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.063394, + "kY": -0.063394, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.08937836, + "y": 1.17307186, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.110587016, + "kY": -0.110587016, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.08937836, + "y": 1.17307186, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.063394, + "kY": -0.063394, + "fi": 23, + "twE": 0 + } + ] + }, + { + "name": "Layer14", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 1.77944946, + "y": 73.68419, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -2.88721848, + "y": 74.68419, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 1.77944946, + "y": 73.68419, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 23, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer13", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0895993561, + "kY": 0.0895993561, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 23, + "twE": 0 + } + ] + }, + { + "name": "Layer18", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.234028712, + "kY": -0.234028712, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 23, + "twE": 0 + } + ] + }, + { + "name": "Layer20", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.03216047E-16, + "kY": 1.03216047E-16, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.115856729, + "kY": 0.115856729, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.03216047E-16, + "kY": 1.03216047E-16, + "fi": 23, + "twE": 0 + } + ] + }, + { + "name": "Layer21", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0189885031, + "kY": 0.0189885031, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.108917765, + "kY": -0.108917765, + "fi": 12, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0189885031, + "kY": 0.0189885031, + "fi": 23, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer19", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 23, + "twE": 0 + } + ] + }, + { + "name": "Layer22", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0114993611, + "kY": 0.0114993611, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 23, + "twE": 0 + } + ] + }, + { + "name": "Layer23", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0308400672, + "kY": 0.0308400672, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0916916, + "kY": 0.0916916, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0308400672, + "kY": 0.0308400672, + "fi": 23, + "twE": 0 + } + ] + } + ] + }, + { + "name": "run", + "dr": 12, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "Layer16", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -4.26242828, + "y": -1.653152, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.23536861, + "kY": -1.23536861, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -4.26242828, + "y": -1.653152, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.261261, + "kY": -1.261261, + "fi": 2, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -4.26242828, + "y": -1.653152, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.182888, + "kY": -1.182888, + "fi": 4, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -4.26242828, + "y": -1.653152, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.0183239, + "kY": -1.0183239, + "fi": 6, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -4.26242828, + "y": -1.653152, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.29213917, + "kY": -1.29213917, + "fi": 8, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -4.26242828, + "y": -1.653152, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.959113955, + "kY": -0.959113955, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -4.26242828, + "y": -1.653152, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.23536861, + "kY": -1.23536861, + "fi": 12, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer17", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -14.99979, + "y": 66.688324, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.05976248, + "kY": -3.05976248, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -14.99979, + "y": 66.688324, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.039529, + "kY": -3.039529, + "fi": 2, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -14.99979, + "y": 66.688324, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.04832864, + "kY": -3.04832864, + "fi": 4, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -14.99979, + "y": 66.688324, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.28189087, + "kY": -3.28189087, + "fi": 6, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -13.0628319, + "y": 66.85838, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.27394629, + "kY": -3.27394629, + "fi": 8, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -15.7985268, + "y": 69.78822, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.00699234, + "kY": -3.00699234, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -14.99979, + "y": 66.688324, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.05976248, + "kY": -3.05976248, + "fi": 12, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer15", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -11.180213, + "y": -13.289916, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.286544353, + "kY": -0.286544353, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -7.51067066, + "y": -12.4710808, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.104613587, + "kY": -0.104613587, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -9.098788, + "y": -13.3563309, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.211352512, + "kY": -0.211352512, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -9.098788, + "y": -13.3563309, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.273984134, + "kY": -0.273984134, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -4.77483845, + "y": -11.4664621, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0492354333, + "kY": 0.0492354333, + "fi": 8, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -11.1295309, + "y": -13.4475222, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.389013171, + "kY": -0.389013171, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -11.180213, + "y": -13.289916, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.286544353, + "kY": -0.286544353, + "fi": 12, + "twE": 0 + } + ] + }, + { + "name": "Layer14", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -30.289526, + "y": 78.51177, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5845663, + "kY": -0.5845663, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -28.8345, + "y": 72.4812241, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5845663, + "kY": -0.5845663, + "fi": 2, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -29.1916428, + "y": 83.45276, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5845663, + "kY": -0.5845663, + "fi": 4, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -28.8070259, + "y": 71.36246, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5845663, + "kY": -0.5845663, + "fi": 6, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -28.7568588, + "y": 68.50293, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5845663, + "kY": -0.5845663, + "fi": 8, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -29.57626, + "y": 80.84406, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5845663, + "kY": -0.5845663, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -30.289526, + "y": 78.51177, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5845663, + "kY": -0.5845663, + "fi": 12, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer13", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.334939867, + "kY": 0.334939867, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.334939867, + "kY": 0.334939867, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.334939867, + "kY": 0.334939867, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.39750576, + "kY": 0.39750576, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.39750576, + "kY": 0.39750576, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.294577181, + "kY": 0.294577181, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.334939867, + "kY": 0.334939867, + "fi": 12, + "twE": 0 + } + ] + }, + { + "name": "Layer18", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.05224013, + "kY": -1.05224013, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.05224013, + "kY": -1.05224013, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.286014855, + "kY": -0.286014855, + "fi": 4, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.378424048, + "kY": 0.378424048, + "fi": 6, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2004903, + "kY": -0.2004903, + "fi": 8, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.8351243, + "kY": -0.8351243, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.05224013, + "kY": -1.05224013, + "fi": 12, + "twE": 0 + } + ] + }, + { + "name": "Layer20", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -18.24798, + "y": 9.570425, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.042239476, + "kY": -0.042239476, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -18.24798, + "y": 9.570425, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.944023669, + "kY": 0.944023669, + "fi": 2, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -6.98104763, + "y": -9.908646, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.62009072, + "kY": 1.62009072, + "fi": 4, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -6.98104763, + "y": -9.908646, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.62009072, + "kY": 1.62009072, + "fi": 6, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -6.98104763, + "y": -9.908646, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.1289376, + "kY": 1.1289376, + "fi": 8, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -6.98104763, + "y": -9.908646, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.225199819, + "kY": 0.225199819, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -18.24798, + "y": 9.570425, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.042239476, + "kY": -0.042239476, + "fi": 12, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer21", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.16946471, + "kY": -1.16946471, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.36775386, + "kY": -1.36775386, + "fi": 2, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.8759325, + "kY": -0.8759325, + "fi": 4, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.316551775, + "kY": -0.316551775, + "fi": 6, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.519103, + "kY": -0.519103, + "fi": 8, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.519103, + "kY": -0.519103, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.16946471, + "kY": -1.16946471, + "fi": 12, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer19", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 2, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 4, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0177990589, + "kY": -0.0177990589, + "fi": 6, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.149588063, + "kY": 0.149588063, + "fi": 8, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.7737693, + "kY": -0.7737693, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 12, + "twE": 0 + } + ] + }, + { + "name": "Layer22", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -15.7379379, + "y": 9.219776, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.554052532, + "kY": 0.554052532, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -15.7379379, + "y": 9.219776, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.139074162, + "kY": 0.139074162, + "fi": 2, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -15.7379379, + "y": 9.219776, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.7260775, + "kY": -0.7260775, + "fi": 4, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -12.5625858, + "y": 3.52326679, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.61140585, + "kY": -1.61140585, + "fi": 6, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -7.158617, + "y": 4.54448128, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.505333543, + "kY": -0.505333543, + "fi": 8, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -7.899025, + "y": -9.307972, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.921870232, + "kY": 0.921870232, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -15.7379379, + "y": 9.219776, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.554052532, + "kY": 0.554052532, + "fi": 12, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer23", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6997573, + "kY": 0.6997573, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6026134, + "kY": 0.6026134, + "fi": 2, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.493159682, + "kY": 0.493159682, + "fi": 4, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.493159682, + "kY": 0.493159682, + "fi": 6, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 2.30141068, + "y": 0.95275116, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.166979522, + "kY": -0.166979522, + "fi": 8, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 2.30141068, + "y": 0.95275116, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.20917058, + "kY": -0.20917058, + "fi": 10, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6997573, + "kY": 0.6997573, + "fi": 12, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + } + ] + }, + { + "name": "attack", + "dr": 20, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "Layer4", + "dl": 0.0, + "frame_data": [ + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 22.6666718, + "y": -28.33334, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "Layer16", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -1.32192421, + "y": -3.16499567, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2978267, + "kY": -0.2978267, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -1.32192421, + "y": -3.16499567, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2978267, + "kY": -0.2978267, + "fi": 3, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -16.7507973, + "y": -6.968028, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.2301755, + "kY": -2.2301755, + "fi": 5, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -11.7799683, + "y": -1.887677, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.2301755, + "kY": -2.2301755, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -5.22882462, + "y": 1.407835, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.2301755, + "kY": -2.2301755, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -5.22882462, + "y": 1.407835, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.34052277, + "kY": -2.34052277, + "fi": 11, + "twE": 0 + }, + { + "dI": 0, + "x": -5.22882462, + "y": 1.407835, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.12986255, + "kY": -2.12986255, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -0.472085953, + "y": -0.278264046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.9501334, + "kY": -0.9501334, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": -1.32192421, + "y": -3.16499567, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2978267, + "kY": -0.2978267, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "Layer17", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -1.10354328, + "y": 2.3890152, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.208921328, + "kY": 0.208921328, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -1.10354328, + "y": 2.3890152, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.208921328, + "kY": 0.208921328, + "fi": 3, + "twE": 0 + }, + { + "dI": 0, + "x": -19.0158615, + "y": 10.950058, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.736051857, + "kY": -0.736051857, + "fi": 5, + "twE": 0 + }, + { + "dI": 0, + "x": -19.9715042, + "y": 11.853857, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.830300152, + "kY": -0.830300152, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -4.172928, + "y": 26.8356552, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.013390678, + "kY": 0.013390678, + "fi": 11, + "twE": 0 + }, + { + "dI": 0, + "x": -12.4773407, + "y": 25.7021046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.24711525, + "kY": -1.24711525, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -12.4773407, + "y": 25.7021046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.32828963, + "kY": -1.32828963, + "fi": 13, + "twE": 0 + }, + { + "dI": 0, + "x": -12.4773407, + "y": 25.7021046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.09605169, + "kY": -1.09605169, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -12.4773407, + "y": 25.7021046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.00851333, + "kY": -1.00851333, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -14.1715546, + "y": 10.8869362, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.443876863, + "kY": -0.443876863, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": -1.10354328, + "y": 2.3890152, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.208921328, + "kY": 0.208921328, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "Layer15", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.08937836, + "y": 1.17307186, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.159648821, + "kY": 0.159648821, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.08937836, + "y": 1.17307186, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.123417713, + "kY": 0.123417713, + "fi": 3, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -27.234602, + "y": 17.1896973, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -3.34326315, + "kY": 3.34326315, + "fi": 5, + "twE": 0 + }, + { + "dI": 0, + "x": -22.49763, + "y": 17.418726, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -3.34326315, + "kY": 3.34326315, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -28.2722511, + "y": 14.0706921, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -4.01360941, + "kY": 4.01360941, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -3.40698051, + "y": 24.8879261, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.29034066, + "kY": 2.29034066, + "fi": 11, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 6.11031342, + "y": 5.56243563, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.20433569, + "kY": 1.20433569, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 5.38023, + "y": 0.555190563, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.789898455, + "kY": 0.789898455, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.08937836, + "y": 1.17307186, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.159648821, + "kY": 0.159648821, + "fi": 20, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer14", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 1.77944946, + "y": 73.68419, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.110223E-16, + "kY": 1.110223E-16, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 1.77944946, + "y": 73.68419, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.110223E-16, + "kY": 1.110223E-16, + "fi": 3, + "twE": 0 + }, + { + "dI": 0, + "x": 12.1242828, + "y": 67.82211, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5515074, + "kY": -0.5515074, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 6.33480835, + "y": 71.2431641, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.379552841, + "kY": -0.379552841, + "fi": 17, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 1.77944946, + "y": 73.68419, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.110223E-16, + "kY": 1.110223E-16, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "Layer13", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -2.13138962, + "y": 1.27672327, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.330219, + "kY": 0.330219, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -2.13138962, + "y": 1.27672327, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.286657721, + "kY": 0.286657721, + "fi": 3, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -0.729869843, + "y": 1.515768, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.330219, + "kY": 0.330219, + "fi": 5, + "twE": 0 + }, + { + "dI": 0, + "x": -2.13138962, + "y": 1.27672327, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.330219, + "kY": 0.330219, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "Layer18", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.881351233, + "kY": -0.881351233, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.881351233, + "kY": -0.881351233, + "fi": 3, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.881351233, + "kY": -0.881351233, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.881351233, + "kY": -0.881351233, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.881351233, + "kY": -0.881351233, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.881351233, + "kY": -0.881351233, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "Layer20", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.03216047E-16, + "kY": 1.03216047E-16, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.04908976, + "kY": 0.04908976, + "fi": 3, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.270143777, + "kY": 0.270143777, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.350361049, + "kY": 0.350361049, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.03216047E-16, + "kY": 1.03216047E-16, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "Layer21", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0189885031, + "kY": 0.0189885031, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.04840654, + "kY": -0.04840654, + "fi": 3, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -1.61256409, + "y": -0.6101539, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.236339882, + "kY": 0.236339882, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -1.61256409, + "y": -0.6101539, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.06832337, + "kY": -0.06832337, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0189885031, + "kY": 0.0189885031, + "fi": 20, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer19", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.02947879, + "kY": -1.02947879, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.02947879, + "kY": -1.02947879, + "fi": 3, + "twE": 0 + }, + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.02947879, + "kY": -1.02947879, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "Layer22", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 4.39131, + "y": 1.792785, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.501120865, + "kY": -0.501120865, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 4.39131, + "y": 1.792785, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.4678786, + "kY": -0.4678786, + "fi": 3, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 6.480494, + "y": 11.6625977, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.224402383, + "kY": 0.224402383, + "fi": 5, + "twE": 0 + }, + { + "dI": 0, + "x": 9.00539, + "y": 13.8299866, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.2966538, + "kY": 0.2966538, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -0.29913044, + "y": 6.415036, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.66589725, + "kY": 0.66589725, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 4.93075371, + "y": 9.107688, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.177045375, + "kY": 0.177045375, + "fi": 17, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 4.39131, + "y": 1.792785, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.501120865, + "kY": -0.501120865, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "Layer23", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.554954648, + "kY": 0.554954648, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.484515369, + "kY": 0.484515369, + "fi": 3, + "twE": 0 + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.437196344, + "kY": -0.437196344, + "fi": 5, + "twE": 0 + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.711617, + "kY": -0.711617, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0273764338, + "kY": -0.0273764338, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0974043757, + "kY": 0.0974043757, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.554954648, + "kY": 0.554954648, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "Layer3", + "dl": 0.0, + "frame_data": [ + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": -2, + "x": 63.111145, + "y": -140.546982, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.10510049, + "kY": 0.10510049, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 61.44449, + "y": -132.213623, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.15420942, + "kY": 0.15420942, + "fi": 13, + "twE": 0 + }, + { + "dI": -2, + "x": 61.44449, + "y": -132.213623, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.15420942, + "kY": 0.15420942, + "fi": 14, + "twE": 0 + } + ] + }, + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 47.2797241, + "y": -111.30072, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.17721203, + "kY": 0.17721203, + "fi": 12, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": -2, + "x": 47.2797241, + "y": -111.30072, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.17721203, + "kY": 0.17721203, + "fi": 13, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": -2, + "x": 47.2797241, + "y": -111.30072, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.17721203, + "kY": 0.17721203, + "fi": 14, + "twE": 0 + } + ] + }, + { + "name": "Layer1", + "dl": 0.0, + "frame_data": [ + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -173.5294, + "y": -7.647064, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 11, + "twE": 0 + }, + { + "dI": -2, + "x": -173.5294, + "y": -7.647064, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0 + } + ] + } + ] + }, + { + "name": "smitten", + "dr": 8, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "Layer16", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -1.32192421, + "y": -3.16499567, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3061726, + "kY": -0.3061726, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -1.32192421, + "y": -3.16499567, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.242472455, + "kY": -0.242472455, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -1.32192421, + "y": -3.16499567, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3061726, + "kY": -0.3061726, + "fi": 8, + "twE": 0 + } + ] + }, + { + "name": "Layer17", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0531997681, + "y": 5.30302429, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.24553167E-15, + "kY": 1.24553167E-15, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0531997681, + "y": 5.30302429, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.24553167E-15, + "kY": 1.24553167E-15, + "fi": 4, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0531997681, + "y": 5.30302429, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.24553167E-15, + "kY": 1.24553167E-15, + "fi": 8, + "twE": 0 + } + ] + }, + { + "name": "Layer15", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.08937836, + "y": 1.17307186, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.46885556, + "kY": 0.46885556, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.08937836, + "y": 1.17307186, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6135522, + "kY": 0.6135522, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.08937836, + "y": 1.17307186, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.46885556, + "kY": 0.46885556, + "fi": 8, + "twE": 0 + } + ] + }, + { + "name": "Layer14", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 1.77944946, + "y": 73.68419, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.02999206E-17, + "kY": -1.02999206E-17, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 1.77944946, + "y": 73.68419, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.04696925, + "kY": -0.04696925, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 1.77944946, + "y": 73.68419, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.05779419, + "kY": 0.05779419, + "fi": 4, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 1.77944946, + "y": 73.68419, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.02999206E-17, + "kY": -1.02999206E-17, + "fi": 8, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer13", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.206800058, + "kY": 0.206800058, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.145818561, + "kY": 0.145818561, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.56657666, + "kY": 0.56657666, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.206800058, + "kY": 0.206800058, + "fi": 8, + "twE": 0 + } + ] + }, + { + "name": "Layer18", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.15162027, + "kY": -1.15162027, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.15162027, + "kY": -1.15162027, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.15162027, + "kY": -1.15162027, + "fi": 8, + "twE": 0 + } + ] + }, + { + "name": "Layer20", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.102227867, + "kY": 0.102227867, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.102227867, + "kY": 0.102227867, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.102227867, + "kY": 0.102227867, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.102227867, + "kY": 0.102227867, + "fi": 8, + "twE": 0 + } + ] + }, + { + "name": "Layer21", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.136003911, + "kY": -0.136003911, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.07340197, + "kY": -0.07340197, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2156923, + "kY": -0.2156923, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.136003911, + "kY": -0.136003911, + "fi": 8, + "twE": 0 + } + ] + }, + { + "name": "Layer19", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 8, + "twE": 0 + } + ] + }, + { + "name": "Layer22", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.3072338, + "y": 11.7753944, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.229963928, + "kY": -0.229963928, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.3072338, + "y": 11.7753944, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.229963928, + "kY": -0.229963928, + "fi": 4, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.3072338, + "y": 11.7753944, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.229963928, + "kY": -0.229963928, + "fi": 8, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer23", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.353509963, + "kY": 0.353509963, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.461469948, + "kY": 0.461469948, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.353509963, + "kY": 0.353509963, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.353509963, + "kY": 0.353509963, + "fi": 8, + "twE": 0 + } + ] + } + ] + }, + { + "name": "death", + "dr": 13, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "Layer16", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -1.32192421, + "y": -3.16499567, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3061726, + "kY": -0.3061726, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -4.524435, + "y": 3.55299664, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.318893, + "kY": -2.318893, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -4.16346169, + "y": 5.177147, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.75095463, + "kY": -2.75095463, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -3.04802132, + "y": 3.77865076, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.698976, + "kY": -2.698976, + "fi": 6, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -2.84475517, + "y": 4.01601076, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.18182755, + "kY": -2.18182755, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -2.84475517, + "y": 4.01601076, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.18182755, + "kY": -2.18182755, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "Layer17", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0531997681, + "y": 5.30302429, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.24553167E-15, + "kY": 1.24553167E-15, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -23.4008141, + "y": 97.83407, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.2344408, + "kY": 2.2344408, + "fi": 2, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 4.325137, + "y": 37.60388, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.81323051, + "kY": 1.81323051, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 2.67589855, + "y": 37.6075134, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.3655926, + "kY": 1.3655926, + "fi": 6, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 2.67589855, + "y": 37.6075134, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.82476485, + "kY": 1.82476485, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 2.67589855, + "y": 37.6075134, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.82476485, + "kY": 1.82476485, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "Layer15", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.08937836, + "y": 1.17307186, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.46885556, + "kY": 0.46885556, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 5.58739853, + "y": 5.5445857, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.13768923, + "kY": 1.13768923, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -1.31199074, + "y": -9.526539, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.130889475, + "kY": 0.130889475, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -1.31199074, + "y": -9.526539, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.884481549, + "kY": 0.884481549, + "fi": 6, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -11.52504, + "y": -16.9311752, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.37538448, + "kY": -0.37538448, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -11.52504, + "y": -16.9311752, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.37538448, + "kY": -0.37538448, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "Layer14", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 1.77944946, + "y": 73.68419, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.02999206E-17, + "kY": -1.02999206E-17, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 1.77944946, + "y": 73.68419, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.44249627, + "kY": 0.44249627, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -17.6323128, + "y": 24.8606567, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.44454563, + "kY": 1.44454563, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -15.3529406, + "y": 37.3400154, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.60732436, + "kY": 1.60732436, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -15.0404406, + "y": 20.4650116, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.32525, + "kY": 1.32525, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -15.0404406, + "y": 20.4650116, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.45570862, + "kY": 1.45570862, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -15.0404406, + "y": 20.4650116, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.45570862, + "kY": 1.45570862, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "Layer13", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.206800058, + "kY": 0.206800058, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.335823685, + "kY": -0.335823685, + "fi": 2, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.5129533, + "kY": 0.5129533, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -3.139515, + "y": 2.66521931, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.816244245, + "kY": 0.816244245, + "fi": 6, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -3.139515, + "y": 2.66521931, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.399698168, + "kY": 0.399698168, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -3.139515, + "y": 2.66521931, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.5948275, + "kY": 0.5948275, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -3.139515, + "y": 2.66521931, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.5948275, + "kY": 0.5948275, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "Layer18", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.15162027, + "kY": -1.15162027, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.15162027, + "kY": -1.15162027, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.15162027, + "kY": -1.15162027, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "Layer20", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.102227867, + "kY": 0.102227867, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.102227867, + "kY": 0.102227867, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.374075741, + "kY": 0.374075741, + "fi": 4, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0003129464, + "kY": 0.0003129464, + "fi": 6, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.503964961, + "kY": 0.503964961, + "fi": 8, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.3754145, + "kY": 0.3754145, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.3754145, + "kY": 0.3754145, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "Layer21", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.136003911, + "kY": -0.136003911, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.441511422, + "kY": -0.441511422, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.441511422, + "kY": -0.441511422, + "fi": 6, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.256875426, + "kY": -0.256875426, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.256875426, + "kY": -0.256875426, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "Layer19", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -0.9082928, + "y": -1.62333226, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "Layer22", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.3072338, + "y": 11.7753944, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.229963928, + "kY": -0.229963928, + "fi": 0, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.3072338, + "y": 11.7753944, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6098944, + "kY": 0.6098944, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 0.3072338, + "y": 11.7753944, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.456776649, + "kY": 0.456776649, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 4.70168924, + "y": 11.9962139, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.899176538, + "kY": -0.899176538, + "fi": 6, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 4.70168924, + "y": 11.9962139, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.00357464561, + "kY": 0.00357464561, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 4.70168924, + "y": 11.9962139, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2502637, + "kY": -0.2502637, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 4.70168924, + "y": 11.9962139, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2502637, + "kY": -0.2502637, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "Layer23", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.353509963, + "kY": 0.353509963, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.684455454, + "kY": 0.684455454, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.289396465, + "kY": 0.289396465, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.710119843, + "kY": 0.710119843, + "fi": 6, + "twE": 0, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.335599035, + "kY": 0.335599035, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 3.398281, + "y": -0.465165138, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.335599035, + "kY": 0.335599035, + "fi": 13, + "twE": 0 + } + ] + } + ] + } + ] + } + ], + "texture_data": [ + { + "name": "girl_leg_right", + "width": 42.0, + "height": 52.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_arm_left", + "width": 22.0, + "height": 33.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_arm_right", + "width": 25.0, + "height": 35.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_arms", + "width": 41.0, + "height": 195.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_body", + "width": 51.0, + "height": 56.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_foot_left", + "width": 49.0, + "height": 41.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_foot_right", + "width": 55.0, + "height": 45.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_hand", + "width": 39.0, + "height": 75.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_hand_left", + "width": 31.0, + "height": 38.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_hand_right", + "width": 39.0, + "height": 48.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_head", + "width": 66.0, + "height": 66.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_leg_left", + "width": 44.0, + "height": 55.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "effect_1", + "width": 202.0, + "height": 109.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "effect_2", + "width": 83.0, + "height": 194.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "effect_3", + "width": 69.0, + "height": 122.0, + "pX": 0.5, + "pY": 0.5 + } + ], + "config_file_path": [ + "blood.plist", + "effect.plist", + "HEROXM~10.plist" + ] +} \ No newline at end of file diff --git a/SampleParticle/Resources/hero/blood.plist b/SampleParticle/Resources/hero/blood.plist new file mode 100644 index 0000000..086c143 --- /dev/null +++ b/SampleParticle/Resources/hero/blood.plist @@ -0,0 +1,102 @@ + + + + + angle + 90 + angleVariance + 90 + blendFuncDestination + 772 + blendFuncSource + 770 + duration + 0.10000000149011612 + emitterType + 0.0 + finishColorAlpha + 1 + finishColorBlue + 0.0 + finishColorGreen + 0.0 + finishColorRed + 1 + finishColorVarianceAlpha + 0.0 + finishColorVarianceBlue + 0.0 + finishColorVarianceGreen + 0.0 + finishColorVarianceRed + 0.0 + finishParticleSize + 2 + finishParticleSizeVariance + 0.0 + gravityx + 0.0 + gravityy + 0.0 + maxParticles + 50 + maxRadius + 100 + maxRadiusVariance + 0.0 + minRadius + 0.0 + particleLifespan + 0.10000000149011612 + particleLifespanVariance + 0.10000000149011612 + radialAccelVariance + 0.0 + radialAcceleration + 0.0 + rotatePerSecond + 0.0 + rotatePerSecondVariance + 0.0 + sourcePositionVariancex + 0.0 + sourcePositionVariancey + 0.0 + sourcePositionx + 148.66999816894531 + sourcePositiony + 262.58999633789062 + speed + 700 + speedVariance + 0.0 + startColorAlpha + 1 + startColorBlue + 0.57999998331069946 + startColorGreen + 1 + startColorRed + 1 + startColorVarianceAlpha + 0.0 + startColorVarianceBlue + 0.0 + startColorVarianceGreen + 0.0 + startColorVarianceRed + 0.0 + startParticleSize + 35.180919647216797 + startParticleSizeVariance + 0.0 + tangentialAccelVariance + 0.0 + tangentialAcceleration + 0.0 + textureFileName + blood.png + textureImageData + H4sIAAAAAAAAAwHkFBvriVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAKQ2lDQ1BJQ0MgUHJvZmlsZQAAeAGdlndUU1kTwO97L73QEkKREnoNTUoAkRJ6kV5FJSQBQgkYErBXRAVXFBVpiiKLIi64uhRZK6JYWBQUsC/IIqCsi6uIimVf9Bxl/9j9vrPzx5zfmztz79yZuec8ACi+gUJRJqwAQIZIIg7z8WDGxMYx8d0ABkSAA9YAcHnZWUHh3hEAFT8vDjMbdZKxTKDP+nX/F7jF8g1hMj+b/n+lyMsSS9CdQtCQuXxBNg/lPJTTcyVZMvskyvTENBnDGBmL0QRRVpVx8hc2/+zzhd1kzM8Q8VEfWc5Z/Ay+jDtQ3pIjFaCMBKKcnyMU5KJ8G2X9dGmGEOU3KNMzBNxsADAUmV0i4KWgbIUyRRwRxkF5HgAESvIsTpzFEsEyNE8AOJlZy8XC5BQJ05hnwrR2dGQzfQW56QKJhBXC5aVxxXwmJzMjiytaDsCXO8uigJKstky0yPbWjvb2LBsLtPxf5V8Xv3r9O8h6+8XjZejnnkGMrm+2b7HfbJnVALCn0Nrs+GZLLAOgZRMAqve+2fQPACCfB0DzjVn3YcjmJUUiyXKytMzNzbUQCngWsoJ+lf/p8NXzn2HWeRay877WjukpSOJK0yVMWVF5memZUjEzO4vLEzBZfxtidOv/HDgrrVl5mIcJkgRigQg9KgqdMqEoGW23iC+UCDNFTKHonzr8H8Nm5SDDL3ONAq3mI6AvsQAKN+gA+b0LYGhkgMTvR1egr30LJEYB2cuL1h79Mvcoo+uf9d8UXIR+wtnCZKbMzAmLYPKk4hwZo29CprCABOQBHagBLaAHjAEL2AAH4AzcgBfwB8EgAsSCxYAHUkAGEINcsAqsB/mgEOwAe0A5qAI1oA40gBOgBZwGF8BlcB3cBH3gPhgEI+AZmASvwQwEQXiICtEgNUgbMoDMIBuIDc2HvKBAKAyKhRKgZEgESaFV0EaoECqGyqGDUB30I3QKugBdhXqgu9AQNA79Cb2DEZgC02FN2BC2hNmwOxwAR8CL4GR4KbwCzoO3w6VwNXwMboYvwNfhPngQfgZPIQAhIwxEB2EhbISDBCNxSBIiRtYgBUgJUo00IG1IJ3ILGUQmkLcYHIaGYWJYGGeMLyYSw8MsxazBbMOUY45gmjEdmFuYIcwk5iOWitXAmmGdsH7YGGwyNhebjy3B1mKbsJewfdgR7GscDsfAGeEccL64WFwqbiVuG24frhF3HteDG8ZN4fF4NbwZ3gUfjOfiJfh8fBn+GP4cvhc/gn9DIBO0CTYEb0IcQUTYQCghHCWcJfQSRgkzRAWiAdGJGEzkE5cTi4g1xDbiDeIIcYakSDIiuZAiSKmk9aRSUgPpEukB6SWZTNYlO5JDyULyOnIp+Tj5CnmI/JaiRDGlcCjxFCllO+Uw5TzlLuUllUo1pLpR46gS6nZqHfUi9RH1jRxNzkLOT44vt1auQq5ZrlfuuTxR3kDeXX6x/Ar5EvmT8jfkJxSICoYKHAWuwhqFCoVTCgMKU4o0RWvFYMUMxW2KRxWvKo4p4ZUMlbyU+Ep5SoeULioN0xCaHo1D49E20mpol2gjdBzdiO5HT6UX0n+gd9MnlZWUbZWjlJcpVyifUR5kIAxDhh8jnVHEOMHoZ7xT0VRxVxGobFVpUOlVmVado+qmKlAtUG1U7VN9p8ZU81JLU9up1qL2UB2jbqoeqp6rvl/9kvrEHPoc5zm8OQVzTsy5pwFrmGqEaazUOKTRpTGlqaXpo5mlWaZ5UXNCi6HlppWqtVvrrNa4Nk17vrZQe7f2Oe2nTGWmOzOdWcrsYE7qaOj46kh1Dup068zoGulG6m7QbdR9qEfSY+sl6e3Wa9eb1NfWD9JfpV+vf8+AaMA2SDHYa9BpMG1oZBhtuNmwxXDMSNXIz2iFUb3RA2OqsavxUuNq49smOBO2SZrJPpObprCpnWmKaYXpDTPYzN5MaLbPrMcca+5oLjKvNh9gUVjurBxWPWvIgmERaLHBosXiuaW+ZZzlTstOy49WdlbpVjVW962VrP2tN1i3Wf9pY2rDs6mwuT2XOtd77tq5rXNf2JrZCmz3296xo9kF2W22a7f7YO9gL7ZvsB930HdIcKh0GGDT2SHsbewrjlhHD8e1jqcd3zrZO0mcTjj94cxyTnM+6jw2z2ieYF7NvGEXXReuy0GXwfnM+QnzD8wfdNVx5bpWuz5203Pju9W6jbqbuKe6H3N/7mHlIfZo8pjmOHFWc857Ip4+ngWe3V5KXpFe5V6PvHW9k73rvSd97HxW+pz3xfoG+O70HfDT9OP51flN+jv4r/bvCKAEhAeUBzwONA0UB7YFwUH+QbuCHiwwWCBa0BIMgv2CdwU/DDEKWRrycyguNCS0IvRJmHXYqrDOcFr4kvCj4a8jPCKKIu5HGkdKI9uj5KPio+qipqM9o4ujB2MsY1bHXI9VjxXGtsbh46LiauOmFnot3LNwJN4uPj++f5HRomWLri5WX5y++MwS+SXcJScTsAnRCUcT3nODudXcqUS/xMrESR6Ht5f3jO/G380fF7gIigWjSS5JxUljyS7Ju5LHU1xTSlImhBxhufBFqm9qVep0WnDa4bRP6dHpjRmEjISMUyIlUZqoI1Mrc1lmT5ZZVn7W4FKnpXuWTooDxLXZUPai7FYJHf2Z6pIaSzdJh3Lm51TkvMmNyj25THGZaFnXctPlW5ePrvBe8f1KzEreyvZVOqvWrxpa7b764BpoTeKa9rV6a/PWjqzzWXdkPWl92vpfNlhtKN7wamP0xrY8zbx1ecObfDbV58vli/MHNjtvrtqC2SLc0r117tayrR8L+AXXCq0KSwrfb+Ntu/ad9Xel333anrS9u8i+aP8O3A7Rjv6drjuPFCsWryge3hW0q3k3c3fB7ld7luy5WmJbUrWXtFe6d7A0sLS1TL9sR9n78pTyvgqPisZKjcqtldP7+Pt697vtb6jSrCqsendAeODOQZ+DzdWG1SWHcIdyDj2piarp/J79fV2tem1h7YfDosODR8KOdNQ51NUd1ThaVA/XS+vHj8Ufu/mD5w+tDayGg42MxsLj4Lj0+NMfE37sPxFwov0k+2TDTwY/VTbRmgqaoeblzZMtKS2DrbGtPaf8T7W3Obc1/Wzx8+HTOqcrziifKTpLOpt39tO5Feemzmedn7iQfGG4fUn7/YsxF293hHZ0Xwq4dOWy9+WLne6d5664XDl91enqqWvsay3X7a83d9l1Nf1i90tTt3138w2HG603HW+29czrOdvr2nvhluety7f9bl/vW9DX0x/Zf2cgfmDwDv/O2N30uy/u5dybub/uAfZBwUOFhyWPNB5V/2rya+Og/eCZIc+hrsfhj+8P84af/Zb92/uRvCfUJyWj2qN1YzZjp8e9x28+Xfh05FnWs5mJ/N8Vf698bvz8pz/c/uiajJkceSF+8enPbS/VXh5+ZfuqfSpk6tHrjNcz0wVv1N4cect+2/ku+t3oTO57/PvSDyYf2j4GfHzwKePTp78AA5vz/OzO54oAAApcSURBVHgB5doLdxzFEQVg5EAS87SDA+GR/P//BeSJsY0hvFHqa80d145m16v1Ssw5qXNK3dOP6rq3qntGLV28dodyeXl5ccxyFxcXl8eMO8eYoxw6daEF4L5Wr3fzHfhcv01C9jnSnbpRvYGObeU+7bYB3qfGDULOTUac7I6cVF8Av1dG2FZGf9fq6a+mWQD8tekvra49/Wcl4pUJmID3CAfo6+V09I1W1xZSsn7AAfpz059aXbt+xBg/9FUzIg6UvZvJSsQBBw5Y+ocV/f3UZ1yIquoMDEigfyz9YUX1hZRkyCtlxEkEtKgnkgABB/QfS9+c9K0q6f1J9RlnPDWf9MgD/33pd5N+WyX9b2tDjnHJirFFTsmGGxPQwPeIAw40sO+WvlP63lS+XSXVjwBjZYj5WV8URVR0gUMAwN9M+rzKZ6VKql2/sT0jLm9KQhwoO4elpbyocT5pDhiAANM/lT4ofTg9IwMxISBbJNlTXfPhlxQPASIf8E+q/rQ0JUKWRGRbvHYsEUcRsAAvdYGQ1gEO7KPS96cyJCDEGJE33jxbICRWdZY4L7URYQsgAkhg6eNJv5zKr6Z2Y4xPNtgSR5EAzEFp4EWdJt2leoB/UHX651JEyAAq6oCbA3jAI36ZAdU0tgHnkUClOGCIFX3rsYtYmcV+31K2BUHmL3x/WSa8lIBh7kXELCadOcCpD0s/Kv3LVEcAJ5FjnPGij7gceh24OhkRm0p1pDngAJEFiGAz4GPfuByqbCWjjXeuxG5V1+UgAVP0GTYOGIxzQpQB/7j0k1IEyADgs+eN784FeEBX96pwuis7sgFYyodkVn+rIDkEVHXIz4Xh10NZsJeACTyDDGfPAy/KgH9a+tdSRHTwSUu2aYBXdX7tqe8T4xM5JRvZPkqEdNXGxxA7PpDqeS4Ly97zYJWAPeCT9qIN/N9KRR94h57Ii5CodOBxLGV1v1RCQkpEqLObg1Qd8B75vE6Nz6E62vaRsEpATSZZENtOcultzwMt8kl94JGz3I/mk5RXT8f/7PPUQ4L6UlkN+J+q7vxQ7pBQz9fkGgEt+hbBtpQGUOpn3yft18DHpvnnkG6nA++2E3FnRfSHqoeMQcRaFsTZbiyvKH09+giQ/jnwOvie9mx1pz2fQ9hMFvDNmpEQAPT3pV6HVB0hMsIYKlNm2SGgRd++crjklefUl/40B17SvoO/DeC15CzdficBMCAR8F3pt6U+jpQhQRYUxN1vgx0CagCRAdpFPwTkC08W5FWnH0mc6o7V461L1uMnHxDgEEaAyH9d+mwqEYGUnAlVfSExhBrA+2tPZBmV6jKABrxzIZEPibOt6rsrsWZI4BN/+chXQYu/Dmjn2XhjTFjr8XrkGKQ5/Bj07keCMl9gom/hgE5ZTXcmWVPJl2Rsvhj5vCTA2Myr6u5DMiDGcvoDHs3nbcBfMzis3t2PrM8fWyEkxF+lswqWBC04q2kioKUEgyEA2GRAN2KhEFDVzQjf+ZbPZT5TGJaBy5YfQKp/CGaWBPgAYkB56Cuvun8z4TOJ70gAuPu+JADW8TrM5HoeB6Bn+1+6AMyIyQ48bQ4RY/q8etyE8Elm8pGvfA4RsGiDzTgEDDGBZF+YnC2QVLJ/1JP6Sf8tkRBfQkLfCvzvZ8B4E1TbyIJ7bf9r6AYwSBnDXAio6qZFgCif+Z/ox38YRwbAHuaqbTSGgACWNtRkfdGqblLin7IHLvVk7yAAAgOJhmSANgMz6dq+qb6tS7Yy3xNMmLTDF7wzAdU2NxqQgcsyhBm/NYlvKRPQYEBAgCuHZHCelZmoL3Xta2O1b1Hia8cQ8Dv+ZuBO4//TwxoBPhD6787qJOXV07Z/xldl8CjHx093vROQASblKmlZxnC3sZV6fEsZ4MHgviAYZyJCQDpMpga7SfE7NNU2T6r61gVoGOJ/boVCRvDuHGwaA95Ek3Kvph5ylFuV7mMCqEwdKcbMwbzX/mjQCTDBVVI0hDCwdeFjos9/t0ECCdMOAbAvt0BSJ3druVxkJIY7y9W8Cek+qQOb67Fg8AwDjAe3gGiHAPdpuVhEQgiyyNaET4l8wOdyNFkAm3EvtkBD0bcAA5n8vOqIYERKJY0Y2gIR8UHJN9HnK5/jOyzJAON2CWjnQIyEAAaeTSqVtPe9VI+bEH7TDj5+wxDfE7z5b4U5A6DIvjAIUJMYeVL6dNIlk1m4un8TyfqJfAIXf5UwdL+DczjcCdAQg/aKNMIeI19Npfv2bsx4kvLq6W5+Zk1lCOAzH+Oz4MGgPfs/86rp6tfeUbENStQddJ0A4L8sfVDqkjG3K/ktq5rGr88MLwnVd5vSwQtMMpa/j0uXBIw3QNvyw/Glg1jINohRxhDgzj0EuC/IBcNdg7deB59sBfg/pSFAJvSMHRGutlkAmGXKAoMw5UDJOYCAXJDmiingq2tcPXVbt5UJQJMl+ET+39X3r1IlErTDIKOvRb/a9mZAFvDa8zqxDUSeumdzTda3QD3OJABv/rlJWILPV549zj+g/zmpuja+G5f9fzgDauB4PUxngQVNTBbkblDq0yUB1TTae2aciwS+RPuBB7xIA/yP0r9PpW3Qo2/u6j9R9rStMTtiUs4CTLpbM14JfK6V4ljKnA3GagsJKavpKDE3os6XDh7ARP6Lqn9WigBbwFnAZ69Fc7qtenwhqwSsvBGkkdcLEB18zgv7y0L+imSbJFuMj1Z1ln1kdEfVuzqT8n0i8kAm8sB/XioLnFd8Teqv7v3qH7JKgJ4FCRbPnVqPfA5LjkWR4C8yIcEaNKCVAZq2aprb0qfsUWffid7B2/Oivpb6fD4IvvpXD0HtQyYS4kialYl8UjIHkvPiYem7pSHBoSlr1oio5lnWgIdgrzngRTavOqmOAFFXF3nbor/2Dv6PYI09TIABk3COM6JAEBBiMN0dfFTPvhmo7XC/NNngfBB1WaRMBgS8NdTZpNZjG7He6TT7XvpTBx5SkGOcObFT1cOydwtk2pQFHGY0r5EQ4i1hQQtLTRHg5Pul703q+0EWIKL/kSJbqZqHsJ2M6nYdZuxSUaZOfiUytBsjC5HGxiCU71U/KC8lwOxGAsMWYJgihbMW7ynKORmAhHdKbQfZgAgk0GUGsM1W7CE1ez7EijRFcoAn6ubNkT8GfI2fX2XqR4k/KNZAmn0NDGAAAgowBT5ngSzQLwtsA3P6wRhigciWAiyZJb0BlmUUMfpy0gvKyNBjgdf4Ics0TPvBspGQKAIDmL0eMkIIUgD3vDwL+hmAhL73AczZog60Z2rbJVvMo6sfOtV+UE4igMWJBFU2AOkZIcLALrVH3/hOgAiKZLIAyKUGdCI+gNe4+YJD/SZyMgFZpGUDWzTAZEU0KZ/nZE7Wd54kksBFAU5dacxI9SrHOXTTlK95OxIHdhpPeVjJCLYDNBnSn5drdxICNKQo0688OeLmdlk60ftOqi+IYMMa+7SvMSJaDWulcWcFnoXPTkAMD4+v3hhp6mv1evrHlPYwAHt+1TRvNq9V9zlybeA5Glp2HDR3m4CXC/8PvIIuNFby3wcAAAAASUVORK5CYIKnfZIN5BQAAA== + + diff --git a/SampleParticle/Resources/hero/effect.plist b/SampleParticle/Resources/hero/effect.plist new file mode 100644 index 0000000..edd1d88 --- /dev/null +++ b/SampleParticle/Resources/hero/effect.plist @@ -0,0 +1,110 @@ + + + + + angle + 40 + angleVariance + 20 + blendFuncDestination + 1 + blendFuncSource + 770 + duration + -1 + emitterType + 0.0 + finishColorAlpha + 0.37999999523162842 + finishColorBlue + 1 + finishColorGreen + 0.5 + finishColorRed + 0.34000000357627869 + finishColorVarianceAlpha + 0.0099999997764825821 + finishColorVarianceBlue + 0.30000001192092896 + finishColorVarianceGreen + 0.019999999552965164 + finishColorVarianceRed + 0.10000000149011612 + finishParticleSize + 1 + finishParticleSizeVariance + 0.0 + gravityx + 0.12999999523162842 + gravityy + 1.3200000524520874 + maxParticles + 389 + maxRadius + 100 + maxRadiusVariance + 0.0 + minRadius + 0.0 + particleLifespan + 2 + particleLifespanVariance + 2 + radialAccelVariance + 0.0 + radialAcceleration + -380 + rotatePerSecond + 0.0 + rotatePerSecondVariance + 0.0 + rotationEnd + 0.0 + rotationEndVariance + 0.0 + rotationStart + 0.0 + rotationStartVariance + 0.0 + sourcePositionVariancex + 7 + sourcePositionVariancey + 7 + sourcePositionx + 161.41999816894531 + sourcePositiony + 232.94000244140625 + speed + 83 + speedVariance + 157 + startColorAlpha + 0.69999998807907104 + startColorBlue + 1 + startColorGreen + 0.14000000059604645 + startColorRed + 0.0 + startColorVarianceAlpha + 0.51999998092651367 + startColorVarianceBlue + 0.0 + startColorVarianceGreen + 0.0 + startColorVarianceRed + 0.0 + startParticleSize + 20 + startParticleSizeVariance + 10 + tangentialAccelVariance + 0.0 + tangentialAcceleration + -144.74000549316406 + textureFileName + particleTexture.png + textureImageData + H4sIAAAAAAAAA+1bB1RURxd+byu9g1RZpINUpVtoKoiKIqJYorisdESqLRINkihGjSHEFo0EC/ZoRCRWLMRoFHuPEIMlNizY4/5z3fvic7MrmJic84vr+Tjj7My997tt5i1L796UE0UFqlD/wUsqldJvgv/CJrTr35KrjBunGfyn/nib/FvIldsMmvXJWzOYejv8X8OZzYsnB74c5N9X5pO36od/wl8Jb3m+DD8BQtgMmHXyfpH3xVvxw9/h3wLe8nxVCFQRaiyoI9hzzDoVBf546354U/4t5M3mzPDUINAk0CLQVgItXKPB8ou8L17rh3+TvxLu8rwZzgxf4KVDoEugR6BPYEBgKAcDfE8P1+rgXsYfjC8U+eFv+6Al/BXkOzvminhrof16yMuIwJjAhMCUwIzAnMACYY5zprjGGPcYoAwdlKnID/K58Eb10Bz/FsRcRY63LsaR4WyGHC0JrAisCWwIbOVgg+9Z4VoL3Mv4Qh9ls/2g8k9zoYX8FXFnYq6OOarD4m2CMbVETsDPgcCJoD2BK4EbgTvCDefa4xoH3GONMsxRJuMHHdSpzsoFhT74J/ylf815ee4QB23MUUMWbxHG0wE5AT9PAi8CXwJ/ggA5+ON7XrjWDfc6oCwRyw+GqFMbbVDmg2ZzQBn/Zrgz+a7NirkZxgpsdSRwQR7eyK0LQRBBKEF3gjCCcEQYzoXimi64xxtluKBMG9RhxsoFxgdqf8cHivi3kDuT78YYF6hbe4wZ2OxD0JkgmKAHQQRBJEEUQTRBDMFARAzOReGaCNwTjDJ8UGZ71GGFOo2lL+vhb/ngNfzZNS+f82zu0KesMT5uGLNOBCEY20jkFkswjCCOQEwgIRiFkOBcHK6JxT2RKCMEZXqjDkfUaaHAB+xaaLYXyPNXEnuB9NV6Z7i3lcpyEnqWh1RWv4EYuz4EAwiGEowkSCBIJcggyCLIIchF5OBcBq5JwD1DUUYflBmIOjxQpw3awPiA3Q/YZ6PSHFDCX547nDPqctwtUL+zVJabUK+Qr5C7/QmGYEyTCcYgzwkE+QQfE0wlKERMxbl8XJOLe5JRxhCUGYE6/FGnM9rAzgNttJU5G1/xwev4K4g9u+bhvIGeC30Has8aYwB2QP+G3tVbKqvl4QSJGM+xyAs4FhHMIphDUExQgijGuVm4ZiruGYsyElFmDOoIRZ2eaIM12mSENmpKX+0FSnNAAX9leQ/1BecO9F7oP1CDHhgLsAdydJBUlrcpUllOT8L4zkSO8wkWEZQSlBEsRZTh3CJcU4x7ClFGDsociTr6oE5/tMERbTJDG9m94LU5wPBvJvZw54LcgrPXUirrwdCHoBaDMSZgF+RqOsZtCsYSuCxEfisIVhOsJ9hAsBGxAedW45pS3FOMMqagzHTUMQh1BqMNbmiTJdqojzY3mwNy/JXFHu6dTN5DvcE5BL0Y+hHUZAzGBuwbR1CA8ZtLsISgHPltIqgi2Eawg2AnYgfOVeGa9bhnCcqYiTLHoY6RqDMCbfBGm2ykL+tAtyU5oIS/stjDHQxyDeoOziPoydCXhktl+TkW7ZwtleUx5PUa5LSVYBfBPoL9BAcIDiIO4Nw+XLMV96xBGfNRZgHqSEGd/dGGTmiTI9rYbA6w+UtfzX12z2fqnh17uIvBfQTOZKhD6M3Qn6BGp2CswF6o63UElRjjGuRaS3CM4CTBKcRJnKvFNTW4pxJlLEWZM1FHDuocgjaEoE0ucjnA9AH2WfBKDbD4K8p9pufD2WIpld3Fwc9wJ4N7CZzNUI/Qo6FPQa3OxZiB3VsIqgl+Qm4nCM4QnCe4SFCHuIhzZ3BNLe6pRhnrUOZc1DEJdYrRhnC0yRNttESbmbNAaQ0o4M/OfThL4Rkc+iqcMUzdQ9+BuxncT+CMhpyEXg39Cmp2DcYO7IfcPkpwmuACQT3BbwSXCa4gLuNcPa45jXsOoIxKlLkEdRSizmS0IRJtYvqANdpsgByU1oAS/sx9h8l9uF/A8yj0WThzoObgfgp9CO4p+VJZbkLPhr4FtbsTYwg8zmKMgeNVgt8JbhDcRNzAuau45iLuOYoydqLMctQxE3WOQRui0SZ/tNEWbWZqgLkPNcdfUd+Xz314NoO+C3d0uKfCXW0qxgXOLejd0L+ghmsxlsCnATkC39sEdwjuIu7g3E1c04B7TqOMGpS5HnUUo85ctCEWbeoi/WsNKDoH2J8TKePP1D70UrhbwD0Lns3h+RTyDZ5T4K4O91WoSehPKzBO0MOhj0EtX8CYAq9byPUeQZMc7uF7t3Dtb7j3BMrahbJXoK4i1J2KtkSibV5oqxXarqgHyPNn9z75cw8+k2NqH+4acO+C51R4VoMelC+V3Vvh7gb3FzjD92HcoJ9BTV/F2AK/+wQPCB4SPEI8xLn7uOYm7qlHGbUoswp1LEKd+WhDHNoUijYyPcBU+tdzUP6ZSBl/du+DMwU+n4L6gs8poN6g98IzGzy3wN2dyX24x8BZDufZeenL2N/GGD9Azo8JniAe49wDXHNb+jIHzqOs/SibqYE5qDsLbYlG2/zRVhup4h74Ov7yvR/u0nCWMr0Pnjngsxq4e8EzO5zDTO3D+QT32B1SWd+GM/2iVNbbb2BcmzDWDPenCMYHD3HNHdxzGWWcRJk7UEeZ9GUPyEFbYtC2AOnLHmiOHJSeAUr4M8+6sJfp/e4oG85a+MwGPreA/gNnETzDwR0F7vLQq6Fe4V4DZzucb5DPd5HbIznubB88wjV3cc8VlHEKZe5EHUtRZyHaMAptCkcb3aUvzwCGv/p7/i3m31rzv7X3v9Z6/rX2+8/7++/755/3z7+t+/OPVvv5V2v//PP959/vf//R2n//9f73n6/NgVbx+28lOdCqvv8glwPydfDOf//lNTnQar7/9AY+eCe//9ZCH7zT33+U8wG7F8j74J39/quCHJD3wTv//Wc5H7BrgX02vrPff1fiB2W58E7+/UMLfKDID+/c378o8EFzfnjn/v7pDf3A+ELeH//Xf//WQj+wfcH2h7xf5HnK8+XKyXwrvFm2vw0xjCz6Nb5Q5BNFULSHftu8WTa/TXFsufK+eJ1PlHL9NzjL2flviZbXo8wf/ylfBXZRlBZRxyX/oalA8oNmjTkvxjyKCqyguThPFtMCHHPID114H2YpFVqPtcYQx+Rd2oglsw2zPpCizVnro1gy+/+pd/snWZSQojTCyHjfC5NV8B+N/8h7vZLSR3N0KCotPTszqkewaFDsYJHwEJGkSgkoD4qKE2dl9O7fPRq2h3cLEWWRRYwHZK5+cFI2OOYS1lckekMn6oozMrOJpL5k3CFekiUm4wIyTs3LzoD5RjI2GJkCYw5wN8gkBpKxMYwTZOP2L9bIxoEwjk9LjydjsDkjPi0exnvI+NPcHAkZc3uRcWFukiSPjI+TsU1qTloSGT+CvWmSuCziPg2Yz5aIE8nYnYw1MqOjQsi4E3GiRgJrPJI1zpaMzQZSIaMzxmUmJSRmixzEjiIPPz9fUZgkL1WSne3SN06cEpcZLwoZnZYRlz6OomScX7z0wLci4mRvDz9vbxdPVw+Wo177ZgtfEFvZ6F6/FzGjjQ6+nFO0bnQpRfk2Ed/Mfjk3ch5FbZ5KUcZnX87ZfENR2iRuFYdZfIwgXxKzszP83dzy8vJckyRiV3Don69mF7TgxdLnCuL+dI8oVDIqLic1WwR+E49OHZ2TKcrKiBNLRC6vJPE/2ajYjvZRklGSTEk62RFDsiwpPYGEOz0+KTtpdLooKV1ZEP/mNrmXLK/JS7/sOWUw3JXSOWxAcW8epHj66hR36CLyDv1n3HqpxlBQeQMtr8jy/sVLQQflzIIfWUkJL/aFREWLxDmZubL3oCwpPqVGaVMGlAnVlrKmHCgXypPyoQJIo+pG9aQiqWgqlvqAElOJVBqVSeVRE6nJVCFVRM2mvqTmU4upMqqcWkttoDZTW6ld1D7qAFVLnaDOUXVUA3WdaqQeUE9pmhbSmrQ+bUJb0ra0M+1J+9Jd6G50LzqKjqVH0Al0Op1DT6Q/povoOfR8egldTn9Hb6F30fvpI/QZup6+Rt+ln3C4HA2OAceCY8dx4/hygjgRnGjOME4CZwxnPKeAM5Mzl1PKWc2p4OziHOCc4NRxrnOaSANX5xpxrbguXF9uCDeSO5g7ipvJncSdzi3hlnLXcqu4Ndxj3DruDe5jnoCnzxPxXHgBvDDeAJ6YN4Y3iTeDN5+3glfB28M7xqvnNfKe8zX55nxnvj8/nD+In8DP4xfyS/jL+Jv4e/kn+A38BwKBwEhgL/ARhAliBcmCCYIZgq8F6wQ7BUcElwRNQqHQROgs7CyMFMYJs4WFwnnC1cIdwqPCBuEjFXUVSxVPle4qg1XSVaaolKisVNmuclTlispTVR1VW1V/1UjVeNVxqrNUy1SrVA+rNqg+VdNVs1frrBatlqw2WW2u2lq1vWrn1e6pq6u3U/dT76eepP6R+lz19eo/qterP9bQ03DSCNEYqpGjMVNjucZOjTMa9zQ1Ne00AzUHa2ZrztQs19yt+YvmIy19LVetcK14rXytBVoVWke1bmmrattqB2l/oD1eu0R7o/Zh7Rs6qjp2OiE6cTqTdBbobNE5pdOkq6/roRupm6Y7Q3el7n7dq3pCPTu9bnrxegV63+rt1rukz9W31g/RF+t/rF+mv1e/wUBgYG8QbpBsUGSwxuCQQaOhnmFHwxjDsYYLDLcZ1hlxjeyMwo1SjWYZbTA6afSkjUWboDaSNtParG1ztM1DYzPjQGOJ8XTjdcYnjJ+YiEy6maSYfG6y2eSCKc/UybSfaZ7pItO9pjfMDMwCzMRm0802mJ0155g7mUeZTzD/1vygeZNFW4seFhkW8yx2W9xoa9Q2sG1y2+K229tes9S37GKZZFlsucPyd5GhKEiUKpor2iNqtDK3CrPKsVpidcjqaTv7dgPaTWm3rt0FazVrX+tR1sXW1daNNpY2vW0m2qyyOWurautrm2j7lW2N7UM7e7uBdp/Ybba7am9sH24/3n6V/XkHTYeuDmMcSh2OOwocfR1THL92rHXiOHk5JTotcDrszHH2dk5y/tr5SHt+e7/26e1L259y0XAJcsl1WeVS72rk2st1iutm11tuNm6D3T53q3F77u7lnupe5n7OQ8+jp8cUjyqPu55OnmLPBZ7HO2h26N4hv0NlhzsdnTtKOi7qeNpL36u31yde1V5/ePt4Z3qv9b7mY+MzwmehzylfA9++vjN8f/Tj+wX75ftt9Xvs7+2f7b/B/3aAS0BKwMqAq53sO0k6lXW61Lld57jOSzrXdRF1GdHlmy51Xa26xnUt7fproHVgfOCywCtBjkHJQauDbgW7B2cGbwp+GOIf8mHIzlBuaI/Q6aGHuul1G9BtfrdfurfrntB9VffGHl49JvTYGcYPiwj7POxUuEW4OLw8vLGnT88Pe+6J0IjoHzE/4tdeTr0ye1X15vTu2fuL3uf72PZJ77M5kooMj/wi8kJf+75j+v7QT9Cvb78F/S5HeURNjKrpr99/eP+V/R9EB0fPij43wGFAzoDqGO2YoTHlMQ8Hhg6cM7BukNugDwcdiDWNTYqtHCwcHDN42eCmId2GfDmkYajX0MKhJ4fZDxs7bP8Hph+kfrBtuPbwuOEbR/BHDByxcsSzuMi40rimkeEjF45sFIeIvxJfjw+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= + + diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/HeroAnimation.xml.animation b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/HeroAnimation.xml.animation new file mode 100644 index 0000000..8e2ac0b --- /dev/null +++ b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/HeroAnimation.xml.animation @@ -0,0 +1,18 @@ + + + 0.0.0.0 + Hero + C:\Users\jxhgzs\Desktop\Samples\Hero + Hero.json + C:\Users\jxhgzs\Desktop\Samples\Hero\Resources + C:\Users\jxhgzs\Desktop\Samples\Hero\Json + + + Hero0.plist + + + 0 + 0 + + true + \ No newline at end of file diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/DefaultBone.png b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/DefaultBone.png new file mode 100644 index 0000000..cdc94fb Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/DefaultBone.png differ diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/Hero.json b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/Hero.json new file mode 100644 index 0000000..40d1292 --- /dev/null +++ b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/Hero.json @@ -0,0 +1,5644 @@ +{ + "armature_data": [ + { + "strVersion": "1.0.0.0", + "version": 1.0, + "name": "Hero", + "bone_data": [ + { + "name": "Layer4", + "parent": "", + "x": 193.0, + "y": 41.373321533203125, + "z": 15, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "plist": "blood.plist", + "displayType": 2 + } + ] + }, + { + "name": "Layer14", + "parent": "", + "x": 37.57562255859375, + "y": -1.0336041450500488, + "z": 11, + "cX": 1.0, + "cY": 1.0, + "kX": -1.64683986, + "kY": 1.64683986, + "arrow_x": 45.784511566162109, + "arrow_y": 1.17664549179608E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_body.png", + "displayType": 0, + "skin_data": [ + { + "x": 20.6592579, + "y": 12.6013756, + "cX": 1.00000012, + "cY": 1.00000012, + "kX": 1.64684021, + "kY": -1.64684021 + } + ] + } + ] + }, + { + "name": "Layer15", + "parent": "Layer14", + "x": 41.577232360839844, + "y": 7.7333049774169922, + "z": 12, + "cX": 0.999999464, + "cY": 1.00000012, + "kX": 3.78897333, + "kY": -3.78897333, + "arrow_x": 36.181148529052734, + "arrow_y": -2.2014437490724958E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_arm_right.png", + "displayType": 0, + "skin_data": [ + { + "x": 25.3439484, + "y": -3.92694759, + "cX": 1.0, + "cY": 1.0, + "kX": 4.116578, + "kY": -4.116578 + } + ] + } + ] + }, + { + "name": "Layer16", + "parent": "Layer15", + "x": 35.475799560546875, + "y": 1.097200870513916, + "z": 14, + "cX": 0.9999995, + "cY": 1.00000048, + "kX": 3.50830364, + "kY": -3.50830364, + "arrow_x": 32.349712371826172, + "arrow_y": 1.6346444681403227E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_hand_right.png", + "displayType": 0, + "skin_data": [ + { + "x": 21.82396, + "y": -1.77116537, + "cX": 1.0, + "cY": 1.0, + "kX": -1.40590465, + "kY": 1.40590465 + } + ] + } + ] + }, + { + "name": "Layer17", + "parent": "Layer16", + "x": 32.186141967773438, + "y": -41.395404815673828, + "z": 13, + "cX": 1.0, + "cY": 1.00000012, + "kX": 4.54420042, + "kY": -4.54420042, + "arrow_x": 152.34587097167969, + "arrow_y": -1.0771789675345644E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_arms.png", + "displayType": 0, + "skin_data": [ + { + "x": 86.0385742, + "y": -2.26699448, + "cX": 0.99999994, + "cY": 0.99999994, + "kX": 1.59027672, + "kY": -1.59027672 + } + ] + } + ] + }, + { + "name": "Layer13", + "parent": "Layer14", + "x": 44.8514289855957, + "y": -0.80091476440429688, + "z": 10, + "cX": 0.9999988, + "cY": 1.00000024, + "kX": 0.345517874, + "kY": -0.345517874, + "arrow_x": 47.361381530761719, + "arrow_y": 3.0053661248530261E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_head.png", + "displayType": 0, + "skin_data": [ + { + "x": 28.9347382, + "y": 4.082052, + "cX": 0.99999994, + "cY": 0.99999994, + "kX": 1.53030133, + "kY": -1.53030133 + } + ] + } + ] + }, + { + "name": "Layer18", + "parent": "Layer14", + "x": 38.051219940185547, + "y": -4.207244873046875, + "z": 9, + "cX": 1.00000024, + "cY": 0.999999762, + "kX": 2.38575959, + "kY": -2.38575959, + "arrow_x": 26.468238830566406, + "arrow_y": -2.6681816962081939E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_arm_left.png", + "displayType": 0, + "skin_data": [ + { + "x": 14.279438, + "y": -2.23035812, + "cX": 1.0, + "cY": 1.0, + "kX": -1.54282033, + "kY": 1.54282033 + } + ] + } + ] + }, + { + "name": "Layer19", + "parent": "Layer18", + "x": 27.98948860168457, + "y": -0.37856674194335938, + "z": 6, + "cX": 1.0, + "cY": 1.0, + "kX": -0.7652279, + "kY": 0.7652279, + "arrow_x": 33.054901123046875, + "arrow_y": -4.1121584217762575E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_hand_left.png", + "displayType": 0, + "skin_data": [ + { + "x": 12.8738365, + "y": 4.05151749, + "cX": 1.0, + "cY": 1.0, + "kX": -1.52085006, + "kY": 1.52085006 + } + ] + } + ] + }, + { + "name": "Layer20", + "parent": "Layer14", + "x": 0.46655702590942383, + "y": 0.40050888061523438, + "z": 8, + "cX": 0.999999762, + "cY": 1.00000024, + "kX": 3.57936382, + "kY": -3.57936382, + "arrow_x": 34.400066375732422, + "arrow_y": -3.626859779615188E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_leg_right.png", + "displayType": 0, + "skin_data": [ + { + "x": 21.0746212, + "y": -3.21423912, + "cX": 1.0, + "cY": 1.0, + "kX": 4.50524759, + "kY": -4.50524759 + } + ] + } + ] + }, + { + "name": "Layer21", + "parent": "Layer20", + "x": 34.400070190429688, + "y": 4.1961669921875E-05, + "z": 7, + "cX": 1.00000036, + "cY": 0.9999991, + "kX": -0.272225142, + "kY": 0.272225142, + "arrow_x": 34.049331665039062, + "arrow_y": -7.3909486673073843E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_foot_right.png", + "displayType": 0, + "skin_data": [ + { + "x": 18.7556019, + "y": 2.29894257, + "cX": 1.0, + "cY": 1.0, + "kX": 4.622885, + "kY": -4.622885 + } + ] + } + ] + }, + { + "name": "Layer22", + "parent": "Layer14", + "x": -0.5986790657043457, + "y": -2.1346015930175781, + "z": 5, + "cX": 1.00000024, + "cY": 0.999999762, + "kX": 2.54118037, + "kY": -2.54118037, + "arrow_x": 39.586719512939453, + "arrow_y": 2.2544500097865239E-05, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_leg_left.png", + "displayType": 0, + "skin_data": [ + { + "x": 23.775753, + "y": 2.104971, + "cX": 1.0, + "cY": 1.0, + "kX": -1.49112451, + "kY": 1.49112451 + } + ] + } + ] + }, + { + "name": "Layer23", + "parent": "Layer22", + "x": 39.925762176513672, + "y": -0.27218818664550781, + "z": 4, + "cX": 1.00000048, + "cY": 0.999999762, + "kX": 0.6764565, + "kY": -0.6764565, + "arrow_x": 27.826082229614258, + "arrow_y": 5.9652838899637572E-06, + "effectbyskeleton": true, + "display_data": [ + { + "name": "girl_foot_left.png", + "displayType": 0, + "skin_data": [ + { + "x": 11.29245, + "y": 4.49725342, + "cX": 1.0, + "cY": 1.0, + "kX": -1.54508293, + "kY": 1.54508293 + } + ] + } + ] + }, + { + "name": "Layer3", + "parent": "", + "x": 149.70591735839844, + "y": 220.21963500976563, + "z": 3, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "effect_3.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer2", + "parent": "", + "x": 149.70591735839844, + "y": 220.807861328125, + "z": 2, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "effect_2.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "Layer1", + "parent": "", + "x": 149.70591735839844, + "y": 220.21963500976563, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "effect_1.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "Hero", + "mov_data": [ + { + "name": "loading", + "dr": 23, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "Layer16", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -1.3219242095947266, + "y": -3.1649956703186035, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0964712, + "kY": 0.0964712, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -1.3219242095947266, + "y": -3.1649956703186035, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.08073177, + "kY": 0.08073177, + "fi": 12, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -1.3219242095947266, + "y": -3.1649956703186035, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0964712, + "kY": 0.0964712, + "fi": 23, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer17", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 23, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer15", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.08937835693359375, + "y": 1.1730718612670898, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.063394, + "kY": -0.063394, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.08937835693359375, + "y": 1.1730718612670898, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.110587016, + "kY": -0.110587016, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.08937835693359375, + "y": 1.1730718612670898, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.063394, + "kY": -0.063394, + "fi": 23, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer14", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 1.779449462890625, + "y": 73.684188842773438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -2.8872184753417969, + "y": 74.684188842773438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 1.779449462890625, + "y": 73.684188842773438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 23, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer13", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0895993561, + "kY": 0.0895993561, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 23, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer18", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.234028712, + "kY": -0.234028712, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 23, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer20", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.03216047E-16, + "kY": 1.03216047E-16, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.115856729, + "kY": 0.115856729, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.03216047E-16, + "kY": 1.03216047E-16, + "fi": 23, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer21", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0189885031, + "kY": 0.0189885031, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.108917765, + "kY": -0.108917765, + "fi": 12, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0189885031, + "kY": 0.0189885031, + "fi": 23, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer19", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 23, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer22", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0114993611, + "kY": 0.0114993611, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 23, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer23", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0308400672, + "kY": 0.0308400672, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0916916, + "kY": 0.0916916, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0308400672, + "kY": 0.0308400672, + "fi": 23, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "run", + "dr": 12, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "Layer16", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -4.2624282836914062, + "y": -1.6531519889831543, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.23536861, + "kY": -1.23536861, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -4.2624282836914062, + "y": -1.6531519889831543, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.261261, + "kY": -1.261261, + "fi": 2, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -4.2624282836914062, + "y": -1.6531519889831543, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.182888, + "kY": -1.182888, + "fi": 4, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -4.2624282836914062, + "y": -1.6531519889831543, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.0183239, + "kY": -1.0183239, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -4.2624282836914062, + "y": -1.6531519889831543, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.29213917, + "kY": -1.29213917, + "fi": 8, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -4.2624282836914062, + "y": -1.6531519889831543, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.959113955, + "kY": -0.959113955, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -4.2624282836914062, + "y": -1.6531519889831543, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.23536861, + "kY": -1.23536861, + "fi": 12, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer17", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -14.999790191650391, + "y": 66.688323974609375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.05976248, + "kY": -3.05976248, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -14.999790191650391, + "y": 66.688323974609375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.039529, + "kY": -3.039529, + "fi": 2, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -14.999790191650391, + "y": 66.688323974609375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.04832864, + "kY": -3.04832864, + "fi": 4, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -14.999790191650391, + "y": 66.688323974609375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.28189087, + "kY": -3.28189087, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -13.062831878662109, + "y": 66.858383178710938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.27394629, + "kY": -3.27394629, + "fi": 8, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -15.798526763916016, + "y": 69.788223266601562, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.00699234, + "kY": -3.00699234, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -14.999790191650391, + "y": 66.688323974609375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.05976248, + "kY": -3.05976248, + "fi": 12, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer15", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -11.18021297454834, + "y": -13.289916038513184, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.286544353, + "kY": -0.286544353, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -7.5106706619262695, + "y": -12.471080780029297, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.104613587, + "kY": -0.104613587, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -9.0987882614135742, + "y": -13.356330871582031, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.211352512, + "kY": -0.211352512, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -9.0987882614135742, + "y": -13.356330871582031, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.273984134, + "kY": -0.273984134, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -4.7748384475708008, + "y": -11.466462135314941, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0492354333, + "kY": 0.0492354333, + "fi": 8, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -11.129530906677246, + "y": -13.447522163391113, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.389013171, + "kY": -0.389013171, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -11.18021297454834, + "y": -13.289916038513184, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.286544353, + "kY": -0.286544353, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer14", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -30.289525985717773, + "y": 78.511772155761719, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5845663, + "kY": -0.5845663, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -28.834499359130859, + "y": 72.4812240600586, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5845663, + "kY": -0.5845663, + "fi": 2, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -29.191642761230469, + "y": 83.4527587890625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5845663, + "kY": -0.5845663, + "fi": 4, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -28.807025909423828, + "y": 71.362457275390625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5845663, + "kY": -0.5845663, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -28.756858825683594, + "y": 68.5029296875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5845663, + "kY": -0.5845663, + "fi": 8, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -29.576259613037109, + "y": 80.844062805175781, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5845663, + "kY": -0.5845663, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -30.289525985717773, + "y": 78.511772155761719, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5845663, + "kY": -0.5845663, + "fi": 12, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer13", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.334939867, + "kY": 0.334939867, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.334939867, + "kY": 0.334939867, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.334939867, + "kY": 0.334939867, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.39750576, + "kY": 0.39750576, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.39750576, + "kY": 0.39750576, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.294577181, + "kY": 0.294577181, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.334939867, + "kY": 0.334939867, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer18", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.05224013, + "kY": -1.05224013, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.05224013, + "kY": -1.05224013, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.286014855, + "kY": -0.286014855, + "fi": 4, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.378424048, + "kY": 0.378424048, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2004903, + "kY": -0.2004903, + "fi": 8, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.8351243, + "kY": -0.8351243, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.05224013, + "kY": -1.05224013, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer20", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -18.247980117797852, + "y": 9.5704250335693359, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.042239476, + "kY": -0.042239476, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -18.247980117797852, + "y": 9.5704250335693359, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.944023669, + "kY": 0.944023669, + "fi": 2, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -6.9810476303100586, + "y": -9.9086456298828125, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.62009072, + "kY": 1.62009072, + "fi": 4, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -6.9810476303100586, + "y": -9.9086456298828125, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.62009072, + "kY": 1.62009072, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -6.9810476303100586, + "y": -9.9086456298828125, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.1289376, + "kY": 1.1289376, + "fi": 8, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -6.9810476303100586, + "y": -9.9086456298828125, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.225199819, + "kY": 0.225199819, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -18.247980117797852, + "y": 9.5704250335693359, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.042239476, + "kY": -0.042239476, + "fi": 12, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer21", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.16946471, + "kY": -1.16946471, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.36775386, + "kY": -1.36775386, + "fi": 2, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.8759325, + "kY": -0.8759325, + "fi": 4, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.316551775, + "kY": -0.316551775, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.519103, + "kY": -0.519103, + "fi": 8, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.519103, + "kY": -0.519103, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.16946471, + "kY": -1.16946471, + "fi": 12, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer19", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 2, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 4, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0177990589, + "kY": -0.0177990589, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.149588063, + "kY": 0.149588063, + "fi": 8, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.7737693, + "kY": -0.7737693, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer22", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -15.737937927246094, + "y": 9.2197761535644531, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.554052532, + "kY": 0.554052532, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -15.737937927246094, + "y": 9.2197761535644531, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.139074162, + "kY": 0.139074162, + "fi": 2, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -15.737937927246094, + "y": 9.2197761535644531, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.7260775, + "kY": -0.7260775, + "fi": 4, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -12.562585830688477, + "y": 3.5232667922973633, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.61140585, + "kY": -1.61140585, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -7.15861701965332, + "y": 4.54448127746582, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.505333543, + "kY": -0.505333543, + "fi": 8, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -7.8990249633789062, + "y": -9.3079719543457031, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.921870232, + "kY": 0.921870232, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -15.737937927246094, + "y": 9.2197761535644531, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.554052532, + "kY": 0.554052532, + "fi": 12, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer23", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6997573, + "kY": 0.6997573, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6026134, + "kY": 0.6026134, + "fi": 2, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.493159682, + "kY": 0.493159682, + "fi": 4, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.493159682, + "kY": 0.493159682, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 2.3014106750488281, + "y": 0.95275115966796875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.166979522, + "kY": -0.166979522, + "fi": 8, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 2.3014106750488281, + "y": 0.95275115966796875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.20917058, + "kY": -0.20917058, + "fi": 10, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6997573, + "kY": 0.6997573, + "fi": 12, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + } + ] + }, + { + "name": "attack", + "dr": 20, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "Layer4", + "dl": 0.0, + "frame_data": [ + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 22.666671752929688, + "y": -28.333339691162109, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer16", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -1.3219242095947266, + "y": -3.1649956703186035, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2978267, + "kY": -0.2978267, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1.3219242095947266, + "y": -3.1649956703186035, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2978267, + "kY": -0.2978267, + "fi": 3, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -16.750797271728516, + "y": -6.9680280685424805, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.2301755, + "kY": -2.2301755, + "fi": 5, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -11.77996826171875, + "y": -1.8876769542694092, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.2301755, + "kY": -2.2301755, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -5.2288246154785156, + "y": 1.4078350067138672, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.2301755, + "kY": -2.2301755, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -5.2288246154785156, + "y": 1.4078350067138672, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.34052277, + "kY": -2.34052277, + "fi": 11, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -5.2288246154785156, + "y": 1.4078350067138672, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.12986255, + "kY": -2.12986255, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -0.47208595275878906, + "y": -0.27826404571533203, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.9501334, + "kY": -0.9501334, + "fi": 17, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1.3219242095947266, + "y": -3.1649956703186035, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2978267, + "kY": -0.2978267, + "fi": 20, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer17", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -1.1035432815551758, + "y": 2.3890151977539062, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.208921328, + "kY": 0.208921328, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1.1035432815551758, + "y": 2.3890151977539062, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.208921328, + "kY": 0.208921328, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -19.015861511230469, + "y": 10.950057983398438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.736051857, + "kY": -0.736051857, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -19.971504211425781, + "y": 11.853857040405273, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.830300152, + "kY": -0.830300152, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -4.1729278564453125, + "y": 26.835655212402344, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.013390678, + "kY": 0.013390678, + "fi": 11, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -12.477340698242188, + "y": 25.702104568481445, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.24711525, + "kY": -1.24711525, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -12.477340698242188, + "y": 25.702104568481445, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.32828963, + "kY": -1.32828963, + "fi": 13, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -12.477340698242188, + "y": 25.702104568481445, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.09605169, + "kY": -1.09605169, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -12.477340698242188, + "y": 25.702104568481445, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.00851333, + "kY": -1.00851333, + "fi": 15, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -14.171554565429688, + "y": 10.886936187744141, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.443876863, + "kY": -0.443876863, + "fi": 17, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1.1035432815551758, + "y": 2.3890151977539062, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.208921328, + "kY": 0.208921328, + "fi": 20, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer15", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.08937835693359375, + "y": 1.1730718612670898, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.159648821, + "kY": 0.159648821, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.08937835693359375, + "y": 1.1730718612670898, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.123417713, + "kY": 0.123417713, + "fi": 3, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -27.234601974487305, + "y": 17.189697265625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -3.34326315, + "kY": 3.34326315, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -22.497629165649414, + "y": 17.418725967407227, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -3.34326315, + "kY": 3.34326315, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -28.272251129150391, + "y": 14.07069206237793, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -4.01360941, + "kY": 4.01360941, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -3.4069805145263672, + "y": 24.88792610168457, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.29034066, + "kY": 2.29034066, + "fi": 11, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 6.1103134155273438, + "y": 5.5624356269836426, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.20433569, + "kY": 1.20433569, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 5.3802299499511719, + "y": 0.5551905632019043, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.789898455, + "kY": 0.789898455, + "fi": 17, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.08937835693359375, + "y": 1.1730718612670898, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.159648821, + "kY": 0.159648821, + "fi": 20, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer14", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 1.779449462890625, + "y": 73.684188842773438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.110223E-16, + "kY": 1.110223E-16, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 1.779449462890625, + "y": 73.684188842773438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.110223E-16, + "kY": 1.110223E-16, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 12.124282836914063, + "y": 67.822113037109375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5515074, + "kY": -0.5515074, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 6.334808349609375, + "y": 71.2431640625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.379552841, + "kY": -0.379552841, + "fi": 17, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 1.779449462890625, + "y": 73.684188842773438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.110223E-16, + "kY": 1.110223E-16, + "fi": 20, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer13", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -2.1313896179199219, + "y": 1.2767232656478882, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.330219, + "kY": 0.330219, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -2.1313896179199219, + "y": 1.2767232656478882, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.286657721, + "kY": 0.286657721, + "fi": 3, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -0.72986984252929688, + "y": 1.5157680511474609, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.330219, + "kY": 0.330219, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -2.1313896179199219, + "y": 1.2767232656478882, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.330219, + "kY": 0.330219, + "fi": 20, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer18", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.881351233, + "kY": -0.881351233, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.881351233, + "kY": -0.881351233, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.881351233, + "kY": -0.881351233, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.881351233, + "kY": -0.881351233, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.881351233, + "kY": -0.881351233, + "fi": 17, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.881351233, + "kY": -0.881351233, + "fi": 20, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer20", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.03216047E-16, + "kY": 1.03216047E-16, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.04908976, + "kY": 0.04908976, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.270143777, + "kY": 0.270143777, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.350361049, + "kY": 0.350361049, + "fi": 17, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.03216047E-16, + "kY": 1.03216047E-16, + "fi": 20, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer21", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0189885031, + "kY": 0.0189885031, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.04840654, + "kY": -0.04840654, + "fi": 3, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -1.6125640869140625, + "y": -0.6101539134979248, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.236339882, + "kY": 0.236339882, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1.6125640869140625, + "y": -0.6101539134979248, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.06832337, + "kY": -0.06832337, + "fi": 17, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0189885031, + "kY": 0.0189885031, + "fi": 20, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer19", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.02947879, + "kY": -1.02947879, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.02947879, + "kY": -1.02947879, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.02947879, + "kY": -1.02947879, + "fi": 20, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer22", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 4.3913102149963379, + "y": 1.7927850484848023, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.501120865, + "kY": -0.501120865, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 4.3913102149963379, + "y": 1.7927850484848023, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.4678786, + "kY": -0.4678786, + "fi": 3, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 6.4804940223693848, + "y": 11.66259765625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.224402383, + "kY": 0.224402383, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 9.0053901672363281, + "y": 13.829986572265625, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.2966538, + "kY": 0.2966538, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -0.29913043975830078, + "y": 6.4150362014770508, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.66589725, + "kY": 0.66589725, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 4.9307537078857422, + "y": 9.1076879501342773, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.177045375, + "kY": 0.177045375, + "fi": 17, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 4.3913102149963379, + "y": 1.7927850484848023, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.501120865, + "kY": -0.501120865, + "fi": 20, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer23", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.554954648, + "kY": 0.554954648, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.484515369, + "kY": 0.484515369, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.437196344, + "kY": -0.437196344, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.711617, + "kY": -0.711617, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0273764338, + "kY": -0.0273764338, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0974043757, + "kY": 0.0974043757, + "fi": 17, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.554954648, + "kY": 0.554954648, + "fi": 20, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer3", + "dl": 0.0, + "frame_data": [ + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -2, + "x": 63.11114501953125, + "y": -140.54698181152344, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.10510049, + "kY": 0.10510049, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 61.444488525390625, + "y": -132.213623046875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.15420942, + "kY": 0.15420942, + "fi": 13, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -2, + "x": 61.444488525390625, + "y": -132.213623046875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.15420942, + "kY": 0.15420942, + "fi": 14, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer2", + "dl": 0.0, + "frame_data": [ + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 47.27972412109375, + "y": -111.30072021484375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.17721203, + "kY": 0.17721203, + "fi": 12, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": -2, + "x": 47.27972412109375, + "y": -111.30072021484375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.17721203, + "kY": 0.17721203, + "fi": 13, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": -2, + "x": 47.27972412109375, + "y": -111.30072021484375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.17721203, + "kY": 0.17721203, + "fi": 14, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer1", + "dl": 0.0, + "frame_data": [ + { + "dI": -2, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -173.52940368652344, + "y": -7.647064208984375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 11, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -2, + "x": -173.52940368652344, + "y": -7.647064208984375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "smitten", + "dr": 8, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "Layer16", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -1.3219242095947266, + "y": -3.1649956703186035, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3061726, + "kY": -0.3061726, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1.3219242095947266, + "y": -3.1649956703186035, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.242472455, + "kY": -0.242472455, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1.3219242095947266, + "y": -3.1649956703186035, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3061726, + "kY": -0.3061726, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer17", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.05319976806640625, + "y": 5.3030242919921875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.24553167E-15, + "kY": 1.24553167E-15, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.05319976806640625, + "y": 5.3030242919921875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.24553167E-15, + "kY": 1.24553167E-15, + "fi": 4, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.05319976806640625, + "y": 5.3030242919921875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.24553167E-15, + "kY": 1.24553167E-15, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer15", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.08937835693359375, + "y": 1.1730718612670898, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.46885556, + "kY": 0.46885556, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.08937835693359375, + "y": 1.1730718612670898, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6135522, + "kY": 0.6135522, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.08937835693359375, + "y": 1.1730718612670898, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.46885556, + "kY": 0.46885556, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer14", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 1.779449462890625, + "y": 73.684188842773438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.02999206E-17, + "kY": -1.02999206E-17, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 1.779449462890625, + "y": 73.684188842773438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.04696925, + "kY": -0.04696925, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 1.779449462890625, + "y": 73.684188842773438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.05779419, + "kY": 0.05779419, + "fi": 4, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 1.779449462890625, + "y": 73.684188842773438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.02999206E-17, + "kY": -1.02999206E-17, + "fi": 8, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer13", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.206800058, + "kY": 0.206800058, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.145818561, + "kY": 0.145818561, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.56657666, + "kY": 0.56657666, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.206800058, + "kY": 0.206800058, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer18", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.15162027, + "kY": -1.15162027, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.15162027, + "kY": -1.15162027, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.15162027, + "kY": -1.15162027, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer20", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.102227867, + "kY": 0.102227867, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.102227867, + "kY": 0.102227867, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.102227867, + "kY": 0.102227867, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.102227867, + "kY": 0.102227867, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer21", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.136003911, + "kY": -0.136003911, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.07340197, + "kY": -0.07340197, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2156923, + "kY": -0.2156923, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.136003911, + "kY": -0.136003911, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer19", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer22", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.30723381042480469, + "y": 11.775394439697266, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.229963928, + "kY": -0.229963928, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.30723381042480469, + "y": 11.775394439697266, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.229963928, + "kY": -0.229963928, + "fi": 4, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.30723381042480469, + "y": 11.775394439697266, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.229963928, + "kY": -0.229963928, + "fi": 8, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + } + ] + }, + { + "name": "Layer23", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.353509963, + "kY": 0.353509963, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.461469948, + "kY": 0.461469948, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.353509963, + "kY": 0.353509963, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.353509963, + "kY": 0.353509963, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "death", + "dr": 13, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "Layer16", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -1.3219242095947266, + "y": -3.1649956703186035, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3061726, + "kY": -0.3061726, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -4.5244350433349609, + "y": 3.5529966354370117, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.318893, + "kY": -2.318893, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -4.1634616851806641, + "y": 5.1771469116210938, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.75095463, + "kY": -2.75095463, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -3.0480213165283203, + "y": 3.7786507606506348, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.698976, + "kY": -2.698976, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -2.8447551727294922, + "y": 4.0160107612609863, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.18182755, + "kY": -2.18182755, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -2.8447551727294922, + "y": 4.0160107612609863, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.18182755, + "kY": -2.18182755, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer17", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.05319976806640625, + "y": 5.3030242919921875, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.24553167E-15, + "kY": 1.24553167E-15, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -23.400814056396484, + "y": 97.834068298339844, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.2344408, + "kY": 2.2344408, + "fi": 2, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 4.3251371383666992, + "y": 37.6038818359375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.81323051, + "kY": 1.81323051, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 2.675898551940918, + "y": 37.607513427734375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.3655926, + "kY": 1.3655926, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 2.675898551940918, + "y": 37.607513427734375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.82476485, + "kY": 1.82476485, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 2.675898551940918, + "y": 37.607513427734375, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.82476485, + "kY": 1.82476485, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer15", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.08937835693359375, + "y": 1.1730718612670898, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.46885556, + "kY": 0.46885556, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 5.5873985290527344, + "y": 5.5445857048034668, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.13768923, + "kY": 1.13768923, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1.3119907379150391, + "y": -9.5265388488769531, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.130889475, + "kY": 0.130889475, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -1.3119907379150391, + "y": -9.5265388488769531, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.884481549, + "kY": 0.884481549, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -11.525039672851563, + "y": -16.931175231933594, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.37538448, + "kY": -0.37538448, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -11.525039672851563, + "y": -16.931175231933594, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.37538448, + "kY": -0.37538448, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer14", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 1.779449462890625, + "y": 73.684188842773438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.02999206E-17, + "kY": -1.02999206E-17, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 1.779449462890625, + "y": 73.684188842773438, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.44249627, + "kY": 0.44249627, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -17.632312774658203, + "y": 24.86065673828125, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.44454563, + "kY": 1.44454563, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -15.352940559387207, + "y": 37.340015411376953, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.60732436, + "kY": 1.60732436, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -15.040440559387207, + "y": 20.465011596679688, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.32525, + "kY": 1.32525, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -15.040440559387207, + "y": 20.465011596679688, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.45570862, + "kY": 1.45570862, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -15.040440559387207, + "y": 20.465011596679688, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.45570862, + "kY": 1.45570862, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer13", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.206800058, + "kY": 0.206800058, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.335823685, + "kY": -0.335823685, + "fi": 2, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.5129533, + "kY": 0.5129533, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -3.1395149230957031, + "y": 2.6652193069458008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.816244245, + "kY": 0.816244245, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": -3.1395149230957031, + "y": 2.6652193069458008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.399698168, + "kY": 0.399698168, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -3.1395149230957031, + "y": 2.6652193069458008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.5948275, + "kY": 0.5948275, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -3.1395149230957031, + "y": 2.6652193069458008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.5948275, + "kY": 0.5948275, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer18", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.15162027, + "kY": -1.15162027, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.15162027, + "kY": -1.15162027, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.15162027, + "kY": -1.15162027, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer20", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.102227867, + "kY": 0.102227867, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.102227867, + "kY": 0.102227867, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.374075741, + "kY": 0.374075741, + "fi": 4, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0003129464, + "kY": 0.0003129464, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.503964961, + "kY": 0.503964961, + "fi": 8, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.3754145, + "kY": 0.3754145, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.3754145, + "kY": 0.3754145, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer21", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.136003911, + "kY": -0.136003911, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.441511422, + "kY": -0.441511422, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.441511422, + "kY": -0.441511422, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.256875426, + "kY": -0.256875426, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.256875426, + "kY": -0.256875426, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer19", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -0.90829277038574219, + "y": -1.6233322620391846, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.288908243, + "kY": -0.288908243, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer22", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.30723381042480469, + "y": 11.775394439697266, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.229963928, + "kY": -0.229963928, + "fi": 0, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 0.30723381042480469, + "y": 11.775394439697266, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6098944, + "kY": 0.6098944, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.30723381042480469, + "y": 11.775394439697266, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.456776649, + "kY": 0.456776649, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 4.70168924331665, + "y": 11.996213912963867, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.899176538, + "kY": -0.899176538, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 4.70168924331665, + "y": 11.996213912963867, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.00357464561, + "kY": 0.00357464561, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 4.70168924331665, + "y": 11.996213912963867, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2502637, + "kY": -0.2502637, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 4.70168924331665, + "y": 11.996213912963867, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.2502637, + "kY": -0.2502637, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "Layer23", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.353509963, + "kY": 0.353509963, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.684455454, + "kY": 0.684455454, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.289396465, + "kY": 0.289396465, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.710119843, + "kY": 0.710119843, + "fi": 6, + "twE": 0, + "tweenFrame": true, + "color": [ + { + "a": 255, + "r": 255, + "g": 255, + "b": 255 + } + ] + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.335599035, + "kY": 0.335599035, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 3.3982810974121094, + "y": -0.46516513824462891, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.335599035, + "kY": 0.335599035, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + } + ] + } + ], + "texture_data": [ + { + "name": "girl_leg_right", + "width": 42.0, + "height": 52.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_arm_left", + "width": 22.0, + "height": 33.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_arm_right", + "width": 25.0, + "height": 35.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_arms", + "width": 41.0, + "height": 195.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_body", + "width": 51.0, + "height": 56.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_foot_left", + "width": 49.0, + "height": 41.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_foot_right", + "width": 55.0, + "height": 45.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_hand", + "width": 39.0, + "height": 75.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_hand_left", + "width": 31.0, + "height": 38.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_hand_right", + "width": 39.0, + "height": 48.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_head", + "width": 66.0, + "height": 66.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_leg_left", + "width": 44.0, + "height": 55.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "effect_1", + "width": 202.0, + "height": 109.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "effect_2", + "width": 83.0, + "height": 194.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "effect_3", + "width": 69.0, + "height": 122.0, + "pX": 0.5, + "pY": 0.5 + } + ], + "config_file_path": [ + "Hero0.plist" + ] +} \ No newline at end of file diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/blood.plist b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/blood.plist new file mode 100644 index 0000000..71ce438 --- /dev/null +++ b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/blood.plist @@ -0,0 +1,102 @@ + + + + + angle + 90 + angleVariance + 90 + blendFuncDestination + 772 + blendFuncSource + 770 + duration + 0.10000000149011612 + emitterType + 0.0 + finishColorAlpha + 1 + finishColorBlue + 0.0 + finishColorGreen + 0.0 + finishColorRed + 1 + finishColorVarianceAlpha + 0.0 + finishColorVarianceBlue + 0.0 + finishColorVarianceGreen + 0.0 + finishColorVarianceRed + 0.0 + finishParticleSize + 2 + finishParticleSizeVariance + 0.0 + gravityx + 0.0 + gravityy + 0.0 + maxParticles + 50 + maxRadius + 100 + maxRadiusVariance + 0.0 + minRadius + 0.0 + particleLifespan + 0.10000000149011612 + particleLifespanVariance + 0.10000000149011612 + radialAccelVariance + 0.0 + radialAcceleration + 0.0 + rotatePerSecond + 0.0 + rotatePerSecondVariance + 0.0 + sourcePositionVariancex + 0.0 + sourcePositionVariancey + 0.0 + sourcePositionx + 148.66999816894531 + sourcePositiony + 262.58999633789062 + speed + 700 + speedVariance + 0.0 + startColorAlpha + 1 + startColorBlue + 0.57999998331069946 + startColorGreen + 1 + startColorRed + 1 + startColorVarianceAlpha + 0.0 + startColorVarianceBlue + 0.0 + startColorVarianceGreen + 0.0 + startColorVarianceRed + 0.0 + startParticleSize + 35.180919647216797 + startParticleSizeVariance + 0.0 + tangentialAccelVariance + 0.0 + tangentialAcceleration + 0.0 + textureFileName + blood.png + textureImageData + H4sIAAAAAAAAAwHkFBvriVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAKQ2lDQ1BJQ0MgUHJvZmlsZQAAeAGdlndUU1kTwO97L73QEkKREnoNTUoAkRJ6kV5FJSQBQgkYErBXRAVXFBVpiiKLIi64uhRZK6JYWBQUsC/IIqCsi6uIimVf9Bxl/9j9vrPzx5zfmztz79yZuec8ACi+gUJRJqwAQIZIIg7z8WDGxMYx8d0ABkSAA9YAcHnZWUHh3hEAFT8vDjMbdZKxTKDP+nX/F7jF8g1hMj+b/n+lyMsSS9CdQtCQuXxBNg/lPJTTcyVZMvskyvTENBnDGBmL0QRRVpVx8hc2/+zzhd1kzM8Q8VEfWc5Z/Ay+jDtQ3pIjFaCMBKKcnyMU5KJ8G2X9dGmGEOU3KNMzBNxsADAUmV0i4KWgbIUyRRwRxkF5HgAESvIsTpzFEsEyNE8AOJlZy8XC5BQJ05hnwrR2dGQzfQW56QKJhBXC5aVxxXwmJzMjiytaDsCXO8uigJKstky0yPbWjvb2LBsLtPxf5V8Xv3r9O8h6+8XjZejnnkGMrm+2b7HfbJnVALCn0Nrs+GZLLAOgZRMAqve+2fQPACCfB0DzjVn3YcjmJUUiyXKytMzNzbUQCngWsoJ+lf/p8NXzn2HWeRay877WjukpSOJK0yVMWVF5memZUjEzO4vLEzBZfxtidOv/HDgrrVl5mIcJkgRigQg9KgqdMqEoGW23iC+UCDNFTKHonzr8H8Nm5SDDL3ONAq3mI6AvsQAKN+gA+b0LYGhkgMTvR1egr30LJEYB2cuL1h79Mvcoo+uf9d8UXIR+wtnCZKbMzAmLYPKk4hwZo29CprCABOQBHagBLaAHjAEL2AAH4AzcgBfwB8EgAsSCxYAHUkAGEINcsAqsB/mgEOwAe0A5qAI1oA40gBOgBZwGF8BlcB3cBH3gPhgEI+AZmASvwQwEQXiICtEgNUgbMoDMIBuIDc2HvKBAKAyKhRKgZEgESaFV0EaoECqGyqGDUB30I3QKugBdhXqgu9AQNA79Cb2DEZgC02FN2BC2hNmwOxwAR8CL4GR4KbwCzoO3w6VwNXwMboYvwNfhPngQfgZPIQAhIwxEB2EhbISDBCNxSBIiRtYgBUgJUo00IG1IJ3ILGUQmkLcYHIaGYWJYGGeMLyYSw8MsxazBbMOUY45gmjEdmFuYIcwk5iOWitXAmmGdsH7YGGwyNhebjy3B1mKbsJewfdgR7GscDsfAGeEccL64WFwqbiVuG24frhF3HteDG8ZN4fF4NbwZ3gUfjOfiJfh8fBn+GP4cvhc/gn9DIBO0CTYEb0IcQUTYQCghHCWcJfQSRgkzRAWiAdGJGEzkE5cTi4g1xDbiDeIIcYakSDIiuZAiSKmk9aRSUgPpEukB6SWZTNYlO5JDyULyOnIp+Tj5CnmI/JaiRDGlcCjxFCllO+Uw5TzlLuUllUo1pLpR46gS6nZqHfUi9RH1jRxNzkLOT44vt1auQq5ZrlfuuTxR3kDeXX6x/Ar5EvmT8jfkJxSICoYKHAWuwhqFCoVTCgMKU4o0RWvFYMUMxW2KRxWvKo4p4ZUMlbyU+Ep5SoeULioN0xCaHo1D49E20mpol2gjdBzdiO5HT6UX0n+gd9MnlZWUbZWjlJcpVyifUR5kIAxDhh8jnVHEOMHoZ7xT0VRxVxGobFVpUOlVmVado+qmKlAtUG1U7VN9p8ZU81JLU9up1qL2UB2jbqoeqp6rvl/9kvrEHPoc5zm8OQVzTsy5pwFrmGqEaazUOKTRpTGlqaXpo5mlWaZ5UXNCi6HlppWqtVvrrNa4Nk17vrZQe7f2Oe2nTGWmOzOdWcrsYE7qaOj46kh1Dup068zoGulG6m7QbdR9qEfSY+sl6e3Wa9eb1NfWD9JfpV+vf8+AaMA2SDHYa9BpMG1oZBhtuNmwxXDMSNXIz2iFUb3RA2OqsavxUuNq49smOBO2SZrJPpObprCpnWmKaYXpDTPYzN5MaLbPrMcca+5oLjKvNh9gUVjurBxWPWvIgmERaLHBosXiuaW+ZZzlTstOy49WdlbpVjVW962VrP2tN1i3Wf9pY2rDs6mwuT2XOtd77tq5rXNf2JrZCmz3296xo9kF2W22a7f7YO9gL7ZvsB930HdIcKh0GGDT2SHsbewrjlhHD8e1jqcd3zrZO0mcTjj94cxyTnM+6jw2z2ieYF7NvGEXXReuy0GXwfnM+QnzD8wfdNVx5bpWuz5203Pju9W6jbqbuKe6H3N/7mHlIfZo8pjmOHFWc857Ip4+ngWe3V5KXpFe5V6PvHW9k73rvSd97HxW+pz3xfoG+O70HfDT9OP51flN+jv4r/bvCKAEhAeUBzwONA0UB7YFwUH+QbuCHiwwWCBa0BIMgv2CdwU/DDEKWRrycyguNCS0IvRJmHXYqrDOcFr4kvCj4a8jPCKKIu5HGkdKI9uj5KPio+qipqM9o4ujB2MsY1bHXI9VjxXGtsbh46LiauOmFnot3LNwJN4uPj++f5HRomWLri5WX5y++MwS+SXcJScTsAnRCUcT3nODudXcqUS/xMrESR6Ht5f3jO/G380fF7gIigWjSS5JxUljyS7Ju5LHU1xTSlImhBxhufBFqm9qVep0WnDa4bRP6dHpjRmEjISMUyIlUZqoI1Mrc1lmT5ZZVn7W4FKnpXuWTooDxLXZUPai7FYJHf2Z6pIaSzdJh3Lm51TkvMmNyj25THGZaFnXctPlW5ePrvBe8f1KzEreyvZVOqvWrxpa7b764BpoTeKa9rV6a/PWjqzzWXdkPWl92vpfNlhtKN7wamP0xrY8zbx1ecObfDbV58vli/MHNjtvrtqC2SLc0r117tayrR8L+AXXCq0KSwrfb+Ntu/ad9Xel333anrS9u8i+aP8O3A7Rjv6drjuPFCsWryge3hW0q3k3c3fB7ld7luy5WmJbUrWXtFe6d7A0sLS1TL9sR9n78pTyvgqPisZKjcqtldP7+Pt697vtb6jSrCqsendAeODOQZ+DzdWG1SWHcIdyDj2piarp/J79fV2tem1h7YfDosODR8KOdNQ51NUd1ThaVA/XS+vHj8Ufu/mD5w+tDayGg42MxsLj4Lj0+NMfE37sPxFwov0k+2TDTwY/VTbRmgqaoeblzZMtKS2DrbGtPaf8T7W3Obc1/Wzx8+HTOqcrziifKTpLOpt39tO5Feemzmedn7iQfGG4fUn7/YsxF293hHZ0Xwq4dOWy9+WLne6d5664XDl91enqqWvsay3X7a83d9l1Nf1i90tTt3138w2HG603HW+29czrOdvr2nvhluety7f9bl/vW9DX0x/Zf2cgfmDwDv/O2N30uy/u5dybub/uAfZBwUOFhyWPNB5V/2rya+Og/eCZIc+hrsfhj+8P84af/Zb92/uRvCfUJyWj2qN1YzZjp8e9x28+Xfh05FnWs5mJ/N8Vf698bvz8pz/c/uiajJkceSF+8enPbS/VXh5+ZfuqfSpk6tHrjNcz0wVv1N4cect+2/ku+t3oTO57/PvSDyYf2j4GfHzwKePTp78AA5vz/OzO54oAAApcSURBVHgB5doLdxzFEQVg5EAS87SDA+GR/P//BeSJsY0hvFHqa80d145m16v1Ssw5qXNK3dOP6rq3qntGLV28dodyeXl5ccxyFxcXl8eMO8eYoxw6daEF4L5Wr3fzHfhcv01C9jnSnbpRvYGObeU+7bYB3qfGDULOTUac7I6cVF8Av1dG2FZGf9fq6a+mWQD8tekvra49/Wcl4pUJmID3CAfo6+V09I1W1xZSsn7AAfpz059aXbt+xBg/9FUzIg6UvZvJSsQBBw5Y+ocV/f3UZ1yIquoMDEigfyz9YUX1hZRkyCtlxEkEtKgnkgABB/QfS9+c9K0q6f1J9RlnPDWf9MgD/33pd5N+WyX9b2tDjnHJirFFTsmGGxPQwPeIAw40sO+WvlP63lS+XSXVjwBjZYj5WV8URVR0gUMAwN9M+rzKZ6VKql2/sT0jLm9KQhwoO4elpbyocT5pDhiAANM/lT4ofTg9IwMxISBbJNlTXfPhlxQPASIf8E+q/rQ0JUKWRGRbvHYsEUcRsAAvdYGQ1gEO7KPS96cyJCDEGJE33jxbICRWdZY4L7URYQsgAkhg6eNJv5zKr6Z2Y4xPNtgSR5EAzEFp4EWdJt2leoB/UHX651JEyAAq6oCbA3jAI36ZAdU0tgHnkUClOGCIFX3rsYtYmcV+31K2BUHmL3x/WSa8lIBh7kXELCadOcCpD0s/Kv3LVEcAJ5FjnPGij7gceh24OhkRm0p1pDngAJEFiGAz4GPfuByqbCWjjXeuxG5V1+UgAVP0GTYOGIxzQpQB/7j0k1IEyADgs+eN784FeEBX96pwuis7sgFYyodkVn+rIDkEVHXIz4Xh10NZsJeACTyDDGfPAy/KgH9a+tdSRHTwSUu2aYBXdX7tqe8T4xM5JRvZPkqEdNXGxxA7PpDqeS4Ly97zYJWAPeCT9qIN/N9KRR94h57Ii5CodOBxLGV1v1RCQkpEqLObg1Qd8B75vE6Nz6E62vaRsEpATSZZENtOcultzwMt8kl94JGz3I/mk5RXT8f/7PPUQ4L6UlkN+J+q7vxQ7pBQz9fkGgEt+hbBtpQGUOpn3yft18DHpvnnkG6nA++2E3FnRfSHqoeMQcRaFsTZbiyvKH09+giQ/jnwOvie9mx1pz2fQ9hMFvDNmpEQAPT3pV6HVB0hMsIYKlNm2SGgRd++crjklefUl/40B17SvoO/DeC15CzdficBMCAR8F3pt6U+jpQhQRYUxN1vgx0CagCRAdpFPwTkC08W5FWnH0mc6o7V461L1uMnHxDgEEaAyH9d+mwqEYGUnAlVfSExhBrA+2tPZBmV6jKABrxzIZEPibOt6rsrsWZI4BN/+chXQYu/Dmjn2XhjTFjr8XrkGKQ5/Bj07keCMl9gom/hgE5ZTXcmWVPJl2Rsvhj5vCTA2Myr6u5DMiDGcvoDHs3nbcBfMzis3t2PrM8fWyEkxF+lswqWBC04q2kioKUEgyEA2GRAN2KhEFDVzQjf+ZbPZT5TGJaBy5YfQKp/CGaWBPgAYkB56Cuvun8z4TOJ70gAuPu+JADW8TrM5HoeB6Bn+1+6AMyIyQ48bQ4RY/q8etyE8Elm8pGvfA4RsGiDzTgEDDGBZF+YnC2QVLJ/1JP6Sf8tkRBfQkLfCvzvZ8B4E1TbyIJ7bf9r6AYwSBnDXAio6qZFgCif+Z/ox38YRwbAHuaqbTSGgACWNtRkfdGqblLin7IHLvVk7yAAAgOJhmSANgMz6dq+qb6tS7Yy3xNMmLTDF7wzAdU2NxqQgcsyhBm/NYlvKRPQYEBAgCuHZHCelZmoL3Xta2O1b1Hia8cQ8Dv+ZuBO4//TwxoBPhD6787qJOXV07Z/xldl8CjHx093vROQASblKmlZxnC3sZV6fEsZ4MHgviAYZyJCQDpMpga7SfE7NNU2T6r61gVoGOJ/boVCRvDuHGwaA95Ek3Kvph5ylFuV7mMCqEwdKcbMwbzX/mjQCTDBVVI0hDCwdeFjos9/t0ECCdMOAbAvt0BSJ3druVxkJIY7y9W8Cek+qQOb67Fg8AwDjAe3gGiHAPdpuVhEQgiyyNaET4l8wOdyNFkAm3EvtkBD0bcAA5n8vOqIYERKJY0Y2gIR8UHJN9HnK5/jOyzJAON2CWjnQIyEAAaeTSqVtPe9VI+bEH7TDj5+wxDfE7z5b4U5A6DIvjAIUJMYeVL6dNIlk1m4un8TyfqJfAIXf5UwdL+DczjcCdAQg/aKNMIeI19Npfv2bsx4kvLq6W5+Zk1lCOAzH+Oz4MGgPfs/86rp6tfeUbENStQddJ0A4L8sfVDqkjG3K/ktq5rGr88MLwnVd5vSwQtMMpa/j0uXBIw3QNvyw/Glg1jINohRxhDgzj0EuC/IBcNdg7deB59sBfg/pSFAJvSMHRGutlkAmGXKAoMw5UDJOYCAXJDmiingq2tcPXVbt5UJQJMl+ET+39X3r1IlErTDIKOvRb/a9mZAFvDa8zqxDUSeumdzTda3QD3OJABv/rlJWILPV549zj+g/zmpuja+G5f9fzgDauB4PUxngQVNTBbkblDq0yUB1TTae2aciwS+RPuBB7xIA/yP0r9PpW3Qo2/u6j9R9rStMTtiUs4CTLpbM14JfK6V4ljKnA3GagsJKavpKDE3os6XDh7ARP6Lqn9WigBbwFnAZ69Fc7qtenwhqwSsvBGkkdcLEB18zgv7y0L+imSbJFuMj1Z1ln1kdEfVuzqT8n0i8kAm8sB/XioLnFd8Teqv7v3qH7JKgJ4FCRbPnVqPfA5LjkWR4C8yIcEaNKCVAZq2aprb0qfsUWffid7B2/Oivpb6fD4IvvpXD0HtQyYS4kialYl8UjIHkvPiYem7pSHBoSlr1oio5lnWgIdgrzngRTavOqmOAFFXF3nbor/2Dv6PYI09TIABk3COM6JAEBBiMN0dfFTPvhmo7XC/NNngfBB1WaRMBgS8NdTZpNZjG7He6TT7XvpTBx5SkGOcObFT1cOydwtk2pQFHGY0r5EQ4i1hQQtLTRHg5Pul703q+0EWIKL/kSJbqZqHsJ2M6nYdZuxSUaZOfiUytBsjC5HGxiCU71U/KC8lwOxGAsMWYJgihbMW7ynKORmAhHdKbQfZgAgk0GUGsM1W7CE1ez7EijRFcoAn6ubNkT8GfI2fX2XqR4k/KNZAmn0NDGAAAgowBT5ngSzQLwtsA3P6wRhigciWAiyZJb0BlmUUMfpy0gvKyNBjgdf4Ics0TPvBspGQKAIDmL0eMkIIUgD3vDwL+hmAhL73AczZog60Z2rbJVvMo6sfOtV+UE4igMWJBFU2AOkZIcLALrVH3/hOgAiKZLIAyKUGdCI+gNe4+YJD/SZyMgFZpGUDWzTAZEU0KZ/nZE7Wd54kksBFAU5dacxI9SrHOXTTlK95OxIHdhpPeVjJCLYDNBnSn5drdxICNKQo0688OeLmdlk60ftOqi+IYMMa+7SvMSJaDWulcWcFnoXPTkAMD4+v3hhp6mv1evrHlPYwAHt+1TRvNq9V9zlybeA5Glp2HDR3m4CXC/8PvIIuNFby3wcAAAAASUVORK5CYIKnfZIN5BQAAA== + + diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/effect.plist b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/effect.plist new file mode 100644 index 0000000..e4f5465 --- /dev/null +++ b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/effect.plist @@ -0,0 +1,110 @@ + + + + + angle + 40 + angleVariance + 20 + blendFuncDestination + 1 + blendFuncSource + 770 + duration + -1 + emitterType + 0.0 + finishColorAlpha + 0.37999999523162842 + finishColorBlue + 1 + finishColorGreen + 0.5 + finishColorRed + 0.34000000357627869 + finishColorVarianceAlpha + 0.0099999997764825821 + finishColorVarianceBlue + 0.30000001192092896 + finishColorVarianceGreen + 0.019999999552965164 + finishColorVarianceRed + 0.10000000149011612 + finishParticleSize + 1 + finishParticleSizeVariance + 0.0 + gravityx + 0.12999999523162842 + gravityy + 1.3200000524520874 + maxParticles + 389 + maxRadius + 100 + maxRadiusVariance + 0.0 + minRadius + 0.0 + particleLifespan + 2 + particleLifespanVariance + 2 + radialAccelVariance + 0.0 + radialAcceleration + -380 + rotatePerSecond + 0.0 + rotatePerSecondVariance + 0.0 + rotationEnd + 0.0 + rotationEndVariance + 0.0 + rotationStart + 0.0 + rotationStartVariance + 0.0 + sourcePositionVariancex + 7 + sourcePositionVariancey + 7 + sourcePositionx + 161.41999816894531 + sourcePositiony + 232.94000244140625 + speed + 83 + speedVariance + 157 + startColorAlpha + 0.69999998807907104 + startColorBlue + 1 + startColorGreen + 0.14000000059604645 + startColorRed + 0.0 + startColorVarianceAlpha + 0.51999998092651367 + startColorVarianceBlue + 0.0 + startColorVarianceGreen + 0.0 + startColorVarianceRed + 0.0 + startParticleSize + 20 + startParticleSizeVariance + 10 + tangentialAccelVariance + 0.0 + tangentialAcceleration + -144.74000549316406 + textureFileName + particleTexture.png + textureImageData + H4sIAAAAAAAAA+1bB1RURxd+byu9g1RZpINUpVtoKoiKIqJYorisdESqLRINkihGjSHEFo0EC/ZoRCRWLMRoFHuPEIMlNizY4/5z3fvic7MrmJic84vr+Tjj7My997tt5i1L796UE0UFqlD/wUsqldJvgv/CJrTr35KrjBunGfyn/nib/FvIldsMmvXJWzOYejv8X8OZzYsnB74c5N9X5pO36od/wl8Jb3m+DD8BQtgMmHXyfpH3xVvxw9/h3wLe8nxVCFQRaiyoI9hzzDoVBf546354U/4t5M3mzPDUINAk0CLQVgItXKPB8ou8L17rh3+TvxLu8rwZzgxf4KVDoEugR6BPYEBgKAcDfE8P1+rgXsYfjC8U+eFv+6Al/BXkOzvminhrof16yMuIwJjAhMCUwIzAnMACYY5zprjGGPcYoAwdlKnID/K58Eb10Bz/FsRcRY63LsaR4WyGHC0JrAisCWwIbOVgg+9Z4VoL3Mv4Qh9ls/2g8k9zoYX8FXFnYq6OOarD4m2CMbVETsDPgcCJoD2BK4EbgTvCDefa4xoH3GONMsxRJuMHHdSpzsoFhT74J/ylf815ee4QB23MUUMWbxHG0wE5AT9PAi8CXwJ/ggA5+ON7XrjWDfc6oCwRyw+GqFMbbVDmg2ZzQBn/Zrgz+a7NirkZxgpsdSRwQR7eyK0LQRBBKEF3gjCCcEQYzoXimi64xxtluKBMG9RhxsoFxgdqf8cHivi3kDuT78YYF6hbe4wZ2OxD0JkgmKAHQQRBJEEUQTRBDMFARAzOReGaCNwTjDJ8UGZ71GGFOo2lL+vhb/ngNfzZNS+f82zu0KesMT5uGLNOBCEY20jkFkswjCCOQEwgIRiFkOBcHK6JxT2RKCMEZXqjDkfUaaHAB+xaaLYXyPNXEnuB9NV6Z7i3lcpyEnqWh1RWv4EYuz4EAwiGEowkSCBIJcggyCLIIchF5OBcBq5JwD1DUUYflBmIOjxQpw3awPiA3Q/YZ6PSHFDCX547nDPqctwtUL+zVJabUK+Qr5C7/QmGYEyTCcYgzwkE+QQfE0wlKERMxbl8XJOLe5JRxhCUGYE6/FGnM9rAzgNttJU5G1/xwev4K4g9u+bhvIGeC30Has8aYwB2QP+G3tVbKqvl4QSJGM+xyAs4FhHMIphDUExQgijGuVm4ZiruGYsyElFmDOoIRZ2eaIM12mSENmpKX+0FSnNAAX9leQ/1BecO9F7oP1CDHhgLsAdydJBUlrcpUllOT8L4zkSO8wkWEZQSlBEsRZTh3CJcU4x7ClFGDsociTr6oE5/tMERbTJDG9m94LU5wPBvJvZw54LcgrPXUirrwdCHoBaDMSZgF+RqOsZtCsYSuCxEfisIVhOsJ9hAsBGxAedW45pS3FOMMqagzHTUMQh1BqMNbmiTJdqojzY3mwNy/JXFHu6dTN5DvcE5BL0Y+hHUZAzGBuwbR1CA8ZtLsISgHPltIqgi2Eawg2AnYgfOVeGa9bhnCcqYiTLHoY6RqDMCbfBGm2ykL+tAtyU5oIS/stjDHQxyDeoOziPoydCXhktl+TkW7ZwtleUx5PUa5LSVYBfBPoL9BAcIDiIO4Nw+XLMV96xBGfNRZgHqSEGd/dGGTmiTI9rYbA6w+UtfzX12z2fqnh17uIvBfQTOZKhD6M3Qn6BGp2CswF6o63UElRjjGuRaS3CM4CTBKcRJnKvFNTW4pxJlLEWZM1FHDuocgjaEoE0ucjnA9AH2WfBKDbD4K8p9pufD2WIpld3Fwc9wJ4N7CZzNUI/Qo6FPQa3OxZiB3VsIqgl+Qm4nCM4QnCe4SFCHuIhzZ3BNLe6pRhnrUOZc1DEJdYrRhnC0yRNttESbmbNAaQ0o4M/OfThL4Rkc+iqcMUzdQ9+BuxncT+CMhpyEXg39Cmp2DcYO7IfcPkpwmuACQT3BbwSXCa4gLuNcPa45jXsOoIxKlLkEdRSizmS0IRJtYvqANdpsgByU1oAS/sx9h8l9uF/A8yj0WThzoObgfgp9CO4p+VJZbkLPhr4FtbsTYwg8zmKMgeNVgt8JbhDcRNzAuau45iLuOYoydqLMctQxE3WOQRui0SZ/tNEWbWZqgLkPNcdfUd+Xz314NoO+C3d0uKfCXW0qxgXOLejd0L+ghmsxlsCnATkC39sEdwjuIu7g3E1c04B7TqOMGpS5HnUUo85ctCEWbeoi/WsNKDoH2J8TKePP1D70UrhbwD0Lns3h+RTyDZ5T4K4O91WoSehPKzBO0MOhj0EtX8CYAq9byPUeQZMc7uF7t3Dtb7j3BMrahbJXoK4i1J2KtkSibV5oqxXarqgHyPNn9z75cw8+k2NqH+4acO+C51R4VoMelC+V3Vvh7gb3FzjD92HcoJ9BTV/F2AK/+wQPCB4SPEI8xLn7uOYm7qlHGbUoswp1LEKd+WhDHNoUijYyPcBU+tdzUP6ZSBl/du+DMwU+n4L6gs8poN6g98IzGzy3wN2dyX24x8BZDufZeenL2N/GGD9Azo8JniAe49wDXHNb+jIHzqOs/SibqYE5qDsLbYlG2/zRVhup4h74Ov7yvR/u0nCWMr0Pnjngsxq4e8EzO5zDTO3D+QT32B1SWd+GM/2iVNbbb2BcmzDWDPenCMYHD3HNHdxzGWWcRJk7UEeZ9GUPyEFbYtC2AOnLHmiOHJSeAUr4M8+6sJfp/e4oG85a+MwGPreA/gNnETzDwR0F7vLQq6Fe4V4DZzucb5DPd5HbIznubB88wjV3cc8VlHEKZe5EHUtRZyHaMAptCkcb3aUvzwCGv/p7/i3m31rzv7X3v9Z6/rX2+8/7++/755/3z7+t+/OPVvv5V2v//PP959/vf//R2n//9f73n6/NgVbx+28lOdCqvv8glwPydfDOf//lNTnQar7/9AY+eCe//9ZCH7zT33+U8wG7F8j74J39/quCHJD3wTv//Wc5H7BrgX02vrPff1fiB2W58E7+/UMLfKDID+/c378o8EFzfnjn/v7pDf3A+ELeH//Xf//WQj+wfcH2h7xf5HnK8+XKyXwrvFm2vw0xjCz6Nb5Q5BNFULSHftu8WTa/TXFsufK+eJ1PlHL9NzjL2flviZbXo8wf/ylfBXZRlBZRxyX/oalA8oNmjTkvxjyKCqyguThPFtMCHHPID114H2YpFVqPtcYQx+Rd2oglsw2zPpCizVnro1gy+/+pd/snWZSQojTCyHjfC5NV8B+N/8h7vZLSR3N0KCotPTszqkewaFDsYJHwEJGkSgkoD4qKE2dl9O7fPRq2h3cLEWWRRYwHZK5+cFI2OOYS1lckekMn6oozMrOJpL5k3CFekiUm4wIyTs3LzoD5RjI2GJkCYw5wN8gkBpKxMYwTZOP2L9bIxoEwjk9LjydjsDkjPi0exnvI+NPcHAkZc3uRcWFukiSPjI+TsU1qTloSGT+CvWmSuCziPg2Yz5aIE8nYnYw1MqOjQsi4E3GiRgJrPJI1zpaMzQZSIaMzxmUmJSRmixzEjiIPPz9fUZgkL1WSne3SN06cEpcZLwoZnZYRlz6OomScX7z0wLci4mRvDz9vbxdPVw+Wo177ZgtfEFvZ6F6/FzGjjQ6+nFO0bnQpRfk2Ed/Mfjk3ch5FbZ5KUcZnX87ZfENR2iRuFYdZfIwgXxKzszP83dzy8vJckyRiV3Don69mF7TgxdLnCuL+dI8oVDIqLic1WwR+E49OHZ2TKcrKiBNLRC6vJPE/2ajYjvZRklGSTEk62RFDsiwpPYGEOz0+KTtpdLooKV1ZEP/mNrmXLK/JS7/sOWUw3JXSOWxAcW8epHj66hR36CLyDv1n3HqpxlBQeQMtr8jy/sVLQQflzIIfWUkJL/aFREWLxDmZubL3oCwpPqVGaVMGlAnVlrKmHCgXypPyoQJIo+pG9aQiqWgqlvqAElOJVBqVSeVRE6nJVCFVRM2mvqTmU4upMqqcWkttoDZTW6ld1D7qAFVLnaDOUXVUA3WdaqQeUE9pmhbSmrQ+bUJb0ra0M+1J+9Jd6G50LzqKjqVH0Al0Op1DT6Q/povoOfR8egldTn9Hb6F30fvpI/QZup6+Rt+ln3C4HA2OAceCY8dx4/hygjgRnGjOME4CZwxnPKeAM5Mzl1PKWc2p4OziHOCc4NRxrnOaSANX5xpxrbguXF9uCDeSO5g7ipvJncSdzi3hlnLXcqu4Ndxj3DruDe5jnoCnzxPxXHgBvDDeAJ6YN4Y3iTeDN5+3glfB28M7xqvnNfKe8zX55nxnvj8/nD+In8DP4xfyS/jL+Jv4e/kn+A38BwKBwEhgL/ARhAliBcmCCYIZgq8F6wQ7BUcElwRNQqHQROgs7CyMFMYJs4WFwnnC1cIdwqPCBuEjFXUVSxVPle4qg1XSVaaolKisVNmuclTlispTVR1VW1V/1UjVeNVxqrNUy1SrVA+rNqg+VdNVs1frrBatlqw2WW2u2lq1vWrn1e6pq6u3U/dT76eepP6R+lz19eo/qterP9bQ03DSCNEYqpGjMVNjucZOjTMa9zQ1Ne00AzUHa2ZrztQs19yt+YvmIy19LVetcK14rXytBVoVWke1bmmrattqB2l/oD1eu0R7o/Zh7Rs6qjp2OiE6cTqTdBbobNE5pdOkq6/roRupm6Y7Q3el7n7dq3pCPTu9bnrxegV63+rt1rukz9W31g/RF+t/rF+mv1e/wUBgYG8QbpBsUGSwxuCQQaOhnmFHwxjDsYYLDLcZ1hlxjeyMwo1SjWYZbTA6afSkjUWboDaSNtParG1ztM1DYzPjQGOJ8XTjdcYnjJ+YiEy6maSYfG6y2eSCKc/UybSfaZ7pItO9pjfMDMwCzMRm0802mJ0155g7mUeZTzD/1vygeZNFW4seFhkW8yx2W9xoa9Q2sG1y2+K229tes9S37GKZZFlsucPyd5GhKEiUKpor2iNqtDK3CrPKsVpidcjqaTv7dgPaTWm3rt0FazVrX+tR1sXW1daNNpY2vW0m2qyyOWurautrm2j7lW2N7UM7e7uBdp/Ybba7am9sH24/3n6V/XkHTYeuDmMcSh2OOwocfR1THL92rHXiOHk5JTotcDrszHH2dk5y/tr5SHt+e7/26e1L259y0XAJcsl1WeVS72rk2st1iutm11tuNm6D3T53q3F77u7lnupe5n7OQ8+jp8cUjyqPu55OnmLPBZ7HO2h26N4hv0NlhzsdnTtKOi7qeNpL36u31yde1V5/ePt4Z3qv9b7mY+MzwmehzylfA9++vjN8f/Tj+wX75ftt9Xvs7+2f7b/B/3aAS0BKwMqAq53sO0k6lXW61Lld57jOSzrXdRF1GdHlmy51Xa26xnUt7fproHVgfOCywCtBjkHJQauDbgW7B2cGbwp+GOIf8mHIzlBuaI/Q6aGHuul1G9BtfrdfurfrntB9VffGHl49JvTYGcYPiwj7POxUuEW4OLw8vLGnT88Pe+6J0IjoHzE/4tdeTr0ye1X15vTu2fuL3uf72PZJ77M5kooMj/wi8kJf+75j+v7QT9Cvb78F/S5HeURNjKrpr99/eP+V/R9EB0fPij43wGFAzoDqGO2YoTHlMQ8Hhg6cM7BukNugDwcdiDWNTYqtHCwcHDN42eCmId2GfDmkYajX0MKhJ4fZDxs7bP8Hph+kfrBtuPbwuOEbR/BHDByxcsSzuMi40rimkeEjF45sFIeIvxJfjw+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= + + diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/effect_1.png b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/effect_1.png new file mode 100644 index 0000000..516dd68 Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/effect_1.png differ diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/effect_2.png b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/effect_2.png new file mode 100644 index 0000000..a3ad5ad Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/effect_2.png differ diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/effect_3.png b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/effect_3.png new file mode 100644 index 0000000..123c620 Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/effect_3.png differ diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_arm_left.png b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_arm_left.png new file mode 100644 index 0000000..7e12218 Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_arm_left.png differ diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_arm_right.png b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_arm_right.png new file mode 100644 index 0000000..fff16a0 Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_arm_right.png differ diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_arms.png b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_arms.png new file mode 100644 index 0000000..b4e4732 Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_arms.png differ diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_body.png b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_body.png new file mode 100644 index 0000000..ea769a9 Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_body.png differ diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_foot_left.png b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_foot_left.png new file mode 100644 index 0000000..fdfa058 Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_foot_left.png differ diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_foot_right.png b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_foot_right.png new file mode 100644 index 0000000..56d127a Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_foot_right.png differ diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_hand.png b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_hand.png new file mode 100644 index 0000000..f7b13b3 Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_hand.png differ diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_hand_left.png b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_hand_left.png new file mode 100644 index 0000000..c9086b2 Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_hand_left.png differ diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_hand_right.png b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_hand_right.png new file mode 100644 index 0000000..b4bc5b7 Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_hand_right.png differ diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_head.png b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_head.png new file mode 100644 index 0000000..cc436d6 Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_head.png differ diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_leg_left.png b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_leg_left.png new file mode 100644 index 0000000..20b41bd Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_leg_left.png differ diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_leg_right.png b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_leg_right.png new file mode 100644 index 0000000..f2e64ec Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/girl_leg_right.png differ diff --git a/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/stock_draw_circle.png b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/stock_draw_circle.png new file mode 100644 index 0000000..b18cb0c Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/HeroAnimation/HeroAnimation/Resources/stock_draw_circle.png differ diff --git a/SampleParticle/SampleParticle_Editor/SampleParticle.png b/SampleParticle/SampleParticle_Editor/SampleParticle.png new file mode 100644 index 0000000..ec3b0c3 Binary files /dev/null and b/SampleParticle/SampleParticle_Editor/SampleParticle.png differ diff --git a/SampleParticle/cocos2d/readme b/SampleParticle/cocos2d/readme new file mode 100644 index 0000000..00bfca5 --- /dev/null +++ b/SampleParticle/cocos2d/readme @@ -0,0 +1 @@ +put cocos2d here what in a project created by create_project.py \ No newline at end of file diff --git a/SampleParticle/proj.android/.classpath b/SampleParticle/proj.android/.classpath new file mode 100644 index 0000000..5176974 --- /dev/null +++ b/SampleParticle/proj.android/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/SampleParticle/proj.android/.project b/SampleParticle/proj.android/.project new file mode 100644 index 0000000..44d5c65 --- /dev/null +++ b/SampleParticle/proj.android/.project @@ -0,0 +1,65 @@ + + + SampleParticle + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + Classes + 2 + COCOS2DX/projects/SampleParticle/Classes + + + cocos2dx + 2 + COCOS2DX/cocos2dx + + + extensions + 2 + COCOS2DX/extensions + + + scripting + 2 + COCOS2DX/scripting + + + diff --git a/SampleParticle/proj.android/AndroidManifest.xml b/SampleParticle/proj.android/AndroidManifest.xml new file mode 100644 index 0000000..dd353d4 --- /dev/null +++ b/SampleParticle/proj.android/AndroidManifest.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleParticle/proj.android/README.md b/SampleParticle/proj.android/README.md new file mode 100644 index 0000000..aefa86b --- /dev/null +++ b/SampleParticle/proj.android/README.md @@ -0,0 +1,87 @@ +## Prerequisites: + +* Android NDK +* Android SDK **OR** Eclipse ADT Bundle +* Android AVD target installed + +## Building project + +There are two ways of building Android projects. + +1. Eclipse +2. Command Line + +### Import Project in Eclipse + +#### Features: + +1. Complete workflow from Eclipse, including: + * Build C++. + * Clean C++. + * Build and Run whole project. + * Logcat view. + * Debug Java code. + * Javascript editor. + * Project management. +2. True C++ editing, including: + * Code completion. + * Jump to definition. + * Refactoring tools etc. + * Quick open C++ files. + + +#### Setup Eclipse Environment (only once) + + +**NOTE:** This step needs to be done only once to setup the Eclipse environment for cocos2d-x projects. Skip this section if you've done this before. + +1. Download Eclipse ADT bundle from [Google ADT homepage](http://developer.android.com/sdk/index.html) + + **OR** + + Install Eclipse with Java. Add ADT and CDT plugins. + +2. Only for Windows + 1. Install [Cygwin](http://www.cygwin.com/) with make (select make package from the list during the install). + 2. Add `Cygwin\bin` directory to system PATH variable. + 3. Add this line `none /cygdrive cygdrive binary,noacl,posix=0,user 0 0` to `Cygwin\etc\fstab` file. + +3. Set up Variables: + 1. Path Variable `COCOS2DX`: + * Eclipse->Preferences->General->Workspace->**Linked Resources** + * Click **New** button to add a Path Variable `COCOS2DX` pointing to the root cocos2d-x directory. + ![Example](https://lh5.googleusercontent.com/-oPpk9kg3e5w/UUOYlq8n7aI/AAAAAAAAsdQ/zLA4eghBH9U/s400/cocos2d-x-eclipse-vars.png) + + 2. C/C++ Environment Variable `NDK_ROOT`: + * Eclipse->Preferences->C/C++->Build->**Environment**. + * Click **Add** button and add a new variable `NDK_ROOT` pointing to the root NDK directory. + ![Example](https://lh3.googleusercontent.com/-AVcY8IAT0_g/UUOYltoRobI/AAAAAAAAsdM/22D2J9u3sig/s400/cocos2d-x-eclipse-ndk.png) + * Only for Windows: Add new variables **CYGWIN** with value `nodosfilewarning` and **SHELLOPTS** with value `igncr` + +4. Import libcocos2dx library project: + 1. File->New->Project->Android Project From Existing Code. + 2. Click **Browse** button and open `cocos2d-x/cocos2dx/platform/android/java` directory. + 3. Click **Finish** to add project. + +#### Adding and running from Eclipse + +![Example](https://lh3.googleusercontent.com/-SLBOu6e3QbE/UUOcOXYaGqI/AAAAAAAAsdo/tYBY2SylOSM/s288/cocos2d-x-eclipse-project-from-code.png) ![Import](https://lh5.googleusercontent.com/-XzC9Pn65USc/UUOcOTAwizI/AAAAAAAAsdk/4b6YM-oim9Y/s400/cocos2d-x-eclipse-import-project.png) + +1. File->New->Project->Android Project From Existing Code +2. **Browse** to your project directory. eg: `cocos2d-x/cocos2dx/samples/Cpp/TestCpp/proj.android/` +3. Add the project +4. Click **Run** or **Debug** to compile C++ followed by Java and to run on connected device or emulator. + + +### Running project from Command Line + + $ cd cocos2d-x/samples/Cpp/TestCpp/proj.android/ + $ export NDK_ROOT=/path/to/ndk + $ ./build_native.sh + $ ant debug install + +If the last command results in sdk.dir missing error then do: + + $ android list target + $ android update project -p . -t (id from step 6) + $ android update project -p cocos2d/cocos/2d/platform/android/java/ -t (id from step 6) diff --git a/SampleParticle/proj.android/ant.properties b/SampleParticle/proj.android/ant.properties new file mode 100644 index 0000000..a51e6a0 --- /dev/null +++ b/SampleParticle/proj.android/ant.properties @@ -0,0 +1,17 @@ +# This file is used to override default values used by the Ant build system. +# +# This file must be checked into Version Control Systems, as it is +# integral to the build system of your project. + +# This file is only used by the Ant script. + +# You can use this to override default values such as +# 'source.dir' for the location of your java source folder and +# 'out.dir' for the location of your output folder. + +# You can also use it define how the release builds are signed by declaring +# the following properties: +# 'key.store' for the location of your keystore and +# 'key.alias' for the name of the key to use. +# The password will be asked during the build when you use the 'release' target. + diff --git a/SampleParticle/proj.android/build.xml b/SampleParticle/proj.android/build.xml new file mode 100644 index 0000000..0997560 --- /dev/null +++ b/SampleParticle/proj.android/build.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleParticle/proj.android/build_native.py b/SampleParticle/proj.android/build_native.py new file mode 100644 index 0000000..5eec448 --- /dev/null +++ b/SampleParticle/proj.android/build_native.py @@ -0,0 +1,166 @@ +#!/usr/bin/python +# build_native.py +# Build native codes + + +import sys +import os, os.path +import shutil +from optparse import OptionParser + +def get_num_of_cpu(): + ''' The build process can be accelerated by running multiple concurrent job processes using the -j-option. + ''' + try: + platform = sys.platform + if platform == 'win32': + if 'NUMBER_OF_PROCESSORS' in os.environ: + return int(os.environ['NUMBER_OF_PROCESSORS']) + else: + return 1 + else: + from numpy.distutils import cpuinfo + return cpuinfo.cpu._getNCPUs() + except Exception: + print "Can't know cpuinfo, use default 1 cpu" + return 1 + +def check_environment_variables_sdk(): + ''' Checking the environment ANDROID_SDK_ROOT, which will be used for building + ''' + + try: + SDK_ROOT = os.environ['ANDROID_SDK_ROOT'] + except Exception: + print "ANDROID_SDK_ROOT not defined. Please define ANDROID_SDK_ROOT in your environment" + sys.exit(1) + + return SDK_ROOT + +def check_environment_variables(): + ''' Checking the environment NDK_ROOT, which will be used for building + ''' + + try: + NDK_ROOT = os.environ['NDK_ROOT'] + except Exception: + print "NDK_ROOT not defined. Please define NDK_ROOT in your environment" + sys.exit(1) + + return NDK_ROOT + +def select_toolchain_version(): + '''Because ndk-r8e uses gcc4.6 as default. gcc4.6 doesn't support c++11. So we should select gcc4.7 when + using ndk-r8e. But gcc4.7 is removed in ndk-r9, so we should determine whether gcc4.7 exist. + Conclution: + ndk-r8e -> use gcc4.7 + ndk-r9 -> use gcc4.8 + ''' + + ndk_root = check_environment_variables() + if os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.8")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.8' + print "The Selected NDK toolchain version was 4.8 !" + elif os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.7")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.7' + print "The Selected NDK toolchain version was 4.7 !" + else: + print "Couldn't find the gcc toolchain." + exit(1) + +def do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode): + + ndk_path = os.path.join(ndk_root, "ndk-build") + + # windows should use ";" to seperate module paths + platform = sys.platform + if platform == 'win32': + ndk_module_path = 'NDK_MODULE_PATH=%s;%s/external;%s/cocos' % (cocos_root, cocos_root, cocos_root) + else: + ndk_module_path = 'NDK_MODULE_PATH=%s:%s/external:%s/cocos' % (cocos_root, cocos_root, cocos_root) + + num_of_cpu = get_num_of_cpu() + + if ndk_build_param == None: + command = '%s -j%d -C %s %s' % (ndk_path, num_of_cpu, app_android_root, ndk_module_path) + else: + command = '%s -j%d -C %s %s %s' % (ndk_path, num_of_cpu, app_android_root, ''.join(str(e) for e in ndk_build_param), ndk_module_path) + if os.system(command) != 0: + raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!") + elif android_platform is not None: + sdk_tool_path = os.path.join(sdk_root, "tools/android") + cocoslib_path = os.path.join(cocos_root, "cocos/2d/platform/android/java") + command = '%s update lib-project -t %s -p %s' % (sdk_tool_path,android_platform,cocoslib_path) + if os.system(command) != 0: + raise Exception("update cocos lib-project [ " + cocoslib_path + " ] fails!") + command = '%s update project -t %s -p %s -s' % (sdk_tool_path,android_platform,app_android_root) + if os.system(command) != 0: + raise Exception("update project [ " + app_android_root + " ] fails!") + buildfile_path = os.path.join(app_android_root, "build.xml") + command = 'ant clean %s -f %s -Dsdk.dir=%s' % (build_mode,buildfile_path,sdk_root) + os.system(command) + +def copy_files(src, dst): + + for item in os.listdir(src): + path = os.path.join(src, item) + # Android can not package the file that ends with ".gz" + if not item.startswith('.') and not item.endswith('.gz') and os.path.isfile(path): + shutil.copy(path, dst) + if os.path.isdir(path): + new_dst = os.path.join(dst, item) + os.mkdir(new_dst) + copy_files(path, new_dst) + +def copy_resources(app_android_root): + + # remove app_android_root/assets if it exists + assets_dir = os.path.join(app_android_root, "assets") + if os.path.isdir(assets_dir): + shutil.rmtree(assets_dir) + + # copy resources + os.mkdir(assets_dir) + resources_dir = os.path.join(app_android_root, "../Resources") + if os.path.isdir(resources_dir): + copy_files(resources_dir, assets_dir) + +def build(ndk_build_param,android_platform,build_mode): + + ndk_root = check_environment_variables() + sdk_root = None + select_toolchain_version() + + current_dir = os.path.dirname(os.path.realpath(__file__)) + cocos_root = os.path.join(current_dir, "../cocos2d") + + app_android_root = current_dir + copy_resources(app_android_root) + + if android_platform is not None: + sdk_root = check_environment_variables_sdk() + if android_platform.isdigit(): + android_platform = 'android-'+android_platform + else: + print 'please use vaild android platform' + exit(1) + + if build_mode is None: + build_mode = 'debug' + elif build_mode != 'release': + build_mode = 'debug' + + do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode) + +# -------------- main -------------- +if __name__ == '__main__': + + parser = OptionParser() + parser.add_option("-n", "--ndk", dest="ndk_build_param", help='parameter for ndk-build') + parser.add_option("-p", "--platform", dest="android_platform", + help='parameter for android-update.Without the parameter,the script just build dynamic library for project. Valid android-platform are:[10|11|12|13|14|15|16|17|18|19]') + parser.add_option("-b", "--build", dest="build_mode", + help='the build mode for java project,debug[default] or release.Get more information,please refer to http://developer.android.com/tools/building/building-cmdline.html') + (opts, args) = parser.parse_args() + + build(opts.ndk_build_param,opts.android_platform,opts.build_mode) diff --git a/SampleParticle/proj.android/jni/Android.mk b/SampleParticle/proj.android/jni/Android.mk new file mode 100644 index 0000000..65bb0fa --- /dev/null +++ b/SampleParticle/proj.android/jni/Android.mk @@ -0,0 +1,33 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := cocos2dcpp_shared + +LOCAL_MODULE_FILENAME := libcocos2dcpp + +LOCAL_SRC_FILES := hellocpp/main.cpp \ + ../../Classes/AppDelegate.cpp \ + ../../Classes/HelloWorldScene.cpp + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \ + $(LOCAL_PATH)/../../cocos2d \ + $(LOCAL_PATH)/../../cocos2d/extensions \ + $(LOCAL_PATH)/../../cocos2d/cocos \ + $(LOCAL_PATH)/../../cocos2d/cocos/gui \ + $(LOCAL_PATH)/../../cocos2d/cocos/editor-support/cocostudio \ + +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static +LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocos_gui_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static + + +include $(BUILD_SHARED_LIBRARY) + +$(call import-module,2d) +$(call import-module,audio/android) +$(call import-module,Box2D) +$(call import-module,gui) +$(call import-module,editor-support/cocostudio) \ No newline at end of file diff --git a/SampleParticle/proj.android/jni/Application.mk b/SampleParticle/proj.android/jni/Application.mk new file mode 100644 index 0000000..74c3f99 --- /dev/null +++ b/SampleParticle/proj.android/jni/Application.mk @@ -0,0 +1,2 @@ +APP_STL := gnustl_static +APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DCOCOS2D_DEBUG=1 -std=c++11 -fsigned-char diff --git a/SampleParticle/proj.android/jni/hellocpp/main.cpp b/SampleParticle/proj.android/jni/hellocpp/main.cpp new file mode 100644 index 0000000..006a744 --- /dev/null +++ b/SampleParticle/proj.android/jni/hellocpp/main.cpp @@ -0,0 +1,16 @@ +#include "AppDelegate.h" +#include "cocos2d.h" +#include "CCEventType.h" +#include "platform/android/jni/JniHelper.h" +#include +#include + +#define LOG_TAG "main" +#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__) + +using namespace cocos2d; + +void cocos_android_app_init (struct android_app* app) { + LOGD("cocos_android_app_init"); + AppDelegate *pAppDelegate = new AppDelegate(); +} diff --git a/SampleParticle/proj.android/proguard-project.txt b/SampleParticle/proj.android/proguard-project.txt new file mode 100644 index 0000000..b60ae7e --- /dev/null +++ b/SampleParticle/proj.android/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/SampleParticle/proj.android/project.properties b/SampleParticle/proj.android/project.properties new file mode 100644 index 0000000..6b485b4 --- /dev/null +++ b/SampleParticle/proj.android/project.properties @@ -0,0 +1,13 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system use, +# "ant.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-19 + +android.library.reference.1=../../DemoCowboyGame/cocos2d/cocos/2d/platform/android/java diff --git a/SampleParticle/proj.android/res/drawable-hdpi/icon.png b/SampleParticle/proj.android/res/drawable-hdpi/icon.png new file mode 100644 index 0000000..8aa4767 Binary files /dev/null and b/SampleParticle/proj.android/res/drawable-hdpi/icon.png differ diff --git a/SampleParticle/proj.android/res/drawable-ldpi/icon.png b/SampleParticle/proj.android/res/drawable-ldpi/icon.png new file mode 100644 index 0000000..17ce11a Binary files /dev/null and b/SampleParticle/proj.android/res/drawable-ldpi/icon.png differ diff --git a/SampleParticle/proj.android/res/drawable-mdpi/icon.png b/SampleParticle/proj.android/res/drawable-mdpi/icon.png new file mode 100644 index 0000000..3780aac Binary files /dev/null and b/SampleParticle/proj.android/res/drawable-mdpi/icon.png differ diff --git a/SampleParticle/proj.android/res/values/strings.xml b/SampleParticle/proj.android/res/values/strings.xml new file mode 100644 index 0000000..f3683db --- /dev/null +++ b/SampleParticle/proj.android/res/values/strings.xml @@ -0,0 +1,4 @@ + + + SampleParticle + diff --git a/SampleParticle/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java b/SampleParticle/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java new file mode 100644 index 0000000..d2dfa68 --- /dev/null +++ b/SampleParticle/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java @@ -0,0 +1,32 @@ +package org.cocos2dx.cpp; + +import android.app.NativeActivity; +import android.os.Bundle; + +public class Cocos2dxActivity extends NativeActivity{ + + @Override + protected void onCreate(Bundle savedInstanceState) { + // TODO Auto-generated method stub + super.onCreate(savedInstanceState); + + //For supports translucency + + //1.change "attribs" in cocos\2d\platform\android\nativeactivity.cpp + /*const EGLint attribs[] = { + EGL_SURFACE_TYPE, EGL_WINDOW_BIT, + EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, + //EGL_BLUE_SIZE, 5, -->delete + //EGL_GREEN_SIZE, 6, -->delete + //EGL_RED_SIZE, 5, -->delete + EGL_BUFFER_SIZE, 32, //-->new field + EGL_DEPTH_SIZE, 16, + EGL_STENCIL_SIZE, 8, + EGL_NONE + };*/ + + //2.Set the format of window + // getWindow().setFormat(PixelFormat.TRANSLUCENT); + + } +} diff --git a/SampleParticle/proj.ios_mac/SampleParticle.xcodeproj/project.pbxproj b/SampleParticle/proj.ios_mac/SampleParticle.xcodeproj/project.pbxproj new file mode 100644 index 0000000..ca109cb --- /dev/null +++ b/SampleParticle/proj.ios_mac/SampleParticle.xcodeproj/project.pbxproj @@ -0,0 +1,1024 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 15F032DC18C8243E007219BB /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 15F032DA18C8243E007219BB /* fonts */; }; + 15F032DD18C8243E007219BB /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 15F032DA18C8243E007219BB /* fonts */; }; + 15F032DE18C8243E007219BB /* hero in Resources */ = {isa = PBXBuildFile; fileRef = 15F032DB18C8243E007219BB /* hero */; }; + 15F032DF18C8243E007219BB /* hero in Resources */ = {isa = PBXBuildFile; fileRef = 15F032DB18C8243E007219BB /* hero */; }; + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */; }; + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */; }; + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */; }; + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */; }; + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */; }; + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */; }; + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */; }; + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */; }; + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */; }; + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */; }; + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 1AFAF8BE16D35E4900DB1158 /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 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 */; }; + 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 */; }; + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11117EB99EE00D1A890 /* libcurl.dylib */; }; + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11A17EB9C5A00D1A890 /* IOKit.framework */; }; + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.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 */; }; + 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 */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1551A33F158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2FD617814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2CB81780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2D9B1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2ED617814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F31FD1781479B006731B9; + remoteInfo = "jsbindings Mac"; + }; + 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A6FB53017854BC300CDF010; + remoteInfo = "luabindings Mac"; + }; + 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4D641783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4EFC1783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F3B178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F9E1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4FB4178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; + 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A5030178387750073F6A7; + remoteInfo = "jsbindings iOS"; + }; + 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A119791178526AA00D62A44; + remoteInfo = "luabindings iOS"; + }; + 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 1551A33E158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2FC117814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2B781780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2E9817814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2D5D1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4C241783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4E111783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4EFD178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F3C1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F9F178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 15F032DA18C8243E007219BB /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; path = fonts; sourceTree = ""; }; + 15F032DB18C8243E007219BB /* hero */ = {isa = PBXFileReference; lastKnownFileType = folder; path = hero; sourceTree = ""; }; + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../cocos2d/build/cocos2d_libs.xcodeproj; sourceTree = ""; }; + 1ACB3243164770DE00914215 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = ""; }; + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AppDelegate.cpp; path = ../Classes/AppDelegate.cpp; sourceTree = ""; }; + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ../Classes/AppDelegate.h; sourceTree = ""; }; + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HelloWorldScene.cpp; path = ../Classes/HelloWorldScene.cpp; sourceTree = ""; }; + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HelloWorldScene.h; path = ../Classes/HelloWorldScene.h; sourceTree = ""; }; + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseNormal.png; sourceTree = ""; }; + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseSelected.png; sourceTree = ""; }; + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = HelloWorld.png; sourceTree = ""; }; + 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 1D6058910D05DD3D006BFB54 /* SampleParticle iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleParticle iOS.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; }; + 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 /* SampleParticle Mac.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleParticle Mac.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 = ""; }; + 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; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */, + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */, + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */, + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */, + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a 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 */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75C17EB910900C73F5D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */, + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */, + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */, + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */, + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */, + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */, + 5087E76717EB910900C73F5D /* libz.dylib in Frameworks */, + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */, + 5087E78B17EB975400C73F5D /* OpenGL.framework in Frameworks */, + 5087E78917EB974C00C73F5D /* AppKit.framework in Frameworks */, + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */, + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */, + 5087E76817EB910900C73F5D /* QuartzCore.framework in Frameworks */, + 5087E76917EB910900C73F5D /* OpenAL.framework in Frameworks */, + 5087E76A17EB910900C73F5D /* AVFoundation.framework in Frameworks */, + 5087E76B17EB910900C73F5D /* AudioToolbox.framework 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 = ""; + }; + 15AA9C4015B7EC450033D6C2 /* Classes */ = { + isa = PBXGroup; + children = ( + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */, + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */, + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */, + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */, + ); + name = Classes; + path = ../classes; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 1D6058910D05DD3D006BFB54 /* SampleParticle iOS.app */, + 5087E76F17EB910900C73F5D /* SampleParticle Mac.app */, + ); + name = Products; + sourceTree = ""; + }; + 1AC6FAE6180E9839004C840B /* Products */ = { + isa = PBXGroup; + children = ( + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */, + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */, + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */, + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */, + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */, + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */, + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */, + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */, + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */, + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */, + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */, + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */, + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */, + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { + isa = PBXGroup; + children = ( + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */, + 15AA9C4015B7EC450033D6C2 /* Classes */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 080E96DDFE201D6D7F000001 /* ios */, + 503AE10617EB990700D1A890 /* mac */, + 19C28FACFE9D520D11CA2CBB /* Products */, + 78C7DDAA14EBA5050085D0C2 /* Resources */, + ); + name = CustomTemplate; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 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 = ""; + }; + 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 = ( + 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; + }; + 78C7DDAA14EBA5050085D0C2 /* Resources */ = { + isa = PBXGroup; + children = ( + 15F032DA18C8243E007219BB /* fonts */, + 15F032DB18C8243E007219BB /* hero */, + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */, + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */, + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */, + ); + name = Resources; + path = ../Resources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1D6058900D05DD3D006BFB54 /* SampleParticle iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "SampleParticle iOS" */; + buildPhases = ( + 1D60588D0D05DD3D006BFB54 /* Resources */, + 1D60588E0D05DD3D006BFB54 /* Sources */, + 1D60588F0D05DD3D006BFB54 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */, + ); + name = "SampleParticle iOS"; + productName = iphone; + productReference = 1D6058910D05DD3D006BFB54 /* SampleParticle iOS.app */; + productType = "com.apple.product-type.application"; + }; + 5087E73D17EB910900C73F5D /* SampleParticle Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleParticle Mac" */; + buildPhases = ( + 5087E74817EB910900C73F5D /* Resources */, + 5087E75617EB910900C73F5D /* Sources */, + 5087E75C17EB910900C73F5D /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */, + 1AC6FB16180E9959004C840B /* PBXTargetDependency */, + 1AC6FB18180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */, + ); + name = "SampleParticle Mac"; + productName = iphone; + productReference = 5087E76F17EB910900C73F5D /* SampleParticle Mac.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0500; + TargetAttributes = { + 1D6058900D05DD3D006BFB54 = { + DevelopmentTeam = MDDB52YB8L; + }; + }; + }; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleParticle" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = 1AC6FAE6180E9839004C840B /* Products */; + ProjectRef = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + 1D6058900D05DD3D006BFB54 /* SampleParticle iOS */, + 5087E73D17EB910900C73F5D /* SampleParticle Mac */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx Mac.a"; + remoteRef = 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions Mac.a"; + remoteRef = 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk Mac.a"; + remoteRef = 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d Mac.a"; + remoteRef = 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion Mac.a"; + remoteRef = 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings Mac.a"; + remoteRef = 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings Mac.a"; + remoteRef = 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx iOS.a"; + remoteRef = 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions iOS.a"; + remoteRef = 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk iOS.a"; + remoteRef = 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d iOS.a"; + remoteRef = 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion iOS.a"; + remoteRef = 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings iOS.a"; + remoteRef = 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings iOS.a"; + remoteRef = 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXResourcesBuildPhase section */ + 1D60588D0D05DD3D006BFB54 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15F032DE18C8243E007219BB /* hero in Resources */, + 5087E78117EB970100C73F5D /* Icon-120.png in Resources */, + 5087E78617EB970100C73F5D /* Icon-76.png in Resources */, + 5087E77F17EB970100C73F5D /* Default@2x.png in Resources */, + 50EF629917ECD46A001EB2F8 /* Icon-100.png in Resources */, + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */, + 5087E78317EB970100C73F5D /* Icon-152.png in Resources */, + 5087E77D17EB970100C73F5D /* Default-568h@2x.png in Resources */, + 5087E78517EB970100C73F5D /* Icon-72.png in Resources */, + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */, + 50EF62A317ECD613001EB2F8 /* Icon-50.png in Resources */, + 5087E78017EB970100C73F5D /* Icon-114.png in Resources */, + 15F032DC18C8243E007219BB /* fonts in Resources */, + 1AFAF8BE16D35E4900DB1158 /* 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 */, + 50EF629717ECD46A001EB2F8 /* Icon-58.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E74817EB910900C73F5D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 15F032DF18C8243E007219BB /* hero in Resources */, + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */, + 15F032DD18C8243E007219BB /* fonts in Resources */, + 503AE0F817EB97AB00D1A890 /* Icon.icns in Resources */, + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */, + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1D60588E0D05DD3D006BFB54 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 503AE10017EB989F00D1A890 /* AppController.mm in Sources */, + 503AE10217EB989F00D1A890 /* RootViewController.mm in Sources */, + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */, + 503AE10117EB989F00D1A890 /* main.m in Sources */, + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75617EB910900C73F5D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */, + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */, + 503AE10517EB98FF00D1A890 /* main.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1AC6FB16180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx Mac"; + targetProxy = 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB18180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions Mac"; + targetProxy = 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk Mac"; + targetProxy = 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion Mac"; + targetProxy = 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d Mac"; + targetProxy = 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx iOS"; + targetProxy = 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions iOS"; + targetProxy = 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk iOS"; + targetProxy = 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d iOS"; + targetProxy = 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion iOS"; + targetProxy = 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 "SampleParticle iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1D6058940D05DD3E006BFB54 /* Debug */, + 1D6058950D05DD3E006BFB54 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleParticle Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5087E76D17EB910900C73F5D /* Debug */, + 5087E76E17EB910900C73F5D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleParticle" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/SampleParticle/proj.ios_mac/ios/AppController.h b/SampleParticle/proj.ios_mac/ios/AppController.h new file mode 100644 index 0000000..d0940a5 --- /dev/null +++ b/SampleParticle/proj.ios_mac/ios/AppController.h @@ -0,0 +1,11 @@ +#import + +@class RootViewController; + +@interface AppController : NSObject { + UIWindow *window; + RootViewController *viewController; +} + +@end + diff --git a/SampleParticle/proj.ios_mac/ios/AppController.mm b/SampleParticle/proj.ios_mac/ios/AppController.mm new file mode 100644 index 0000000..3ceacda --- /dev/null +++ b/SampleParticle/proj.ios_mac/ios/AppController.mm @@ -0,0 +1,142 @@ +/**************************************************************************** + 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 "CCEAGLView.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 { + + // 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: kEAGLColorFormatRGB565 + depthFormat: GL_DEPTH24_STENCIL8_OES + preserveBackbuffer: NO + sharegroup: nil + multiSampling: NO + numberOfSamples: 0]; + + // 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::GLView::createWithEAGLView(eaglView); + cocos2d::Director::getInstance()->setOpenGLView(glview); + + cocos2d::Application::getInstance()->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/SampleParticle/proj.ios_mac/ios/Default-568h@2x.png b/SampleParticle/proj.ios_mac/ios/Default-568h@2x.png new file mode 100644 index 0000000..66c6d1c Binary files /dev/null and b/SampleParticle/proj.ios_mac/ios/Default-568h@2x.png differ diff --git a/SampleParticle/proj.ios_mac/ios/Default.png b/SampleParticle/proj.ios_mac/ios/Default.png new file mode 100644 index 0000000..dcb8072 Binary files /dev/null and b/SampleParticle/proj.ios_mac/ios/Default.png differ diff --git a/SampleParticle/proj.ios_mac/ios/Default@2x.png b/SampleParticle/proj.ios_mac/ios/Default@2x.png new file mode 100644 index 0000000..8468988 Binary files /dev/null and b/SampleParticle/proj.ios_mac/ios/Default@2x.png differ diff --git a/SampleParticle/proj.ios_mac/ios/Icon-100.png b/SampleParticle/proj.ios_mac/ios/Icon-100.png new file mode 100644 index 0000000..ef38d45 Binary files /dev/null and b/SampleParticle/proj.ios_mac/ios/Icon-100.png differ diff --git a/SampleParticle/proj.ios_mac/ios/Icon-114.png b/SampleParticle/proj.ios_mac/ios/Icon-114.png new file mode 100644 index 0000000..c380786 Binary files /dev/null and b/SampleParticle/proj.ios_mac/ios/Icon-114.png differ diff --git a/SampleParticle/proj.ios_mac/ios/Icon-120.png b/SampleParticle/proj.ios_mac/ios/Icon-120.png new file mode 100644 index 0000000..a5b49cc Binary files /dev/null and b/SampleParticle/proj.ios_mac/ios/Icon-120.png differ diff --git a/SampleParticle/proj.ios_mac/ios/Icon-144.png b/SampleParticle/proj.ios_mac/ios/Icon-144.png new file mode 100644 index 0000000..1526615 Binary files /dev/null and b/SampleParticle/proj.ios_mac/ios/Icon-144.png differ diff --git a/SampleParticle/proj.ios_mac/ios/Icon-152.png b/SampleParticle/proj.ios_mac/ios/Icon-152.png new file mode 100644 index 0000000..8aa8250 Binary files /dev/null and b/SampleParticle/proj.ios_mac/ios/Icon-152.png differ diff --git a/SampleParticle/proj.ios_mac/ios/Icon-29.png b/SampleParticle/proj.ios_mac/ios/Icon-29.png new file mode 100644 index 0000000..0500184 Binary files /dev/null and b/SampleParticle/proj.ios_mac/ios/Icon-29.png differ diff --git a/SampleParticle/proj.ios_mac/ios/Icon-40.png b/SampleParticle/proj.ios_mac/ios/Icon-40.png new file mode 100644 index 0000000..775685d Binary files /dev/null and b/SampleParticle/proj.ios_mac/ios/Icon-40.png differ diff --git a/SampleParticle/proj.ios_mac/ios/Icon-50.png b/SampleParticle/proj.ios_mac/ios/Icon-50.png new file mode 100644 index 0000000..ac381bc Binary files /dev/null and b/SampleParticle/proj.ios_mac/ios/Icon-50.png differ diff --git a/SampleParticle/proj.ios_mac/ios/Icon-57.png b/SampleParticle/proj.ios_mac/ios/Icon-57.png new file mode 100644 index 0000000..4fcc6fd Binary files /dev/null and b/SampleParticle/proj.ios_mac/ios/Icon-57.png differ diff --git a/SampleParticle/proj.ios_mac/ios/Icon-58.png b/SampleParticle/proj.ios_mac/ios/Icon-58.png new file mode 100644 index 0000000..f0f8b7f Binary files /dev/null and b/SampleParticle/proj.ios_mac/ios/Icon-58.png differ diff --git a/SampleParticle/proj.ios_mac/ios/Icon-72.png b/SampleParticle/proj.ios_mac/ios/Icon-72.png new file mode 100644 index 0000000..2c573c8 Binary files /dev/null and b/SampleParticle/proj.ios_mac/ios/Icon-72.png differ diff --git a/SampleParticle/proj.ios_mac/ios/Icon-76.png b/SampleParticle/proj.ios_mac/ios/Icon-76.png new file mode 100644 index 0000000..8a1fa18 Binary files /dev/null and b/SampleParticle/proj.ios_mac/ios/Icon-76.png differ diff --git a/SampleParticle/proj.ios_mac/ios/Icon-80.png b/SampleParticle/proj.ios_mac/ios/Icon-80.png new file mode 100644 index 0000000..d9c7ab4 Binary files /dev/null and b/SampleParticle/proj.ios_mac/ios/Icon-80.png differ diff --git a/SampleParticle/proj.ios_mac/ios/Info.plist b/SampleParticle/proj.ios_mac/ios/Info.plist new file mode 100644 index 0000000..88a89b9 --- /dev/null +++ b/SampleParticle/proj.ios_mac/ios/Info.plist @@ -0,0 +1,70 @@ + + + + + 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.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIAppFonts + + UIPrerenderedIcon + + UISupportedInterfaceOrientations + + UIInterfaceOrientationLandscapeRight + UIInterfaceOrientationLandscapeLeft + + + diff --git a/SampleParticle/proj.ios_mac/ios/Prefix.pch b/SampleParticle/proj.ios_mac/ios/Prefix.pch new file mode 100644 index 0000000..3737d11 --- /dev/null +++ b/SampleParticle/proj.ios_mac/ios/Prefix.pch @@ -0,0 +1,8 @@ +// +// Prefix header for all source files of the 'iphone' target in the 'iphone' project +// + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/SampleParticle/proj.ios_mac/ios/RootViewController.h b/SampleParticle/proj.ios_mac/ios/RootViewController.h new file mode 100644 index 0000000..6cde57f --- /dev/null +++ b/SampleParticle/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/SampleParticle/proj.ios_mac/ios/RootViewController.mm b/SampleParticle/proj.ios_mac/ios/RootViewController.mm new file mode 100644 index 0000000..c500a44 --- /dev/null +++ b/SampleParticle/proj.ios_mac/ios/RootViewController.mm @@ -0,0 +1,108 @@ +/**************************************************************************** + 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 "CCEAGLView.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]; + + cocos2d::GLView *glview = cocos2d::Director::getInstance()->getOpenGLView(); + CCEAGLView *eaglview = (CCEAGLView*) glview->getEAGLView(); + + 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/SampleParticle/proj.ios_mac/ios/main.m b/SampleParticle/proj.ios_mac/ios/main.m new file mode 100644 index 0000000..84158b2 --- /dev/null +++ b/SampleParticle/proj.ios_mac/ios/main.m @@ -0,0 +1,12 @@ +#import + +// Under iOS and the Simulator, we can use an alternate Accelerometer interface +#import "AccelerometerSimulation.h" + +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/SampleParticle/proj.ios_mac/mac/Icon.icns b/SampleParticle/proj.ios_mac/mac/Icon.icns new file mode 100644 index 0000000..2040fc6 Binary files /dev/null and b/SampleParticle/proj.ios_mac/mac/Icon.icns differ diff --git a/SampleParticle/proj.ios_mac/mac/Info.plist b/SampleParticle/proj.ios_mac/mac/Info.plist new file mode 100644 index 0000000..df93f67 --- /dev/null +++ b/SampleParticle/proj.ios_mac/mac/Info.plist @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + Icon + CFBundleIdentifier + org.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + 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/SampleParticle/proj.ios_mac/mac/Prefix.pch b/SampleParticle/proj.ios_mac/mac/Prefix.pch new file mode 100644 index 0000000..96d93ae --- /dev/null +++ b/SampleParticle/proj.ios_mac/mac/Prefix.pch @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'Paralaxer' target in the 'Paralaxer' project +// + +#ifdef __OBJC__ + #import +#endif diff --git a/SampleParticle/proj.ios_mac/mac/main.cpp b/SampleParticle/proj.ios_mac/mac/main.cpp new file mode 100644 index 0000000..f0b87fb --- /dev/null +++ b/SampleParticle/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(); +} diff --git a/SampleParticle/proj.linux/main.cpp b/SampleParticle/proj.linux/main.cpp new file mode 100644 index 0000000..7742def --- /dev/null +++ b/SampleParticle/proj.linux/main.cpp @@ -0,0 +1,15 @@ +#include "../Classes/AppDelegate.h" + +#include +#include +#include +#include + +USING_NS_CC; + +int main(int argc, char **argv) +{ + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleParticle/proj.win32/SampleParticle.sln b/SampleParticle/proj.win32/SampleParticle.sln new file mode 100644 index 0000000..b81df7e --- /dev/null +++ b/SampleParticle/proj.win32/SampleParticle.sln @@ -0,0 +1,55 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleParticle", "SampleParticle.vcxproj", "{76A39BB2-9B84-4C65-98A5-654D86B86F2A}" + ProjectSection(ProjectDependencies) = postProject + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\cocos2d\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\cocos2d\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\cocos2d\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosStudio", "..\cocos2d\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libGUI", "..\cocos2d\cocos\gui\proj.win32\libGUI.vcxproj", "{7E06E92C-537A-442B-9E4A-4761C84F8A1A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.ActiveCfg = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.Build.0 = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.ActiveCfg = Release|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.Build.0 = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.ActiveCfg = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.Build.0 = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.ActiveCfg = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.Build.0 = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.ActiveCfg = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.Build.0 = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.ActiveCfg = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.Build.0 = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.ActiveCfg = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.Build.0 = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.ActiveCfg = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.Build.0 = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.ActiveCfg = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.Build.0 = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.ActiveCfg = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.Build.0 = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.ActiveCfg = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.Build.0 = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.ActiveCfg = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SampleParticle/proj.win32/SampleParticle.vcxproj b/SampleParticle/proj.win32/SampleParticle.vcxproj new file mode 100644 index 0000000..844b337 --- /dev/null +++ b/SampleParticle/proj.win32/SampleParticle.vcxproj @@ -0,0 +1,169 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {76A39BB2-9B84-4C65-98A5-654D86B86F2A} + test_win32 + Win32Proj + + + + Application + Unicode + true + v100 + v110 + v110_xp + + + Application + Unicode + v100 + v110 + v110_xp + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + true + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + false + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;$(EngineRoot)cocos\editor-support;$(EngineRoot)cocos\gui;$(EngineRoot)cocos\;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + EditAndContinue + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + MaxSpeed + true + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + ProgramDatabase + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + libcurl_imp.lib;websockets.lib;%(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + true + true + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + + + + + + + + + + + {98a51ba8-fc3a-415b-ac8f-8c7bd464e93e} + false + + + {f8edd7fa-9a51-4e80-baeb-860825d2eac6} + + + {b57cf53f-2e49-4031-9822-047cc0e6bde2} + + + {7e06e92c-537a-442b-9e4a-4761c84f8a1a} + + + {207bc7a9-ccf1-4f2f-a04d-45f72242ae25} + + + + + + + + + \ No newline at end of file diff --git a/SampleParticle/proj.win32/SampleParticle.vcxproj.filters b/SampleParticle/proj.win32/SampleParticle.vcxproj.filters new file mode 100644 index 0000000..6dc5f38 --- /dev/null +++ b/SampleParticle/proj.win32/SampleParticle.vcxproj.filters @@ -0,0 +1,41 @@ + + + + + {84a8ebd7-7cf0-47f6-b75e-d441df67da40} + + + {bb6c862e-70e9-49d9-81b7-3829a6f50471} + + + {715254bc-d70b-4ec5-bf29-467dd3ace079} + + + + + win32 + + + Classes + + + Classes + + + + + win32 + + + Classes + + + Classes + + + + + resource + + + \ No newline at end of file diff --git a/SampleParticle/proj.win32/SampleParticle.vcxproj.user b/SampleParticle/proj.win32/SampleParticle.vcxproj.user new file mode 100644 index 0000000..314a27a --- /dev/null +++ b/SampleParticle/proj.win32/SampleParticle.vcxproj.user @@ -0,0 +1,11 @@ + + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + \ No newline at end of file diff --git a/SampleParticle/proj.win32/game.rc b/SampleParticle/proj.win32/game.rc new file mode 100644 index 0000000..09d7d99 --- /dev/null +++ b/SampleParticle/proj.win32/game.rc @@ -0,0 +1,86 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +#undef APSTUDIO_HIDDEN_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +GLFW_ICON ICON "res\\game.ico" + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,1 + PRODUCTVERSION 1,0,0,1 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904B0" + BEGIN + VALUE "CompanyName", "\0" + VALUE "FileDescription", "game Module\0" + VALUE "FileVersion", "1, 0, 0, 1\0" + VALUE "InternalName", "game\0" + VALUE "LegalCopyright", "Copyright \0" + VALUE "OriginalFilename", "game.exe\0" + VALUE "ProductName", "game Module\0" + VALUE "ProductVersion", "1, 0, 0, 1\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0409, 0x04B0 + END +END + +///////////////////////////////////////////////////////////////////////////// +#endif // !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) diff --git a/SampleParticle/proj.win32/main.cpp b/SampleParticle/proj.win32/main.cpp new file mode 100644 index 0000000..4ef499e --- /dev/null +++ b/SampleParticle/proj.win32/main.cpp @@ -0,0 +1,18 @@ +#include "main.h" +#include "AppDelegate.h" +#include "cocos2d.h" + +USING_NS_CC; + +int APIENTRY _tWinMain(HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPTSTR lpCmdLine, + int nCmdShow) +{ + UNREFERENCED_PARAMETER(hPrevInstance); + UNREFERENCED_PARAMETER(lpCmdLine); + + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleParticle/proj.win32/main.h b/SampleParticle/proj.win32/main.h new file mode 100644 index 0000000..e4d2aa3 --- /dev/null +++ b/SampleParticle/proj.win32/main.h @@ -0,0 +1,13 @@ +#ifndef __MAIN_H__ +#define __MAIN_H__ + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers + +// Windows Header Files: +#include +#include + +// C RunTime Header Files +#include "CCStdC.h" + +#endif // __MAIN_H__ diff --git a/SampleParticle/proj.win32/res/game.ico b/SampleParticle/proj.win32/res/game.ico new file mode 100644 index 0000000..feaf932 Binary files /dev/null and b/SampleParticle/proj.win32/res/game.ico differ diff --git a/SampleParticle/proj.win32/resource.h b/SampleParticle/proj.win32/resource.h new file mode 100644 index 0000000..ecde7ef --- /dev/null +++ b/SampleParticle/proj.win32/resource.h @@ -0,0 +1,20 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by game.RC +// + +#define IDS_PROJNAME 100 +#define IDR_TESTJS 100 + +#define ID_FILE_NEW_WINDOW 32771 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 201 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 32775 +#endif +#endif diff --git a/SampleSceneEditor/CMakeLists.txt b/SampleSceneEditor/CMakeLists.txt new file mode 100644 index 0000000..82a8f20 --- /dev/null +++ b/SampleSceneEditor/CMakeLists.txt @@ -0,0 +1,169 @@ +cmake_minimum_required(VERSION 2.6) + +set(APP_NAME MyGame) +project (${APP_NAME}) + +include(cocos2d/build/BuildHelpers.CMakeLists.txt) + +option(USE_CHIPMUNK "Use chipmunk for physics library" ON) +option(USE_BOX2D "Use box2d for physics library" OFF) +option(DEBUG_MODE "Debug or release?" ON) + +if(DEBUG_MODE) + set(CMAKE_BUILD_TYPE DEBUG) +else(DEBUG_MODE) + set(CMAKE_BUILD_TYPE RELEASE) +endif(DEBUG_MODE) + +set(CMAKE_C_FLAGS_DEBUG "-g -Wall -DCOCOS2D_DEBUG=1") +set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) + +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + +if(USE_CHIPMUNK) + message("Using chipmunk ...") + add_definitions(-DLINUX -DCC_ENABLE_CHIPMUNK_INTEGRATION=1) +elseif(USE_BOX2D) + message("Using box2d ...") + add_definitions(-DLINUX -DCC_ENABLE_BOX2D_INTEGRATION=1) +else(USE_CHIPMUNK) + message(FATAL_ERROR "Must choose a physics library.") +endif(USE_CHIPMUNK) + +# architecture +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(ARCH_DIR "64-bit") +else() +set(ARCH_DIR "32-bit") +endif() + + +set(GAME_SRC + proj.linux/main.cpp + Classes/AppDelegate.cpp + Classes/HelloWorldScene.cpp +) + +set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/cocos2d) + +include_directories( + /usr/local/include/GLFW + ${COCOS2D_ROOT} + ${COCOS2D_ROOT}/cocos + ${COCOS2D_ROOT}/cocos/audio/include + ${COCOS2D_ROOT}/cocos/2d + ${COCOS2D_ROOT}/cocos/2d/renderer + ${COCOS2D_ROOT}/cocos/2d/platform + ${COCOS2D_ROOT}/cocos/2d/platform/desktop + ${COCOS2D_ROOT}/cocos/2d/platform/linux + ${COCOS2D_ROOT}/cocos/base + ${COCOS2D_ROOT}/cocos/physics + ${COCOS2D_ROOT}/cocos/editor-support + ${COCOS2D_ROOT}/cocos/math/kazmath/include + ${COCOS2D_ROOT}/extensions + ${COCOS2D_ROOT}/external + ${COCOS2D_ROOT}/external/edtaa3func + ${COCOS2D_ROOT}/external/jpeg/include/linux + ${COCOS2D_ROOT}/external/tiff/include/linux + ${COCOS2D_ROOT}/external/webp/include/linux + ${COCOS2D_ROOT}/external/tinyxml2 + ${COCOS2D_ROOT}/external/unzip + ${COCOS2D_ROOT}/external/chipmunk/include/chipmunk + ${COCOS2D_ROOT}/external/freetype2/include/linux + ${COCOS2D_ROOT}/external/websockets/include/linux + ${COCOS2D_ROOT}/external/spidermonkey/include/linux + ${COCOS2D_ROOT}/external/linux-specific/fmod/include/${ARCH_DIR} +) + +link_directories( + /usr/local/lib + ${COCOS2D_ROOT}/external/jpeg/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/tiff/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/webp/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/freetype2/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/websockets/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/spidermonkey/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/linux-specific/fmod/prebuilt/${ARCH_DIR} +) + +# kazmath +add_subdirectory(${COCOS2D_ROOT}/cocos/math/kazmath) + +# chipmunk library +add_subdirectory(${COCOS2D_ROOT}/external/chipmunk/src) + +# box2d library +add_subdirectory(${COCOS2D_ROOT}/external/Box2D) + +# unzip library +add_subdirectory(${COCOS2D_ROOT}/external/unzip) + +# tinyxml2 library +add_subdirectory(${COCOS2D_ROOT}/external/tinyxml2) + +# audio +add_subdirectory(${COCOS2D_ROOT}/cocos/audio) + +# cocos base library +add_subdirectory(${COCOS2D_ROOT}/cocos/base) + +# cocos 2d library +add_subdirectory(${COCOS2D_ROOT}/cocos/2d) + +# cocos storage +add_subdirectory(${COCOS2D_ROOT}/cocos/storage) + +# gui +add_subdirectory(${COCOS2D_ROOT}/cocos/gui) + +# network +add_subdirectory(${COCOS2D_ROOT}/cocos/network) + +# extensions +add_subdirectory(${COCOS2D_ROOT}/extensions) + +## Editor Support + +# spine +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/spine) + +# cocosbuilder +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocosbuilder) + +# cocostudio +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocostudio) + +# add the executable +add_executable(${APP_NAME} + ${GAME_SRC} +) + +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(FMOD_LIB "fmodex64") +else() +set(FMOD_LIB "fmodex") +endif() + +target_link_libraries(${APP_NAME} + gui + network + storage + spine + cocostudio + cocosbuilder + extensions + audio + cocos2d + ) + +set(APP_BIN_DIR "${CMAKE_BINARY_DIR}/bin") + +set_target_properties(${APP_NAME} PROPERTIES + RUNTIME_OUTPUT_DIRECTORY "${APP_BIN_DIR}") + +pre_build(${APP_NAME} + COMMAND ${CMAKE_COMMAND} -E remove_directory ${APP_BIN_DIR}/Resources + COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/Resources ${APP_BIN_DIR}/Resources + ) + diff --git a/SampleSceneEditor/Classes/AppDelegate.cpp b/SampleSceneEditor/Classes/AppDelegate.cpp new file mode 100644 index 0000000..56586a7 --- /dev/null +++ b/SampleSceneEditor/Classes/AppDelegate.cpp @@ -0,0 +1,53 @@ +#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 = GLView::create("My Game"); + director->setOpenGLView(glview); + } + + // turn on display FPS + director->setDisplayStats(true); + + // set FPS. the default value is 1.0/60 if you don't call this + director->setAnimationInterval(1.0 / 60); + + glview->setDesignResolutionSize(960, 640, ResolutionPolicy::NO_BORDER); + // create a scene. it's an autorelease object + // CCScene *pScene = HelloWorld::scene(); + auto scene = HelloWorld::scene(); + // 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::sharedEngine()->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::sharedEngine()->resumeBackgroundMusic(); +} diff --git a/SampleSceneEditor/Classes/AppDelegate.h b/SampleSceneEditor/Classes/AppDelegate.h new file mode 100644 index 0000000..01cbb7c --- /dev/null +++ b/SampleSceneEditor/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/SampleSceneEditor/Classes/HelloWorldScene.cpp b/SampleSceneEditor/Classes/HelloWorldScene.cpp new file mode 100644 index 0000000..a656546 --- /dev/null +++ b/SampleSceneEditor/Classes/HelloWorldScene.cpp @@ -0,0 +1,176 @@ +#include "HelloWorldScene.h" +#include "VisibleRect.h" +#include "cocos-ext.h" +#include "gui/CocosGUI.h" +#include "cocostudio/CCSSceneReader.h" +#include "cocostudio/CCSGUIReader.h" +#include "cocostudio/CCActionManagerEx.h" +#include "cocostudio/CCArmatureDataManager.h" + + +USING_NS_CC; +USING_NS_CC_EXT; +using namespace ui; + +Scene* HelloWorld::scene() +{ + // 'scene' is an autorelease object + Scene *scene = Scene::create(); + + // 'layer' is an autorelease object + HelloWorld *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; + } + m_fTime = 0.0f; + m_bStart = false; + m_bDead = false; + m_fPercentage = 100.0f; + m_fSpeed = 4.0f; + m_fAttackDis = 120.0f; + + m_pGameScene = NULL; + + Node *pGameScene = cocostudio::SceneReader::getInstance()->createNodeWithSceneFile("FightScene.json"); + m_pGameScene = pGameScene; + this->addChild(pGameScene); + + ComRender *render = (ComRender*)(m_pGameScene->getChildByTag(10005)->getComponent("CCArmature")); + + Armature *pArmature = (Armature*)(render->getNode()); + + pArmature->getAnimation()->play("run"); + + m_bStart = true; + + + + + LabelTTF* label = CCLabelTTF::create("End", "Marker Felt", 40); + auto itemBack = MenuItemLabel::create(label, CC_CALLBACK_1(HelloWorld::menuCloseCallback, this)); + itemBack->setColor(Color3B(255, 255, 255)); + itemBack->setPosition(Point(VisibleRect::rightBottom().x - 50, VisibleRect::rightBottom().y + 25)); + + Menu* menuBack =Menu::create(itemBack, NULL); + menuBack->setPosition( Point::ZERO ); + menuBack->setZOrder(4); + this->addChild(menuBack); + + +// CCMenuItemFont *itemBack = CCMenuItemFont::create("End", this, menu_selector(HelloWorld::menuCloseCallback)); +// itemBack->setColor(ccc3(255, 255, 255)); +// itemBack->setPosition(ccp(VisibleRect::rightBottom().x - 50, VisibleRect::rightBottom().y + 25)); +// CCMenu *menuBack = CCMenu::create(itemBack, NULL); +// menuBack->setPosition(CCPointZero); +// menuBack->setZOrder(4); +// +// this->addChild(menuBack); + + scheduleUpdate(); + + return true; +} + +void HelloWorld::menuCloseCallback(Ref* pSender) +{ + cocostudio::ArmatureDataManager::destroyInstance(); + cocostudio::SceneReader::destroyInstance(); + cocostudio::GUIReader::destroyInstance(); + cocostudio::ActionManagerEx::destroyInstance(); + + CCDirector::getInstance()->end(); +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + exit(0); +#endif +} + +void HelloWorld::animationEvent(Armature *pArmature, + MovementEventType movementType, const char *movementID) +{ + ComRender *render = (ComRender*)(m_pGameScene->getChildByTag(10006)->getComponent("CCArmature")); + Armature *pEnemy = (Armature*)(render->getNode()); + + if (movementType == COMPLETE) + { + pEnemy->getAnimation()->play("death"); + pArmature->getAnimation()->setMovementEventCallFunc(NULL, NULL); + m_bDead = true; + } + +} + +void HelloWorld::update(float delta) +{ + if(m_bStart) + { + ComRender *pHeroRender = (ComRender*)(m_pGameScene->getChildByTag(10005)->getComponent("CCArmature")); + Armature *pHero = (Armature*)(pHeroRender->getNode()); + pHero->getParent()->setPositionX(pHero->getParent()->getPositionX() + m_fSpeed); + + ComRender *pEnemyRender = (ComRender*)(m_pGameScene->getChildByTag(10006)->getComponent("CCArmature")); + Armature *pEnemy = (Armature*)(pEnemyRender->getNode()); + + /* for 3.0 */ + float distance = Point(pHero->getParent()->getPositionX(), 0).getDistance(Point(pEnemy->getParent()->getPositionX(), 0)); + if (distance < m_fAttackDis) + { + pHero->getAnimation()->play("attack"); + pHero->getAnimation()->setMovementEventCallFunc(this, + movementEvent_selector(HelloWorld::animationEvent)); + m_bStart = false; + } + // before + /* + if(ccpDistance(ccp(pHero->getParent()->getPositionX(), 0), ccp(pEnemy->getParent()->getPositionX(), 0)) < m_fAttackDis) + { + pHero->getAnimation()->play("attack"); + pHero->getAnimation()->setMovementEventCallFunc(this, + movementEvent_selector(HelloWorld::animationEvent)); + m_bStart = false; + } + */ + /**/ + } + + if(m_bDead) + { + ComRender *pUIRender = static_cast(m_pGameScene->getChildByTag(10007)->getComponent("GUIComponent")); + + + /* for 3.0 */ + Node* pUILayer = static_cast(pUIRender->getNode()); + Layout* root = static_cast(pUILayer->getChildren().at(2)); + LoadingBar *pHPLoadingBar = static_cast(Helper::seekWidgetByName(root, "hp02_LoadingBar")); + LoadingBar *pMPLoadingBar = static_cast(Helper::seekWidgetByName(root, "mp02_LoadingBar")); + // before + /* + cocos2d::ui::TouchGroup *pUILayer = static_cast(pUIRender->getNode()); + cocos2d::ui::LoadingBar *pHPLoadingBar = static_cast(pUILayer->getWidgetByName("hp02_LoadingBar")); + cocos2d::ui::LoadingBar *pMPLoadingBar = static_cast(pUILayer->getWidgetByName("mp02_LoadingBar")); + */ + /**/ + + pHPLoadingBar->setPercent(m_fPercentage); + pMPLoadingBar->setPercent(m_fPercentage); + + m_fPercentage -= 2.0f; + if (m_fPercentage < 0.0f) { + unscheduleUpdate(); + } + } + +} diff --git a/SampleSceneEditor/Classes/HelloWorldScene.h b/SampleSceneEditor/Classes/HelloWorldScene.h new file mode 100644 index 0000000..1987cb2 --- /dev/null +++ b/SampleSceneEditor/Classes/HelloWorldScene.h @@ -0,0 +1,42 @@ +#ifndef __HELLOWORLD_SCENE_H__ +#define __HELLOWORLD_SCENE_H__ + +#include "cocos2d.h" +#include "cocos-ext.h" +#include "cocostudio/CocoStudio.h" + +using namespace cocos2d; +using namespace cocos2d::extension; +using namespace cocostudio; + +class HelloWorld : 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(); + + // there's no 'id' in cpp, so we recommend returning the class instance pointer + static cocos2d::Scene* scene(); + + void menuCloseCallback(cocos2d::Ref* pSender); + + void animationEvent(Armature *pArmature, + MovementEventType movementType, const char *movementID); + + virtual void update(float delta); + + // implement the "static node()" method manually + CREATE_FUNC(HelloWorld); + +private: + cocos2d::Node *m_pGameScene; + + float m_fTime; + bool m_bStart; + bool m_bDead; + float m_fPercentage; + float m_fSpeed; + float m_fAttackDis; +}; + +#endif // __HELLOWORLD_SCENE_H__ diff --git a/SampleSceneEditor/Classes/VisibleRect.cpp b/SampleSceneEditor/Classes/VisibleRect.cpp new file mode 100644 index 0000000..d03c440 --- /dev/null +++ b/SampleSceneEditor/Classes/VisibleRect.cpp @@ -0,0 +1,94 @@ +/**************************************************************************** + 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. + ****************************************************************************/ + +#include "VisibleRect.h" + +Rect VisibleRect::s_visibleRect; + +void VisibleRect::lazyInit() +{ + // no lazy init + // Useful if we change the resolution in runtime + s_visibleRect = Director::getInstance()->getOpenGLView()->getVisibleRect(); +} + +Rect VisibleRect::getVisibleRect() +{ + lazyInit(); + return s_visibleRect; +} + +Point VisibleRect::left() +{ + lazyInit(); + return Point(s_visibleRect.origin.x, s_visibleRect.origin.y+s_visibleRect.size.height/2); +} + +Point VisibleRect::right() +{ + lazyInit(); + return Point(s_visibleRect.origin.x+s_visibleRect.size.width, s_visibleRect.origin.y+s_visibleRect.size.height/2); +} + +Point VisibleRect::top() +{ + lazyInit(); + return Point(s_visibleRect.origin.x+s_visibleRect.size.width/2, s_visibleRect.origin.y+s_visibleRect.size.height); +} + +Point VisibleRect::bottom() +{ + lazyInit(); + return Point(s_visibleRect.origin.x+s_visibleRect.size.width/2, s_visibleRect.origin.y); +} + +Point VisibleRect::center() +{ + lazyInit(); + return Point(s_visibleRect.origin.x+s_visibleRect.size.width/2, s_visibleRect.origin.y+s_visibleRect.size.height/2); +} + +Point VisibleRect::leftTop() +{ + lazyInit(); + return Point(s_visibleRect.origin.x, s_visibleRect.origin.y+s_visibleRect.size.height); +} + +Point VisibleRect::rightTop() +{ + lazyInit(); + return Point(s_visibleRect.origin.x+s_visibleRect.size.width, s_visibleRect.origin.y+s_visibleRect.size.height); +} + +Point VisibleRect::leftBottom() +{ + lazyInit(); + return s_visibleRect.origin; +} + +Point VisibleRect::rightBottom() +{ + lazyInit(); + return Point(s_visibleRect.origin.x+s_visibleRect.size.width, s_visibleRect.origin.y); +} diff --git a/SampleSceneEditor/Classes/VisibleRect.h b/SampleSceneEditor/Classes/VisibleRect.h new file mode 100644 index 0000000..8bdaae0 --- /dev/null +++ b/SampleSceneEditor/Classes/VisibleRect.h @@ -0,0 +1,26 @@ +#ifndef __VISIBLERECT_H__ +#define __VISIBLERECT_H__ + +#include "cocos2d.h" +USING_NS_CC; + +class VisibleRect +{ +public: + static Rect getVisibleRect(); + + static Point left(); + static Point right(); + static Point top(); + static Point bottom(); + static Point center(); + static Point leftTop(); + static Point rightTop(); + static Point leftBottom(); + static Point rightBottom(); +private: + static void lazyInit(); + static Rect s_visibleRect; +}; + +#endif /* __VISIBLERECT_H__ */ diff --git a/SampleSceneEditor/Resources/CloseNormal.png b/SampleSceneEditor/Resources/CloseNormal.png new file mode 100644 index 0000000..5657a13 Binary files /dev/null and b/SampleSceneEditor/Resources/CloseNormal.png differ diff --git a/SampleSceneEditor/Resources/CloseSelected.png b/SampleSceneEditor/Resources/CloseSelected.png new file mode 100644 index 0000000..e4c82da Binary files /dev/null and b/SampleSceneEditor/Resources/CloseSelected.png differ diff --git a/SampleSceneEditor/Resources/FightScene.json b/SampleSceneEditor/Resources/FightScene.json new file mode 100644 index 0000000..b273d18 --- /dev/null +++ b/SampleSceneEditor/Resources/FightScene.json @@ -0,0 +1,239 @@ +{ + "classname": "CCNode", + "name": null, + "canedit": true, + "objecttag": 10000, + "rotation": 0, + "scalex": 1, + "scaley": 1, + "visible": 1, + "x": 0, + "y": 0, + "zorder": 1, + "gameobjects": [ + { + "__type": "ComGameObjectSurrogate:#EditorCommon.JsonModel", + "classname": "CCNode", + "name": "bg1", + "canedit": false, + "objecttag": 10003, + "rotation": 0, + "scalex": 1, + "scaley": 1, + "visible": 1, + "x": 480, + "y": 320, + "zorder": 1, + "gameobjects": [], + "components": [ + { + "__type": "ComSpriteSurrogate:#EditorCommon.JsonModel.Component", + "classname": "CCSprite", + "name": "CCSprite", + "file": null, + "fileData": { + "path": "img/bg1.png", + "plistFile": null, + "resourceType": 0 + } + } + ] + }, + { + "__type": "ComGameObjectSurrogate:#EditorCommon.JsonModel", + "classname": "CCNode", + "name": "hero", + "canedit": true, + "objecttag": 10005, + "rotation": 0, + "scalex": 1, + "scaley": 1, + "visible": 1, + "x": 195.66668701171875, + "y": 215.33335876464844, + "zorder": 2, + "gameobjects": [], + "components": [ + { + "__type": "ComArmatureAdapterSurrogate:#EditorCommon.JsonModel.Component", + "classname": "CCArmature", + "name": "CCArmature", + "file": null, + "fileData": { + "path": "ani/hero/girl.ExportJson", + "plistFile": null, + "resourceType": 0 + }, + "selectedactionname": "run" + } + ] + }, + { + "__type": "ComGameObjectSurrogate:#EditorCommon.JsonModel", + "classname": "CCNode", + "name": "enemy", + "canedit": true, + "objecttag": 10006, + "rotation": 0, + "scalex": 1, + "scaley": 1, + "visible": 1, + "x": 751.66668701171875, + "y": 246.33340454101563, + "zorder": 1, + "gameobjects": [], + "components": [ + { + "__type": "ComArmatureAdapterSurrogate:#EditorCommon.JsonModel.Component", + "classname": "CCArmature", + "name": "CCArmature", + "file": null, + "fileData": { + "path": "ani/enemy/monster.ExportJson", + "plistFile": null, + "resourceType": 0 + }, + "selectedactionname": "loading" + } + ] + }, + { + "__type": "ComGameObjectSurrogate:#EditorCommon.JsonModel", + "classname": "CCNode", + "name": "ui", + "canedit": false, + "objecttag": 10007, + "rotation": 0, + "scalex": 1, + "scaley": 1, + "visible": 1, + "x": 0, + "y": 0, + "zorder": 3, + "gameobjects": [ + { + "__type": "ComGameObjectSurrogate:#EditorCommon.JsonModel", + "classname": "CCNode", + "name": "VSFire", + "canedit": true, + "objecttag": 10009, + "rotation": 0, + "scalex": 0.5, + "scaley": 0.5, + "visible": 1, + "x": 476, + "y": 539, + "zorder": 4, + "gameobjects": [], + "components": [ + { + "__type": "ComParticleSystemSurrogate:#EditorCommon.JsonModel.Component", + "classname": "CCParticleSystemQuad", + "name": "CCParticleSystemQuad", + "file": null, + "fileData": { + "path": "particle/1-buff.plist", + "plistFile": null, + "resourceType": 0 + } + } + ] + }, + { + "__type": "ComGameObjectSurrogate:#EditorCommon.JsonModel", + "classname": "CCNode", + "name": "EnemyHead", + "canedit": true, + "objecttag": 10010, + "rotation": 0, + "scalex": 0.5, + "scaley": 0.5, + "visible": 1, + "x": 818, + "y": 577, + "zorder": 1, + "gameobjects": [], + "components": [ + { + "__type": "ComSpriteSurrogate:#EditorCommon.JsonModel.Component", + "classname": "CCSprite", + "name": "CCSprite", + "file": null, + "fileData": { + "path": "tauren_cell-head.png", + "plistFile": "ani/enemy/monster0.plist", + "resourceType": 1 + } + } + ] + }, + { + "__type": "ComGameObjectSurrogate:#EditorCommon.JsonModel", + "classname": "CCNode", + "name": "HeroHead", + "canedit": true, + "objecttag": 10011, + "rotation": 0, + "scalex": 0.5, + "scaley": 0.5, + "visible": 1, + "x": 141, + "y": 578, + "zorder": 1, + "gameobjects": [], + "components": [ + { + "__type": "ComSpriteSurrogate:#EditorCommon.JsonModel.Component", + "classname": "CCSprite", + "name": "CCSprite", + "file": null, + "fileData": { + "path": "girl_png/girl_head.png", + "plistFile": "ani/hero/girl0.plist", + "resourceType": 1 + } + } + ] + } + ], + "components": [ + { + "__type": "ComGUIAdapterSurrogate:#EditorCommon.JsonModel.Component", + "classname": "GUIComponent", + "name": "GUIComponent", + "file": null, + "fileData": { + "path": "ui/FightScene_1/FightScene_1.ExportJson", + "plistFile": null, + "resourceType": 0 + } + } + ] + } + ], + "CanvasSize": { + "_height": 640, + "_width": 960 + }, + "Version": "1.0.0.0", + "components": [ + { + "__type": "ComSceneSurrogate:#EditorCommon.JsonModel.Component", + "classname": "CCScene", + "name": "CCScene", + "scenename": "FightScene" + }, + { + "__type": "ComSimpleAudioSurrogate:#EditorCommon.JsonModel.Component", + "classname": "CCBackgroundAudio", + "name": "CCBackgroundAudio", + "file": null, + "fileData": { + "path": "sound/arena.mp3", + "plistFile": null, + "resourceType": 0 + }, + "loop": 1 + } + ] +} \ No newline at end of file diff --git a/SampleSceneEditor/Resources/HelloWorld.png b/SampleSceneEditor/Resources/HelloWorld.png new file mode 100644 index 0000000..5fe89fb Binary files /dev/null and b/SampleSceneEditor/Resources/HelloWorld.png differ diff --git a/SampleSceneEditor/Resources/ani/enemy/monster.ExportJson b/SampleSceneEditor/Resources/ani/enemy/monster.ExportJson new file mode 100644 index 0000000..0b7f16a --- /dev/null +++ b/SampleSceneEditor/Resources/ani/enemy/monster.ExportJson @@ -0,0 +1,6595 @@ +{ + "armature_data": [ + { + "strVersion": "0.4.0.0", + "version": 0.4, + "name": "monster", + "bone_data": [ + { + "name": "hand_right", + "parent": "", + "x": 33.65, + "y": -60.85, + "z": 2, + "cX": 1.0, + "cY": 1.0, + "kX": -1.23010814, + "kY": 1.23010814, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-hand_right", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "arm_right", + "parent": "", + "x": 30.8, + "y": -8.0, + "z": 3, + "cX": 1.0, + "cY": 1.0, + "kX": -1.23010814, + "kY": 1.23010814, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-arm_right", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "ax", + "parent": "", + "x": 6.2, + "y": -79.1, + "z": 4, + "cX": 1.0, + "cY": 1.0, + "kX": -1.62629783, + "kY": 1.62629783, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-ax", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "leg_right", + "parent": "", + "x": 45.0, + "y": -65.2, + "z": 5, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-leg_right", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "foot_right", + "parent": "", + "x": 39.35, + "y": -109.5, + "z": 6, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-foot_right", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "body", + "parent": "", + "x": 43.45, + "y": -6.55, + "z": 7, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-body", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "foot_left", + "parent": "", + "x": 39.85, + "y": -113.65, + "z": 8, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-foot_left", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "leg_left", + "parent": "", + "x": 45.0, + "y": -63.7, + "z": 9, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-leg_left", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "head", + "parent": "", + "x": 18.9, + "y": 36.5, + "z": 10, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-head", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "arm_left", + "parent": "", + "x": 73.65, + "y": 4.3, + "z": 11, + "cX": 1.0, + "cY": 1.0, + "kX": 0.05253441, + "kY": -0.05253441, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-arm_left", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "hand_left", + "parent": "", + "x": 71.25, + "y": -39.85, + "z": 12, + "cX": 1.0, + "cY": 1.0, + "kX": 0.312937528, + "kY": -0.312937528, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-hand_left", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "armor", + "parent": "", + "x": 60.05, + "y": 36.55, + "z": 13, + "cX": 1.0, + "cY": 1.0, + "kX": -0.117286123, + "kY": 0.117286123, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-armor", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "effect", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_cell-tauren_effect_1", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "girl_cell-tauren_effect_2", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "girl_cell-tauren_effect_3", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "monster", + "mov_data": [ + { + "name": "loading", + "dr": 25, + "lp": true, + "to": 6, + "drTW": 25, + "twE": 10000, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "armor", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0499992371, + "y": -2.45000076, + "z": 0, + "cX": 1.0, + "cY": 0.99, + "kX": 0.0115191713, + "kY": -0.0139626339, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "hand_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 3.5, + "y": -1.85000229, + "z": 0, + "cX": 1.0, + "cY": 0.99, + "kX": -0.070336774, + "kY": 0.0764454156, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "arm_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 1.04999542, + "y": -2.10000014, + "z": 0, + "cX": 1.02, + "cY": 0.99, + "kX": -0.03124139, + "kY": 0.0303687286, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "head", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": -1.90000153, + "z": 0, + "cX": 1.0, + "cY": 0.99, + "kX": 0.02617994, + "kY": -0.02565634, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "leg_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -2.04999924, + "y": -0.9999962, + "z": 0, + "cX": 1.02, + "cY": 1.0, + "kX": 0.008552114, + "kY": -0.008552114, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "foot_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -1.199997, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.06789331, + "kY": 0.0, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "body", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.0499992371, + "y": -1.94999981, + "z": 0, + "cX": 1.07, + "cY": 0.99, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "foot_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "leg_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.0499992371, + "y": -1.0, + "z": 0, + "cX": 1.02, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "ax", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.100000381, + "y": -2.550003, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0123918056, + "kY": 0.0123918056, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "arm_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.299999237, + "y": -1.94999981, + "z": 0, + "cX": 0.99, + "cY": 1.01, + "kX": -0.008901, + "kY": -0.009250402, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "hand_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.25, + "y": -1.0, + "z": 0, + "cX": 1.0, + "cY": 1.02, + "kX": -0.00523591042, + "kY": -0.00541067123, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + } + ] + }, + { + "name": "run", + "dr": 13, + "lp": true, + "to": 6, + "drTW": 13, + "twE": 10000, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "armor", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -37.85, + "y": -18.05, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.7007497, + "kY": -0.7007497, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -36.5, + "y": -33.5, + "z": 0, + "cX": 1.08, + "cY": 0.96, + "kX": -0.0596902743, + "kY": 0.021991156, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -37.65, + "y": -2.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.117286123, + "kY": 0.117286123, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -28.6999989, + "y": -13.15, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.8943067, + "kY": 0.8943067, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -36.35, + "y": -31.9, + "z": 0, + "cX": 1.09, + "cY": 0.97, + "kX": -0.0593412, + "kY": 0.0223402157, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -37.65, + "y": -2.39999771, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0397935137, + "kY": 0.0397935137, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -37.85, + "y": -18.05, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.7007497, + "kY": -0.7007497, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -37.85, + "y": -18.05, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.7007497, + "kY": -0.7007497, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "hand_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -99.7, + "y": 15.1999989, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.28822756, + "kY": -1.28822756, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -36.95, + "y": -30.0500031, + "z": 0, + "cX": 1.07, + "cY": 0.97, + "kX": 0.008028507, + "kY": 0.0579449236, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -18.4000015, + "y": 0.699996948, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.378736436, + "kY": 0.378736436, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 25.1500015, + "y": 27.7499981, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.858701944, + "kY": 0.858701944, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -10.7999992, + "y": -25.0, + "z": 0, + "cX": 1.09, + "cY": 0.97, + "kX": -0.427605659, + "kY": 0.403345585, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -45.3, + "y": -0.300003052, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.155857921, + "kY": -0.155857921, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -99.7, + "y": 15.1999989, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.28822756, + "kY": -1.28822756, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -99.7, + "y": 15.1999989, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.28822756, + "kY": -1.28822756, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "arm_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -62.9, + "y": -17.35, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.8964011, + "kY": -0.8964011, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -36.3000031, + "y": -30.8499985, + "z": 0, + "cX": 1.07, + "cY": 0.96, + "kX": 0.181863308, + "kY": -0.132645011, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -32.7, + "y": 1.44999981, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0476474874, + "kY": 0.0476474874, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -9.050003, + "y": 14.0999994, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.8810422, + "kY": 0.8810422, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -28.0, + "y": -26.4000015, + "z": 0, + "cX": 1.09, + "cY": 0.97, + "kX": -0.102450818, + "kY": 0.09180432, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -38.45, + "y": -1.1500001, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.155857891, + "kY": -0.155857891, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -62.9, + "y": -17.35, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.8964011, + "kY": -0.8964011, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -62.9, + "y": -17.35, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.8964011, + "kY": -0.8964011, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "head", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -35.6, + "y": -11.7000008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.196524084, + "kY": 0.196524084, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -37.9, + "y": -25.7, + "z": 0, + "cX": 1.08, + "cY": 0.96, + "kX": -0.124441974, + "kY": 0.09773844, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -35.25, + "y": 2.29999924, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.257087, + "kY": 0.257087, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -35.6, + "y": -11.7000008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.196524084, + "kY": 0.196524084, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -38.15, + "y": -24.05, + "z": 0, + "cX": 1.09, + "cY": 0.97, + "kX": -0.124267437, + "kY": 0.0979129747, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -35.25, + "y": 2.29999924, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.257087, + "kY": 0.257087, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -35.6, + "y": -11.7000008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.196524084, + "kY": 0.196524084, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -35.6, + "y": -11.7000008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.196524084, + "kY": 0.196524084, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "leg_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -1.0, + "y": 4.40000153, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6825983, + "kY": 0.6825983, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -11.5999985, + "y": -15.8500023, + "z": 0, + "cX": 1.07, + "cY": 0.97, + "kX": -0.359188765, + "kY": 0.2864085, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -37.7, + "y": 13.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.428652853, + "kY": -0.428652853, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -35.85, + "y": -2.49999619, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.858702, + "kY": -0.858702, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -19.0, + "y": -2.64999771, + "z": 0, + "cX": 1.07, + "cY": 0.98, + "kX": 0.3907792, + "kY": -0.313461125, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -7.75, + "y": 10.7000008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.552571237, + "kY": 0.552571237, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -1.0, + "y": 4.40000153, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6825983, + "kY": 0.6825983, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -1.0, + "y": 4.40000153, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6825983, + "kY": 0.6825983, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "foot_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 50.2000046, + "y": 21.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.65631747, + "kY": 1.65631747, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.75, + "y": 7.40000153, + "z": 0, + "cX": 0.98, + "cY": 1.06, + "kX": -1.18577671, + "kY": 1.09362328, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -46.1, + "y": 10.3499985, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.32585296, + "kY": 0.32585296, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -69.1, + "y": 10.1500015, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.507018149, + "kY": -0.507018149, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -17.5999985, + "y": -1.5, + "z": 0, + "cX": 1.09, + "cY": 0.97, + "kX": -0.06265732, + "kY": 0.0493928157, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 27.3000031, + "y": 18.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.21544731, + "kY": 1.21544731, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 50.2000046, + "y": 21.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.65631747, + "kY": 1.65631747, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 50.2000046, + "y": 21.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.65631747, + "kY": 1.65631747, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "body", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -22.75, + "y": -4.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.313984722, + "kY": 0.313984722, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -21.75, + "y": -19.0999985, + "z": 0, + "cX": 1.24, + "cY": 0.97, + "kX": -0.3515093, + "kY": 0.279950827, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -22.75, + "y": 10.65, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.313984722, + "kY": 0.313984722, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -22.75, + "y": -4.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.313984722, + "kY": 0.313984722, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -21.6, + "y": -17.8499985, + "z": 0, + "cX": 1.25, + "cY": 0.98, + "kX": -0.350811183, + "kY": 0.2804744, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -22.75, + "y": 10.65, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.313984722, + "kY": 0.313984722, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -22.75, + "y": -4.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.313984722, + "kY": 0.313984722, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -22.75, + "y": -4.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.313984722, + "kY": 0.313984722, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "foot_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -53.9499969, + "y": -0.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.635997951, + "kY": -0.635997951, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -18.4499989, + "y": -6.15000153, + "z": 0, + "cX": 1.08, + "cY": 0.96, + "kX": -0.070336774, + "kY": 0.0551524051, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 16.8500023, + "y": 2.199997, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.7901105, + "kY": 0.7901105, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 44.25, + "y": 25.6500015, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.50499749, + "kY": 1.50499749, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": 16.9000015, + "y": 8.550003, + "z": 0, + "cX": 0.97, + "cY": 1.08, + "kX": -1.37706482, + "kY": 1.32645023, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -45.1999969, + "y": 10.1999969, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0462512262, + "kY": -0.0462512262, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -53.9499969, + "y": -0.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.635997951, + "kY": -0.635997951, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -53.9499969, + "y": -0.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.635997951, + "kY": -0.635997951, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "leg_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -33.2, + "y": -13.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.01508343, + "kY": -1.01508343, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -20.45, + "y": -15.7000046, + "z": 0, + "cX": 1.07, + "cY": 0.97, + "kX": 0.389382958, + "kY": -0.3111922, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -13.65, + "y": 0.949996948, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.331961632, + "kY": 0.331961632, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -7.5, + "y": 0.449996948, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.457974374, + "kY": 0.457974374, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -18.65, + "y": -6.350006, + "z": 0, + "cX": 1.08, + "cY": 0.97, + "kX": -0.298625857, + "kY": 0.2375393, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -25.05, + "y": 7.249996, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.723439, + "kY": -0.723439, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -33.2, + "y": -13.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.01508343, + "kY": -1.01508343, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -33.2, + "y": -13.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.01508343, + "kY": -1.01508343, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "ax", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 61.3999977, + "y": 36.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.233874083, + "kY": 0.233874083, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 1.5, + "y": 9.599998, + "z": 0, + "cX": 0.96, + "cY": 1.08, + "kX": 0.197396755, + "kY": -0.235794067, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -9.25, + "y": 38.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.375944018, + "kY": -0.375944018, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -66.2999954, + "y": 18.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5187119, + "kY": -0.5187119, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": 1.5, + "y": 10.4000015, + "z": 0, + "cX": 0.97, + "cY": 1.09, + "kX": 0.197745919, + "kY": -0.2354449, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 9.55, + "y": 37.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.08918643, + "kY": -0.08918643, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 61.3999977, + "y": 36.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.233874083, + "kY": 0.233874083, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 61.3999977, + "y": 36.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.233874083, + "kY": 0.233874083, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "arm_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 18.1500015, + "y": 25.7, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.22871172, + "kY": 1.22871172, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 8.75, + "y": -2.0, + "z": 0, + "cX": 0.96, + "cY": 1.08, + "kX": -0.432143331, + "kY": 0.457101583, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 5.25, + "y": 24.1, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.283441424, + "kY": 0.283441424, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -44.55, + "y": 3.19999981, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3323108, + "kY": -0.3323108, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": 9.049999, + "y": -0.6000004, + "z": 0, + "cX": 0.97, + "cY": 1.09, + "kX": -0.432317972, + "kY": 0.45692718, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 6.5, + "y": 31.6, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.570199, + "kY": 0.570199, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 18.1500015, + "y": 25.7, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.22871172, + "kY": 1.22871172, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 18.1500015, + "y": 25.7, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.22871172, + "kY": 1.22871172, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "hand_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 46.9499969, + "y": 51.1, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.5665338, + "kY": 0.5665338, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 9.149998, + "y": 10.9499969, + "z": 0, + "cX": 0.99, + "cY": 1.05, + "kX": 0.1651082, + "kY": -0.2743659, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -1.35000229, + "y": 35.3, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.378736556, + "kY": -0.378736556, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -59.0500031, + "y": 12.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.344353557, + "kY": -0.344353557, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": 9.449997, + "y": 11.9499969, + "z": 0, + "cX": 1.0, + "cY": 1.06, + "kX": 0.165980935, + "kY": -0.273493171, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 11.8499985, + "y": 43.3999977, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.09197891, + "kY": -0.09197891, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 46.9499969, + "y": 51.1, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.5665338, + "kY": 0.5665338, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 46.9499969, + "y": 51.1, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.5665338, + "kY": 0.5665338, + "fi": 13, + "twE": 0 + } + ] + } + ] + }, + { + "name": "attack", + "dr": 20, + "lp": false, + "to": 6, + "drTW": 20, + "twE": 10000, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "armor", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0499992371, + "y": -2.45000076, + "z": 0, + "cX": 1.0, + "cY": 0.99, + "kX": 0.0115191713, + "kY": -0.0139626339, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -46.65, + "y": 6.200001, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.273493081, + "kY": 0.273493081, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -46.6999969, + "y": -2.09999847, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.317126334, + "kY": 0.317126334, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -35.0, + "y": 6.10000229, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.2635447, + "kY": 0.2635447, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -29.15, + "y": 10.2999992, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.239459187, + "kY": 0.239459187, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -73.35, + "y": -1.54999924, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.691673934, + "kY": 0.691673934, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -46.6999969, + "y": -2.09999847, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.317126334, + "kY": 0.317126334, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "hand_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 3.5, + "y": -1.85000229, + "z": 0, + "cX": 1.0, + "cY": 0.99, + "kX": -0.070336774, + "kY": 0.0764454156, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -19.7, + "y": 14.1499977, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.403345585, + "kY": 0.403345585, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -23.5, + "y": 5.199997, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.317300856, + "kY": 0.317300856, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -7.84999847, + "y": 13.6499977, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.426034868, + "kY": 0.426034868, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -8.950001, + "y": 19.3, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.196349531, + "kY": 0.196349531, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -23.95, + "y": 25.5999985, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6218608, + "kY": 0.6218608, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -23.5, + "y": 5.199997, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.317300856, + "kY": 0.317300856, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "arm_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 1.04999542, + "y": -2.10000014, + "z": 0, + "cX": 1.02, + "cY": 0.99, + "kX": -0.03124139, + "kY": 0.0303687286, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -36.95, + "y": 11.95, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.351683825, + "kY": 0.351683825, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -37.3500023, + "y": 3.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.3171263, + "kY": 0.3171263, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -25.8000031, + "y": 11.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.324107647, + "kY": 0.324107647, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -19.95, + "y": 15.499999, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.33108896, + "kY": 0.33108896, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -54.9, + "y": 16.9000015, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.796044648, + "kY": 0.796044648, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -37.3500023, + "y": 3.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.3171263, + "kY": 0.3171263, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "head", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": -1.90000153, + "z": 0, + "cX": 1.0, + "cY": 0.99, + "kX": 0.02617994, + "kY": -0.02565634, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -45.8, + "y": -2.20000076, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.226194665, + "kY": 0.226194665, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -46.05, + "y": -8.950001, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.1654572, + "kY": 0.1654572, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -38.8, + "y": 6.59999847, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.04712389, + "kY": -0.04712389, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -34.85, + "y": 9.950001, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0305432621, + "kY": 0.0305432621, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -68.85, + "y": -20.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.461988628, + "kY": 0.461988628, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -46.05, + "y": -8.950001, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.1654572, + "kY": 0.1654572, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "leg_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -2.04999924, + "y": -0.9999962, + "z": 0, + "cX": 1.02, + "cY": 1.0, + "kX": 0.008552114, + "kY": -0.008552114, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -58.2, + "y": 2.79999924, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3543018, + "kY": -0.3543018, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -59.7, + "y": -11.4500008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.484328866, + "kY": -0.484328866, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -58.75, + "y": -1.95000076, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.485027015, + "kY": -0.485027015, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -58.2, + "y": 2.79999924, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.484328866, + "kY": -0.484328866, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -59.7, + "y": -11.4500008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.484328866, + "kY": -0.484328866, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -43.95, + "y": -11.4500008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3834488, + "kY": -0.3834488, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "foot_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -1.199997, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.06789331, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -62.85, + "y": 8.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.647517145, + "kY": 0.647517145, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -75.75, + "y": -1.09999847, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0008726646, + "kY": -0.0008726646, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -75.7, + "y": 1.15000153, + "z": 0, + "cX": 1.0, + "cY": 1.13, + "kX": 0.000174532921, + "kY": -0.000174532921, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -75.75, + "y": 2.300003, + "z": 0, + "cX": 1.0, + "cY": 1.19, + "kX": 0.0008726646, + "kY": -0.0008726646, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -75.75, + "y": -1.09999847, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0008726646, + "kY": -0.0008726646, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -59.9499969, + "y": 0.7000046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.233525053, + "kY": -0.233525053, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "body", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.0499992371, + "y": -1.94999981, + "z": 0, + "cX": 1.07, + "cY": 0.99, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -39.3, + "y": 3.95000029, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.1654572, + "kY": 0.1654572, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -39.3, + "y": -4.3, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.1654572, + "kY": 0.1654572, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -35.45, + "y": 5.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.07452556, + "kY": 0.07452556, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -33.5500031, + "y": 10.75, + "z": 0, + "cX": 0.93, + "cY": 1.0, + "kX": -0.0305432621, + "kY": 0.0305432621, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -50.05, + "y": -11.3, + "z": 0, + "cX": 1.29, + "cY": 1.0, + "kX": -0.461988628, + "kY": 0.461988628, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -39.3, + "y": -4.3, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.1654572, + "kY": 0.1654572, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "foot_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -4.64999771, + "y": 0.25, + "z": 0, + "cX": 1.0, + "cY": 1.1, + "kX": -0.307527035, + "kY": 0.0565486662, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -4.25, + "y": -0.949996948, + "z": 0, + "cX": 1.0, + "cY": 1.03, + "kX": -0.307527035, + "kY": 0.0565486662, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -3.59999847, + "y": 1.199997, + "z": 0, + "cX": 1.0, + "cY": 1.13, + "kX": -0.2534218, + "kY": 0.053407073, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -3.29999924, + "y": 2.199997, + "z": 0, + "cX": 1.0, + "cY": 1.17, + "kX": -0.227067336, + "kY": 0.0565486662, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -4.25, + "y": -0.949996948, + "z": 0, + "cX": 1.0, + "cY": 1.03, + "kX": -0.307527035, + "kY": 0.0565486662, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -4.25, + "y": -0.949996948, + "z": 0, + "cX": 1.0, + "cY": 1.03, + "kX": -0.307527035, + "kY": 0.0565486662, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "leg_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.0499992371, + "y": -1.0, + "z": 0, + "cX": 1.02, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -15.75, + "y": 0.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.161617488, + "kY": 0.161617488, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -14.25, + "y": -7.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.161617488, + "kY": 0.161617488, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -15.25, + "y": 1.99999619, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.161617488, + "kY": 0.161617488, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -15.75, + "y": 6.749996, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.161617488, + "kY": 0.161617488, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -14.25, + "y": -7.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.161617488, + "kY": 0.161617488, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -14.25, + "y": -7.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.161617488, + "kY": 0.161617488, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "ax", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.100000381, + "y": -2.550003, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0123918056, + "kY": 0.0123918056, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -65.7999954, + "y": 11.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3106687, + "kY": -0.3106687, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -68.0, + "y": -0.300003052, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.05619967, + "kY": -0.05619967, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -76.6499939, + "y": 75.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.48143554, + "kY": -1.48143554, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -46.5, + "y": 136.15, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.43403625, + "kY": -2.43403625, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 28.3999977, + "y": 182.45, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.12797928, + "kY": -3.12797928, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -45.4, + "y": 146.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.35322762, + "kY": -2.35322762, + "fi": 13, + "twE": 0 + }, + { + "dI": 0, + "x": -86.25, + "y": -10.5500031, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0171042681, + "kY": 0.0171042681, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -68.0, + "y": -0.300003052, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.05619967, + "kY": -0.05619967, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "arm_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.299999237, + "y": -1.94999981, + "z": 0, + "cX": 0.99, + "cY": 1.01, + "kX": -0.008901, + "kY": -0.009250402, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -47.25, + "y": 1.69999981, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.275936663, + "kY": -0.275936663, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -47.9, + "y": -7.05, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.322187841, + "kY": -0.322187841, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -47.9499969, + "y": 18.95, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.98286867, + "kY": -1.98286867, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -11.3499985, + "y": 36.2, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.814518, + "kY": -2.814518, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -67.3999939, + "y": -12.4500008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0438076258, + "kY": 0.0438076258, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -47.9, + "y": -7.05, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.322187841, + "kY": -0.322187841, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "hand_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.25, + "y": -1.0, + "z": 0, + "cX": 1.0, + "cY": 1.02, + "kX": -0.00523591042, + "kY": -0.00541067123, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -61.8000031, + "y": 2.89999771, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.275936663, + "kY": -0.275936663, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -64.8, + "y": -5.20000458, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.322187841, + "kY": -0.322187841, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -69.2, + "y": 93.05, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.23192716, + "kY": -2.23192716, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -26.0500011, + "y": 136.049988, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.184877, + "kY": -3.184877, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -79.8, + "y": -10.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.322187841, + "kY": -0.322187841, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -64.8, + "y": -5.20000458, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.322187841, + "kY": -0.322187841, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "effect", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -65.2, + "y": 87.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6220353, + "kY": -2.51955724, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -135.5, + "y": -20.2, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.53798413, + "kY": -1.60360849, + "fi": 15, + "twE": 0 + }, + { + "dI": 1, + "x": -87.55, + "y": -26.15, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.178896248, + "kY": 2.96269631, + "fi": 16, + "twE": 0 + }, + { + "dI": 2, + "x": -86.4, + "y": -45.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.08150688, + "kY": 3.06008577, + "fi": 17, + "twE": 0 + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 18, + "twE": 0 + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + } + ] + }, + { + "name": "smitten", + "dr": 9, + "lp": false, + "to": 6, + "drTW": 9, + "twE": 10000, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "armor", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -2.75, + "y": 0.799999237, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0301942, + "kY": 0.0301942, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 13.1000023, + "y": -2.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0556760021, + "kY": -0.0556760021, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "hand_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.449996948, + "y": 1.14999771, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0303687155, + "kY": 0.0303687155, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 17.1999969, + "y": -3.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.108734012, + "kY": 0.108734012, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "arm_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -1.800003, + "y": 1.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.030194195, + "kY": 0.030194195, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 13.1999969, + "y": -2.30000019, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.008726645, + "kY": 0.008726645, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "head", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -2.69999886, + "y": -0.450000763, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0301941969, + "kY": 0.0301941969, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 14.1999989, + "y": 6.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.302291, + "kY": -0.302291, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "leg_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 2.79999924, + "y": -0.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.103498019, + "kY": -0.103498019, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "foot_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "body", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -1.40000153, + "y": 0.3000002, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0301941969, + "kY": 0.0301941969, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 8.700001, + "y": -0.399999619, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.103498019, + "kY": -0.103498019, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "foot_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "leg_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 2.59999847, + "y": -0.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.103498019, + "kY": -0.103498019, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "ax", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.8000002, + "y": -0.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0303686857, + "kY": 0.0303686857, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 13.55, + "y": 2.40000153, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.133866787, + "kY": -0.133866787, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "arm_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -1.34999847, + "y": -0.05000019, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0301940441, + "kY": 0.0301940441, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 12.1500015, + "y": 0.3499999, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.03577912, + "kY": 0.03577912, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "hand_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 14.0, + "y": 0.449996948, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.03577912, + "kY": 0.03577912, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + } + ] + }, + { + "name": "death", + "dr": 33, + "lp": false, + "to": 6, + "drTW": 33, + "twE": 10000, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "armor", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -47.6, + "y": -55.65, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.283616, + "kY": -0.283616, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -47.35, + "y": -51.9, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.117984258, + "kY": -0.117984258, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -47.3, + "y": -48.1, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.152018189, + "kY": 0.152018189, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -109.0, + "y": -89.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.974417269, + "kY": 0.974417269, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -172.55, + "y": -147.35, + "z": 0, + "cX": 1.01, + "cY": 1.02, + "kX": -0.7848745, + "kY": 0.664446831, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -167.65, + "y": -130.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.591492057, + "kY": 0.591492057, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -167.75, + "y": -135.7, + "z": 0, + "cX": 0.99, + "cY": 0.99, + "kX": -0.6688102, + "kY": 0.6688102, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -167.75, + "y": -134.9, + "z": 0, + "cX": 0.99, + "cY": 0.99, + "kX": -0.634776235, + "kY": 0.634776235, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -167.75, + "y": -134.9, + "z": 0, + "cX": 0.99, + "cY": 0.99, + "kX": -0.634776235, + "kY": 0.634776235, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -167.75, + "y": -134.9, + "z": 0, + "cX": 0.99, + "cY": 0.99, + "kX": -0.634776235, + "kY": 0.634776235, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "hand_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -73.9, + "y": -52.6, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.430921763, + "kY": -0.430921763, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -57.25, + "y": -51.9, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.13334316, + "kY": -0.13334316, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -15.9000015, + "y": -41.3000031, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6058038, + "kY": 0.6058038, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -40.45, + "y": -26.8000031, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.54828155, + "kY": 1.54828155, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -104.7, + "y": -106.250008, + "z": 0, + "cX": 1.0, + "cY": 1.03, + "kX": -1.301841, + "kY": 1.18577659, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -108.1, + "y": -96.75001, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.24668872, + "kY": 1.24668872, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -103.55, + "y": -91.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.50185585, + "kY": 1.50185585, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -103.65, + "y": -91.9, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.46345854, + "kY": 1.46345854, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -103.65, + "y": -91.9, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.46345854, + "kY": 1.46345854, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -103.65, + "y": -91.9, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.46345854, + "kY": 1.46345854, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "arm_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -57.2, + "y": -58.1499977, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.283616, + "kY": -0.283616, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -51.3000031, + "y": -53.1499977, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.118333317, + "kY": -0.118333317, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -40.15, + "y": -44.8, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.313286573, + "kY": 0.313286573, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -87.05, + "y": -63.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.10304809, + "kY": 1.10304809, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -152.1, + "y": -129.4, + "z": 0, + "cX": 1.03, + "cY": 1.0, + "kX": -0.784874558, + "kY": 0.6668903, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -150.6, + "y": -115.15, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6956882, + "kY": 0.6956882, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -149.25, + "y": -117.05, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.751364231, + "kY": 0.751364231, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -149.35, + "y": -116.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.7770205, + "kY": 0.7770205, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -149.35, + "y": -116.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.7770205, + "kY": 0.7770205, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -149.35, + "y": -116.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.7770205, + "kY": 0.7770205, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "head", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -46.8, + "y": -49.6, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.256737918, + "kY": -0.256737918, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -47.25, + "y": -48.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.127059966, + "kY": -0.127059966, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -47.35, + "y": -48.1, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -89.1, + "y": -76.15, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.9876818, + "kY": -0.9876818, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -156.799988, + "y": -158.7, + "z": 0, + "cX": 1.08, + "cY": 0.96, + "kX": 0.18989183, + "kY": -0.1631883, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -149.9, + "y": -151.6, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.199665651, + "kY": 0.199665651, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -150.349991, + "y": -148.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.144687787, + "kY": -0.144687787, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -150.45, + "y": -148.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0877900645, + "kY": -0.0877900645, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -150.45, + "y": -148.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0877900645, + "kY": -0.0877900645, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -150.45, + "y": -148.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0877900645, + "kY": -0.0877900645, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "leg_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -57.8, + "y": -43.3500023, + "z": 0, + "cX": 1.07, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -56.35, + "y": -43.3500023, + "z": 0, + "cX": 1.03, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -54.95, + "y": -40.4999962, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -46.9, + "y": -34.8500023, + "z": 0, + "cX": 1.0, + "cY": 1.02, + "kX": -0.485550582, + "kY": 0.4281293, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -38.85, + "y": -51.95, + "z": 0, + "cX": 1.0, + "cY": 1.03, + "kX": -0.972497463, + "kY": 0.85538584, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -45.1, + "y": -35.9999962, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.7639306, + "kY": 0.7639306, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -43.55, + "y": -39.95, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.919439435, + "kY": 0.919439435, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -43.55, + "y": -39.1000023, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.8766789, + "kY": 0.8766789, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -43.55, + "y": -39.1000023, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.8766789, + "kY": 0.8766789, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -43.55, + "y": -39.1000023, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.8766789, + "kY": 0.8766789, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "foot_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 11.3000031, + "y": 1.45000458, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.67813408, + "kY": 1.67813408, + "fi": 1, + "twE": 0 + }, + { + "dI": 0, + "x": 11.4500008, + "y": -9.299995, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.395988, + "kY": 2.395988, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 11.3500023, + "y": -9.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.39738417, + "kY": 2.39738417, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 11.4500008, + "y": -9.299995, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.395988, + "kY": 2.395988, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": 17.75, + "y": -2.04999542, + "z": 0, + "cX": 1.0, + "cY": 1.02, + "kX": -2.26613545, + "kY": 2.32320786, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": 24.0, + "y": -17.7000046, + "z": 0, + "cX": 1.0, + "cY": 1.04, + "kX": -2.13558483, + "kY": 2.250253, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": 7.15000153, + "y": -7.40000153, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.1425662, + "kY": 2.1425662, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": 14.0500031, + "y": -7.90000153, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.304009, + "kY": 2.304009, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": 13.1500015, + "y": -9.599998, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.244668, + "kY": 2.244668, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 13.1500015, + "y": -9.599998, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.244668, + "kY": 2.244668, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": 13.1500015, + "y": -9.599998, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.244668, + "kY": 2.244668, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "body", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -47.3500023, + "y": -55.7, + "z": 0, + "cX": 1.17, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -47.3, + "y": -51.9, + "z": 0, + "cX": 1.08, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -47.3500023, + "y": -48.1000023, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -78.3500061, + "y": -68.75, + "z": 0, + "cX": 0.98, + "cY": 1.04, + "kX": -0.8527679, + "kY": 0.87039566, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -109.25, + "y": -112.149994, + "z": 0, + "cX": 0.96, + "cY": 1.07, + "kX": -1.70239413, + "kY": 1.73799884, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -107.850006, + "y": -95.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71914935, + "kY": 1.71914935, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -107.899994, + "y": -100.7, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71914935, + "kY": 1.71914935, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -107.899994, + "y": -99.8999939, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71914935, + "kY": 1.71914935, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -107.899994, + "y": -99.8999939, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71914935, + "kY": 1.71914935, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -107.899994, + "y": -99.8999939, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71914935, + "kY": 1.71914935, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "foot_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 10.6500015, + "y": -3.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.67813408, + "kY": 1.67813408, + "fi": 1, + "twE": 0 + }, + { + "dI": 0, + "x": 9.550003, + "y": -16.8499985, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.395988, + "kY": 2.395988, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 9.450001, + "y": -16.8499985, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.39738417, + "kY": 2.39738417, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 9.550003, + "y": -16.8499985, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.395988, + "kY": 2.395988, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": 15.5, + "y": -9.25, + "z": 0, + "cX": 1.0, + "cY": 1.02, + "kX": -2.26613545, + "kY": 2.32320786, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": 21.2, + "y": -24.5500031, + "z": 0, + "cX": 1.0, + "cY": 1.04, + "kX": -2.13558483, + "kY": 2.250253, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": 4.60000229, + "y": -11.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.1425662, + "kY": 2.1425662, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": 11.8000031, + "y": -11.6500015, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.304009, + "kY": 2.304009, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": 10.9000015, + "y": -13.1999969, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.244668, + "kY": 2.244668, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 10.9000015, + "y": -13.1999969, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.244668, + "kY": 2.244668, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": 10.9000015, + "y": -13.1999969, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.244668, + "kY": 2.244668, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "leg_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -47.35, + "y": -41.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -47.35, + "y": -37.65, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -47.35, + "y": -33.8500061, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -46.8, + "y": -28.4500046, + "z": 0, + "cX": 0.98, + "cY": 1.03, + "kX": -0.9058259, + "kY": 0.936543643, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -46.3, + "y": -45.8000031, + "z": 0, + "cX": 0.96, + "cY": 1.07, + "kX": -1.81077909, + "kY": 1.87326193, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -49.45, + "y": -29.2000046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.83748257, + "kY": 1.83748257, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -49.4, + "y": -34.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.837308, + "kY": 1.837308, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -49.4, + "y": -33.2000046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.837308, + "kY": 1.837308, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -49.4, + "y": -33.2000046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.837308, + "kY": 1.837308, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -49.4, + "y": -33.2000046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.837308, + "kY": 1.837308, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "ax", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -1.29999971, + "y": -2.800003, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5843363, + "kY": -0.5843363, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -4.39999962, + "y": -19.1500015, + "z": 0, + "cX": 0.72, + "cY": 1.0, + "kX": 0.300196648, + "kY": -1.870993, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -0.399999619, + "y": -37.0500031, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.004712343, + "kY": -3.146305, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -0.5, + "y": -38.4, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": -0.0171042681, + "kY": -3.12448835, + "fi": 13, + "twE": 0 + }, + { + "dI": 0, + "x": -0.4499998, + "y": -37.0500031, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.005061507, + "kY": -3.14665413, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -0.4499998, + "y": -37.0, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.006981373, + "kY": -3.14839935, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -0.4499998, + "y": -37.0500031, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.005061507, + "kY": -3.14665413, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -0.5, + "y": -35.75, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.00733041763, + "kY": -3.148923, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -0.4499998, + "y": -36.35, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.00750494, + "kY": -3.14909744, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -0.4499998, + "y": -35.5500031, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.00750494, + "kY": -3.14909744, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -0.4499998, + "y": -35.5500031, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.00750494, + "kY": -3.14909744, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -0.4499998, + "y": -35.5500031, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.00750494, + "kY": -3.14909744, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "arm_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -47.35, + "y": -55.7, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -47.4, + "y": -51.9, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.000174641609, + "kY": -0.000174641609, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -47.35, + "y": -48.1, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -64.6499939, + "y": -78.45, + "z": 0, + "cX": 1.03, + "cY": 0.98, + "kX": -0.847706437, + "kY": 0.869872, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -93.05, + "y": -122.399994, + "z": 0, + "cX": 1.07, + "cY": 0.96, + "kX": -1.69506371, + "kY": 1.74061692, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -92.0, + "y": -106.6, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -91.8999939, + "y": -111.45, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -91.8999939, + "y": -110.65, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -91.8999939, + "y": -110.65, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -91.8999939, + "y": -110.65, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "hand_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -47.3500023, + "y": -41.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -47.3500023, + "y": -37.6, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.000174641609, + "kY": -0.000174641609, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -47.3500023, + "y": -33.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -45.0, + "y": -42.85, + "z": 0, + "cX": 1.03, + "cY": 0.98, + "kX": -0.847706437, + "kY": 0.869872, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -55.2, + "y": -61.5, + "z": 0, + "cX": 1.07, + "cY": 0.96, + "kX": -1.69506371, + "kY": 1.74061692, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -57.0, + "y": -45.4, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -57.0500031, + "y": -50.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -57.0500031, + "y": -49.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -57.0500031, + "y": -49.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -57.0500031, + "y": -49.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 33, + "twE": 0 + } + ] + } + ] + } + ] + } + ], + "texture_data": [ + { + "name": "girl_cell-tauren_effect_3", + "width": 0.0, + "height": 0.0, + "pX": 0.506521761, + "pY": 0.500409842 + }, + { + "name": "girl_cell-tauren_effect_2", + "width": 0.0, + "height": 0.0, + "pX": 0.5066265, + "pY": 0.495876282 + }, + { + "name": "girl_cell-tauren_effect_1", + "width": 0.0, + "height": 0.0, + "pX": 0.500247538, + "pY": 0.503211 + }, + { + "name": "tauren_cell-armor", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-hand_left", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-arm_left", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-head", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-leg_left", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-foot_left", + "width": 58.0, + "height": 36.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-body", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-foot_right", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-leg_right", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-ax", + "width": 0.0, + "height": 0.0, + "pX": 0.499137938, + "pY": 0.501127839 + }, + { + "name": "tauren_cell-arm_right", + "width": 0.0, + "height": 0.0, + "pX": 0.492241353, + "pY": 0.507 + }, + { + "name": "tauren_cell-hand_right", + "width": 0.0, + "height": 0.0, + "pX": 0.494642854, + "pY": 0.507936537 + } + ], + "config_file_path": [ + "monster0.plist" + ] +} \ No newline at end of file diff --git a/SampleSceneEditor/Resources/ani/enemy/monster0.plist b/SampleSceneEditor/Resources/ani/enemy/monster0.plist new file mode 100644 index 0000000..8c49136 --- /dev/null +++ b/SampleSceneEditor/Resources/ani/enemy/monster0.plist @@ -0,0 +1,312 @@ + + + + + frames + + girl_cell-tauren_effect_3.png + + width + 69 + height + 122 + originalWidth + 69 + originalHeight + 122 + x + 0 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_cell-tauren_effect_2.png + + width + 83 + height + 194 + originalWidth + 83 + originalHeight + 194 + x + 71 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_cell-tauren_effect_1.png + + width + 202 + height + 109 + originalWidth + 202 + originalHeight + 109 + x + 156 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-armor.png + + width + 82 + height + 80 + originalWidth + 82 + originalHeight + 80 + x + 360 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-hand_left.png + + width + 54 + height + 83 + originalWidth + 54 + originalHeight + 83 + x + 444 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-arm_left.png + + width + 51 + height + 58 + originalWidth + 51 + originalHeight + 58 + x + 500 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-head.png + + width + 93 + height + 64 + originalWidth + 93 + originalHeight + 64 + x + 553 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-leg_left.png + + width + 86 + height + 83 + originalWidth + 86 + originalHeight + 83 + x + 648 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-foot_left.png + + width + 58 + height + 36 + originalWidth + 58 + originalHeight + 36 + x + 736 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-body.png + + width + 90 + height + 124 + originalWidth + 90 + originalHeight + 124 + x + 796 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-foot_right.png + + width + 57 + height + 39 + originalWidth + 57 + originalHeight + 39 + x + 888 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-leg_right.png + + width + 86 + height + 83 + originalWidth + 86 + originalHeight + 83 + x + 0 + y + 196 + offsetX + 0 + offsetY + 0 + + tauren_cell-ax.png + + width + 116 + height + 266 + originalWidth + 116 + originalHeight + 266 + x + 88 + y + 196 + offsetX + 0 + offsetY + 0 + + tauren_cell-arm_right.png + + width + 58 + height + 50 + originalWidth + 58 + originalHeight + 50 + x + 206 + y + 196 + offsetX + 0 + offsetY + 0 + + tauren_cell-hand_right.png + + width + 84 + height + 63 + originalWidth + 84 + originalHeight + 63 + x + 266 + y + 196 + offsetX + 0 + offsetY + 0 + + + metadata + + format + 0 + textureFileName + monster0.png + realTextureFileName + monster0.png + size + {1024,1024} + + texture + + width + 1024 + height + 1024 + + + \ No newline at end of file diff --git a/SampleSceneEditor/Resources/ani/enemy/monster0.png b/SampleSceneEditor/Resources/ani/enemy/monster0.png new file mode 100644 index 0000000..a16c51e Binary files /dev/null and b/SampleSceneEditor/Resources/ani/enemy/monster0.png differ diff --git a/SampleSceneEditor/Resources/ani/hero/girl.ExportJson b/SampleSceneEditor/Resources/ani/hero/girl.ExportJson new file mode 100644 index 0000000..0d4a2c1 --- /dev/null +++ b/SampleSceneEditor/Resources/ani/hero/girl.ExportJson @@ -0,0 +1,5326 @@ +{ + "armature_data": [ + { + "strVersion": "1.0.0.0", + "version": 1.0, + "name": "girl", + "bone_data": [ + { + "name": "effect", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 12, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/effect_1.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "girl_png/effect_2.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "girl_png/effect_3.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "girl_hand_right.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 11, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_hand_right.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.999989867, + "cY": 0.999989867, + "kX": -2.02997422, + "kY": 2.02997422 + } + ] + } + ] + }, + { + "name": "girl_arms.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 10, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_arms.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.99999094, + "cY": 0.99999094, + "kX": -1.02019691, + "kY": 1.02019691 + } + ] + } + ] + }, + { + "name": "girl_arm_right.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 9, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_arm_right.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.9999973, + "cY": 0.9999973, + "kX": 0.278314322, + "kY": -0.278314322 + } + ] + } + ] + }, + { + "name": "girl_body.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 8, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_body.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.9999993, + "cY": 0.9999993, + "kX": 0.082138896, + "kY": -0.082138896 + } + ] + } + ] + }, + { + "name": "girl_leg_right.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 7, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_leg_right.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.99999696, + "cY": 0.99999696, + "kX": 0.117749684, + "kY": -0.117749684 + } + ] + } + ] + }, + { + "name": "girl_foot_right.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 6, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_foot_right.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.999994457, + "cY": 0.999994457, + "kX": 0.07405796, + "kY": -0.07405796 + } + ] + } + ] + }, + { + "name": "girl_head.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 5, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_head.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "girl_leg_left.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 4, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_leg_left.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.999995232, + "cY": 0.999995232, + "kX": -0.34014073, + "kY": 0.34014073 + } + ] + } + ] + }, + { + "name": "girl_foot_left.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 3, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_foot_left.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.9999979, + "cY": 0.9999979, + "kX": -0.0306903068, + "kY": 0.0306903068 + } + ] + } + ] + }, + { + "name": "girl_arm_left.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 2, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_arm_left.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "girl_hand_left.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_hand_left.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.9999962, + "cY": 0.9999962, + "kX": -0.357204437, + "kY": 0.357204437 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "girl", + "mov_data": [ + { + "name": "loading", + "dr": 24, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "effect", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_hand_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 22.450000762939453, + "y": -0.85000002384185791, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 22.299999237060547, + "y": 3.9500000476837158, + "z": 0, + "cX": 0.9999966, + "cY": 0.9999966, + "kX": 0.0520561561, + "kY": -0.0520561561, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 22.450000762939453, + "y": -0.85000002384185791, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arms.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.25, + "y": 30.850000381469727, + "z": 0, + "cX": 0.999996543, + "cY": 0.999996543, + "kX": 0.222723842, + "kY": -0.222723842, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 1.7999999523162842, + "y": 36.75, + "z": 0, + "cX": 1.00000775, + "cY": 1.00000775, + "kX": 0.274774283, + "kY": -0.274774283, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.25, + "y": 30.850000381469727, + "z": 0, + "cX": 0.999996543, + "cY": 0.999996543, + "kX": 0.222723842, + "kY": -0.222723842, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 9.1000003814697266, + "y": -2.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 8.9499998092651367, + "y": 3.4500000476837158, + "z": 0, + "cX": 0.9999966, + "cY": 0.9999966, + "kX": 0.0520561561, + "kY": -0.0520561561, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 9.1000003814697266, + "y": -2.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_body.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 23.649999618530273, + "y": -7.0500001907348633, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 25.649999618530273, + "y": -2.0999999046325684, + "z": 0, + "cX": 0.884979248, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 23.649999618530273, + "y": -7.0500001907348633, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 24.899999618530273, + "y": -46.75, + "z": 0, + "cX": 0.999989, + "cY": 0.999989, + "kX": 0.157219052, + "kY": -0.157219052, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 25.649999618530273, + "y": -42.0, + "z": 0, + "cX": 0.9999972, + "cY": 0.9999972, + "kX": 0.09211043, + "kY": -0.09211043, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 24.899999618530273, + "y": -46.75, + "z": 0, + "cX": 0.999989, + "cY": 0.999989, + "kX": 0.157219052, + "kY": -0.157219052, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 21.75, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 21.75, + "y": -76.550003051757812, + "z": 0, + "cX": 1.0, + "cY": 1.04492188, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 21.75, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_head.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 36.700000762939453, + "y": 46.549999237060547, + "z": 0, + "cX": 0.9999995, + "cY": 0.9999995, + "kX": 0.299581528, + "kY": -0.299581528, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 34.349998474121094, + "y": 51.900001525878906, + "z": 0, + "cX": 1.00000072, + "cY": 1.00000072, + "kX": 0.211987466, + "kY": -0.211987466, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.700000762939453, + "y": 46.549999237060547, + "z": 0, + "cX": 0.9999995, + "cY": 0.9999995, + "kX": 0.299581528, + "kY": -0.299581528, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 52.25, + "y": -46.599998474121094, + "z": 0, + "cX": 1.00001228, + "cY": 1.00001228, + "kX": -0.23880206, + "kY": 0.23880206, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 50.200000762939453, + "y": -41.849998474121094, + "z": 0, + "cX": 1.00001192, + "cY": 1.00001192, + "kX": -0.0560131148, + "kY": 0.0560131148, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 52.25, + "y": -46.599998474121094, + "z": 0, + "cX": 1.00001228, + "cY": 1.00001228, + "kX": -0.23880206, + "kY": 0.23880206, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 66.3499984741211, + "y": -73.5, + "z": 0, + "cX": 1.00146353, + "cY": 1.0, + "kX": -0.05407017, + "kY": 0.05407017, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 63.599998474121094, + "y": -73.5, + "z": 0, + "cX": 1.01691544, + "cY": 1.0, + "kX": -0.182649061, + "kY": 0.182649061, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 66.3499984741211, + "y": -73.5, + "z": 0, + "cX": 1.00146353, + "cY": 1.0, + "kX": -0.05407017, + "kY": 0.05407017, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 44.349998474121094, + "y": -2.25, + "z": 0, + "cX": 0.999998569, + "cY": 0.999998569, + "kX": -0.924231231, + "kY": 0.924231231, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 42.0, + "y": -0.75, + "z": 0, + "cX": 0.999999166, + "cY": 0.999999166, + "kX": -0.81579715, + "kY": 0.81579715, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 44.349998474121094, + "y": -2.25, + "z": 0, + "cX": 0.999998569, + "cY": 0.999998569, + "kX": -0.924231231, + "kY": 0.924231231, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_hand_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 69.300003051757812, + "y": -5.5999999046325684, + "z": 0, + "cX": 0.999955535, + "cY": 0.999941, + "kX": -1.07220829, + "kY": 1.07220829, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 65.449996948242188, + "y": -10.699999809265137, + "z": 0, + "cX": 0.9999585, + "cY": 0.9999585, + "kX": -0.879041433, + "kY": 0.879041433, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 69.300003051757812, + "y": -5.5999999046325684, + "z": 0, + "cX": 0.999955535, + "cY": 0.999941, + "kX": -1.07220829, + "kY": 1.07220829, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "run", + "dr": 12, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "girl_hand_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 16.799999237060547, + "y": -13.25, + "z": 0, + "cX": 0.9999943, + "cY": 0.9999943, + "kX": 2.13103724, + "kY": -2.13103724, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 22.0, + "y": -30.799999237060547, + "z": 0, + "cX": 1.00000143, + "cY": 1.00000143, + "kX": 2.12669778, + "kY": -2.12669778, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 16.799999237060547, + "y": -5.25, + "z": 0, + "cX": 0.9999943, + "cY": 0.9999943, + "kX": 2.13103724, + "kY": -2.13103724, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 16.799999237060547, + "y": -13.25, + "z": 0, + "cX": 0.9999943, + "cY": 0.9999943, + "kX": 2.13103724, + "kY": -2.13103724, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 22.0, + "y": -30.799999237060547, + "z": 0, + "cX": 1.00000143, + "cY": 1.00000143, + "kX": 2.12669778, + "kY": -2.12669778, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 16.799999237060547, + "y": -5.25, + "z": 0, + "cX": 0.9999943, + "cY": 0.9999943, + "kX": 2.13103724, + "kY": -2.13103724, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 16.799999237060547, + "y": -13.25, + "z": 0, + "cX": 0.9999943, + "cY": 0.9999943, + "kX": 2.13103724, + "kY": -2.13103724, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arms.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -33.0, + "y": -39.5, + "z": 0, + "cX": 1.00000179, + "cY": 1.00000179, + "kX": -0.862880051, + "kY": 0.862880051, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -33.0, + "y": -55.0, + "z": 0, + "cX": 1.00000179, + "cY": 1.00000179, + "kX": -0.862880051, + "kY": 0.862880051, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -30.75, + "y": -36.799999237060547, + "z": 0, + "cX": 0.9999936, + "cY": 0.9999936, + "kX": -1.04177618, + "kY": 1.04177618, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -33.0, + "y": -39.5, + "z": 0, + "cX": 1.00000179, + "cY": 1.00000179, + "kX": -0.862880051, + "kY": 0.862880051, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -33.0, + "y": -55.0, + "z": 0, + "cX": 1.00000179, + "cY": 1.00000179, + "kX": -0.862880051, + "kY": 0.862880051, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -30.75, + "y": -36.799999237060547, + "z": 0, + "cX": 0.9999936, + "cY": 0.9999936, + "kX": -1.04177618, + "kY": 1.04177618, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -33.0, + "y": -39.5, + "z": 0, + "cX": 1.00000179, + "cY": 1.00000179, + "kX": -0.862880051, + "kY": 0.862880051, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 25.399999618530273, + "y": 8.9499998092651367, + "z": 0, + "cX": 0.999993265, + "cY": 0.999993265, + "kX": 0.8622098, + "kY": -0.8622098, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 29.350000381469727, + "y": -5.9499998092651367, + "z": 0, + "cX": 0.9999955, + "cY": 0.9999955, + "kX": 0.3954848, + "kY": -0.3954848, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 25.399999618530273, + "y": 16.950000762939453, + "z": 0, + "cX": 0.999993265, + "cY": 0.999993265, + "kX": 0.8622098, + "kY": -0.8622098, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 25.399999618530273, + "y": 8.9499998092651367, + "z": 0, + "cX": 0.999993265, + "cY": 0.999993265, + "kX": 0.8622098, + "kY": -0.8622098, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 29.350000381469727, + "y": -5.9499998092651367, + "z": 0, + "cX": 0.9999955, + "cY": 0.9999955, + "kX": 0.3954848, + "kY": -0.3954848, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 25.399999618530273, + "y": 16.950000762939453, + "z": 0, + "cX": 0.999993265, + "cY": 0.999993265, + "kX": 0.8622098, + "kY": -0.8622098, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 25.399999618530273, + "y": 8.9499998092651367, + "z": 0, + "cX": 0.999993265, + "cY": 0.999993265, + "kX": 0.8622098, + "kY": -0.8622098, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_body.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 30.649999618530273, + "y": 5.0, + "z": 0, + "cX": 0.9999876, + "cY": 0.9999876, + "kX": 0.4571033, + "kY": -0.4571033, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.649999618530273, + "y": -5.0, + "z": 0, + "cX": 0.9999876, + "cY": 0.9999876, + "kX": 0.4571033, + "kY": -0.4571033, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.649999618530273, + "y": 13.0, + "z": 0, + "cX": 0.9999876, + "cY": 0.9999876, + "kX": 0.4571033, + "kY": -0.4571033, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.649999618530273, + "y": 5.0, + "z": 0, + "cX": 0.9999876, + "cY": 0.9999876, + "kX": 0.4571033, + "kY": -0.4571033, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.649999618530273, + "y": -5.0, + "z": 0, + "cX": 0.9999876, + "cY": 0.9999876, + "kX": 0.4571033, + "kY": -0.4571033, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.649999618530273, + "y": 13.0, + "z": 0, + "cX": 0.9999876, + "cY": 0.9999876, + "kX": 0.4571033, + "kY": -0.4571033, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.649999618530273, + "y": 5.0, + "z": 0, + "cX": 0.9999876, + "cY": 0.9999876, + "kX": 0.4571033, + "kY": -0.4571033, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 3.0999999046325684, + "y": -31.149999618530273, + "z": 0, + "cX": 1.00001848, + "cY": 1.00001848, + "kX": 0.837675, + "kY": -0.837675, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 21.399999618530273, + "y": -51.549999237060547, + "z": 0, + "cX": 1.000011, + "cY": 1.000011, + "kX": -0.0811581239, + "kY": 0.0811581239, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 43.049999237060547, + "y": -34.049999237060547, + "z": 0, + "cX": 1.0000118, + "cY": 1.0000118, + "kX": -0.827975452, + "kY": 0.827975452, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 29.600000381469727, + "y": -44.049999237060547, + "z": 0, + "cX": 0.999996841, + "cY": 0.999996841, + "kX": -0.851695, + "kY": 0.851695, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.149999618530273, + "y": -52.299999237060547, + "z": 0, + "cX": 1.00000584, + "cY": 1.00000584, + "kX": -0.6645963, + "kY": 0.6645963, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 3.9500000476837158, + "y": -32.150001525878906, + "z": 0, + "cX": 1.000006, + "cY": 1.000006, + "kX": 0.566659, + "kY": -0.566659, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 15.649999618530273, + "y": -27.049999237060547, + "z": 0, + "cX": 1.00001466, + "cY": 1.00001466, + "kX": 0.694664061, + "kY": -0.694664061, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -26.549999237060547, + "y": -38.650001525878906, + "z": 0, + "cX": 0.9999667, + "cY": 0.9999667, + "kX": 1.6650399, + "kY": -1.6650399, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 7.3000001907348633, + "y": -71.449996948242188, + "z": 0, + "cX": 0.9999714, + "cY": 0.9999714, + "kX": 1.20746791, + "kY": -1.20746791, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 54.450000762939453, + "y": -63.349998474121094, + "z": 0, + "cX": 0.9999365, + "cY": 0.9999365, + "kX": -0.171721488, + "kY": 0.171721488, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 52.650001525878906, + "y": -72.300003051757812, + "z": 0, + "cX": 0.9999522, + "cY": 0.9999522, + "kX": -0.69523257, + "kY": 0.69523257, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 33.450000762939453, + "y": -81.550003051757812, + "z": 0, + "cX": 0.999959052, + "cY": 0.999959052, + "kX": -0.07937123, + "kY": 0.07937123, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -25.399999618530273, + "y": -57.900001525878906, + "z": 0, + "cX": 0.9999154, + "cY": 0.9999154, + "kX": 0.9134753, + "kY": -0.9134753, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -12.75, + "y": -41.349998474121094, + "z": 0, + "cX": 0.9999611, + "cY": 0.9999611, + "kX": 1.43033, + "kY": -1.43033, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_head.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 60.150001525878906, + "y": 45.400001525878906, + "z": 0, + "cX": 0.999985, + "cY": 0.999985, + "kX": 0.357566953, + "kY": -0.357566953, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 58.700000762939453, + "y": 35.75, + "z": 0, + "cX": 0.999998748, + "cY": 0.999998748, + "kX": 0.301434815, + "kY": -0.301434815, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 62.549999237060547, + "y": 52.549999237060547, + "z": 0, + "cX": 0.9999704, + "cY": 0.9999704, + "kX": 0.448593, + "kY": -0.448593, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 60.150001525878906, + "y": 45.400001525878906, + "z": 0, + "cX": 0.999985, + "cY": 0.999985, + "kX": 0.357566953, + "kY": -0.357566953, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 58.700000762939453, + "y": 35.75, + "z": 0, + "cX": 0.999998748, + "cY": 0.999998748, + "kX": 0.301434815, + "kY": -0.301434815, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 62.549999237060547, + "y": 52.549999237060547, + "z": 0, + "cX": 0.9999704, + "cY": 0.9999704, + "kX": 0.448593, + "kY": -0.448593, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 60.150001525878906, + "y": 45.400001525878906, + "z": 0, + "cX": 0.999985, + "cY": 0.999985, + "kX": 0.357566953, + "kY": -0.357566953, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 31.0, + "y": -51.299999237060547, + "z": 0, + "cX": 1.00000608, + "cY": 1.00000608, + "kX": -0.2805025, + "kY": 0.2805025, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 18.649999618530273, + "y": -48.150001525878906, + "z": 0, + "cX": 0.99998945, + "cY": 0.99998945, + "kX": -0.033743944, + "kY": 0.033743944, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -2.9000000953674316, + "y": -41.5, + "z": 0, + "cX": 1.000017, + "cY": 1.000017, + "kX": 1.18072128, + "kY": -1.18072128, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 1.5, + "y": -31.799999237060547, + "z": 0, + "cX": 1.000006, + "cY": 1.000006, + "kX": 1.57426012, + "kY": -1.57426012, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 16.799999237060547, + "y": -45.549999237060547, + "z": 0, + "cX": 0.9999699, + "cY": 0.9999699, + "kX": 0.743045866, + "kY": -0.743045866, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 34.049999237060547, + "y": -34.349998474121094, + "z": 0, + "cX": 0.999997735, + "cY": 0.999997735, + "kX": -0.658376, + "kY": 0.658376, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.0, + "y": -51.299999237060547, + "z": 0, + "cX": 1.00000608, + "cY": 1.00000608, + "kX": -0.2805025, + "kY": 0.2805025, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 51.549999237060547, + "y": -74.1500015258789, + "z": 0, + "cX": 1.02627826, + "cY": 0.974502563, + "kX": -0.659282744, + "kY": 0.659282744, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 27.299999237060547, + "y": -78.449996948242188, + "z": 0, + "cX": 1.00173211, + "cY": 0.999697745, + "kX": -0.0600975379, + "kY": 0.0600975379, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -27.0, + "y": -67.300003051757812, + "z": 0, + "cX": 0.973688, + "cY": 1.02703607, + "kX": 0.8617995, + "kY": -0.8617995, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -27.549999237060547, + "y": -38.849998474121094, + "z": 0, + "cX": 1.01794434, + "cY": 0.9831905, + "kX": 1.92554939, + "kY": -1.92554939, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -2.75, + "y": -70.300003051757812, + "z": 0, + "cX": 0.9843814, + "cY": 1.01676261, + "kX": 1.25799656, + "kY": -1.25799656, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 51.900001525878906, + "y": -55.5, + "z": 0, + "cX": 1.0049454, + "cY": 0.9964599, + "kX": -0.119170226, + "kY": 0.119170226, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 51.549999237060547, + "y": -74.1500015258789, + "z": 0, + "cX": 1.02627826, + "cY": 0.974502563, + "kX": -0.659282744, + "kY": 0.659282744, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 40.099998474121094, + "y": 4.1500000953674316, + "z": 0, + "cX": 0.9999772, + "cY": 0.9999772, + "kX": 1.07140338, + "kY": -1.07140338, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 40.099998474121094, + "y": -5.8499999046325684, + "z": 0, + "cX": 0.9999772, + "cY": 0.9999772, + "kX": 1.07140338, + "kY": -1.07140338, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 47.099998474121094, + "y": 7.5500001907348633, + "z": 0, + "cX": 0.9999815, + "cY": 0.9999815, + "kX": -0.0189681631, + "kY": 0.0189681631, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 52.0, + "y": -4.6500000953674316, + "z": 0, + "cX": 0.9999607, + "cY": 0.9999607, + "kX": -0.631366551, + "kY": 0.631366551, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 43.799999237060547, + "y": -12.350000381469727, + "z": 0, + "cX": 0.999958336, + "cY": 0.999958336, + "kX": -0.28940472, + "kY": 0.28940472, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 39.349998474121094, + "y": 16.25, + "z": 0, + "cX": 0.9999688, + "cY": 0.9999688, + "kX": 0.2467514, + "kY": -0.2467514, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 40.099998474121094, + "y": 4.1500000953674316, + "z": 0, + "cX": 0.9999772, + "cY": 0.9999772, + "kX": 1.07140338, + "kY": -1.07140338, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_hand_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 21.450000762939453, + "y": -17.649999618530273, + "z": 0, + "cX": 0.9999772, + "cY": 0.9999772, + "kX": 1.07140338, + "kY": -1.07140338, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 21.450000762939453, + "y": -27.649999618530273, + "z": 0, + "cX": 0.9999772, + "cY": 0.9999772, + "kX": 1.07140338, + "kY": -1.07140338, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 57.849998474121094, + "y": -19.100000381469727, + "z": 0, + "cX": 0.9999815, + "cY": 0.9999815, + "kX": -0.0189681631, + "kY": 0.0189681631, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 72.8499984741211, + "y": -8.0, + "z": 0, + "cX": 0.99993813, + "cY": 0.99993813, + "kX": -1.14118838, + "kY": 1.14118838, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 60.549999237060547, + "y": -30.950000762939453, + "z": 0, + "cX": 0.9999541, + "cY": 0.9999541, + "kX": -0.494163573, + "kY": 0.494163573, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 42.700000762939453, + "y": -12.300000190734863, + "z": 0, + "cX": 0.9999688, + "cY": 0.9999688, + "kX": 0.2467514, + "kY": -0.2467514, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 21.450000762939453, + "y": -17.649999618530273, + "z": 0, + "cX": 0.9999772, + "cY": 0.9999772, + "kX": 1.07140338, + "kY": -1.07140338, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "attack", + "dr": 19, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "effect", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -18.649999618530273, + "y": 98.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 11, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 1, + "x": 186.64999389648438, + "y": -1.3999999761581421, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 2, + "x": 189.05000305175781, + "y": -19.049999237060547, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 13, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 14, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_hand_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 37.849998474121094, + "y": -0.44999998807907104, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.75, + "y": -3.5, + "z": 0, + "cX": 0.999999166, + "cY": 0.999999166, + "kX": 0.07329259, + "kY": -0.07329259, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 24.799999237060547, + "y": 29.600000381469727, + "z": 0, + "cX": 0.9981235, + "cY": 0.9981235, + "kX": -1.17215741, + "kY": 1.17215741, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 14.850000381469727, + "y": 49.599998474121094, + "z": 0, + "cX": 0.9999971, + "cY": 0.9999971, + "kX": -1.13066626, + "kY": 1.13066626, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 45.849998474121094, + "y": 51.599998474121094, + "z": 0, + "cX": 0.9999971, + "cY": 0.9999971, + "kX": -1.13066626, + "kY": 1.13066626, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 103.94999694824219, + "y": 14.75, + "z": 0, + "cX": 0.9993636, + "cY": 0.9993636, + "kX": 0.192703322, + "kY": -0.192703322, + "fi": 11, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 71.4000015258789, + "y": -34.900001525878906, + "z": 0, + "cX": 0.9999865, + "cY": 0.9999865, + "kX": 1.51922858, + "kY": -1.51922858, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 78.4000015258789, + "y": -25.899999618530273, + "z": 0, + "cX": 0.9999865, + "cY": 0.9999865, + "kX": 1.51922858, + "kY": -1.51922858, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 67.1500015258789, + "y": -15.949999809265137, + "z": 0, + "cX": 0.9983966, + "cY": 0.9983966, + "kX": 0.910599, + "kY": -0.910599, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 37.849998474121094, + "y": -0.44999998807907104, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arms.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -5.4000000953674316, + "y": 31.200000762939453, + "z": 0, + "cX": 0.9999997, + "cY": 0.9999997, + "kX": -0.039057184, + "kY": 0.039057184, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -4.5, + "y": 30.549999237060547, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.016571803, + "kY": -0.016571803, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -24.200000762939453, + "y": 62.549999237060547, + "z": 0, + "cX": 0.999394238, + "cY": 0.999394238, + "kX": -0.1446803, + "kY": 0.1446803, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -34.900001525878906, + "y": 79.1500015258789, + "z": 0, + "cX": 0.999999344, + "cY": 0.999999344, + "kX": -0.200965613, + "kY": 0.200965613, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -3.9000000953674316, + "y": 81.1500015258789, + "z": 0, + "cX": 0.999999344, + "cY": 0.999999344, + "kX": -0.200965613, + "kY": 0.200965613, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 98.5999984741211, + "y": 68.949996948242188, + "z": 0, + "cX": 0.9993764, + "cY": 0.9993764, + "kX": 0.6807094, + "kY": -0.6807094, + "fi": 11, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 122.55000305175781, + "y": -63.950000762939453, + "z": 0, + "cX": 0.9999766, + "cY": 0.9999766, + "kX": 3.074723, + "kY": -3.074723, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 132.30000305175781, + "y": -49.849998474121094, + "z": 0, + "cX": 0.999992132, + "cY": 0.999992132, + "kX": 2.935827, + "kY": -2.935827, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 114.80000305175781, + "y": 14.5, + "z": 0, + "cX": 0.9986646, + "cY": 0.9986646, + "kX": 1.74560833, + "kY": -1.74560833, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 81.300003051757812, + "y": 37.799999237060547, + "z": 0, + "cX": 0.9988023, + "cY": 0.9988023, + "kX": 1.15111387, + "kY": -1.15111387, + "fi": 17, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -5.4000000953674316, + "y": 31.200000762939453, + "z": 0, + "cX": 0.9999997, + "cY": 0.9999997, + "kX": -0.039057184, + "kY": 0.039057184, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 24.5, + "y": -1.6000000238418579, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 23.350000381469727, + "y": -3.7000000476837158, + "z": 0, + "cX": 0.999999166, + "cY": 0.999999166, + "kX": 0.07329259, + "kY": -0.07329259, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 40.849998474121094, + "y": 19.649999618530273, + "z": 0, + "cX": 0.9979647, + "cY": 0.9979647, + "kX": -2.358584, + "kY": 2.358584, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 25.450000762939453, + "y": 30.700000762939453, + "z": 0, + "cX": 0.9999952, + "cY": 0.9999952, + "kX": -3.731106, + "kY": 3.731106, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 54.5, + "y": 21.75, + "z": 0, + "cX": 0.9999865, + "cY": 0.9999865, + "kX": -3.72294664, + "kY": 3.72294664, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 73.5, + "y": 5.4000000953674316, + "z": 0, + "cX": 0.998575568, + "cY": 0.998575568, + "kX": -1.829373, + "kY": 1.829373, + "fi": 11, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 56.200000762939453, + "y": -5.25, + "z": 0, + "cX": 0.9999847, + "cY": 0.9999847, + "kX": -0.458823, + "kY": 0.458823, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 60.5, + "y": -4.0500001907348633, + "z": 0, + "cX": 0.999985635, + "cY": 0.999985635, + "kX": -0.7941703, + "kY": 0.7941703, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.200000762939453, + "y": -4.0, + "z": 0, + "cX": 0.998622656, + "cY": 0.998622656, + "kX": -0.476515174, + "kY": 0.476515174, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 24.5, + "y": -1.6000000238418579, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_body.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 28.600000381469727, + "y": -2.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.600000381469727, + "y": -4.4499998092651367, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.600000381469727, + "y": 0.89999997615814209, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.600000381469727, + "y": 4.6999998092651367, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 54.099998474121094, + "y": -1.0499999523162842, + "z": 0, + "cX": 1.00000358, + "cY": 1.00000358, + "kX": 0.509417951, + "kY": -0.509417951, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 54.099998474121094, + "y": 2.2000000476837158, + "z": 0, + "cX": 1.00000358, + "cY": 1.00000358, + "kX": 0.509417951, + "kY": -0.509417951, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 54.099998474121094, + "y": 2.2000000476837158, + "z": 0, + "cX": 1.00000358, + "cY": 1.00000358, + "kX": 0.509417951, + "kY": -0.509417951, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 43.900001525878906, + "y": 0.44999998807907104, + "z": 0, + "cX": 0.9990607, + "cY": 0.9990607, + "kX": 0.305792242, + "kY": -0.305792242, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.600000381469727, + "y": -2.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 30.899999618530273, + "y": -42.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.049999237060547, + "y": -43.75, + "z": 0, + "cX": 0.99999994, + "cY": 0.99999994, + "kX": -0.05182679, + "kY": 0.05182679, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.100000381469727, + "y": -40.349998474121094, + "z": 0, + "cX": 0.999855459, + "cY": 0.999855459, + "kX": -0.0489615723, + "kY": 0.0489615723, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.049999237060547, + "y": -37.200000762939453, + "z": 0, + "cX": 0.99999994, + "cY": 0.99999994, + "kX": -0.05182679, + "kY": 0.05182679, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 39.299999237060547, + "y": -45.299999237060547, + "z": 0, + "cX": 0.9999868, + "cY": 0.9999868, + "kX": 0.364269584, + "kY": -0.364269584, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 40.5, + "y": -42.700000762939453, + "z": 0, + "cX": 0.999996, + "cY": 0.999996, + "kX": 0.256118357, + "kY": -0.256118357, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 40.5, + "y": -42.700000762939453, + "z": 0, + "cX": 0.999996, + "cY": 0.999996, + "kX": 0.256118357, + "kY": -0.256118357, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.700000762939453, + "y": -42.900001525878906, + "z": 0, + "cX": 0.999504149, + "cY": 0.999504149, + "kX": 0.153031185, + "kY": -0.153031185, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.899999618530273, + "y": -42.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 27.850000381469727, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.799999237060547, + "y": -77.6500015258789, + "z": 0, + "cX": 1.00075316, + "cY": 1.0, + "kX": 0.03879888, + "kY": -0.03879888, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.950000762939453, + "y": -76.6500015258789, + "z": 0, + "cX": 1.00069571, + "cY": 1.039093, + "kX": 0.0372904427, + "kY": -0.0372904427, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.850000381469727, + "y": -76.3499984741211, + "z": 0, + "cX": 1.00083387, + "cY": 1.05209351, + "kX": 0.0408250839, + "kY": -0.0408250839, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.799999237060547, + "y": -77.6500015258789, + "z": 0, + "cX": 1.00075316, + "cY": 1.0, + "kX": 0.03879888, + "kY": -0.03879888, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.799999237060547, + "y": -77.6500015258789, + "z": 0, + "cX": 1.00075316, + "cY": 1.0, + "kX": 0.03879888, + "kY": -0.03879888, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.799999237060547, + "y": -77.6500015258789, + "z": 0, + "cX": 1.00075316, + "cY": 1.0, + "kX": 0.03879888, + "kY": -0.03879888, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.5, + "y": -77.5999984741211, + "z": 0, + "cX": 1.00024641, + "cY": 1.00015259, + "kX": 0.022197891, + "kY": -0.022197891, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 27.850000381469727, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_head.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 33.599998474121094, + "y": 51.950000762939453, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 32.599998474121094, + "y": 49.549999237060547, + "z": 0, + "cX": 0.9999938, + "cY": 0.9999938, + "kX": -0.04006529, + "kY": 0.04006529, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 37.75, + "y": 55.0, + "z": 0, + "cX": 0.9995356, + "cY": 0.9995356, + "kX": 0.148563847, + "kY": -0.148563847, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.450000762939453, + "y": 58.849998474121094, + "z": 0, + "cX": 1.00001192, + "cY": 1.00001192, + "kX": 0.103362657, + "kY": -0.103362657, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 87.449996948242188, + "y": 36.400001525878906, + "z": 0, + "cX": 0.999975145, + "cY": 0.999975145, + "kX": 0.647672951, + "kY": -0.647672951, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 88.0, + "y": 39.25, + "z": 0, + "cX": 0.9999884, + "cY": 0.9999884, + "kX": 0.673578, + "kY": -0.673578, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 88.0, + "y": 39.25, + "z": 0, + "cX": 0.9999884, + "cY": 0.9999884, + "kX": 0.673578, + "kY": -0.673578, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 66.5999984741211, + "y": 45.650001525878906, + "z": 0, + "cX": 0.9987818, + "cY": 0.9987818, + "kX": 0.402625, + "kY": -0.402625, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 33.599998474121094, + "y": 51.950000762939453, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 42.450000762939453, + "y": -45.400001525878906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 43.700000762939453, + "y": -46.25, + "z": 0, + "cX": 0.9999923, + "cY": 0.9999923, + "kX": -0.07235983, + "kY": 0.07235983, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 50.5, + "y": -40.200000762939453, + "z": 0, + "cX": 0.998352, + "cY": 0.998352, + "kX": -0.735284865, + "kY": 0.735284865, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 52.25, + "y": -36.299999237060547, + "z": 0, + "cX": 0.9999937, + "cY": 0.9999937, + "kX": -0.957445264, + "kY": 0.957445264, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 66.4000015258789, + "y": -48.849998474121094, + "z": 0, + "cX": 1.00000191, + "cY": 1.00000191, + "kX": -0.376491338, + "kY": 0.376491338, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 65.300003051757812, + "y": -45.950000762939453, + "z": 0, + "cX": 1.00000381, + "cY": 1.00000381, + "kX": -0.268044, + "kY": 0.268044, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 65.300003051757812, + "y": -45.950000762939453, + "z": 0, + "cX": 1.00000381, + "cY": 1.00000381, + "kX": -0.268044, + "kY": 0.268044, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 56.0, + "y": -45.75, + "z": 0, + "cX": 0.999467969, + "cY": 0.999467969, + "kX": -0.158121, + "kY": 0.158121, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 42.450000762939453, + "y": -45.400001525878906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 51.950000762939453, + "y": -75.699996948242188, + "z": 0, + "cX": 1.00146353, + "cY": 1.0, + "kX": -0.05407017, + "kY": 0.05407017, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 53.700000762939453, + "y": -75.699996948242188, + "z": 0, + "cX": 1.00033522, + "cY": 1.0, + "kX": 0.02588838, + "kY": -0.02588838, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 52.599998474121094, + "y": -63.700000762939453, + "z": 0, + "cX": 1.02473891, + "cY": 1.0755465, + "kX": 0.442916036, + "kY": -0.442916036, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 50.400001525878906, + "y": -55.349998474121094, + "z": 0, + "cX": 1.07585454, + "cY": 1.06281579, + "kX": 0.7956579, + "kY": -0.7956579, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 81.550003051757812, + "y": -75.75, + "z": 0, + "cX": 1.00033522, + "cY": 1.0, + "kX": 0.02588838, + "kY": -0.02588838, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 81.550003051757812, + "y": -75.75, + "z": 0, + "cX": 1.00033522, + "cY": 1.0, + "kX": 0.02588838, + "kY": -0.02588838, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 81.550003051757812, + "y": -75.75, + "z": 0, + "cX": 1.00033522, + "cY": 1.0, + "kX": 0.02588838, + "kY": -0.02588838, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 67.8499984741211, + "y": -72.9000015258789, + "z": 0, + "cX": 0.999102354, + "cY": 1.00167215, + "kX": 0.195882991, + "kY": -0.195882991, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 51.950000762939453, + "y": -75.699996948242188, + "z": 0, + "cX": 1.00146353, + "cY": 1.0, + "kX": -0.05407017, + "kY": 0.05407017, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 36.400001525878906, + "y": -0.10000000149011612, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.400001525878906, + "y": -2.2999999523162842, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.400001525878906, + "y": 3.0499999523162842, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.400001525878906, + "y": 6.8499999046325684, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 59.549999237060547, + "y": -6.5, + "z": 0, + "cX": 0.9999991, + "cY": 0.9999991, + "kX": 0.3007157, + "kY": -0.3007157, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 59.549999237060547, + "y": -3.25, + "z": 0, + "cX": 0.9999991, + "cY": 0.9999991, + "kX": 0.3007157, + "kY": -0.3007157, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 59.549999237060547, + "y": -3.25, + "z": 0, + "cX": 0.9999991, + "cY": 0.9999991, + "kX": 0.3007157, + "kY": -0.3007157, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 50.25, + "y": -2.1500000953674316, + "z": 0, + "cX": 0.9994218, + "cY": 0.9994218, + "kX": 0.1793933, + "kY": -0.1793933, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.400001525878906, + "y": -0.10000000149011612, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_hand_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 46.549999237060547, + "y": -26.850000381469727, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -29.049999237060547, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -26.600000381469727, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -25.799999237060547, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -32.299999237060547, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -29.049999237060547, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -29.049999237060547, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -28.149999618530273, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -26.850000381469727, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "smitten", + "dr": 8, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "girl_hand_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 37.849998474121094, + "y": -0.44999998807907104, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 40.900001525878906, + "y": -0.44999998807907104, + "z": 0, + "cX": 0.999999642, + "cY": 0.999999642, + "kX": 0.0646660551, + "kY": -0.0646660551, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 32.549999237060547, + "y": -0.60000002384185791, + "z": 0, + "cX": 0.9999991, + "cY": 0.9999991, + "kX": -0.121852949, + "kY": 0.121852949, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 37.849998474121094, + "y": -0.44999998807907104, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arms.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -5.4000000953674316, + "y": 31.200000762939453, + "z": 0, + "cX": 0.9999997, + "cY": 0.9999997, + "kX": -0.039057184, + "kY": 0.039057184, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -0.20000000298023224, + "y": 33.950000762939453, + "z": 0, + "cX": 0.999992132, + "cY": 0.999992132, + "kX": 0.0256072469, + "kY": -0.0256072469, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -14.199999809265137, + "y": 25.549999237060547, + "z": 0, + "cX": 0.9999941, + "cY": 0.9999941, + "kX": -0.160911739, + "kY": 0.160911739, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -5.4000000953674316, + "y": 31.200000762939453, + "z": 0, + "cX": 0.9999997, + "cY": 0.9999997, + "kX": -0.039057184, + "kY": 0.039057184, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 24.5, + "y": -1.6000000238418579, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 27.549999237060547, + "y": -0.75, + "z": 0, + "cX": 0.999999642, + "cY": 0.999999642, + "kX": 0.0646660551, + "kY": -0.0646660551, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 19.450000762939453, + "y": -3.3499999046325684, + "z": 0, + "cX": 0.9999991, + "cY": 0.9999991, + "kX": -0.121852949, + "kY": 0.121852949, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 24.5, + "y": -1.6000000238418579, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_body.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 28.600000381469727, + "y": -2.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.600000381469727, + "y": -1.6499999761581421, + "z": 0, + "cX": 0.999999642, + "cY": 0.999999642, + "kX": 0.0646660551, + "kY": -0.0646660551, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 23.600000381469727, + "y": -3.5, + "z": 0, + "cX": 0.9999991, + "cY": 0.9999991, + "kX": -0.121852949, + "kY": 0.121852949, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.600000381469727, + "y": -2.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 30.899999618530273, + "y": -42.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 32.5, + "y": -42.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 29.399999618530273, + "y": -42.950000762939453, + "z": 0, + "cX": 0.9999995, + "cY": 0.9999995, + "kX": -0.07391988, + "kY": 0.07391988, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.899999618530273, + "y": -42.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 27.850000381469727, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 27.850000381469727, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 27.850000381469727, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 27.850000381469727, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_head.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 33.599998474121094, + "y": 51.950000762939453, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 43.299999237060547, + "y": 52.0, + "z": 0, + "cX": 0.9999941, + "cY": 0.9999941, + "kX": 0.182438418, + "kY": -0.182438418, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 15.300000190734863, + "y": 48.650001525878906, + "z": 0, + "cX": 0.999985933, + "cY": 0.999985933, + "kX": -0.3831189, + "kY": 0.3831189, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 33.599998474121094, + "y": 51.950000762939453, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 42.450000762939453, + "y": -45.400001525878906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 44.049999237060547, + "y": -45.400001525878906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 39.450000762939453, + "y": -45.349998474121094, + "z": 0, + "cX": 0.9999994, + "cY": 0.9999994, + "kX": 0.0515212342, + "kY": -0.0515212342, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 42.450000762939453, + "y": -45.400001525878906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 51.950000762939453, + "y": -75.699996948242188, + "z": 0, + "cX": 1.00146353, + "cY": 1.0, + "kX": -0.05407017, + "kY": 0.05407017, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 51.950000762939453, + "y": -75.699996948242188, + "z": 0, + "cX": 1.00146353, + "cY": 1.0, + "kX": -0.05407017, + "kY": 0.05407017, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 48.400001525878906, + "y": -75.550003051757812, + "z": 0, + "cX": 1.00447464, + "cY": 0.9969667, + "kX": -0.109776512, + "kY": 0.109776512, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 51.950000762939453, + "y": -75.699996948242188, + "z": 0, + "cX": 1.00146353, + "cY": 1.0, + "kX": -0.05407017, + "kY": 0.05407017, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 36.400001525878906, + "y": -0.10000000149011612, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 39.5, + "y": 0.0, + "z": 0, + "cX": 0.999999642, + "cY": 0.999999642, + "kX": 0.0646660551, + "kY": -0.0646660551, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.100000381469727, + "y": -0.44999998807907104, + "z": 0, + "cX": 0.9999991, + "cY": 0.9999991, + "kX": -0.121852949, + "kY": 0.121852949, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.400001525878906, + "y": -0.10000000149011612, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_hand_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 46.549999237060547, + "y": -26.850000381469727, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 48.150001525878906, + "y": -26.850000381469727, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 44.150001525878906, + "y": -26.850000381469727, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -26.850000381469727, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "death", + "dr": 13, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "girl_hand_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 37.849998474121094, + "y": -0.44999998807907104, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.299999237060547, + "y": -4.5500001907348633, + "z": 0, + "cX": 0.999980569, + "cY": 0.999980569, + "kX": 0.4189897, + "kY": -0.4189897, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 19.649999618530273, + "y": -100.75, + "z": 0, + "cX": 0.9999914, + "cY": 0.9999914, + "kX": 1.20335841, + "kY": -1.20335841, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 7.8499999046325684, + "y": -38.549999237060547, + "z": 0, + "cX": 0.999954343, + "cY": 0.999954343, + "kX": 0.303750575, + "kY": -0.303750575, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 21.5, + "y": -94.8499984741211, + "z": 0, + "cX": 0.999980748, + "cY": 0.999980748, + "kX": 0.880762637, + "kY": -0.880762637, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 19.649999618530273, + "y": -100.75, + "z": 0, + "cX": 0.9999914, + "cY": 0.9999914, + "kX": 1.20335841, + "kY": -1.20335841, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 19.649999618530273, + "y": -100.75, + "z": 0, + "cX": 0.9999914, + "cY": 0.9999914, + "kX": 1.20335841, + "kY": -1.20335841, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arms.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -5.4000000953674316, + "y": 31.200000762939453, + "z": 0, + "cX": 0.9999997, + "cY": 0.9999997, + "kX": -0.039057184, + "kY": 0.039057184, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -39.0, + "y": -10.550000190734863, + "z": 0, + "cX": 0.9999857, + "cY": 0.9999857, + "kX": -1.144799, + "kY": 1.144799, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -65.5, + "y": -95.949996948242188, + "z": 0, + "cX": 0.9999801, + "cY": 0.9999801, + "kX": -0.407975346, + "kY": 0.407975346, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -65.1500015258789, + "y": -72.0, + "z": 0, + "cX": 0.99996537, + "cY": 0.99996537, + "kX": -0.761399, + "kY": 0.761399, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -65.5999984741211, + "y": -100.0, + "z": 0, + "cX": 0.999972761, + "cY": 0.999972761, + "kX": -0.434565932, + "kY": 0.434565932, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -65.800003051757812, + "y": -98.199996948242188, + "z": 0, + "cX": 0.9999686, + "cY": 0.9999686, + "kX": -0.5040098, + "kY": 0.5040098, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -65.800003051757812, + "y": -99.0, + "z": 0, + "cX": 0.9999686, + "cY": 0.9999686, + "kX": -0.5040098, + "kY": 0.5040098, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 24.5, + "y": -1.6000000238418579, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 14.399999618530273, + "y": -6.3499999046325684, + "z": 0, + "cX": 0.9999742, + "cY": 0.9999742, + "kX": -1.55141592, + "kY": 1.55141592, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -9.0500001907348633, + "y": -86.949996948242188, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -16.100000381469727, + "y": -57.75, + "z": 0, + "cX": 0.9999874, + "cY": 0.9999874, + "kX": -3.03368545, + "kY": 3.03368545, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -9.0500001907348633, + "y": -86.949996948242188, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -9.0500001907348633, + "y": -86.949996948242188, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -9.0500001907348633, + "y": -86.949996948242188, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_body.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 28.600000381469727, + "y": -2.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 6.0500001907348633, + "y": -14.149999618530273, + "z": 0, + "cX": 0.9999935, + "cY": 0.9999935, + "kX": -0.343866646, + "kY": 0.343866646, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -8.6999998092651367, + "y": -82.800003051757812, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -6.4000000953674316, + "y": -72.699996948242188, + "z": 0, + "cX": 0.9999824, + "cY": 0.9999824, + "kX": -1.85990727, + "kY": 1.85990727, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -8.6999998092651367, + "y": -82.800003051757812, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -8.6999998092651367, + "y": -82.800003051757812, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -8.6999998092651367, + "y": -82.800003051757812, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 30.899999618530273, + "y": -42.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 27.700000762939453, + "y": -48.849998474121094, + "z": 0, + "cX": 0.999991834, + "cY": 0.999991834, + "kX": -0.609867156, + "kY": 0.609867156, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.399999618530273, + "y": -77.25, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.600000381469727, + "y": -66.949996948242188, + "z": 0, + "cX": 0.9999995, + "cY": 0.9999995, + "kX": -1.37236834, + "kY": 1.37236834, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.700000762939453, + "y": -75.199996948242188, + "z": 0, + "cX": 1.0000056, + "cY": 1.0000056, + "kX": -1.92071056, + "kY": 1.92071056, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.399999618530273, + "y": -77.25, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.399999618530273, + "y": -77.25, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 27.850000381469727, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 45.150001525878906, + "y": -79.199996948242188, + "z": 0, + "cX": 0.999991834, + "cY": 0.999991834, + "kX": -0.609867156, + "kY": 0.609867156, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 66.0999984741211, + "y": -84.5999984741211, + "z": 0, + "cX": 0.9999891, + "cY": 0.9999891, + "kX": -1.25507259, + "kY": 1.25507259, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 63.599998474121094, + "y": -80.800003051757812, + "z": 0, + "cX": 0.99998796, + "cY": 0.99998796, + "kX": -1.10312259, + "kY": 1.10312259, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 64.5999984741211, + "y": -63.599998474121094, + "z": 0, + "cX": 0.9999901, + "cY": 0.9999901, + "kX": -1.926147, + "kY": 1.926147, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 66.0999984741211, + "y": -84.5999984741211, + "z": 0, + "cX": 0.9999891, + "cY": 0.9999891, + "kX": -1.25507259, + "kY": 1.25507259, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 66.0999984741211, + "y": -84.5999984741211, + "z": 0, + "cX": 0.9999891, + "cY": 0.9999891, + "kX": -1.25507259, + "kY": 1.25507259, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_head.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 33.599998474121094, + "y": 51.950000762939453, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 11.25, + "y": 39.700000762939453, + "z": 0, + "cX": 0.9999931, + "cY": 0.9999931, + "kX": 0.3660805, + "kY": -0.3660805, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -63.400001525878906, + "y": -80.5999984741211, + "z": 0, + "cX": 0.9999916, + "cY": 0.9999916, + "kX": -1.59452617, + "kY": 1.59452617, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -58.700000762939453, + "y": -85.949996948242188, + "z": 0, + "cX": 0.9999767, + "cY": 0.9999767, + "kX": -1.96496654, + "kY": 1.96496654, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -63.549999237060547, + "y": -78.1500015258789, + "z": 0, + "cX": 0.9999894, + "cY": 0.9999894, + "kX": -1.50305581, + "kY": 1.50305581, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -63.400001525878906, + "y": -80.5999984741211, + "z": 0, + "cX": 0.9999916, + "cY": 0.9999916, + "kX": -1.59452617, + "kY": 1.59452617, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -63.400001525878906, + "y": -80.5999984741211, + "z": 0, + "cX": 0.9999916, + "cY": 0.9999916, + "kX": -1.59452617, + "kY": 1.59452617, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 42.450000762939453, + "y": -45.400001525878906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 43.450000762939453, + "y": -31.700000762939453, + "z": 0, + "cX": 0.9999805, + "cY": 0.9999805, + "kX": -1.88816059, + "kY": 1.88816059, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 32.299999237060547, + "y": -61.849998474121094, + "z": 0, + "cX": 0.9999779, + "cY": 0.9999779, + "kX": -1.973426, + "kY": 1.973426, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.799999237060547, + "y": -57.849998474121094, + "z": 0, + "cX": 0.9999864, + "cY": 0.9999864, + "kX": -1.101976, + "kY": 1.101976, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 29.25, + "y": -63.400001525878906, + "z": 0, + "cX": 1.0000056, + "cY": 1.0000056, + "kX": -1.92071056, + "kY": 1.92071056, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 33.150001525878906, + "y": -65.5, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 33.150001525878906, + "y": -65.5, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 51.950000762939453, + "y": -75.699996948242188, + "z": 0, + "cX": 1.00146353, + "cY": 1.0, + "kX": -0.05407017, + "kY": 0.05407017, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 73.6500015258789, + "y": -14.449999809265137, + "z": 0, + "cX": 0.9846756, + "cY": 1.01650286, + "kX": -1.87653673, + "kY": 1.87653673, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 59.799999237060547, + "y": -42.700000762939453, + "z": 0, + "cX": 0.982805, + "cY": 1.01827037, + "kX": -1.92048657, + "kY": 1.92048657, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 62.25, + "y": -72.800003051757812, + "z": 0, + "cX": 1.02583849, + "cY": 0.9749412, + "kX": -0.96312654, + "kY": 0.96312654, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 55.849998474121094, + "y": -50.349998474121094, + "z": 0, + "cX": 1.01766956, + "cY": 0.9834669, + "kX": -1.22134256, + "kY": 1.22134256, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 62.25, + "y": -60.0, + "z": 0, + "cX": 1.02583849, + "cY": 0.9749412, + "kX": -0.96312654, + "kY": 0.96312654, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 62.25, + "y": -60.0, + "z": 0, + "cX": 1.02583849, + "cY": 0.9749412, + "kX": -0.96312654, + "kY": 0.96312654, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 36.400001525878906, + "y": -0.10000000149011612, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 12.649999618530273, + "y": -9.5500001907348633, + "z": 0, + "cX": 0.9999935, + "cY": 0.9999935, + "kX": -0.343866646, + "kY": 0.343866646, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -11.5, + "y": -75.25, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -25.700000762939453, + "y": -59.150001525878906, + "z": 0, + "cX": 0.9999835, + "cY": 0.9999835, + "kX": -3.31659, + "kY": 3.31659, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -11.5, + "y": -75.25, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -11.5, + "y": -75.25, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -11.5, + "y": -75.25, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_hand_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 46.549999237060547, + "y": -26.850000381469727, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.399999618530273, + "y": -26.850000381469727, + "z": 0, + "cX": 0.999991834, + "cY": 0.999991834, + "kX": -0.609867156, + "kY": 0.609867156, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 14.300000190734863, + "y": -62.950000762939453, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -18.950000762939453, + "y": -44.049999237060547, + "z": 0, + "cX": 0.9999809, + "cY": 0.9999809, + "kX": -0.8777715, + "kY": 0.8777715, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 14.300000190734863, + "y": -62.950000762939453, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 14.300000190734863, + "y": -62.950000762939453, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 14.300000190734863, + "y": -62.950000762939453, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + } + ] + } + ], + "texture_data": [ + { + "name": "girl_png/effect_1", + "width": 202.0, + "height": 108.999992, + "pX": 0.500247538, + "pY": 0.503210962 + }, + { + "name": "girl_png/effect_2", + "width": 83.0, + "height": 193.999985, + "pX": 0.5066265, + "pY": 0.495876223 + }, + { + "name": "girl_png/effect_3", + "width": 69.0, + "height": 122.0, + "pX": 0.506521761, + "pY": 0.500409842 + }, + { + "name": "girl_png/girl_hand_right", + "width": 39.0, + "height": 48.0, + "pX": 0.4991741, + "pY": 0.5003009 + }, + { + "name": "girl_png/girl_arms", + "width": 187.630585, + "height": 136.963043, + "pX": 0.500184953, + "pY": 0.4998686 + }, + { + "name": "girl_png/girl_arm_right", + "width": 33.65364, + "height": 40.52147, + "pX": 0.499229431, + "pY": 0.5002649 + }, + { + "name": "girl_png/girl_body", + "width": 55.4226227, + "height": 59.99553, + "pX": 0.499638647, + "pY": 0.499962747 + }, + { + "name": "girl_png/girl_leg_right", + "width": 47.81787, + "height": 56.5738258, + "pX": 0.4999969, + "pY": 0.499768674 + }, + { + "name": "girl_png/girl_foot_right", + "width": 58.1784821, + "height": 48.9458427, + "pX": 0.499811769, + "pY": 0.5004683 + }, + { + "name": "girl_png/girl_head", + "width": 66.0, + "height": 66.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_png/girl_leg_left", + "width": 59.82794, + "height": 66.52788, + "pX": 0.499766469, + "pY": 0.50093466 + }, + { + "name": "girl_png/girl_foot_left", + "width": 50.2349243, + "height": 42.48419, + "pX": 0.4996524, + "pY": 0.499708951 + }, + { + "name": "girl_png/girl_arm_left", + "width": 22.0, + "height": 33.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_png/girl_hand_left", + "width": 42.33, + "height": 46.4405365, + "pX": 0.499645621, + "pY": 0.5012502 + } + ], + "config_file_path": [ + "girl0.plist" + ] +} \ No newline at end of file diff --git a/SampleSceneEditor/Resources/ani/hero/girl0.plist b/SampleSceneEditor/Resources/ani/hero/girl0.plist new file mode 100644 index 0000000..68d5588 --- /dev/null +++ b/SampleSceneEditor/Resources/ani/hero/girl0.plist @@ -0,0 +1,293 @@ + + + + + frames + + girl_png/effect_1.png + + width + 202 + height + 109 + originalWidth + 202 + originalHeight + 109 + x + 0 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/effect_2.png + + width + 83 + height + 194 + originalWidth + 83 + originalHeight + 194 + x + 204 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/effect_3.png + + width + 69 + height + 122 + originalWidth + 69 + originalHeight + 122 + x + 289 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_hand_right.png + + width + 39 + height + 48 + originalWidth + 39 + originalHeight + 48 + x + 360 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_arms.png + + width + 41 + height + 195 + originalWidth + 41 + originalHeight + 195 + x + 401 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_arm_right.png + + width + 25 + height + 35 + originalWidth + 25 + originalHeight + 35 + x + 444 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_body.png + + width + 51 + height + 56 + originalWidth + 51 + originalHeight + 56 + x + 471 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_leg_right.png + + width + 42 + height + 52 + originalWidth + 42 + originalHeight + 52 + x + 524 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_foot_right.png + + width + 55 + height + 45 + originalWidth + 55 + originalHeight + 45 + x + 568 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_head.png + + width + 66 + height + 66 + originalWidth + 66 + originalHeight + 66 + x + 625 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_leg_left.png + + width + 44 + height + 55 + originalWidth + 44 + originalHeight + 55 + x + 693 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_foot_left.png + + width + 49 + height + 41 + originalWidth + 49 + originalHeight + 41 + x + 739 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_arm_left.png + + width + 22 + height + 33 + originalWidth + 22 + originalHeight + 33 + x + 790 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_hand_left.png + + width + 31 + height + 38 + originalWidth + 31 + originalHeight + 38 + x + 814 + y + 0 + offsetX + 0 + offsetY + 0 + + + metadata + + format + 0 + textureFileName + girl0.png + realTextureFileName + girl0.png + size + {1024,1024} + + texture + + width + 1024 + height + 1024 + + + \ No newline at end of file diff --git a/SampleSceneEditor/Resources/ani/hero/girl0.png b/SampleSceneEditor/Resources/ani/hero/girl0.png new file mode 100644 index 0000000..1cafeac Binary files /dev/null and b/SampleSceneEditor/Resources/ani/hero/girl0.png differ diff --git a/SampleSceneEditor/Resources/fonts/Marker Felt.ttf b/SampleSceneEditor/Resources/fonts/Marker Felt.ttf new file mode 100644 index 0000000..3752ef3 Binary files /dev/null and b/SampleSceneEditor/Resources/fonts/Marker Felt.ttf differ diff --git a/SampleSceneEditor/Resources/img/bg1.png b/SampleSceneEditor/Resources/img/bg1.png new file mode 100644 index 0000000..35de43e Binary files /dev/null and b/SampleSceneEditor/Resources/img/bg1.png differ diff --git a/SampleSceneEditor/Resources/particle/1-buff.plist b/SampleSceneEditor/Resources/particle/1-buff.plist new file mode 100644 index 0000000..5598ac0 --- /dev/null +++ b/SampleSceneEditor/Resources/particle/1-buff.plist @@ -0,0 +1,108 @@ + + + + + angle + 90 + angleVariance + 15 + blendFuncDestination + 1 + blendFuncSource + 770 + duration + -1 + emitterType + 0.0 + finishColorAlpha + 0.0 + finishColorBlue + 0.0 + finishColorGreen + 0.46000000834465027 + finishColorRed + 1 + finishColorVarianceAlpha + 0.0 + finishColorVarianceBlue + 0.0 + finishColorVarianceGreen + 0.0 + finishColorVarianceRed + 0.0 + finishParticleSize + 10 + finishParticleSizeVariance + 0.0 + gravityx + 0.0 + gravityy + 0.0 + maxParticles + 100 + maxRadius + 100 + maxRadiusVariance + 0.0 + minRadius + 0.0 + particleLifespan + 1.5 + particleLifespanVariance + 1.8289999961853027 + radialAccelVariance + 0.0 + radialAcceleration + 0.0 + rotatePerSecond + 0.0 + rotatePerSecondVariance + 0.0 + rotationEnd + 0.0 + rotationEndVariance + 0.0 + rotationStart + 0.0 + rotationStartVariance + 0.0 + sourcePositionVariancex + 93.1484375 + sourcePositionVariancey + 0.0 + sourcePositionx + 376.9296875 + sourcePositiony + 377.96859741210938 + speed + 90 + speedVariance + 30 + startColorAlpha + 0.62000000476837158 + startColorBlue + 0.0 + startColorGreen + 0.18000000715255737 + startColorRed + 1 + startColorVarianceAlpha + 0.0 + startColorVarianceBlue + 0.0 + startColorVarianceGreen + 0.0 + startColorVarianceRed + 0.0 + startParticleSize + 71.263160705566406 + startParticleSizeVariance + 0.0 + tangentialAccelVariance + 0.0 + tangentialAcceleration + 0.0 + textureFileName + 1-buff.png + + diff --git a/SampleSceneEditor/Resources/particle/1-buff.png b/SampleSceneEditor/Resources/particle/1-buff.png new file mode 100644 index 0000000..8da898c Binary files /dev/null and b/SampleSceneEditor/Resources/particle/1-buff.png differ diff --git a/SampleSceneEditor/Resources/sound/arena.mp3 b/SampleSceneEditor/Resources/sound/arena.mp3 new file mode 100644 index 0000000..f31fd52 Binary files /dev/null and b/SampleSceneEditor/Resources/sound/arena.mp3 differ diff --git a/SampleSceneEditor/Resources/ui/FightScene_1/FightScene0.plist b/SampleSceneEditor/Resources/ui/FightScene_1/FightScene0.plist new file mode 100644 index 0000000..2a032e7 --- /dev/null +++ b/SampleSceneEditor/Resources/ui/FightScene_1/FightScene0.plist @@ -0,0 +1,179 @@ + + + + + frames + + Status.png + + width + 293 + height + 65 + originalWidth + 293 + originalHeight + 65 + x + 0 + y + 0 + offsetX + 0 + offsetY + 0 + + HP.png + + width + 201 + height + 34 + originalWidth + 201 + originalHeight + 34 + x + 295 + y + 0 + offsetX + 0 + offsetY + 0 + + MP.png + + width + 172 + height + 14 + originalWidth + 172 + originalHeight + 14 + x + 498 + y + 0 + offsetX + 0 + offsetY + 0 + + vs.png + + width + 157 + height + 121 + originalWidth + 157 + originalHeight + 121 + x + 672 + y + 0 + offsetX + 0 + offsetY + 0 + + Status02.png + + width + 293 + height + 65 + originalWidth + 293 + originalHeight + 65 + x + 0 + y + 123 + offsetX + 0 + offsetY + 0 + + HP02.png + + width + 201 + height + 34 + originalWidth + 201 + originalHeight + 34 + x + 295 + y + 123 + offsetX + 0 + offsetY + 0 + + MP02.png + + width + 172 + height + 14 + originalWidth + 172 + originalHeight + 14 + x + 498 + y + 123 + offsetX + 0 + offsetY + 0 + + bg2.png + + width + 960 + height + 158 + originalWidth + 960 + originalHeight + 158 + x + 0 + y + 190 + offsetX + 0 + offsetY + 0 + + + metadata + + format + 0 + textureFileName + FightScene0.png + realTextureFileName + FightScene0.png + size + {1024,1024} + + texture + + width + 1024 + height + 1024 + + + \ No newline at end of file diff --git a/SampleSceneEditor/Resources/ui/FightScene_1/FightScene0.png b/SampleSceneEditor/Resources/ui/FightScene_1/FightScene0.png new file mode 100644 index 0000000..7fea631 Binary files /dev/null and b/SampleSceneEditor/Resources/ui/FightScene_1/FightScene0.png differ diff --git a/SampleSceneEditor/Resources/ui/FightScene_1/FightScene_1.ExportJson b/SampleSceneEditor/Resources/ui/FightScene_1/FightScene_1.ExportJson new file mode 100644 index 0000000..e163f10 --- /dev/null +++ b/SampleSceneEditor/Resources/ui/FightScene_1/FightScene_1.ExportJson @@ -0,0 +1,482 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 640, + "designWidth": 960, + "textures": [ + "FightScene0.plist" + ], + "version": "1.0.0.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "LoadingBar", + "name": null, + "children": [], + "options": { + "__type": "ComGUILoadingBarSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LoadingBar", + "name": "hp01_LoadingBar", + "ZOrder": 0, + "actiontag": 22, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 34, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 2, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 201, + "x": 188, + "xProportion": 0.6416382, + "y": 30, + "yProportion": 0.461538464, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "direction": 0, + "percent": 100, + "scale9Enable": false, + "texture": null, + "textureData": { + "path": "HP.png", + "plistFile": null, + "resourceType": 1 + } + } + }, + { + "classname": "LoadingBar", + "name": null, + "children": [], + "options": { + "__type": "ComGUILoadingBarSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LoadingBar", + "name": "mp01_LoadingBar", + "ZOrder": 0, + "actiontag": 24, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 14, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 4, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 172, + "x": 152, + "xProportion": 0.51877135, + "y": 7, + "yProportion": 0.107692309, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "direction": 0, + "percent": 100, + "scale9Enable": false, + "texture": null, + "textureData": { + "path": "MP.png", + "plistFile": null, + "resourceType": 1 + } + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Status01_Panel", + "ZOrder": 2, + "actiontag": 23, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 65, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 3, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 293, + "x": 110, + "xProportion": 0.114583336, + "y": 539, + "yProportion": 0.8421875, + "backGroundImage": null, + "backGroundImageData": { + "path": "Status.png", + "plistFile": null, + "resourceType": 1 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "vs_ImageView", + "ZOrder": 3, + "actiontag": 27, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 121, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 7, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 157, + "x": 480, + "xProportion": 0.5, + "y": 572, + "yProportion": 0.89375, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "vs.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 121, + "scale9Width": 157 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "LoadingBar", + "name": null, + "children": [], + "options": { + "__type": "ComGUILoadingBarSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LoadingBar", + "name": "hp02_LoadingBar", + "ZOrder": 0, + "actiontag": 28, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 34, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 8, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 201, + "x": 105, + "xProportion": 0.358361781, + "y": 30, + "yProportion": 0.461538464, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "direction": 0, + "percent": 100, + "scale9Enable": false, + "texture": null, + "textureData": { + "path": "HP02.png", + "plistFile": null, + "resourceType": 1 + } + } + }, + { + "classname": "LoadingBar", + "name": null, + "children": [], + "options": { + "__type": "ComGUILoadingBarSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LoadingBar", + "name": "mp02_LoadingBar", + "ZOrder": 0, + "actiontag": 29, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 14, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 9, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 172, + "x": 141, + "xProportion": 0.481228679, + "y": 7, + "yProportion": 0.107692309, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "direction": 0, + "percent": 100, + "scale9Enable": false, + "texture": null, + "textureData": { + "path": "MP02.png", + "plistFile": null, + "resourceType": 1 + } + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "status02_Panel", + "ZOrder": 4, + "actiontag": 27, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 65, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 7, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 293, + "x": 557, + "xProportion": 0.580208361, + "y": 539, + "yProportion": 0.8421875, + "backGroundImage": null, + "backGroundImageData": { + "path": "Status02.png", + "plistFile": null, + "resourceType": 1 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "bg2_ImageView", + "ZOrder": 5, + "actiontag": 30, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 158, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 10, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 960, + "x": 480, + "xProportion": 0.5, + "y": 79, + "yProportion": 0.1234375, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "bg2.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 158, + "scale9Width": 960 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 640, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 1, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 960, + "x": 0, + "xProportion": 0, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/SampleSceneEditor/SampleSceneEditor_Editor/FightScene.xml.scene b/SampleSceneEditor/SampleSceneEditor_Editor/FightScene.xml.scene new file mode 100644 index 0000000..d2e5ae3 --- /dev/null +++ b/SampleSceneEditor/SampleSceneEditor_Editor/FightScene.xml.scene @@ -0,0 +1,16 @@ + + + 1.0.0.0 + FightScene + C:\Users\dc\Desktop\SamplesProjet\SceneEditorProject\FightScene\FightScene + FightScene.json + C:\Users\dc\Desktop\SamplesProjet\SceneEditorProject\FightScene\FightScene\Resources + C:\Users\dc\Desktop\SamplesProjet\SceneEditorProject\FightScene\FightScene\Json + + + 960 + 640 + + + + \ No newline at end of file diff --git a/SampleSceneEditor/SampleSceneEditor_Editor/Resources/FightScene.json b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/FightScene.json new file mode 100644 index 0000000..06d1a54 --- /dev/null +++ b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/FightScene.json @@ -0,0 +1,239 @@ +{ + "classname": "CCNode", + "name": null, + "canedit": true, + "objecttag": 10000, + "rotation": 0, + "scalex": 1, + "scaley": 1, + "visible": 1, + "x": 0, + "y": 0, + "zorder": 1, + "gameobjects": [ + { + "__type": "ComGameObjectSurrogate:#EditorCommon.JsonModel", + "classname": "CCNode", + "name": "bg1", + "canedit": false, + "objecttag": 10003, + "rotation": 0, + "scalex": 1, + "scaley": 1, + "visible": 1, + "x": 480, + "y": 320, + "zorder": 1, + "gameobjects": [], + "components": [ + { + "__type": "ComSpriteSurrogate:#EditorCommon.JsonModel.Component", + "classname": "CCSprite", + "name": "CCSprite", + "file": null, + "fileData": { + "path": "img/bg1.png", + "plistFile": null, + "resourceType": 0 + } + } + ] + }, + { + "__type": "ComGameObjectSurrogate:#EditorCommon.JsonModel", + "classname": "CCNode", + "name": "hero", + "canedit": true, + "objecttag": 10005, + "rotation": 0, + "scalex": 1, + "scaley": 1, + "visible": 1, + "x": 195.66668701171875, + "y": 215.33335876464844, + "zorder": 2, + "gameobjects": [], + "components": [ + { + "__type": "ComArmatureAdapterSurrogate:#EditorCommon.JsonModel.Component", + "classname": "CCArmature", + "name": "CCArmature", + "file": null, + "fileData": { + "path": "ani/hero/girl.ExportJson", + "plistFile": null, + "resourceType": 0 + }, + "selectedactionname": "run" + } + ] + }, + { + "__type": "ComGameObjectSurrogate:#EditorCommon.JsonModel", + "classname": "CCNode", + "name": "enemy", + "canedit": true, + "objecttag": 10006, + "rotation": 0, + "scalex": 1, + "scaley": 1, + "visible": 1, + "x": 751.66668701171875, + "y": 246.33340454101563, + "zorder": 1, + "gameobjects": [], + "components": [ + { + "__type": "ComArmatureAdapterSurrogate:#EditorCommon.JsonModel.Component", + "classname": "CCArmature", + "name": "CCArmature", + "file": null, + "fileData": { + "path": "ani/enemy/monster.ExportJson", + "plistFile": null, + "resourceType": 0 + }, + "selectedactionname": "loading" + } + ] + }, + { + "__type": "ComGameObjectSurrogate:#EditorCommon.JsonModel", + "classname": "CCNode", + "name": "ui", + "canedit": false, + "objecttag": 10007, + "rotation": 0, + "scalex": 1, + "scaley": 1, + "visible": 1, + "x": 0, + "y": 0, + "zorder": 3, + "gameobjects": [ + { + "__type": "ComGameObjectSurrogate:#EditorCommon.JsonModel", + "classname": "CCNode", + "name": "VSFire", + "canedit": true, + "objecttag": 10009, + "rotation": 0, + "scalex": 0.5, + "scaley": 0.5, + "visible": 1, + "x": 476, + "y": 539, + "zorder": 4, + "gameobjects": [], + "components": [ + { + "__type": "ComParticleSystemSurrogate:#EditorCommon.JsonModel.Component", + "classname": "CCParticleSystemQuad", + "name": "CCParticleSystemQuad", + "file": null, + "fileData": { + "path": "particle/1-buff.plist", + "plistFile": null, + "resourceType": 0 + } + } + ] + }, + { + "__type": "ComGameObjectSurrogate:#EditorCommon.JsonModel", + "classname": "CCNode", + "name": "EnemyHead", + "canedit": true, + "objecttag": 10010, + "rotation": 0, + "scalex": 0.5, + "scaley": 0.5, + "visible": 1, + "x": 818, + "y": 577, + "zorder": 1, + "gameobjects": [], + "components": [ + { + "__type": "ComSpriteSurrogate:#EditorCommon.JsonModel.Component", + "classname": "CCSprite", + "name": "CCSprite", + "file": null, + "fileData": { + "path": "tauren_cell-head.png", + "plistFile": "ani/enemy/monster0.plist", + "resourceType": 1 + } + } + ] + }, + { + "__type": "ComGameObjectSurrogate:#EditorCommon.JsonModel", + "classname": "CCNode", + "name": "HeroHead", + "canedit": true, + "objecttag": 10011, + "rotation": 0, + "scalex": 0.5, + "scaley": 0.5, + "visible": 1, + "x": 141, + "y": 578, + "zorder": 1, + "gameobjects": [], + "components": [ + { + "__type": "ComSpriteSurrogate:#EditorCommon.JsonModel.Component", + "classname": "CCSprite", + "name": "CCSprite", + "file": null, + "fileData": { + "path": "girl_png/girl_head.png", + "plistFile": "ani/hero/girl0.plist", + "resourceType": 1 + } + } + ] + } + ], + "components": [ + { + "__type": "ComGUIAdapterSurrogate:#EditorCommon.JsonModel.Component", + "classname": "GUIComponent", + "name": "GUIComponent", + "file": null, + "fileData": { + "path": "ui/FightScene_1/FightScene_1.ExportJson", + "plistFile": null, + "resourceType": 0 + } + } + ] + } + ], + "CanvasSize": { + "_height": 640, + "_width": 960 + }, + "Version": "1.0.0.0", + "components": [ + { + "__type": "ComSceneSurrogate:#EditorCommon.JsonModel.Component", + "classname": "CCScene", + "name": "CCScene", + "scenename": "FightScene" + }, + { + "__type": "ComSimpleAudioSurrogate:#EditorCommon.JsonModel.Component", + "classname": "CCBackgroundAudio", + "name": "CCBackgroundAudio", + "file": null, + "fileData": { + "path": "sound/arena.mp3", + "plistFile": null, + "resourceType": 0 + }, + "loop": 1 + } + ] +} \ No newline at end of file diff --git a/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/enemy/monster.ExportJson b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/enemy/monster.ExportJson new file mode 100644 index 0000000..d2ecf25 --- /dev/null +++ b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/enemy/monster.ExportJson @@ -0,0 +1,6595 @@ +{ + "armature_data": [ + { + "strVersion": "0.4.0.0", + "version": 0.4, + "name": "monster", + "bone_data": [ + { + "name": "hand_right", + "parent": "", + "x": 33.65, + "y": -60.85, + "z": 2, + "cX": 1.0, + "cY": 1.0, + "kX": -1.23010814, + "kY": 1.23010814, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-hand_right", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "arm_right", + "parent": "", + "x": 30.8, + "y": -8.0, + "z": 3, + "cX": 1.0, + "cY": 1.0, + "kX": -1.23010814, + "kY": 1.23010814, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-arm_right", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "ax", + "parent": "", + "x": 6.2, + "y": -79.1, + "z": 4, + "cX": 1.0, + "cY": 1.0, + "kX": -1.62629783, + "kY": 1.62629783, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-ax", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "leg_right", + "parent": "", + "x": 45.0, + "y": -65.2, + "z": 5, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-leg_right", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "foot_right", + "parent": "", + "x": 39.35, + "y": -109.5, + "z": 6, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-foot_right", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "body", + "parent": "", + "x": 43.45, + "y": -6.55, + "z": 7, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-body", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "foot_left", + "parent": "", + "x": 39.85, + "y": -113.65, + "z": 8, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-foot_left", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "leg_left", + "parent": "", + "x": 45.0, + "y": -63.7, + "z": 9, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-leg_left", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "head", + "parent": "", + "x": 18.9, + "y": 36.5, + "z": 10, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-head", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "arm_left", + "parent": "", + "x": 73.65, + "y": 4.3, + "z": 11, + "cX": 1.0, + "cY": 1.0, + "kX": 0.05253441, + "kY": -0.05253441, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-arm_left", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "hand_left", + "parent": "", + "x": 71.25, + "y": -39.85, + "z": 12, + "cX": 1.0, + "cY": 1.0, + "kX": 0.312937528, + "kY": -0.312937528, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-hand_left", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "armor", + "parent": "", + "x": 60.05, + "y": 36.55, + "z": 13, + "cX": 1.0, + "cY": 1.0, + "kX": -0.117286123, + "kY": 0.117286123, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "tauren_cell-armor", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "effect", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_cell-tauren_effect_1", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "girl_cell-tauren_effect_2", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "girl_cell-tauren_effect_3", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "monster", + "mov_data": [ + { + "name": "loading", + "dr": 25, + "lp": true, + "to": 6, + "drTW": 25, + "twE": 10000, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "armor", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0499992371, + "y": -2.45000076, + "z": 0, + "cX": 1.0, + "cY": 0.99, + "kX": 0.0115191713, + "kY": -0.0139626339, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "hand_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 3.5, + "y": -1.85000229, + "z": 0, + "cX": 1.0, + "cY": 0.99, + "kX": -0.070336774, + "kY": 0.0764454156, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "arm_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 1.04999542, + "y": -2.10000014, + "z": 0, + "cX": 1.02, + "cY": 0.99, + "kX": -0.03124139, + "kY": 0.0303687286, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "head", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": -1.90000153, + "z": 0, + "cX": 1.0, + "cY": 0.99, + "kX": 0.02617994, + "kY": -0.02565634, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "leg_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -2.04999924, + "y": -0.9999962, + "z": 0, + "cX": 1.02, + "cY": 1.0, + "kX": 0.008552114, + "kY": -0.008552114, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "foot_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -1.199997, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.06789331, + "kY": 0.0, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "body", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.0499992371, + "y": -1.94999981, + "z": 0, + "cX": 1.07, + "cY": 0.99, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "foot_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "leg_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.0499992371, + "y": -1.0, + "z": 0, + "cX": 1.02, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "ax", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.100000381, + "y": -2.550003, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0123918056, + "kY": 0.0123918056, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "arm_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.299999237, + "y": -1.94999981, + "z": 0, + "cX": 0.99, + "cY": 1.01, + "kX": -0.008901, + "kY": -0.009250402, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + }, + { + "name": "hand_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.25, + "y": -1.0, + "z": 0, + "cX": 1.0, + "cY": 1.02, + "kX": -0.00523591042, + "kY": -0.00541067123, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 25, + "twE": 0 + } + ] + } + ] + }, + { + "name": "run", + "dr": 13, + "lp": true, + "to": 6, + "drTW": 13, + "twE": 10000, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "armor", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -37.85, + "y": -18.05, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.7007497, + "kY": -0.7007497, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -36.5, + "y": -33.5, + "z": 0, + "cX": 1.08, + "cY": 0.96, + "kX": -0.0596902743, + "kY": 0.021991156, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -37.65, + "y": -2.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.117286123, + "kY": 0.117286123, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -28.6999989, + "y": -13.15, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.8943067, + "kY": 0.8943067, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -36.35, + "y": -31.9, + "z": 0, + "cX": 1.09, + "cY": 0.97, + "kX": -0.0593412, + "kY": 0.0223402157, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -37.65, + "y": -2.39999771, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0397935137, + "kY": 0.0397935137, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -37.85, + "y": -18.05, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.7007497, + "kY": -0.7007497, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -37.85, + "y": -18.05, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.7007497, + "kY": -0.7007497, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "hand_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -99.7, + "y": 15.1999989, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.28822756, + "kY": -1.28822756, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -36.95, + "y": -30.0500031, + "z": 0, + "cX": 1.07, + "cY": 0.97, + "kX": 0.008028507, + "kY": 0.0579449236, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -18.4000015, + "y": 0.699996948, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.378736436, + "kY": 0.378736436, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 25.1500015, + "y": 27.7499981, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.858701944, + "kY": 0.858701944, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -10.7999992, + "y": -25.0, + "z": 0, + "cX": 1.09, + "cY": 0.97, + "kX": -0.427605659, + "kY": 0.403345585, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -45.3, + "y": -0.300003052, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.155857921, + "kY": -0.155857921, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -99.7, + "y": 15.1999989, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.28822756, + "kY": -1.28822756, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -99.7, + "y": 15.1999989, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.28822756, + "kY": -1.28822756, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "arm_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -62.9, + "y": -17.35, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.8964011, + "kY": -0.8964011, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -36.3000031, + "y": -30.8499985, + "z": 0, + "cX": 1.07, + "cY": 0.96, + "kX": 0.181863308, + "kY": -0.132645011, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -32.7, + "y": 1.44999981, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0476474874, + "kY": 0.0476474874, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -9.050003, + "y": 14.0999994, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.8810422, + "kY": 0.8810422, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -28.0, + "y": -26.4000015, + "z": 0, + "cX": 1.09, + "cY": 0.97, + "kX": -0.102450818, + "kY": 0.09180432, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -38.45, + "y": -1.1500001, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.155857891, + "kY": -0.155857891, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -62.9, + "y": -17.35, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.8964011, + "kY": -0.8964011, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -62.9, + "y": -17.35, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.8964011, + "kY": -0.8964011, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "head", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -35.6, + "y": -11.7000008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.196524084, + "kY": 0.196524084, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -37.9, + "y": -25.7, + "z": 0, + "cX": 1.08, + "cY": 0.96, + "kX": -0.124441974, + "kY": 0.09773844, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -35.25, + "y": 2.29999924, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.257087, + "kY": 0.257087, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -35.6, + "y": -11.7000008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.196524084, + "kY": 0.196524084, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -38.15, + "y": -24.05, + "z": 0, + "cX": 1.09, + "cY": 0.97, + "kX": -0.124267437, + "kY": 0.0979129747, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -35.25, + "y": 2.29999924, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.257087, + "kY": 0.257087, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -35.6, + "y": -11.7000008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.196524084, + "kY": 0.196524084, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -35.6, + "y": -11.7000008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.196524084, + "kY": 0.196524084, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "leg_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -1.0, + "y": 4.40000153, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6825983, + "kY": 0.6825983, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -11.5999985, + "y": -15.8500023, + "z": 0, + "cX": 1.07, + "cY": 0.97, + "kX": -0.359188765, + "kY": 0.2864085, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -37.7, + "y": 13.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.428652853, + "kY": -0.428652853, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -35.85, + "y": -2.49999619, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.858702, + "kY": -0.858702, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -19.0, + "y": -2.64999771, + "z": 0, + "cX": 1.07, + "cY": 0.98, + "kX": 0.3907792, + "kY": -0.313461125, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -7.75, + "y": 10.7000008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.552571237, + "kY": 0.552571237, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -1.0, + "y": 4.40000153, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6825983, + "kY": 0.6825983, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -1.0, + "y": 4.40000153, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6825983, + "kY": 0.6825983, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "foot_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 50.2000046, + "y": 21.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.65631747, + "kY": 1.65631747, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.75, + "y": 7.40000153, + "z": 0, + "cX": 0.98, + "cY": 1.06, + "kX": -1.18577671, + "kY": 1.09362328, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -46.1, + "y": 10.3499985, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.32585296, + "kY": 0.32585296, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -69.1, + "y": 10.1500015, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.507018149, + "kY": -0.507018149, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -17.5999985, + "y": -1.5, + "z": 0, + "cX": 1.09, + "cY": 0.97, + "kX": -0.06265732, + "kY": 0.0493928157, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 27.3000031, + "y": 18.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.21544731, + "kY": 1.21544731, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 50.2000046, + "y": 21.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.65631747, + "kY": 1.65631747, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 50.2000046, + "y": 21.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.65631747, + "kY": 1.65631747, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "body", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -22.75, + "y": -4.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.313984722, + "kY": 0.313984722, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -21.75, + "y": -19.0999985, + "z": 0, + "cX": 1.24, + "cY": 0.97, + "kX": -0.3515093, + "kY": 0.279950827, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -22.75, + "y": 10.65, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.313984722, + "kY": 0.313984722, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -22.75, + "y": -4.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.313984722, + "kY": 0.313984722, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -21.6, + "y": -17.8499985, + "z": 0, + "cX": 1.25, + "cY": 0.98, + "kX": -0.350811183, + "kY": 0.2804744, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -22.75, + "y": 10.65, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.313984722, + "kY": 0.313984722, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -22.75, + "y": -4.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.313984722, + "kY": 0.313984722, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -22.75, + "y": -4.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.313984722, + "kY": 0.313984722, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "foot_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -53.9499969, + "y": -0.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.635997951, + "kY": -0.635997951, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -18.4499989, + "y": -6.15000153, + "z": 0, + "cX": 1.08, + "cY": 0.96, + "kX": -0.070336774, + "kY": 0.0551524051, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 16.8500023, + "y": 2.199997, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.7901105, + "kY": 0.7901105, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 44.25, + "y": 25.6500015, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.50499749, + "kY": 1.50499749, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": 16.9000015, + "y": 8.550003, + "z": 0, + "cX": 0.97, + "cY": 1.08, + "kX": -1.37706482, + "kY": 1.32645023, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -45.1999969, + "y": 10.1999969, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0462512262, + "kY": -0.0462512262, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -53.9499969, + "y": -0.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.635997951, + "kY": -0.635997951, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -53.9499969, + "y": -0.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.635997951, + "kY": -0.635997951, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "leg_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -33.2, + "y": -13.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.01508343, + "kY": -1.01508343, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -20.45, + "y": -15.7000046, + "z": 0, + "cX": 1.07, + "cY": 0.97, + "kX": 0.389382958, + "kY": -0.3111922, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -13.65, + "y": 0.949996948, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.331961632, + "kY": 0.331961632, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -7.5, + "y": 0.449996948, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.457974374, + "kY": 0.457974374, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -18.65, + "y": -6.350006, + "z": 0, + "cX": 1.08, + "cY": 0.97, + "kX": -0.298625857, + "kY": 0.2375393, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -25.05, + "y": 7.249996, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.723439, + "kY": -0.723439, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -33.2, + "y": -13.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.01508343, + "kY": -1.01508343, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -33.2, + "y": -13.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.01508343, + "kY": -1.01508343, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "ax", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 61.3999977, + "y": 36.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.233874083, + "kY": 0.233874083, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 1.5, + "y": 9.599998, + "z": 0, + "cX": 0.96, + "cY": 1.08, + "kX": 0.197396755, + "kY": -0.235794067, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -9.25, + "y": 38.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.375944018, + "kY": -0.375944018, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -66.2999954, + "y": 18.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5187119, + "kY": -0.5187119, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": 1.5, + "y": 10.4000015, + "z": 0, + "cX": 0.97, + "cY": 1.09, + "kX": 0.197745919, + "kY": -0.2354449, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 9.55, + "y": 37.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.08918643, + "kY": -0.08918643, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 61.3999977, + "y": 36.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.233874083, + "kY": 0.233874083, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 61.3999977, + "y": 36.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.233874083, + "kY": 0.233874083, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "arm_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 18.1500015, + "y": 25.7, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.22871172, + "kY": 1.22871172, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 8.75, + "y": -2.0, + "z": 0, + "cX": 0.96, + "cY": 1.08, + "kX": -0.432143331, + "kY": 0.457101583, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 5.25, + "y": 24.1, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.283441424, + "kY": 0.283441424, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -44.55, + "y": 3.19999981, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3323108, + "kY": -0.3323108, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": 9.049999, + "y": -0.6000004, + "z": 0, + "cX": 0.97, + "cY": 1.09, + "kX": -0.432317972, + "kY": 0.45692718, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 6.5, + "y": 31.6, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.570199, + "kY": 0.570199, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 18.1500015, + "y": 25.7, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.22871172, + "kY": 1.22871172, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 18.1500015, + "y": 25.7, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.22871172, + "kY": 1.22871172, + "fi": 13, + "twE": 0 + } + ] + }, + { + "name": "hand_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 46.9499969, + "y": 51.1, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.5665338, + "kY": 0.5665338, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 9.149998, + "y": 10.9499969, + "z": 0, + "cX": 0.99, + "cY": 1.05, + "kX": 0.1651082, + "kY": -0.2743659, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -1.35000229, + "y": 35.3, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.378736556, + "kY": -0.378736556, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -59.0500031, + "y": 12.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.344353557, + "kY": -0.344353557, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": 9.449997, + "y": 11.9499969, + "z": 0, + "cX": 1.0, + "cY": 1.06, + "kX": 0.165980935, + "kY": -0.273493171, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 11.8499985, + "y": 43.3999977, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.09197891, + "kY": -0.09197891, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 46.9499969, + "y": 51.1, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.5665338, + "kY": 0.5665338, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": 46.9499969, + "y": 51.1, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.5665338, + "kY": 0.5665338, + "fi": 13, + "twE": 0 + } + ] + } + ] + }, + { + "name": "attack", + "dr": 20, + "lp": false, + "to": 6, + "drTW": 20, + "twE": 10000, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "armor", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0499992371, + "y": -2.45000076, + "z": 0, + "cX": 1.0, + "cY": 0.99, + "kX": 0.0115191713, + "kY": -0.0139626339, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -46.65, + "y": 6.200001, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.273493081, + "kY": 0.273493081, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -46.6999969, + "y": -2.09999847, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.317126334, + "kY": 0.317126334, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -35.0, + "y": 6.10000229, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.2635447, + "kY": 0.2635447, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -29.15, + "y": 10.2999992, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.239459187, + "kY": 0.239459187, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -73.35, + "y": -1.54999924, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.691673934, + "kY": 0.691673934, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -46.6999969, + "y": -2.09999847, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.317126334, + "kY": 0.317126334, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "hand_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 3.5, + "y": -1.85000229, + "z": 0, + "cX": 1.0, + "cY": 0.99, + "kX": -0.070336774, + "kY": 0.0764454156, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -19.7, + "y": 14.1499977, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.403345585, + "kY": 0.403345585, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -23.5, + "y": 5.199997, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.317300856, + "kY": 0.317300856, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -7.84999847, + "y": 13.6499977, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.426034868, + "kY": 0.426034868, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -8.950001, + "y": 19.3, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.196349531, + "kY": 0.196349531, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -23.95, + "y": 25.5999985, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6218608, + "kY": 0.6218608, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -23.5, + "y": 5.199997, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.317300856, + "kY": 0.317300856, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "arm_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 1.04999542, + "y": -2.10000014, + "z": 0, + "cX": 1.02, + "cY": 0.99, + "kX": -0.03124139, + "kY": 0.0303687286, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -36.95, + "y": 11.95, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.351683825, + "kY": 0.351683825, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -37.3500023, + "y": 3.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.3171263, + "kY": 0.3171263, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -25.8000031, + "y": 11.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.324107647, + "kY": 0.324107647, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -19.95, + "y": 15.499999, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.33108896, + "kY": 0.33108896, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -54.9, + "y": 16.9000015, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.796044648, + "kY": 0.796044648, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -37.3500023, + "y": 3.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.3171263, + "kY": 0.3171263, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "head", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": -1.90000153, + "z": 0, + "cX": 1.0, + "cY": 0.99, + "kX": 0.02617994, + "kY": -0.02565634, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -45.8, + "y": -2.20000076, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.226194665, + "kY": 0.226194665, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -46.05, + "y": -8.950001, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.1654572, + "kY": 0.1654572, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -38.8, + "y": 6.59999847, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.04712389, + "kY": -0.04712389, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -34.85, + "y": 9.950001, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0305432621, + "kY": 0.0305432621, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -68.85, + "y": -20.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.461988628, + "kY": 0.461988628, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -46.05, + "y": -8.950001, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.1654572, + "kY": 0.1654572, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "leg_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -2.04999924, + "y": -0.9999962, + "z": 0, + "cX": 1.02, + "cY": 1.0, + "kX": 0.008552114, + "kY": -0.008552114, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -58.2, + "y": 2.79999924, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3543018, + "kY": -0.3543018, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -59.7, + "y": -11.4500008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.484328866, + "kY": -0.484328866, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -58.75, + "y": -1.95000076, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.485027015, + "kY": -0.485027015, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -58.2, + "y": 2.79999924, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.484328866, + "kY": -0.484328866, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -59.7, + "y": -11.4500008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.484328866, + "kY": -0.484328866, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -43.95, + "y": -11.4500008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3834488, + "kY": -0.3834488, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "foot_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -1.199997, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.06789331, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -62.85, + "y": 8.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.647517145, + "kY": 0.647517145, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -75.75, + "y": -1.09999847, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0008726646, + "kY": -0.0008726646, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -75.7, + "y": 1.15000153, + "z": 0, + "cX": 1.0, + "cY": 1.13, + "kX": 0.000174532921, + "kY": -0.000174532921, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -75.75, + "y": 2.300003, + "z": 0, + "cX": 1.0, + "cY": 1.19, + "kX": 0.0008726646, + "kY": -0.0008726646, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -75.75, + "y": -1.09999847, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0008726646, + "kY": -0.0008726646, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -59.9499969, + "y": 0.7000046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.233525053, + "kY": -0.233525053, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "body", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.0499992371, + "y": -1.94999981, + "z": 0, + "cX": 1.07, + "cY": 0.99, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -39.3, + "y": 3.95000029, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.1654572, + "kY": 0.1654572, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -39.3, + "y": -4.3, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.1654572, + "kY": 0.1654572, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -35.45, + "y": 5.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.07452556, + "kY": 0.07452556, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -33.5500031, + "y": 10.75, + "z": 0, + "cX": 0.93, + "cY": 1.0, + "kX": -0.0305432621, + "kY": 0.0305432621, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -50.05, + "y": -11.3, + "z": 0, + "cX": 1.29, + "cY": 1.0, + "kX": -0.461988628, + "kY": 0.461988628, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -39.3, + "y": -4.3, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.1654572, + "kY": 0.1654572, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "foot_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -4.64999771, + "y": 0.25, + "z": 0, + "cX": 1.0, + "cY": 1.1, + "kX": -0.307527035, + "kY": 0.0565486662, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -4.25, + "y": -0.949996948, + "z": 0, + "cX": 1.0, + "cY": 1.03, + "kX": -0.307527035, + "kY": 0.0565486662, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -3.59999847, + "y": 1.199997, + "z": 0, + "cX": 1.0, + "cY": 1.13, + "kX": -0.2534218, + "kY": 0.053407073, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -3.29999924, + "y": 2.199997, + "z": 0, + "cX": 1.0, + "cY": 1.17, + "kX": -0.227067336, + "kY": 0.0565486662, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -4.25, + "y": -0.949996948, + "z": 0, + "cX": 1.0, + "cY": 1.03, + "kX": -0.307527035, + "kY": 0.0565486662, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -4.25, + "y": -0.949996948, + "z": 0, + "cX": 1.0, + "cY": 1.03, + "kX": -0.307527035, + "kY": 0.0565486662, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "leg_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.0499992371, + "y": -1.0, + "z": 0, + "cX": 1.02, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -15.75, + "y": 0.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.161617488, + "kY": 0.161617488, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -14.25, + "y": -7.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.161617488, + "kY": 0.161617488, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -15.25, + "y": 1.99999619, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.161617488, + "kY": 0.161617488, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -15.75, + "y": 6.749996, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.161617488, + "kY": 0.161617488, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -14.25, + "y": -7.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.161617488, + "kY": 0.161617488, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -14.25, + "y": -7.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.161617488, + "kY": 0.161617488, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "ax", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.100000381, + "y": -2.550003, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0123918056, + "kY": 0.0123918056, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -65.7999954, + "y": 11.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.3106687, + "kY": -0.3106687, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -68.0, + "y": -0.300003052, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.05619967, + "kY": -0.05619967, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -76.6499939, + "y": 75.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.48143554, + "kY": -1.48143554, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": -46.5, + "y": 136.15, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.43403625, + "kY": -2.43403625, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": 28.3999977, + "y": 182.45, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.12797928, + "kY": -3.12797928, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -45.4, + "y": 146.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.35322762, + "kY": -2.35322762, + "fi": 13, + "twE": 0 + }, + { + "dI": 0, + "x": -86.25, + "y": -10.5500031, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0171042681, + "kY": 0.0171042681, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -68.0, + "y": -0.300003052, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.05619967, + "kY": -0.05619967, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "arm_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.299999237, + "y": -1.94999981, + "z": 0, + "cX": 0.99, + "cY": 1.01, + "kX": -0.008901, + "kY": -0.009250402, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -47.25, + "y": 1.69999981, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.275936663, + "kY": -0.275936663, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -47.9, + "y": -7.05, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.322187841, + "kY": -0.322187841, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -47.9499969, + "y": 18.95, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 1.98286867, + "kY": -1.98286867, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -11.3499985, + "y": 36.2, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.814518, + "kY": -2.814518, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -67.3999939, + "y": -12.4500008, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0438076258, + "kY": 0.0438076258, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -47.9, + "y": -7.05, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.322187841, + "kY": -0.322187841, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "hand_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.25, + "y": -1.0, + "z": 0, + "cX": 1.0, + "cY": 1.02, + "kX": -0.00523591042, + "kY": -0.00541067123, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -61.8000031, + "y": 2.89999771, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.275936663, + "kY": -0.275936663, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -64.8, + "y": -5.20000458, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.322187841, + "kY": -0.322187841, + "fi": 6, + "twE": 0 + }, + { + "dI": 0, + "x": -69.2, + "y": 93.05, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 2.23192716, + "kY": -2.23192716, + "fi": 10, + "twE": 0 + }, + { + "dI": 0, + "x": -26.0500011, + "y": 136.049988, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 3.184877, + "kY": -3.184877, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -79.8, + "y": -10.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.322187841, + "kY": -0.322187841, + "fi": 15, + "twE": 0 + }, + { + "dI": 0, + "x": -64.8, + "y": -5.20000458, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.322187841, + "kY": -0.322187841, + "fi": 17, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + }, + { + "name": "effect", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -65.2, + "y": 87.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6220353, + "kY": -2.51955724, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -135.5, + "y": -20.2, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.53798413, + "kY": -1.60360849, + "fi": 15, + "twE": 0 + }, + { + "dI": 1, + "x": -87.55, + "y": -26.15, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.178896248, + "kY": 2.96269631, + "fi": 16, + "twE": 0 + }, + { + "dI": 2, + "x": -86.4, + "y": -45.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.08150688, + "kY": 3.06008577, + "fi": 17, + "twE": 0 + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 18, + "twE": 0 + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 20, + "twE": 0 + } + ] + } + ] + }, + { + "name": "smitten", + "dr": 9, + "lp": false, + "to": 6, + "drTW": 9, + "twE": 10000, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "armor", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -2.75, + "y": 0.799999237, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0301942, + "kY": 0.0301942, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 13.1000023, + "y": -2.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0556760021, + "kY": -0.0556760021, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "hand_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -0.449996948, + "y": 1.14999771, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0303687155, + "kY": 0.0303687155, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 17.1999969, + "y": -3.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.108734012, + "kY": 0.108734012, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "arm_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -1.800003, + "y": 1.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.030194195, + "kY": 0.030194195, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 13.1999969, + "y": -2.30000019, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.008726645, + "kY": 0.008726645, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "head", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -2.69999886, + "y": -0.450000763, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0301941969, + "kY": 0.0301941969, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 14.1999989, + "y": 6.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.302291, + "kY": -0.302291, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "leg_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 2.79999924, + "y": -0.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.103498019, + "kY": -0.103498019, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "foot_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "body", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -1.40000153, + "y": 0.3000002, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0301941969, + "kY": 0.0301941969, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 8.700001, + "y": -0.399999619, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.103498019, + "kY": -0.103498019, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "foot_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "leg_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 2.59999847, + "y": -0.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.103498019, + "kY": -0.103498019, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "ax", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.8000002, + "y": -0.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0303686857, + "kY": 0.0303686857, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 13.55, + "y": 2.40000153, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.133866787, + "kY": -0.133866787, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "arm_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -1.34999847, + "y": -0.05000019, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.0301940441, + "kY": 0.0301940441, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 12.1500015, + "y": 0.3499999, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.03577912, + "kY": 0.03577912, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + }, + { + "name": "hand_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 14.0, + "y": 0.449996948, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.03577912, + "kY": 0.03577912, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0 + }, + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 9, + "twE": 0 + } + ] + } + ] + }, + { + "name": "death", + "dr": 33, + "lp": false, + "to": 6, + "drTW": 33, + "twE": 10000, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "armor", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -47.6, + "y": -55.65, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.283616, + "kY": -0.283616, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -47.35, + "y": -51.9, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.117984258, + "kY": -0.117984258, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -47.3, + "y": -48.1, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.152018189, + "kY": 0.152018189, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -109.0, + "y": -89.5, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.974417269, + "kY": 0.974417269, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -172.55, + "y": -147.35, + "z": 0, + "cX": 1.01, + "cY": 1.02, + "kX": -0.7848745, + "kY": 0.664446831, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -167.65, + "y": -130.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.591492057, + "kY": 0.591492057, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -167.75, + "y": -135.7, + "z": 0, + "cX": 0.99, + "cY": 0.99, + "kX": -0.6688102, + "kY": 0.6688102, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -167.75, + "y": -134.9, + "z": 0, + "cX": 0.99, + "cY": 0.99, + "kX": -0.634776235, + "kY": 0.634776235, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -167.75, + "y": -134.9, + "z": 0, + "cX": 0.99, + "cY": 0.99, + "kX": -0.634776235, + "kY": 0.634776235, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -167.75, + "y": -134.9, + "z": 0, + "cX": 0.99, + "cY": 0.99, + "kX": -0.634776235, + "kY": 0.634776235, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "hand_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -73.9, + "y": -52.6, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.430921763, + "kY": -0.430921763, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -57.25, + "y": -51.9, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.13334316, + "kY": -0.13334316, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -15.9000015, + "y": -41.3000031, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6058038, + "kY": 0.6058038, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -40.45, + "y": -26.8000031, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.54828155, + "kY": 1.54828155, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -104.7, + "y": -106.250008, + "z": 0, + "cX": 1.0, + "cY": 1.03, + "kX": -1.301841, + "kY": 1.18577659, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -108.1, + "y": -96.75001, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.24668872, + "kY": 1.24668872, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -103.55, + "y": -91.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.50185585, + "kY": 1.50185585, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -103.65, + "y": -91.9, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.46345854, + "kY": 1.46345854, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -103.65, + "y": -91.9, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.46345854, + "kY": 1.46345854, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -103.65, + "y": -91.9, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.46345854, + "kY": 1.46345854, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "arm_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -57.2, + "y": -58.1499977, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.283616, + "kY": -0.283616, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -51.3000031, + "y": -53.1499977, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.118333317, + "kY": -0.118333317, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -40.15, + "y": -44.8, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.313286573, + "kY": 0.313286573, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -87.05, + "y": -63.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.10304809, + "kY": 1.10304809, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -152.1, + "y": -129.4, + "z": 0, + "cX": 1.03, + "cY": 1.0, + "kX": -0.784874558, + "kY": 0.6668903, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -150.6, + "y": -115.15, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.6956882, + "kY": 0.6956882, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -149.25, + "y": -117.05, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.751364231, + "kY": 0.751364231, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -149.35, + "y": -116.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.7770205, + "kY": 0.7770205, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -149.35, + "y": -116.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.7770205, + "kY": 0.7770205, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -149.35, + "y": -116.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.7770205, + "kY": 0.7770205, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "head", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -46.8, + "y": -49.6, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.256737918, + "kY": -0.256737918, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -47.25, + "y": -48.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.127059966, + "kY": -0.127059966, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -47.35, + "y": -48.1, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -89.1, + "y": -76.15, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.9876818, + "kY": -0.9876818, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -156.799988, + "y": -158.7, + "z": 0, + "cX": 1.08, + "cY": 0.96, + "kX": 0.18989183, + "kY": -0.1631883, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -149.9, + "y": -151.6, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.199665651, + "kY": 0.199665651, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -150.349991, + "y": -148.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.144687787, + "kY": -0.144687787, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -150.45, + "y": -148.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0877900645, + "kY": -0.0877900645, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -150.45, + "y": -148.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0877900645, + "kY": -0.0877900645, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -150.45, + "y": -148.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0877900645, + "kY": -0.0877900645, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "leg_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -57.8, + "y": -43.3500023, + "z": 0, + "cX": 1.07, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -56.35, + "y": -43.3500023, + "z": 0, + "cX": 1.03, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -54.95, + "y": -40.4999962, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -46.9, + "y": -34.8500023, + "z": 0, + "cX": 1.0, + "cY": 1.02, + "kX": -0.485550582, + "kY": 0.4281293, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -38.85, + "y": -51.95, + "z": 0, + "cX": 1.0, + "cY": 1.03, + "kX": -0.972497463, + "kY": 0.85538584, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -45.1, + "y": -35.9999962, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.7639306, + "kY": 0.7639306, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -43.55, + "y": -39.95, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.919439435, + "kY": 0.919439435, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -43.55, + "y": -39.1000023, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.8766789, + "kY": 0.8766789, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -43.55, + "y": -39.1000023, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.8766789, + "kY": 0.8766789, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -43.55, + "y": -39.1000023, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -0.8766789, + "kY": 0.8766789, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "foot_left", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 11.3000031, + "y": 1.45000458, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.67813408, + "kY": 1.67813408, + "fi": 1, + "twE": 0 + }, + { + "dI": 0, + "x": 11.4500008, + "y": -9.299995, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.395988, + "kY": 2.395988, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 11.3500023, + "y": -9.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.39738417, + "kY": 2.39738417, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 11.4500008, + "y": -9.299995, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.395988, + "kY": 2.395988, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": 17.75, + "y": -2.04999542, + "z": 0, + "cX": 1.0, + "cY": 1.02, + "kX": -2.26613545, + "kY": 2.32320786, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": 24.0, + "y": -17.7000046, + "z": 0, + "cX": 1.0, + "cY": 1.04, + "kX": -2.13558483, + "kY": 2.250253, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": 7.15000153, + "y": -7.40000153, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.1425662, + "kY": 2.1425662, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": 14.0500031, + "y": -7.90000153, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.304009, + "kY": 2.304009, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": 13.1500015, + "y": -9.599998, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.244668, + "kY": 2.244668, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 13.1500015, + "y": -9.599998, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.244668, + "kY": 2.244668, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": 13.1500015, + "y": -9.599998, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.244668, + "kY": 2.244668, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "body", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -47.3500023, + "y": -55.7, + "z": 0, + "cX": 1.17, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -47.3, + "y": -51.9, + "z": 0, + "cX": 1.08, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -47.3500023, + "y": -48.1000023, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -78.3500061, + "y": -68.75, + "z": 0, + "cX": 0.98, + "cY": 1.04, + "kX": -0.8527679, + "kY": 0.87039566, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -109.25, + "y": -112.149994, + "z": 0, + "cX": 0.96, + "cY": 1.07, + "kX": -1.70239413, + "kY": 1.73799884, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -107.850006, + "y": -95.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71914935, + "kY": 1.71914935, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -107.899994, + "y": -100.7, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71914935, + "kY": 1.71914935, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -107.899994, + "y": -99.8999939, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71914935, + "kY": 1.71914935, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -107.899994, + "y": -99.8999939, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71914935, + "kY": 1.71914935, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -107.899994, + "y": -99.8999939, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71914935, + "kY": 1.71914935, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "foot_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": 10.6500015, + "y": -3.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.67813408, + "kY": 1.67813408, + "fi": 1, + "twE": 0 + }, + { + "dI": 0, + "x": 9.550003, + "y": -16.8499985, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.395988, + "kY": 2.395988, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": 9.450001, + "y": -16.8499985, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.39738417, + "kY": 2.39738417, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": 9.550003, + "y": -16.8499985, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.395988, + "kY": 2.395988, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": 15.5, + "y": -9.25, + "z": 0, + "cX": 1.0, + "cY": 1.02, + "kX": -2.26613545, + "kY": 2.32320786, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": 21.2, + "y": -24.5500031, + "z": 0, + "cX": 1.0, + "cY": 1.04, + "kX": -2.13558483, + "kY": 2.250253, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": 4.60000229, + "y": -11.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.1425662, + "kY": 2.1425662, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": 11.8000031, + "y": -11.6500015, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.304009, + "kY": 2.304009, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": 10.9000015, + "y": -13.1999969, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.244668, + "kY": 2.244668, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": 10.9000015, + "y": -13.1999969, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.244668, + "kY": 2.244668, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": 10.9000015, + "y": -13.1999969, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -2.244668, + "kY": 2.244668, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "leg_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -47.35, + "y": -41.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -47.35, + "y": -37.65, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -47.35, + "y": -33.8500061, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -46.8, + "y": -28.4500046, + "z": 0, + "cX": 0.98, + "cY": 1.03, + "kX": -0.9058259, + "kY": 0.936543643, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -46.3, + "y": -45.8000031, + "z": 0, + "cX": 0.96, + "cY": 1.07, + "kX": -1.81077909, + "kY": 1.87326193, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -49.45, + "y": -29.2000046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.83748257, + "kY": 1.83748257, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -49.4, + "y": -34.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.837308, + "kY": 1.837308, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -49.4, + "y": -33.2000046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.837308, + "kY": 1.837308, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -49.4, + "y": -33.2000046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.837308, + "kY": 1.837308, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -49.4, + "y": -33.2000046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.837308, + "kY": 1.837308, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "ax", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -1.29999971, + "y": -2.800003, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.5843363, + "kY": -0.5843363, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -4.39999962, + "y": -19.1500015, + "z": 0, + "cX": 0.72, + "cY": 1.0, + "kX": 0.300196648, + "kY": -1.870993, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -0.399999619, + "y": -37.0500031, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.004712343, + "kY": -3.146305, + "fi": 12, + "twE": 0 + }, + { + "dI": 0, + "x": -0.5, + "y": -38.4, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": -0.0171042681, + "kY": -3.12448835, + "fi": 13, + "twE": 0 + }, + { + "dI": 0, + "x": -0.4499998, + "y": -37.0500031, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.005061507, + "kY": -3.14665413, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -0.4499998, + "y": -37.0, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.006981373, + "kY": -3.14839935, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -0.4499998, + "y": -37.0500031, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.005061507, + "kY": -3.14665413, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -0.5, + "y": -35.75, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.00733041763, + "kY": -3.148923, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -0.4499998, + "y": -36.35, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.00750494, + "kY": -3.14909744, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -0.4499998, + "y": -35.5500031, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.00750494, + "kY": -3.14909744, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -0.4499998, + "y": -35.5500031, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.00750494, + "kY": -3.14909744, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -0.4499998, + "y": -35.5500031, + "z": 0, + "cX": 0.45, + "cY": 1.0, + "kX": 0.00750494, + "kY": -3.14909744, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "arm_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -47.35, + "y": -55.7, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -47.4, + "y": -51.9, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.000174641609, + "kY": -0.000174641609, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -47.35, + "y": -48.1, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -64.6499939, + "y": -78.45, + "z": 0, + "cX": 1.03, + "cY": 0.98, + "kX": -0.847706437, + "kY": 0.869872, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -93.05, + "y": -122.399994, + "z": 0, + "cX": 1.07, + "cY": 0.96, + "kX": -1.69506371, + "kY": 1.74061692, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -92.0, + "y": -106.6, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -91.8999939, + "y": -111.45, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -91.8999939, + "y": -110.65, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -91.8999939, + "y": -110.65, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -91.8999939, + "y": -110.65, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 33, + "twE": 0 + } + ] + }, + { + "name": "hand_right", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0 + }, + { + "dI": 0, + "x": -47.3500023, + "y": -41.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0 + }, + { + "dI": 0, + "x": -47.3500023, + "y": -37.6, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.000174641609, + "kY": -0.000174641609, + "fi": 4, + "twE": 0 + }, + { + "dI": 0, + "x": -47.3500023, + "y": -33.85, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 14, + "twE": 0 + }, + { + "dI": 0, + "x": -45.0, + "y": -42.85, + "z": 0, + "cX": 1.03, + "cY": 0.98, + "kX": -0.847706437, + "kY": 0.869872, + "fi": 16, + "twE": 0 + }, + { + "dI": 0, + "x": -55.2, + "y": -61.5, + "z": 0, + "cX": 1.07, + "cY": 0.96, + "kX": -1.69506371, + "kY": 1.74061692, + "fi": 18, + "twE": 0 + }, + { + "dI": 0, + "x": -57.0, + "y": -45.4, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 20, + "twE": 0 + }, + { + "dI": 0, + "x": -57.0500031, + "y": -50.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 22, + "twE": 0 + }, + { + "dI": 0, + "x": -57.0500031, + "y": -49.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 24, + "twE": 0 + }, + { + "dI": 0, + "x": -57.0500031, + "y": -49.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 32, + "twE": 0 + }, + { + "dI": 0, + "x": -57.0500031, + "y": -49.4500046, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": -1.71932375, + "kY": 1.71932375, + "fi": 33, + "twE": 0 + } + ] + } + ] + } + ] + } + ], + "texture_data": [ + { + "name": "girl_cell-tauren_effect_3", + "width": 0.0, + "height": 0.0, + "pX": 0.506521761, + "pY": 0.500409842 + }, + { + "name": "girl_cell-tauren_effect_2", + "width": 0.0, + "height": 0.0, + "pX": 0.5066265, + "pY": 0.495876282 + }, + { + "name": "girl_cell-tauren_effect_1", + "width": 0.0, + "height": 0.0, + "pX": 0.500247538, + "pY": 0.503211 + }, + { + "name": "tauren_cell-armor", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-hand_left", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-arm_left", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-head", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-leg_left", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-foot_left", + "width": 58.0, + "height": 36.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-body", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-foot_right", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-leg_right", + "width": 0.0, + "height": 0.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "tauren_cell-ax", + "width": 0.0, + "height": 0.0, + "pX": 0.499137938, + "pY": 0.501127839 + }, + { + "name": "tauren_cell-arm_right", + "width": 0.0, + "height": 0.0, + "pX": 0.492241353, + "pY": 0.507 + }, + { + "name": "tauren_cell-hand_right", + "width": 0.0, + "height": 0.0, + "pX": 0.494642854, + "pY": 0.507936537 + } + ], + "config_file_path": [ + "monster0.plist" + ] +} \ No newline at end of file diff --git a/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/enemy/monster0.plist b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/enemy/monster0.plist new file mode 100644 index 0000000..8c49136 --- /dev/null +++ b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/enemy/monster0.plist @@ -0,0 +1,312 @@ + + + + + frames + + girl_cell-tauren_effect_3.png + + width + 69 + height + 122 + originalWidth + 69 + originalHeight + 122 + x + 0 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_cell-tauren_effect_2.png + + width + 83 + height + 194 + originalWidth + 83 + originalHeight + 194 + x + 71 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_cell-tauren_effect_1.png + + width + 202 + height + 109 + originalWidth + 202 + originalHeight + 109 + x + 156 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-armor.png + + width + 82 + height + 80 + originalWidth + 82 + originalHeight + 80 + x + 360 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-hand_left.png + + width + 54 + height + 83 + originalWidth + 54 + originalHeight + 83 + x + 444 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-arm_left.png + + width + 51 + height + 58 + originalWidth + 51 + originalHeight + 58 + x + 500 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-head.png + + width + 93 + height + 64 + originalWidth + 93 + originalHeight + 64 + x + 553 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-leg_left.png + + width + 86 + height + 83 + originalWidth + 86 + originalHeight + 83 + x + 648 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-foot_left.png + + width + 58 + height + 36 + originalWidth + 58 + originalHeight + 36 + x + 736 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-body.png + + width + 90 + height + 124 + originalWidth + 90 + originalHeight + 124 + x + 796 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-foot_right.png + + width + 57 + height + 39 + originalWidth + 57 + originalHeight + 39 + x + 888 + y + 0 + offsetX + 0 + offsetY + 0 + + tauren_cell-leg_right.png + + width + 86 + height + 83 + originalWidth + 86 + originalHeight + 83 + x + 0 + y + 196 + offsetX + 0 + offsetY + 0 + + tauren_cell-ax.png + + width + 116 + height + 266 + originalWidth + 116 + originalHeight + 266 + x + 88 + y + 196 + offsetX + 0 + offsetY + 0 + + tauren_cell-arm_right.png + + width + 58 + height + 50 + originalWidth + 58 + originalHeight + 50 + x + 206 + y + 196 + offsetX + 0 + offsetY + 0 + + tauren_cell-hand_right.png + + width + 84 + height + 63 + originalWidth + 84 + originalHeight + 63 + x + 266 + y + 196 + offsetX + 0 + offsetY + 0 + + + metadata + + format + 0 + textureFileName + monster0.png + realTextureFileName + monster0.png + size + {1024,1024} + + texture + + width + 1024 + height + 1024 + + + \ No newline at end of file diff --git a/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/enemy/monster0.png b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/enemy/monster0.png new file mode 100644 index 0000000..a16c51e Binary files /dev/null and b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/enemy/monster0.png differ diff --git a/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/hero/girl.ExportJson b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/hero/girl.ExportJson new file mode 100644 index 0000000..ccc9009 --- /dev/null +++ b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/hero/girl.ExportJson @@ -0,0 +1,5326 @@ +{ + "armature_data": [ + { + "strVersion": "1.0.0.0", + "version": 1.0, + "name": "girl", + "bone_data": [ + { + "name": "effect", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 12, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/effect_1.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "girl_png/effect_2.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + }, + { + "name": "girl_png/effect_3.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "girl_hand_right.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 11, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_hand_right.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.999989867, + "cY": 0.999989867, + "kX": -2.02997422, + "kY": 2.02997422 + } + ] + } + ] + }, + { + "name": "girl_arms.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 10, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_arms.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.99999094, + "cY": 0.99999094, + "kX": -1.02019691, + "kY": 1.02019691 + } + ] + } + ] + }, + { + "name": "girl_arm_right.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 9, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_arm_right.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.9999973, + "cY": 0.9999973, + "kX": 0.278314322, + "kY": -0.278314322 + } + ] + } + ] + }, + { + "name": "girl_body.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 8, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_body.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.9999993, + "cY": 0.9999993, + "kX": 0.082138896, + "kY": -0.082138896 + } + ] + } + ] + }, + { + "name": "girl_leg_right.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 7, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_leg_right.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.99999696, + "cY": 0.99999696, + "kX": 0.117749684, + "kY": -0.117749684 + } + ] + } + ] + }, + { + "name": "girl_foot_right.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 6, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_foot_right.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.999994457, + "cY": 0.999994457, + "kX": 0.07405796, + "kY": -0.07405796 + } + ] + } + ] + }, + { + "name": "girl_head.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 5, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_head.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "girl_leg_left.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 4, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_leg_left.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.999995232, + "cY": 0.999995232, + "kX": -0.34014073, + "kY": 0.34014073 + } + ] + } + ] + }, + { + "name": "girl_foot_left.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 3, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_foot_left.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.9999979, + "cY": 0.9999979, + "kX": -0.0306903068, + "kY": 0.0306903068 + } + ] + } + ] + }, + { + "name": "girl_arm_left.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 2, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_arm_left.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0 + } + ] + } + ] + }, + { + "name": "girl_hand_left.png", + "parent": "", + "x": 0.0, + "y": 0.0, + "z": 1, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "arrow_x": 0.0, + "arrow_y": 0.0, + "effectbyskeleton": false, + "display_data": [ + { + "name": "girl_png/girl_hand_left.png", + "displayType": 0, + "skin_data": [ + { + "x": 0.0, + "y": 0.0, + "cX": 0.9999962, + "cY": 0.9999962, + "kX": -0.357204437, + "kY": 0.357204437 + } + ] + } + ] + } + ] + } + ], + "animation_data": [ + { + "name": "girl", + "mov_data": [ + { + "name": "loading", + "dr": 24, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "effect", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_hand_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 22.450000762939453, + "y": -0.85000002384185791, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 22.299999237060547, + "y": 3.9500000476837158, + "z": 0, + "cX": 0.9999966, + "cY": 0.9999966, + "kX": 0.0520561561, + "kY": -0.0520561561, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 22.450000762939453, + "y": -0.85000002384185791, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arms.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 0.25, + "y": 30.850000381469727, + "z": 0, + "cX": 0.999996543, + "cY": 0.999996543, + "kX": 0.222723842, + "kY": -0.222723842, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 1.7999999523162842, + "y": 36.75, + "z": 0, + "cX": 1.00000775, + "cY": 1.00000775, + "kX": 0.274774283, + "kY": -0.274774283, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 0.25, + "y": 30.850000381469727, + "z": 0, + "cX": 0.999996543, + "cY": 0.999996543, + "kX": 0.222723842, + "kY": -0.222723842, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 9.1000003814697266, + "y": -2.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 8.9499998092651367, + "y": 3.4500000476837158, + "z": 0, + "cX": 0.9999966, + "cY": 0.9999966, + "kX": 0.0520561561, + "kY": -0.0520561561, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 9.1000003814697266, + "y": -2.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_body.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 23.649999618530273, + "y": -7.0500001907348633, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 25.649999618530273, + "y": -2.0999999046325684, + "z": 0, + "cX": 0.884979248, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 23.649999618530273, + "y": -7.0500001907348633, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 24.899999618530273, + "y": -46.75, + "z": 0, + "cX": 0.999989, + "cY": 0.999989, + "kX": 0.157219052, + "kY": -0.157219052, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 25.649999618530273, + "y": -42.0, + "z": 0, + "cX": 0.9999972, + "cY": 0.9999972, + "kX": 0.09211043, + "kY": -0.09211043, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 24.899999618530273, + "y": -46.75, + "z": 0, + "cX": 0.999989, + "cY": 0.999989, + "kX": 0.157219052, + "kY": -0.157219052, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 21.75, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 21.75, + "y": -76.550003051757812, + "z": 0, + "cX": 1.0, + "cY": 1.04492188, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 21.75, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_head.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 36.700000762939453, + "y": 46.549999237060547, + "z": 0, + "cX": 0.9999995, + "cY": 0.9999995, + "kX": 0.299581528, + "kY": -0.299581528, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 34.349998474121094, + "y": 51.900001525878906, + "z": 0, + "cX": 1.00000072, + "cY": 1.00000072, + "kX": 0.211987466, + "kY": -0.211987466, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.700000762939453, + "y": 46.549999237060547, + "z": 0, + "cX": 0.9999995, + "cY": 0.9999995, + "kX": 0.299581528, + "kY": -0.299581528, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 52.25, + "y": -46.599998474121094, + "z": 0, + "cX": 1.00001228, + "cY": 1.00001228, + "kX": -0.23880206, + "kY": 0.23880206, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 50.200000762939453, + "y": -41.849998474121094, + "z": 0, + "cX": 1.00001192, + "cY": 1.00001192, + "kX": -0.0560131148, + "kY": 0.0560131148, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 52.25, + "y": -46.599998474121094, + "z": 0, + "cX": 1.00001228, + "cY": 1.00001228, + "kX": -0.23880206, + "kY": 0.23880206, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 66.3499984741211, + "y": -73.5, + "z": 0, + "cX": 1.00146353, + "cY": 1.0, + "kX": -0.05407017, + "kY": 0.05407017, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 63.599998474121094, + "y": -73.5, + "z": 0, + "cX": 1.01691544, + "cY": 1.0, + "kX": -0.182649061, + "kY": 0.182649061, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 66.3499984741211, + "y": -73.5, + "z": 0, + "cX": 1.00146353, + "cY": 1.0, + "kX": -0.05407017, + "kY": 0.05407017, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 44.349998474121094, + "y": -2.25, + "z": 0, + "cX": 0.999998569, + "cY": 0.999998569, + "kX": -0.924231231, + "kY": 0.924231231, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 42.0, + "y": -0.75, + "z": 0, + "cX": 0.999999166, + "cY": 0.999999166, + "kX": -0.81579715, + "kY": 0.81579715, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 44.349998474121094, + "y": -2.25, + "z": 0, + "cX": 0.999998569, + "cY": 0.999998569, + "kX": -0.924231231, + "kY": 0.924231231, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_hand_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 69.300003051757812, + "y": -5.5999999046325684, + "z": 0, + "cX": 0.999955535, + "cY": 0.999941, + "kX": -1.07220829, + "kY": 1.07220829, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 65.449996948242188, + "y": -10.699999809265137, + "z": 0, + "cX": 0.9999585, + "cY": 0.9999585, + "kX": -0.879041433, + "kY": 0.879041433, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 69.300003051757812, + "y": -5.5999999046325684, + "z": 0, + "cX": 0.999955535, + "cY": 0.999941, + "kX": -1.07220829, + "kY": 1.07220829, + "fi": 24, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "run", + "dr": 12, + "lp": true, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "girl_hand_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 16.799999237060547, + "y": -13.25, + "z": 0, + "cX": 0.9999943, + "cY": 0.9999943, + "kX": 2.13103724, + "kY": -2.13103724, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 22.0, + "y": -30.799999237060547, + "z": 0, + "cX": 1.00000143, + "cY": 1.00000143, + "kX": 2.12669778, + "kY": -2.12669778, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 16.799999237060547, + "y": -5.25, + "z": 0, + "cX": 0.9999943, + "cY": 0.9999943, + "kX": 2.13103724, + "kY": -2.13103724, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 16.799999237060547, + "y": -13.25, + "z": 0, + "cX": 0.9999943, + "cY": 0.9999943, + "kX": 2.13103724, + "kY": -2.13103724, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 22.0, + "y": -30.799999237060547, + "z": 0, + "cX": 1.00000143, + "cY": 1.00000143, + "kX": 2.12669778, + "kY": -2.12669778, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 16.799999237060547, + "y": -5.25, + "z": 0, + "cX": 0.9999943, + "cY": 0.9999943, + "kX": 2.13103724, + "kY": -2.13103724, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 16.799999237060547, + "y": -13.25, + "z": 0, + "cX": 0.9999943, + "cY": 0.9999943, + "kX": 2.13103724, + "kY": -2.13103724, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arms.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -33.0, + "y": -39.5, + "z": 0, + "cX": 1.00000179, + "cY": 1.00000179, + "kX": -0.862880051, + "kY": 0.862880051, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -33.0, + "y": -55.0, + "z": 0, + "cX": 1.00000179, + "cY": 1.00000179, + "kX": -0.862880051, + "kY": 0.862880051, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -30.75, + "y": -36.799999237060547, + "z": 0, + "cX": 0.9999936, + "cY": 0.9999936, + "kX": -1.04177618, + "kY": 1.04177618, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -33.0, + "y": -39.5, + "z": 0, + "cX": 1.00000179, + "cY": 1.00000179, + "kX": -0.862880051, + "kY": 0.862880051, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -33.0, + "y": -55.0, + "z": 0, + "cX": 1.00000179, + "cY": 1.00000179, + "kX": -0.862880051, + "kY": 0.862880051, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -30.75, + "y": -36.799999237060547, + "z": 0, + "cX": 0.9999936, + "cY": 0.9999936, + "kX": -1.04177618, + "kY": 1.04177618, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -33.0, + "y": -39.5, + "z": 0, + "cX": 1.00000179, + "cY": 1.00000179, + "kX": -0.862880051, + "kY": 0.862880051, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 25.399999618530273, + "y": 8.9499998092651367, + "z": 0, + "cX": 0.999993265, + "cY": 0.999993265, + "kX": 0.8622098, + "kY": -0.8622098, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 29.350000381469727, + "y": -5.9499998092651367, + "z": 0, + "cX": 0.9999955, + "cY": 0.9999955, + "kX": 0.3954848, + "kY": -0.3954848, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 25.399999618530273, + "y": 16.950000762939453, + "z": 0, + "cX": 0.999993265, + "cY": 0.999993265, + "kX": 0.8622098, + "kY": -0.8622098, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 25.399999618530273, + "y": 8.9499998092651367, + "z": 0, + "cX": 0.999993265, + "cY": 0.999993265, + "kX": 0.8622098, + "kY": -0.8622098, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 29.350000381469727, + "y": -5.9499998092651367, + "z": 0, + "cX": 0.9999955, + "cY": 0.9999955, + "kX": 0.3954848, + "kY": -0.3954848, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 25.399999618530273, + "y": 16.950000762939453, + "z": 0, + "cX": 0.999993265, + "cY": 0.999993265, + "kX": 0.8622098, + "kY": -0.8622098, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 25.399999618530273, + "y": 8.9499998092651367, + "z": 0, + "cX": 0.999993265, + "cY": 0.999993265, + "kX": 0.8622098, + "kY": -0.8622098, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_body.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 30.649999618530273, + "y": 5.0, + "z": 0, + "cX": 0.9999876, + "cY": 0.9999876, + "kX": 0.4571033, + "kY": -0.4571033, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.649999618530273, + "y": -5.0, + "z": 0, + "cX": 0.9999876, + "cY": 0.9999876, + "kX": 0.4571033, + "kY": -0.4571033, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.649999618530273, + "y": 13.0, + "z": 0, + "cX": 0.9999876, + "cY": 0.9999876, + "kX": 0.4571033, + "kY": -0.4571033, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.649999618530273, + "y": 5.0, + "z": 0, + "cX": 0.9999876, + "cY": 0.9999876, + "kX": 0.4571033, + "kY": -0.4571033, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.649999618530273, + "y": -5.0, + "z": 0, + "cX": 0.9999876, + "cY": 0.9999876, + "kX": 0.4571033, + "kY": -0.4571033, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.649999618530273, + "y": 13.0, + "z": 0, + "cX": 0.9999876, + "cY": 0.9999876, + "kX": 0.4571033, + "kY": -0.4571033, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.649999618530273, + "y": 5.0, + "z": 0, + "cX": 0.9999876, + "cY": 0.9999876, + "kX": 0.4571033, + "kY": -0.4571033, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 3.0999999046325684, + "y": -31.149999618530273, + "z": 0, + "cX": 1.00001848, + "cY": 1.00001848, + "kX": 0.837675, + "kY": -0.837675, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 21.399999618530273, + "y": -51.549999237060547, + "z": 0, + "cX": 1.000011, + "cY": 1.000011, + "kX": -0.0811581239, + "kY": 0.0811581239, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 43.049999237060547, + "y": -34.049999237060547, + "z": 0, + "cX": 1.0000118, + "cY": 1.0000118, + "kX": -0.827975452, + "kY": 0.827975452, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 29.600000381469727, + "y": -44.049999237060547, + "z": 0, + "cX": 0.999996841, + "cY": 0.999996841, + "kX": -0.851695, + "kY": 0.851695, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.149999618530273, + "y": -52.299999237060547, + "z": 0, + "cX": 1.00000584, + "cY": 1.00000584, + "kX": -0.6645963, + "kY": 0.6645963, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 3.9500000476837158, + "y": -32.150001525878906, + "z": 0, + "cX": 1.000006, + "cY": 1.000006, + "kX": 0.566659, + "kY": -0.566659, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 15.649999618530273, + "y": -27.049999237060547, + "z": 0, + "cX": 1.00001466, + "cY": 1.00001466, + "kX": 0.694664061, + "kY": -0.694664061, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -26.549999237060547, + "y": -38.650001525878906, + "z": 0, + "cX": 0.9999667, + "cY": 0.9999667, + "kX": 1.6650399, + "kY": -1.6650399, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 7.3000001907348633, + "y": -71.449996948242188, + "z": 0, + "cX": 0.9999714, + "cY": 0.9999714, + "kX": 1.20746791, + "kY": -1.20746791, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 54.450000762939453, + "y": -63.349998474121094, + "z": 0, + "cX": 0.9999365, + "cY": 0.9999365, + "kX": -0.171721488, + "kY": 0.171721488, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 52.650001525878906, + "y": -72.300003051757812, + "z": 0, + "cX": 0.9999522, + "cY": 0.9999522, + "kX": -0.69523257, + "kY": 0.69523257, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 33.450000762939453, + "y": -81.550003051757812, + "z": 0, + "cX": 0.999959052, + "cY": 0.999959052, + "kX": -0.07937123, + "kY": 0.07937123, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -25.399999618530273, + "y": -57.900001525878906, + "z": 0, + "cX": 0.9999154, + "cY": 0.9999154, + "kX": 0.9134753, + "kY": -0.9134753, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -12.75, + "y": -41.349998474121094, + "z": 0, + "cX": 0.9999611, + "cY": 0.9999611, + "kX": 1.43033, + "kY": -1.43033, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_head.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 60.150001525878906, + "y": 45.400001525878906, + "z": 0, + "cX": 0.999985, + "cY": 0.999985, + "kX": 0.357566953, + "kY": -0.357566953, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 58.700000762939453, + "y": 35.75, + "z": 0, + "cX": 0.999998748, + "cY": 0.999998748, + "kX": 0.301434815, + "kY": -0.301434815, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 62.549999237060547, + "y": 52.549999237060547, + "z": 0, + "cX": 0.9999704, + "cY": 0.9999704, + "kX": 0.448593, + "kY": -0.448593, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 60.150001525878906, + "y": 45.400001525878906, + "z": 0, + "cX": 0.999985, + "cY": 0.999985, + "kX": 0.357566953, + "kY": -0.357566953, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 58.700000762939453, + "y": 35.75, + "z": 0, + "cX": 0.999998748, + "cY": 0.999998748, + "kX": 0.301434815, + "kY": -0.301434815, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 62.549999237060547, + "y": 52.549999237060547, + "z": 0, + "cX": 0.9999704, + "cY": 0.9999704, + "kX": 0.448593, + "kY": -0.448593, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 60.150001525878906, + "y": 45.400001525878906, + "z": 0, + "cX": 0.999985, + "cY": 0.999985, + "kX": 0.357566953, + "kY": -0.357566953, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 31.0, + "y": -51.299999237060547, + "z": 0, + "cX": 1.00000608, + "cY": 1.00000608, + "kX": -0.2805025, + "kY": 0.2805025, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 18.649999618530273, + "y": -48.150001525878906, + "z": 0, + "cX": 0.99998945, + "cY": 0.99998945, + "kX": -0.033743944, + "kY": 0.033743944, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -2.9000000953674316, + "y": -41.5, + "z": 0, + "cX": 1.000017, + "cY": 1.000017, + "kX": 1.18072128, + "kY": -1.18072128, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 1.5, + "y": -31.799999237060547, + "z": 0, + "cX": 1.000006, + "cY": 1.000006, + "kX": 1.57426012, + "kY": -1.57426012, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 16.799999237060547, + "y": -45.549999237060547, + "z": 0, + "cX": 0.9999699, + "cY": 0.9999699, + "kX": 0.743045866, + "kY": -0.743045866, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 34.049999237060547, + "y": -34.349998474121094, + "z": 0, + "cX": 0.999997735, + "cY": 0.999997735, + "kX": -0.658376, + "kY": 0.658376, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.0, + "y": -51.299999237060547, + "z": 0, + "cX": 1.00000608, + "cY": 1.00000608, + "kX": -0.2805025, + "kY": 0.2805025, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 51.549999237060547, + "y": -74.1500015258789, + "z": 0, + "cX": 1.02627826, + "cY": 0.974502563, + "kX": -0.659282744, + "kY": 0.659282744, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 27.299999237060547, + "y": -78.449996948242188, + "z": 0, + "cX": 1.00173211, + "cY": 0.999697745, + "kX": -0.0600975379, + "kY": 0.0600975379, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -27.0, + "y": -67.300003051757812, + "z": 0, + "cX": 0.973688, + "cY": 1.02703607, + "kX": 0.8617995, + "kY": -0.8617995, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -27.549999237060547, + "y": -38.849998474121094, + "z": 0, + "cX": 1.01794434, + "cY": 0.9831905, + "kX": 1.92554939, + "kY": -1.92554939, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -2.75, + "y": -70.300003051757812, + "z": 0, + "cX": 0.9843814, + "cY": 1.01676261, + "kX": 1.25799656, + "kY": -1.25799656, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 51.900001525878906, + "y": -55.5, + "z": 0, + "cX": 1.0049454, + "cY": 0.9964599, + "kX": -0.119170226, + "kY": 0.119170226, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 51.549999237060547, + "y": -74.1500015258789, + "z": 0, + "cX": 1.02627826, + "cY": 0.974502563, + "kX": -0.659282744, + "kY": 0.659282744, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 40.099998474121094, + "y": 4.1500000953674316, + "z": 0, + "cX": 0.9999772, + "cY": 0.9999772, + "kX": 1.07140338, + "kY": -1.07140338, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 40.099998474121094, + "y": -5.8499999046325684, + "z": 0, + "cX": 0.9999772, + "cY": 0.9999772, + "kX": 1.07140338, + "kY": -1.07140338, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 47.099998474121094, + "y": 7.5500001907348633, + "z": 0, + "cX": 0.9999815, + "cY": 0.9999815, + "kX": -0.0189681631, + "kY": 0.0189681631, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 52.0, + "y": -4.6500000953674316, + "z": 0, + "cX": 0.9999607, + "cY": 0.9999607, + "kX": -0.631366551, + "kY": 0.631366551, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 43.799999237060547, + "y": -12.350000381469727, + "z": 0, + "cX": 0.999958336, + "cY": 0.999958336, + "kX": -0.28940472, + "kY": 0.28940472, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 39.349998474121094, + "y": 16.25, + "z": 0, + "cX": 0.9999688, + "cY": 0.9999688, + "kX": 0.2467514, + "kY": -0.2467514, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 40.099998474121094, + "y": 4.1500000953674316, + "z": 0, + "cX": 0.9999772, + "cY": 0.9999772, + "kX": 1.07140338, + "kY": -1.07140338, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_hand_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 21.450000762939453, + "y": -17.649999618530273, + "z": 0, + "cX": 0.9999772, + "cY": 0.9999772, + "kX": 1.07140338, + "kY": -1.07140338, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 21.450000762939453, + "y": -27.649999618530273, + "z": 0, + "cX": 0.9999772, + "cY": 0.9999772, + "kX": 1.07140338, + "kY": -1.07140338, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 57.849998474121094, + "y": -19.100000381469727, + "z": 0, + "cX": 0.9999815, + "cY": 0.9999815, + "kX": -0.0189681631, + "kY": 0.0189681631, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 72.8499984741211, + "y": -8.0, + "z": 0, + "cX": 0.99993813, + "cY": 0.99993813, + "kX": -1.14118838, + "kY": 1.14118838, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 60.549999237060547, + "y": -30.950000762939453, + "z": 0, + "cX": 0.9999541, + "cY": 0.9999541, + "kX": -0.494163573, + "kY": 0.494163573, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 42.700000762939453, + "y": -12.300000190734863, + "z": 0, + "cX": 0.9999688, + "cY": 0.9999688, + "kX": 0.2467514, + "kY": -0.2467514, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 21.450000762939453, + "y": -17.649999618530273, + "z": 0, + "cX": 0.9999772, + "cY": 0.9999772, + "kX": 1.07140338, + "kY": -1.07140338, + "fi": 12, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "attack", + "dr": 19, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "effect", + "dl": 0.0, + "frame_data": [ + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -18.649999618530273, + "y": 98.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 11, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 1, + "x": 186.64999389648438, + "y": -1.3999999761581421, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 2, + "x": 189.05000305175781, + "y": -19.049999237060547, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 13, + "twE": 0, + "tweenFrame": true + }, + { + "dI": -1, + "x": 0.0, + "y": 0.0, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 14, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_hand_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 37.849998474121094, + "y": -0.44999998807907104, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.75, + "y": -3.5, + "z": 0, + "cX": 0.999999166, + "cY": 0.999999166, + "kX": 0.07329259, + "kY": -0.07329259, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 24.799999237060547, + "y": 29.600000381469727, + "z": 0, + "cX": 0.9981235, + "cY": 0.9981235, + "kX": -1.17215741, + "kY": 1.17215741, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 14.850000381469727, + "y": 49.599998474121094, + "z": 0, + "cX": 0.9999971, + "cY": 0.9999971, + "kX": -1.13066626, + "kY": 1.13066626, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 45.849998474121094, + "y": 51.599998474121094, + "z": 0, + "cX": 0.9999971, + "cY": 0.9999971, + "kX": -1.13066626, + "kY": 1.13066626, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 103.94999694824219, + "y": 14.75, + "z": 0, + "cX": 0.9993636, + "cY": 0.9993636, + "kX": 0.192703322, + "kY": -0.192703322, + "fi": 11, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 71.4000015258789, + "y": -34.900001525878906, + "z": 0, + "cX": 0.9999865, + "cY": 0.9999865, + "kX": 1.51922858, + "kY": -1.51922858, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 78.4000015258789, + "y": -25.899999618530273, + "z": 0, + "cX": 0.9999865, + "cY": 0.9999865, + "kX": 1.51922858, + "kY": -1.51922858, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 67.1500015258789, + "y": -15.949999809265137, + "z": 0, + "cX": 0.9983966, + "cY": 0.9983966, + "kX": 0.910599, + "kY": -0.910599, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 37.849998474121094, + "y": -0.44999998807907104, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arms.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -5.4000000953674316, + "y": 31.200000762939453, + "z": 0, + "cX": 0.9999997, + "cY": 0.9999997, + "kX": -0.039057184, + "kY": 0.039057184, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -4.5, + "y": 30.549999237060547, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.016571803, + "kY": -0.016571803, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -24.200000762939453, + "y": 62.549999237060547, + "z": 0, + "cX": 0.999394238, + "cY": 0.999394238, + "kX": -0.1446803, + "kY": 0.1446803, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -34.900001525878906, + "y": 79.1500015258789, + "z": 0, + "cX": 0.999999344, + "cY": 0.999999344, + "kX": -0.200965613, + "kY": 0.200965613, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -3.9000000953674316, + "y": 81.1500015258789, + "z": 0, + "cX": 0.999999344, + "cY": 0.999999344, + "kX": -0.200965613, + "kY": 0.200965613, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 98.5999984741211, + "y": 68.949996948242188, + "z": 0, + "cX": 0.9993764, + "cY": 0.9993764, + "kX": 0.6807094, + "kY": -0.6807094, + "fi": 11, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 122.55000305175781, + "y": -63.950000762939453, + "z": 0, + "cX": 0.9999766, + "cY": 0.9999766, + "kX": 3.074723, + "kY": -3.074723, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 132.30000305175781, + "y": -49.849998474121094, + "z": 0, + "cX": 0.999992132, + "cY": 0.999992132, + "kX": 2.935827, + "kY": -2.935827, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 114.80000305175781, + "y": 14.5, + "z": 0, + "cX": 0.9986646, + "cY": 0.9986646, + "kX": 1.74560833, + "kY": -1.74560833, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 81.300003051757812, + "y": 37.799999237060547, + "z": 0, + "cX": 0.9988023, + "cY": 0.9988023, + "kX": 1.15111387, + "kY": -1.15111387, + "fi": 17, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -5.4000000953674316, + "y": 31.200000762939453, + "z": 0, + "cX": 0.9999997, + "cY": 0.9999997, + "kX": -0.039057184, + "kY": 0.039057184, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 24.5, + "y": -1.6000000238418579, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 23.350000381469727, + "y": -3.7000000476837158, + "z": 0, + "cX": 0.999999166, + "cY": 0.999999166, + "kX": 0.07329259, + "kY": -0.07329259, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 40.849998474121094, + "y": 19.649999618530273, + "z": 0, + "cX": 0.9979647, + "cY": 0.9979647, + "kX": -2.358584, + "kY": 2.358584, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 25.450000762939453, + "y": 30.700000762939453, + "z": 0, + "cX": 0.9999952, + "cY": 0.9999952, + "kX": -3.731106, + "kY": 3.731106, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 54.5, + "y": 21.75, + "z": 0, + "cX": 0.9999865, + "cY": 0.9999865, + "kX": -3.72294664, + "kY": 3.72294664, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 73.5, + "y": 5.4000000953674316, + "z": 0, + "cX": 0.998575568, + "cY": 0.998575568, + "kX": -1.829373, + "kY": 1.829373, + "fi": 11, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 56.200000762939453, + "y": -5.25, + "z": 0, + "cX": 0.9999847, + "cY": 0.9999847, + "kX": -0.458823, + "kY": 0.458823, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 60.5, + "y": -4.0500001907348633, + "z": 0, + "cX": 0.999985635, + "cY": 0.999985635, + "kX": -0.7941703, + "kY": 0.7941703, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.200000762939453, + "y": -4.0, + "z": 0, + "cX": 0.998622656, + "cY": 0.998622656, + "kX": -0.476515174, + "kY": 0.476515174, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 24.5, + "y": -1.6000000238418579, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_body.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 28.600000381469727, + "y": -2.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.600000381469727, + "y": -4.4499998092651367, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.600000381469727, + "y": 0.89999997615814209, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.600000381469727, + "y": 4.6999998092651367, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 54.099998474121094, + "y": -1.0499999523162842, + "z": 0, + "cX": 1.00000358, + "cY": 1.00000358, + "kX": 0.509417951, + "kY": -0.509417951, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 54.099998474121094, + "y": 2.2000000476837158, + "z": 0, + "cX": 1.00000358, + "cY": 1.00000358, + "kX": 0.509417951, + "kY": -0.509417951, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 54.099998474121094, + "y": 2.2000000476837158, + "z": 0, + "cX": 1.00000358, + "cY": 1.00000358, + "kX": 0.509417951, + "kY": -0.509417951, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 43.900001525878906, + "y": 0.44999998807907104, + "z": 0, + "cX": 0.9990607, + "cY": 0.9990607, + "kX": 0.305792242, + "kY": -0.305792242, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.600000381469727, + "y": -2.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 30.899999618530273, + "y": -42.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.049999237060547, + "y": -43.75, + "z": 0, + "cX": 0.99999994, + "cY": 0.99999994, + "kX": -0.05182679, + "kY": 0.05182679, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.100000381469727, + "y": -40.349998474121094, + "z": 0, + "cX": 0.999855459, + "cY": 0.999855459, + "kX": -0.0489615723, + "kY": 0.0489615723, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.049999237060547, + "y": -37.200000762939453, + "z": 0, + "cX": 0.99999994, + "cY": 0.99999994, + "kX": -0.05182679, + "kY": 0.05182679, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 39.299999237060547, + "y": -45.299999237060547, + "z": 0, + "cX": 0.9999868, + "cY": 0.9999868, + "kX": 0.364269584, + "kY": -0.364269584, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 40.5, + "y": -42.700000762939453, + "z": 0, + "cX": 0.999996, + "cY": 0.999996, + "kX": 0.256118357, + "kY": -0.256118357, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 40.5, + "y": -42.700000762939453, + "z": 0, + "cX": 0.999996, + "cY": 0.999996, + "kX": 0.256118357, + "kY": -0.256118357, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.700000762939453, + "y": -42.900001525878906, + "z": 0, + "cX": 0.999504149, + "cY": 0.999504149, + "kX": 0.153031185, + "kY": -0.153031185, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.899999618530273, + "y": -42.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 27.850000381469727, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.799999237060547, + "y": -77.6500015258789, + "z": 0, + "cX": 1.00075316, + "cY": 1.0, + "kX": 0.03879888, + "kY": -0.03879888, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.950000762939453, + "y": -76.6500015258789, + "z": 0, + "cX": 1.00069571, + "cY": 1.039093, + "kX": 0.0372904427, + "kY": -0.0372904427, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.850000381469727, + "y": -76.3499984741211, + "z": 0, + "cX": 1.00083387, + "cY": 1.05209351, + "kX": 0.0408250839, + "kY": -0.0408250839, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.799999237060547, + "y": -77.6500015258789, + "z": 0, + "cX": 1.00075316, + "cY": 1.0, + "kX": 0.03879888, + "kY": -0.03879888, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.799999237060547, + "y": -77.6500015258789, + "z": 0, + "cX": 1.00075316, + "cY": 1.0, + "kX": 0.03879888, + "kY": -0.03879888, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.799999237060547, + "y": -77.6500015258789, + "z": 0, + "cX": 1.00075316, + "cY": 1.0, + "kX": 0.03879888, + "kY": -0.03879888, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.5, + "y": -77.5999984741211, + "z": 0, + "cX": 1.00024641, + "cY": 1.00015259, + "kX": 0.022197891, + "kY": -0.022197891, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 27.850000381469727, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_head.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 33.599998474121094, + "y": 51.950000762939453, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 32.599998474121094, + "y": 49.549999237060547, + "z": 0, + "cX": 0.9999938, + "cY": 0.9999938, + "kX": -0.04006529, + "kY": 0.04006529, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 37.75, + "y": 55.0, + "z": 0, + "cX": 0.9995356, + "cY": 0.9995356, + "kX": 0.148563847, + "kY": -0.148563847, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.450000762939453, + "y": 58.849998474121094, + "z": 0, + "cX": 1.00001192, + "cY": 1.00001192, + "kX": 0.103362657, + "kY": -0.103362657, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 87.449996948242188, + "y": 36.400001525878906, + "z": 0, + "cX": 0.999975145, + "cY": 0.999975145, + "kX": 0.647672951, + "kY": -0.647672951, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 88.0, + "y": 39.25, + "z": 0, + "cX": 0.9999884, + "cY": 0.9999884, + "kX": 0.673578, + "kY": -0.673578, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 88.0, + "y": 39.25, + "z": 0, + "cX": 0.9999884, + "cY": 0.9999884, + "kX": 0.673578, + "kY": -0.673578, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 66.5999984741211, + "y": 45.650001525878906, + "z": 0, + "cX": 0.9987818, + "cY": 0.9987818, + "kX": 0.402625, + "kY": -0.402625, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 33.599998474121094, + "y": 51.950000762939453, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 42.450000762939453, + "y": -45.400001525878906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 43.700000762939453, + "y": -46.25, + "z": 0, + "cX": 0.9999923, + "cY": 0.9999923, + "kX": -0.07235983, + "kY": 0.07235983, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 50.5, + "y": -40.200000762939453, + "z": 0, + "cX": 0.998352, + "cY": 0.998352, + "kX": -0.735284865, + "kY": 0.735284865, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 52.25, + "y": -36.299999237060547, + "z": 0, + "cX": 0.9999937, + "cY": 0.9999937, + "kX": -0.957445264, + "kY": 0.957445264, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 66.4000015258789, + "y": -48.849998474121094, + "z": 0, + "cX": 1.00000191, + "cY": 1.00000191, + "kX": -0.376491338, + "kY": 0.376491338, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 65.300003051757812, + "y": -45.950000762939453, + "z": 0, + "cX": 1.00000381, + "cY": 1.00000381, + "kX": -0.268044, + "kY": 0.268044, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 65.300003051757812, + "y": -45.950000762939453, + "z": 0, + "cX": 1.00000381, + "cY": 1.00000381, + "kX": -0.268044, + "kY": 0.268044, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 56.0, + "y": -45.75, + "z": 0, + "cX": 0.999467969, + "cY": 0.999467969, + "kX": -0.158121, + "kY": 0.158121, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 42.450000762939453, + "y": -45.400001525878906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 51.950000762939453, + "y": -75.699996948242188, + "z": 0, + "cX": 1.00146353, + "cY": 1.0, + "kX": -0.05407017, + "kY": 0.05407017, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 53.700000762939453, + "y": -75.699996948242188, + "z": 0, + "cX": 1.00033522, + "cY": 1.0, + "kX": 0.02588838, + "kY": -0.02588838, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 52.599998474121094, + "y": -63.700000762939453, + "z": 0, + "cX": 1.02473891, + "cY": 1.0755465, + "kX": 0.442916036, + "kY": -0.442916036, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 50.400001525878906, + "y": -55.349998474121094, + "z": 0, + "cX": 1.07585454, + "cY": 1.06281579, + "kX": 0.7956579, + "kY": -0.7956579, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 81.550003051757812, + "y": -75.75, + "z": 0, + "cX": 1.00033522, + "cY": 1.0, + "kX": 0.02588838, + "kY": -0.02588838, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 81.550003051757812, + "y": -75.75, + "z": 0, + "cX": 1.00033522, + "cY": 1.0, + "kX": 0.02588838, + "kY": -0.02588838, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 81.550003051757812, + "y": -75.75, + "z": 0, + "cX": 1.00033522, + "cY": 1.0, + "kX": 0.02588838, + "kY": -0.02588838, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 67.8499984741211, + "y": -72.9000015258789, + "z": 0, + "cX": 0.999102354, + "cY": 1.00167215, + "kX": 0.195882991, + "kY": -0.195882991, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 51.950000762939453, + "y": -75.699996948242188, + "z": 0, + "cX": 1.00146353, + "cY": 1.0, + "kX": -0.05407017, + "kY": 0.05407017, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 36.400001525878906, + "y": -0.10000000149011612, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.400001525878906, + "y": -2.2999999523162842, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.400001525878906, + "y": 3.0499999523162842, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.400001525878906, + "y": 6.8499999046325684, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 59.549999237060547, + "y": -6.5, + "z": 0, + "cX": 0.9999991, + "cY": 0.9999991, + "kX": 0.3007157, + "kY": -0.3007157, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 59.549999237060547, + "y": -3.25, + "z": 0, + "cX": 0.9999991, + "cY": 0.9999991, + "kX": 0.3007157, + "kY": -0.3007157, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 59.549999237060547, + "y": -3.25, + "z": 0, + "cX": 0.9999991, + "cY": 0.9999991, + "kX": 0.3007157, + "kY": -0.3007157, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 50.25, + "y": -2.1500000953674316, + "z": 0, + "cX": 0.9994218, + "cY": 0.9994218, + "kX": 0.1793933, + "kY": -0.1793933, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.400001525878906, + "y": -0.10000000149011612, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_hand_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 46.549999237060547, + "y": -26.850000381469727, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -29.049999237060547, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 3, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -26.600000381469727, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 5, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -25.799999237060547, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -32.299999237060547, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -29.049999237060547, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 12, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -29.049999237060547, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 14, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -28.149999618530273, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 16, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -26.850000381469727, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 19, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "smitten", + "dr": 8, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "girl_hand_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 37.849998474121094, + "y": -0.44999998807907104, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 40.900001525878906, + "y": -0.44999998807907104, + "z": 0, + "cX": 0.999999642, + "cY": 0.999999642, + "kX": 0.0646660551, + "kY": -0.0646660551, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 32.549999237060547, + "y": -0.60000002384185791, + "z": 0, + "cX": 0.9999991, + "cY": 0.9999991, + "kX": -0.121852949, + "kY": 0.121852949, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 37.849998474121094, + "y": -0.44999998807907104, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arms.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -5.4000000953674316, + "y": 31.200000762939453, + "z": 0, + "cX": 0.9999997, + "cY": 0.9999997, + "kX": -0.039057184, + "kY": 0.039057184, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -0.20000000298023224, + "y": 33.950000762939453, + "z": 0, + "cX": 0.999992132, + "cY": 0.999992132, + "kX": 0.0256072469, + "kY": -0.0256072469, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -14.199999809265137, + "y": 25.549999237060547, + "z": 0, + "cX": 0.9999941, + "cY": 0.9999941, + "kX": -0.160911739, + "kY": 0.160911739, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -5.4000000953674316, + "y": 31.200000762939453, + "z": 0, + "cX": 0.9999997, + "cY": 0.9999997, + "kX": -0.039057184, + "kY": 0.039057184, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 24.5, + "y": -1.6000000238418579, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 27.549999237060547, + "y": -0.75, + "z": 0, + "cX": 0.999999642, + "cY": 0.999999642, + "kX": 0.0646660551, + "kY": -0.0646660551, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 19.450000762939453, + "y": -3.3499999046325684, + "z": 0, + "cX": 0.9999991, + "cY": 0.9999991, + "kX": -0.121852949, + "kY": 0.121852949, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 24.5, + "y": -1.6000000238418579, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_body.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 28.600000381469727, + "y": -2.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.600000381469727, + "y": -1.6499999761581421, + "z": 0, + "cX": 0.999999642, + "cY": 0.999999642, + "kX": 0.0646660551, + "kY": -0.0646660551, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 23.600000381469727, + "y": -3.5, + "z": 0, + "cX": 0.9999991, + "cY": 0.9999991, + "kX": -0.121852949, + "kY": 0.121852949, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 28.600000381469727, + "y": -2.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 30.899999618530273, + "y": -42.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 32.5, + "y": -42.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 29.399999618530273, + "y": -42.950000762939453, + "z": 0, + "cX": 0.9999995, + "cY": 0.9999995, + "kX": -0.07391988, + "kY": 0.07391988, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.899999618530273, + "y": -42.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 27.850000381469727, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 27.850000381469727, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 27.850000381469727, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 27.850000381469727, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_head.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 33.599998474121094, + "y": 51.950000762939453, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 43.299999237060547, + "y": 52.0, + "z": 0, + "cX": 0.9999941, + "cY": 0.9999941, + "kX": 0.182438418, + "kY": -0.182438418, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 15.300000190734863, + "y": 48.650001525878906, + "z": 0, + "cX": 0.999985933, + "cY": 0.999985933, + "kX": -0.3831189, + "kY": 0.3831189, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 33.599998474121094, + "y": 51.950000762939453, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 42.450000762939453, + "y": -45.400001525878906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 44.049999237060547, + "y": -45.400001525878906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 39.450000762939453, + "y": -45.349998474121094, + "z": 0, + "cX": 0.9999994, + "cY": 0.9999994, + "kX": 0.0515212342, + "kY": -0.0515212342, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 42.450000762939453, + "y": -45.400001525878906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 51.950000762939453, + "y": -75.699996948242188, + "z": 0, + "cX": 1.00146353, + "cY": 1.0, + "kX": -0.05407017, + "kY": 0.05407017, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 51.950000762939453, + "y": -75.699996948242188, + "z": 0, + "cX": 1.00146353, + "cY": 1.0, + "kX": -0.05407017, + "kY": 0.05407017, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 48.400001525878906, + "y": -75.550003051757812, + "z": 0, + "cX": 1.00447464, + "cY": 0.9969667, + "kX": -0.109776512, + "kY": 0.109776512, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 51.950000762939453, + "y": -75.699996948242188, + "z": 0, + "cX": 1.00146353, + "cY": 1.0, + "kX": -0.05407017, + "kY": 0.05407017, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 36.400001525878906, + "y": -0.10000000149011612, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 39.5, + "y": 0.0, + "z": 0, + "cX": 0.999999642, + "cY": 0.999999642, + "kX": 0.0646660551, + "kY": -0.0646660551, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.100000381469727, + "y": -0.44999998807907104, + "z": 0, + "cX": 0.9999991, + "cY": 0.9999991, + "kX": -0.121852949, + "kY": 0.121852949, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 36.400001525878906, + "y": -0.10000000149011612, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_hand_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 46.549999237060547, + "y": -26.850000381469727, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 48.150001525878906, + "y": -26.850000381469727, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 44.150001525878906, + "y": -26.850000381469727, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.549999237060547, + "y": -26.850000381469727, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 8, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + }, + { + "name": "death", + "dr": 13, + "lp": false, + "to": 0, + "drTW": 0, + "twE": 0, + "sc": 0.4, + "mov_bone_data": [ + { + "name": "girl_hand_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 37.849998474121094, + "y": -0.44999998807907104, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 46.299999237060547, + "y": -4.5500001907348633, + "z": 0, + "cX": 0.999980569, + "cY": 0.999980569, + "kX": 0.4189897, + "kY": -0.4189897, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 19.649999618530273, + "y": -100.75, + "z": 0, + "cX": 0.9999914, + "cY": 0.9999914, + "kX": 1.20335841, + "kY": -1.20335841, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 7.8499999046325684, + "y": -38.549999237060547, + "z": 0, + "cX": 0.999954343, + "cY": 0.999954343, + "kX": 0.303750575, + "kY": -0.303750575, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 21.5, + "y": -94.8499984741211, + "z": 0, + "cX": 0.999980748, + "cY": 0.999980748, + "kX": 0.880762637, + "kY": -0.880762637, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 19.649999618530273, + "y": -100.75, + "z": 0, + "cX": 0.9999914, + "cY": 0.9999914, + "kX": 1.20335841, + "kY": -1.20335841, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 19.649999618530273, + "y": -100.75, + "z": 0, + "cX": 0.9999914, + "cY": 0.9999914, + "kX": 1.20335841, + "kY": -1.20335841, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arms.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": -5.4000000953674316, + "y": 31.200000762939453, + "z": 0, + "cX": 0.9999997, + "cY": 0.9999997, + "kX": -0.039057184, + "kY": 0.039057184, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -39.0, + "y": -10.550000190734863, + "z": 0, + "cX": 0.9999857, + "cY": 0.9999857, + "kX": -1.144799, + "kY": 1.144799, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -65.5, + "y": -95.949996948242188, + "z": 0, + "cX": 0.9999801, + "cY": 0.9999801, + "kX": -0.407975346, + "kY": 0.407975346, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -65.1500015258789, + "y": -72.0, + "z": 0, + "cX": 0.99996537, + "cY": 0.99996537, + "kX": -0.761399, + "kY": 0.761399, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -65.5999984741211, + "y": -100.0, + "z": 0, + "cX": 0.999972761, + "cY": 0.999972761, + "kX": -0.434565932, + "kY": 0.434565932, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -65.800003051757812, + "y": -98.199996948242188, + "z": 0, + "cX": 0.9999686, + "cY": 0.9999686, + "kX": -0.5040098, + "kY": 0.5040098, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -65.800003051757812, + "y": -99.0, + "z": 0, + "cX": 0.9999686, + "cY": 0.9999686, + "kX": -0.5040098, + "kY": 0.5040098, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 24.5, + "y": -1.6000000238418579, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 14.399999618530273, + "y": -6.3499999046325684, + "z": 0, + "cX": 0.9999742, + "cY": 0.9999742, + "kX": -1.55141592, + "kY": 1.55141592, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -9.0500001907348633, + "y": -86.949996948242188, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -16.100000381469727, + "y": -57.75, + "z": 0, + "cX": 0.9999874, + "cY": 0.9999874, + "kX": -3.03368545, + "kY": 3.03368545, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -9.0500001907348633, + "y": -86.949996948242188, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -9.0500001907348633, + "y": -86.949996948242188, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -9.0500001907348633, + "y": -86.949996948242188, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_body.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 28.600000381469727, + "y": -2.25, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 6.0500001907348633, + "y": -14.149999618530273, + "z": 0, + "cX": 0.9999935, + "cY": 0.9999935, + "kX": -0.343866646, + "kY": 0.343866646, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -8.6999998092651367, + "y": -82.800003051757812, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -6.4000000953674316, + "y": -72.699996948242188, + "z": 0, + "cX": 0.9999824, + "cY": 0.9999824, + "kX": -1.85990727, + "kY": 1.85990727, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -8.6999998092651367, + "y": -82.800003051757812, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -8.6999998092651367, + "y": -82.800003051757812, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -8.6999998092651367, + "y": -82.800003051757812, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 30.899999618530273, + "y": -42.75, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 27.700000762939453, + "y": -48.849998474121094, + "z": 0, + "cX": 0.999991834, + "cY": 0.999991834, + "kX": -0.609867156, + "kY": 0.609867156, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.399999618530273, + "y": -77.25, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.600000381469727, + "y": -66.949996948242188, + "z": 0, + "cX": 0.9999995, + "cY": 0.9999995, + "kX": -1.37236834, + "kY": 1.37236834, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 30.700000762939453, + "y": -75.199996948242188, + "z": 0, + "cX": 1.0000056, + "cY": 1.0000056, + "kX": -1.92071056, + "kY": 1.92071056, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.399999618530273, + "y": -77.25, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.399999618530273, + "y": -77.25, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_right.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 27.850000381469727, + "y": -77.6500015258789, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 45.150001525878906, + "y": -79.199996948242188, + "z": 0, + "cX": 0.999991834, + "cY": 0.999991834, + "kX": -0.609867156, + "kY": 0.609867156, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 66.0999984741211, + "y": -84.5999984741211, + "z": 0, + "cX": 0.9999891, + "cY": 0.9999891, + "kX": -1.25507259, + "kY": 1.25507259, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 63.599998474121094, + "y": -80.800003051757812, + "z": 0, + "cX": 0.99998796, + "cY": 0.99998796, + "kX": -1.10312259, + "kY": 1.10312259, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 64.5999984741211, + "y": -63.599998474121094, + "z": 0, + "cX": 0.9999901, + "cY": 0.9999901, + "kX": -1.926147, + "kY": 1.926147, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 66.0999984741211, + "y": -84.5999984741211, + "z": 0, + "cX": 0.9999891, + "cY": 0.9999891, + "kX": -1.25507259, + "kY": 1.25507259, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 66.0999984741211, + "y": -84.5999984741211, + "z": 0, + "cX": 0.9999891, + "cY": 0.9999891, + "kX": -1.25507259, + "kY": 1.25507259, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_head.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 33.599998474121094, + "y": 51.950000762939453, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 11.25, + "y": 39.700000762939453, + "z": 0, + "cX": 0.9999931, + "cY": 0.9999931, + "kX": 0.3660805, + "kY": -0.3660805, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -63.400001525878906, + "y": -80.5999984741211, + "z": 0, + "cX": 0.9999916, + "cY": 0.9999916, + "kX": -1.59452617, + "kY": 1.59452617, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -58.700000762939453, + "y": -85.949996948242188, + "z": 0, + "cX": 0.9999767, + "cY": 0.9999767, + "kX": -1.96496654, + "kY": 1.96496654, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -63.549999237060547, + "y": -78.1500015258789, + "z": 0, + "cX": 0.9999894, + "cY": 0.9999894, + "kX": -1.50305581, + "kY": 1.50305581, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -63.400001525878906, + "y": -80.5999984741211, + "z": 0, + "cX": 0.9999916, + "cY": 0.9999916, + "kX": -1.59452617, + "kY": 1.59452617, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -63.400001525878906, + "y": -80.5999984741211, + "z": 0, + "cX": 0.9999916, + "cY": 0.9999916, + "kX": -1.59452617, + "kY": 1.59452617, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_leg_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 42.450000762939453, + "y": -45.400001525878906, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 43.450000762939453, + "y": -31.700000762939453, + "z": 0, + "cX": 0.9999805, + "cY": 0.9999805, + "kX": -1.88816059, + "kY": 1.88816059, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 32.299999237060547, + "y": -61.849998474121094, + "z": 0, + "cX": 0.9999779, + "cY": 0.9999779, + "kX": -1.973426, + "kY": 1.973426, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.799999237060547, + "y": -57.849998474121094, + "z": 0, + "cX": 0.9999864, + "cY": 0.9999864, + "kX": -1.101976, + "kY": 1.101976, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 29.25, + "y": -63.400001525878906, + "z": 0, + "cX": 1.0000056, + "cY": 1.0000056, + "kX": -1.92071056, + "kY": 1.92071056, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 33.150001525878906, + "y": -65.5, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 33.150001525878906, + "y": -65.5, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_foot_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 51.950000762939453, + "y": -75.699996948242188, + "z": 0, + "cX": 1.00146353, + "cY": 1.0, + "kX": -0.05407017, + "kY": 0.05407017, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 73.6500015258789, + "y": -14.449999809265137, + "z": 0, + "cX": 0.9846756, + "cY": 1.01650286, + "kX": -1.87653673, + "kY": 1.87653673, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 59.799999237060547, + "y": -42.700000762939453, + "z": 0, + "cX": 0.982805, + "cY": 1.01827037, + "kX": -1.92048657, + "kY": 1.92048657, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 62.25, + "y": -72.800003051757812, + "z": 0, + "cX": 1.02583849, + "cY": 0.9749412, + "kX": -0.96312654, + "kY": 0.96312654, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 55.849998474121094, + "y": -50.349998474121094, + "z": 0, + "cX": 1.01766956, + "cY": 0.9834669, + "kX": -1.22134256, + "kY": 1.22134256, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 62.25, + "y": -60.0, + "z": 0, + "cX": 1.02583849, + "cY": 0.9749412, + "kX": -0.96312654, + "kY": 0.96312654, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 62.25, + "y": -60.0, + "z": 0, + "cX": 1.02583849, + "cY": 0.9749412, + "kX": -0.96312654, + "kY": 0.96312654, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_arm_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 36.400001525878906, + "y": -0.10000000149011612, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 12.649999618530273, + "y": -9.5500001907348633, + "z": 0, + "cX": 0.9999935, + "cY": 0.9999935, + "kX": -0.343866646, + "kY": 0.343866646, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -11.5, + "y": -75.25, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -25.700000762939453, + "y": -59.150001525878906, + "z": 0, + "cX": 0.9999835, + "cY": 0.9999835, + "kX": -3.31659, + "kY": 3.31659, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -11.5, + "y": -75.25, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -11.5, + "y": -75.25, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -11.5, + "y": -75.25, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + }, + { + "name": "girl_hand_left.png", + "dl": 0.0, + "frame_data": [ + { + "dI": 0, + "x": 46.549999237060547, + "y": -26.850000381469727, + "z": 0, + "cX": 1.0, + "cY": 1.0, + "kX": 0.0, + "kY": 0.0, + "fi": 0, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 31.399999618530273, + "y": -26.850000381469727, + "z": 0, + "cX": 0.999991834, + "cY": 0.999991834, + "kX": -0.609867156, + "kY": 0.609867156, + "fi": 2, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 14.300000190734863, + "y": -62.950000762939453, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 4, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": -18.950000762939453, + "y": -44.049999237060547, + "z": 0, + "cX": 0.9999809, + "cY": 0.9999809, + "kX": -0.8777715, + "kY": 0.8777715, + "fi": 6, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 14.300000190734863, + "y": -62.950000762939453, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 8, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 14.300000190734863, + "y": -62.950000762939453, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 10, + "twE": 0, + "tweenFrame": true + }, + { + "dI": 0, + "x": 14.300000190734863, + "y": -62.950000762939453, + "z": 0, + "cX": 0.9999985, + "cY": 0.9999985, + "kX": -1.65085328, + "kY": 1.65085328, + "fi": 13, + "twE": 0, + "tweenFrame": true + } + ] + } + ] + } + ] + } + ], + "texture_data": [ + { + "name": "girl_png/effect_1", + "width": 202.0, + "height": 108.999992, + "pX": 0.500247538, + "pY": 0.503210962 + }, + { + "name": "girl_png/effect_2", + "width": 83.0, + "height": 193.999985, + "pX": 0.5066265, + "pY": 0.495876223 + }, + { + "name": "girl_png/effect_3", + "width": 69.0, + "height": 122.0, + "pX": 0.506521761, + "pY": 0.500409842 + }, + { + "name": "girl_png/girl_hand_right", + "width": 39.0, + "height": 48.0, + "pX": 0.4991741, + "pY": 0.5003009 + }, + { + "name": "girl_png/girl_arms", + "width": 187.630585, + "height": 136.963043, + "pX": 0.500184953, + "pY": 0.4998686 + }, + { + "name": "girl_png/girl_arm_right", + "width": 33.65364, + "height": 40.52147, + "pX": 0.499229431, + "pY": 0.5002649 + }, + { + "name": "girl_png/girl_body", + "width": 55.4226227, + "height": 59.99553, + "pX": 0.499638647, + "pY": 0.499962747 + }, + { + "name": "girl_png/girl_leg_right", + "width": 47.81787, + "height": 56.5738258, + "pX": 0.4999969, + "pY": 0.499768674 + }, + { + "name": "girl_png/girl_foot_right", + "width": 58.1784821, + "height": 48.9458427, + "pX": 0.499811769, + "pY": 0.5004683 + }, + { + "name": "girl_png/girl_head", + "width": 66.0, + "height": 66.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_png/girl_leg_left", + "width": 59.82794, + "height": 66.52788, + "pX": 0.499766469, + "pY": 0.50093466 + }, + { + "name": "girl_png/girl_foot_left", + "width": 50.2349243, + "height": 42.48419, + "pX": 0.4996524, + "pY": 0.499708951 + }, + { + "name": "girl_png/girl_arm_left", + "width": 22.0, + "height": 33.0, + "pX": 0.5, + "pY": 0.5 + }, + { + "name": "girl_png/girl_hand_left", + "width": 42.33, + "height": 46.4405365, + "pX": 0.499645621, + "pY": 0.5012502 + } + ], + "config_file_path": [ + "girl0.plist" + ] +} \ No newline at end of file diff --git a/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/hero/girl0.plist b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/hero/girl0.plist new file mode 100644 index 0000000..68d5588 --- /dev/null +++ b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/hero/girl0.plist @@ -0,0 +1,293 @@ + + + + + frames + + girl_png/effect_1.png + + width + 202 + height + 109 + originalWidth + 202 + originalHeight + 109 + x + 0 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/effect_2.png + + width + 83 + height + 194 + originalWidth + 83 + originalHeight + 194 + x + 204 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/effect_3.png + + width + 69 + height + 122 + originalWidth + 69 + originalHeight + 122 + x + 289 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_hand_right.png + + width + 39 + height + 48 + originalWidth + 39 + originalHeight + 48 + x + 360 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_arms.png + + width + 41 + height + 195 + originalWidth + 41 + originalHeight + 195 + x + 401 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_arm_right.png + + width + 25 + height + 35 + originalWidth + 25 + originalHeight + 35 + x + 444 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_body.png + + width + 51 + height + 56 + originalWidth + 51 + originalHeight + 56 + x + 471 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_leg_right.png + + width + 42 + height + 52 + originalWidth + 42 + originalHeight + 52 + x + 524 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_foot_right.png + + width + 55 + height + 45 + originalWidth + 55 + originalHeight + 45 + x + 568 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_head.png + + width + 66 + height + 66 + originalWidth + 66 + originalHeight + 66 + x + 625 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_leg_left.png + + width + 44 + height + 55 + originalWidth + 44 + originalHeight + 55 + x + 693 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_foot_left.png + + width + 49 + height + 41 + originalWidth + 49 + originalHeight + 41 + x + 739 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_arm_left.png + + width + 22 + height + 33 + originalWidth + 22 + originalHeight + 33 + x + 790 + y + 0 + offsetX + 0 + offsetY + 0 + + girl_png/girl_hand_left.png + + width + 31 + height + 38 + originalWidth + 31 + originalHeight + 38 + x + 814 + y + 0 + offsetX + 0 + offsetY + 0 + + + metadata + + format + 0 + textureFileName + girl0.png + realTextureFileName + girl0.png + size + {1024,1024} + + texture + + width + 1024 + height + 1024 + + + \ No newline at end of file diff --git a/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/hero/girl0.png b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/hero/girl0.png new file mode 100644 index 0000000..1cafeac Binary files /dev/null and b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ani/hero/girl0.png differ diff --git a/SampleSceneEditor/SampleSceneEditor_Editor/Resources/img/bg1.png b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/img/bg1.png new file mode 100644 index 0000000..35de43e Binary files /dev/null and b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/img/bg1.png differ diff --git a/SampleSceneEditor/SampleSceneEditor_Editor/Resources/particle/1-buff.plist b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/particle/1-buff.plist new file mode 100644 index 0000000..5598ac0 --- /dev/null +++ b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/particle/1-buff.plist @@ -0,0 +1,108 @@ + + + + + angle + 90 + angleVariance + 15 + blendFuncDestination + 1 + blendFuncSource + 770 + duration + -1 + emitterType + 0.0 + finishColorAlpha + 0.0 + finishColorBlue + 0.0 + finishColorGreen + 0.46000000834465027 + finishColorRed + 1 + finishColorVarianceAlpha + 0.0 + finishColorVarianceBlue + 0.0 + finishColorVarianceGreen + 0.0 + finishColorVarianceRed + 0.0 + finishParticleSize + 10 + finishParticleSizeVariance + 0.0 + gravityx + 0.0 + gravityy + 0.0 + maxParticles + 100 + maxRadius + 100 + maxRadiusVariance + 0.0 + minRadius + 0.0 + particleLifespan + 1.5 + particleLifespanVariance + 1.8289999961853027 + radialAccelVariance + 0.0 + radialAcceleration + 0.0 + rotatePerSecond + 0.0 + rotatePerSecondVariance + 0.0 + rotationEnd + 0.0 + rotationEndVariance + 0.0 + rotationStart + 0.0 + rotationStartVariance + 0.0 + sourcePositionVariancex + 93.1484375 + sourcePositionVariancey + 0.0 + sourcePositionx + 376.9296875 + sourcePositiony + 377.96859741210938 + speed + 90 + speedVariance + 30 + startColorAlpha + 0.62000000476837158 + startColorBlue + 0.0 + startColorGreen + 0.18000000715255737 + startColorRed + 1 + startColorVarianceAlpha + 0.0 + startColorVarianceBlue + 0.0 + startColorVarianceGreen + 0.0 + startColorVarianceRed + 0.0 + startParticleSize + 71.263160705566406 + startParticleSizeVariance + 0.0 + tangentialAccelVariance + 0.0 + tangentialAcceleration + 0.0 + textureFileName + 1-buff.png + + diff --git a/SampleSceneEditor/SampleSceneEditor_Editor/Resources/particle/1-buff.png b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/particle/1-buff.png new file mode 100644 index 0000000..8da898c Binary files /dev/null and b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/particle/1-buff.png differ diff --git a/SampleSceneEditor/SampleSceneEditor_Editor/Resources/sound/arena.mp3 b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/sound/arena.mp3 new file mode 100644 index 0000000..f31fd52 Binary files /dev/null and b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/sound/arena.mp3 differ diff --git a/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ui/FightScene_1/FightScene0.plist b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ui/FightScene_1/FightScene0.plist new file mode 100644 index 0000000..2a032e7 --- /dev/null +++ b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ui/FightScene_1/FightScene0.plist @@ -0,0 +1,179 @@ + + + + + frames + + Status.png + + width + 293 + height + 65 + originalWidth + 293 + originalHeight + 65 + x + 0 + y + 0 + offsetX + 0 + offsetY + 0 + + HP.png + + width + 201 + height + 34 + originalWidth + 201 + originalHeight + 34 + x + 295 + y + 0 + offsetX + 0 + offsetY + 0 + + MP.png + + width + 172 + height + 14 + originalWidth + 172 + originalHeight + 14 + x + 498 + y + 0 + offsetX + 0 + offsetY + 0 + + vs.png + + width + 157 + height + 121 + originalWidth + 157 + originalHeight + 121 + x + 672 + y + 0 + offsetX + 0 + offsetY + 0 + + Status02.png + + width + 293 + height + 65 + originalWidth + 293 + originalHeight + 65 + x + 0 + y + 123 + offsetX + 0 + offsetY + 0 + + HP02.png + + width + 201 + height + 34 + originalWidth + 201 + originalHeight + 34 + x + 295 + y + 123 + offsetX + 0 + offsetY + 0 + + MP02.png + + width + 172 + height + 14 + originalWidth + 172 + originalHeight + 14 + x + 498 + y + 123 + offsetX + 0 + offsetY + 0 + + bg2.png + + width + 960 + height + 158 + originalWidth + 960 + originalHeight + 158 + x + 0 + y + 190 + offsetX + 0 + offsetY + 0 + + + metadata + + format + 0 + textureFileName + FightScene0.png + realTextureFileName + FightScene0.png + size + {1024,1024} + + texture + + width + 1024 + height + 1024 + + + \ No newline at end of file diff --git a/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ui/FightScene_1/FightScene0.png b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ui/FightScene_1/FightScene0.png new file mode 100644 index 0000000..7fea631 Binary files /dev/null and b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ui/FightScene_1/FightScene0.png differ diff --git a/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ui/FightScene_1/FightScene_1.ExportJson b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ui/FightScene_1/FightScene_1.ExportJson new file mode 100644 index 0000000..e5a80e6 --- /dev/null +++ b/SampleSceneEditor/SampleSceneEditor_Editor/Resources/ui/FightScene_1/FightScene_1.ExportJson @@ -0,0 +1,482 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 640, + "designWidth": 960, + "textures": [ + "FightScene0.plist" + ], + "version": "1.0.0.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "LoadingBar", + "name": null, + "children": [], + "options": { + "__type": "ComGUILoadingBarSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LoadingBar", + "name": "hp01_LoadingBar", + "ZOrder": 0, + "actiontag": 22, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 34, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 2, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 201, + "x": 188, + "xProportion": 0.6416382, + "y": 30, + "yProportion": 0.461538464, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "direction": 0, + "percent": 100, + "scale9Enable": false, + "texture": null, + "textureData": { + "path": "HP.png", + "plistFile": null, + "resourceType": 1 + } + } + }, + { + "classname": "LoadingBar", + "name": null, + "children": [], + "options": { + "__type": "ComGUILoadingBarSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LoadingBar", + "name": "mp01_LoadingBar", + "ZOrder": 0, + "actiontag": 24, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 14, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 4, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 172, + "x": 152, + "xProportion": 0.51877135, + "y": 7, + "yProportion": 0.107692309, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "direction": 0, + "percent": 100, + "scale9Enable": false, + "texture": null, + "textureData": { + "path": "MP.png", + "plistFile": null, + "resourceType": 1 + } + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Status01_Panel", + "ZOrder": 2, + "actiontag": 23, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 65, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 3, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 293, + "x": 110, + "xProportion": 0.114583336, + "y": 539, + "yProportion": 0.8421875, + "backGroundImage": null, + "backGroundImageData": { + "path": "Status.png", + "plistFile": null, + "resourceType": 1 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "vs_ImageView", + "ZOrder": 3, + "actiontag": 27, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 121, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 7, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 157, + "x": 480, + "xProportion": 0.5, + "y": 572, + "yProportion": 0.89375, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "vs.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 121, + "scale9Width": 157 + } + }, + { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "LoadingBar", + "name": null, + "children": [], + "options": { + "__type": "ComGUILoadingBarSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LoadingBar", + "name": "hp02_LoadingBar", + "ZOrder": 0, + "actiontag": 28, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 34, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 8, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 201, + "x": 105, + "xProportion": 0.358361781, + "y": 30, + "yProportion": 0.461538464, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "direction": 0, + "percent": 100, + "scale9Enable": false, + "texture": null, + "textureData": { + "path": "HP02.png", + "plistFile": null, + "resourceType": 1 + } + } + }, + { + "classname": "LoadingBar", + "name": null, + "children": [], + "options": { + "__type": "ComGUILoadingBarSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "LoadingBar", + "name": "mp02_LoadingBar", + "ZOrder": 0, + "actiontag": 29, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 14, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 9, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 172, + "x": 141, + "xProportion": 0.481228679, + "y": 7, + "yProportion": 0.107692309, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "direction": 0, + "percent": 100, + "scale9Enable": false, + "texture": null, + "textureData": { + "path": "MP02.png", + "plistFile": null, + "resourceType": 1 + } + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "status02_Panel", + "ZOrder": 4, + "actiontag": 27, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 65, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 7, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 293, + "x": 557, + "xProportion": 0.580208361, + "y": 539, + "yProportion": 0.8421875, + "backGroundImage": null, + "backGroundImageData": { + "path": "Status02.png", + "plistFile": null, + "resourceType": 1 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "bg2_ImageView", + "ZOrder": 5, + "actiontag": 30, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 158, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 10, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 960, + "x": 480, + "xProportion": 0.5, + "y": 79, + "yProportion": 0.1234375, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "bg2.png", + "plistFile": null, + "resourceType": 1 + }, + "scale9Enable": false, + "scale9Height": 158, + "scale9Width": 960 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 640, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 1, + "touchAble": false, + "useMergedTexture": true, + "visible": true, + "width": 960, + "x": 0, + "xProportion": 0, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/SampleSceneEditor/cocos2d/readme b/SampleSceneEditor/cocos2d/readme new file mode 100644 index 0000000..00bfca5 --- /dev/null +++ b/SampleSceneEditor/cocos2d/readme @@ -0,0 +1 @@ +put cocos2d here what in a project created by create_project.py \ No newline at end of file diff --git a/SampleSceneEditor/proj.android/.classpath b/SampleSceneEditor/proj.android/.classpath new file mode 100644 index 0000000..ce3da48 --- /dev/null +++ b/SampleSceneEditor/proj.android/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/SampleSceneEditor/proj.android/.project b/SampleSceneEditor/proj.android/.project new file mode 100644 index 0000000..132633e --- /dev/null +++ b/SampleSceneEditor/proj.android/.project @@ -0,0 +1,65 @@ + + + SampleSceneEditor + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + Classes + 2 + COCOS2DX/projects/SampleSceneEditor/Classes + + + cocos2dx + 2 + COCOS2DX/cocos2dx + + + extensions + 2 + COCOS2DX/extensions + + + scripting + 2 + COCOS2DX/scripting + + + diff --git a/SampleSceneEditor/proj.android/AndroidManifest.xml b/SampleSceneEditor/proj.android/AndroidManifest.xml new file mode 100644 index 0000000..d2a4ab9 --- /dev/null +++ b/SampleSceneEditor/proj.android/AndroidManifest.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleSceneEditor/proj.android/README.md b/SampleSceneEditor/proj.android/README.md new file mode 100644 index 0000000..aefa86b --- /dev/null +++ b/SampleSceneEditor/proj.android/README.md @@ -0,0 +1,87 @@ +## Prerequisites: + +* Android NDK +* Android SDK **OR** Eclipse ADT Bundle +* Android AVD target installed + +## Building project + +There are two ways of building Android projects. + +1. Eclipse +2. Command Line + +### Import Project in Eclipse + +#### Features: + +1. Complete workflow from Eclipse, including: + * Build C++. + * Clean C++. + * Build and Run whole project. + * Logcat view. + * Debug Java code. + * Javascript editor. + * Project management. +2. True C++ editing, including: + * Code completion. + * Jump to definition. + * Refactoring tools etc. + * Quick open C++ files. + + +#### Setup Eclipse Environment (only once) + + +**NOTE:** This step needs to be done only once to setup the Eclipse environment for cocos2d-x projects. Skip this section if you've done this before. + +1. Download Eclipse ADT bundle from [Google ADT homepage](http://developer.android.com/sdk/index.html) + + **OR** + + Install Eclipse with Java. Add ADT and CDT plugins. + +2. Only for Windows + 1. Install [Cygwin](http://www.cygwin.com/) with make (select make package from the list during the install). + 2. Add `Cygwin\bin` directory to system PATH variable. + 3. Add this line `none /cygdrive cygdrive binary,noacl,posix=0,user 0 0` to `Cygwin\etc\fstab` file. + +3. Set up Variables: + 1. Path Variable `COCOS2DX`: + * Eclipse->Preferences->General->Workspace->**Linked Resources** + * Click **New** button to add a Path Variable `COCOS2DX` pointing to the root cocos2d-x directory. + ![Example](https://lh5.googleusercontent.com/-oPpk9kg3e5w/UUOYlq8n7aI/AAAAAAAAsdQ/zLA4eghBH9U/s400/cocos2d-x-eclipse-vars.png) + + 2. C/C++ Environment Variable `NDK_ROOT`: + * Eclipse->Preferences->C/C++->Build->**Environment**. + * Click **Add** button and add a new variable `NDK_ROOT` pointing to the root NDK directory. + ![Example](https://lh3.googleusercontent.com/-AVcY8IAT0_g/UUOYltoRobI/AAAAAAAAsdM/22D2J9u3sig/s400/cocos2d-x-eclipse-ndk.png) + * Only for Windows: Add new variables **CYGWIN** with value `nodosfilewarning` and **SHELLOPTS** with value `igncr` + +4. Import libcocos2dx library project: + 1. File->New->Project->Android Project From Existing Code. + 2. Click **Browse** button and open `cocos2d-x/cocos2dx/platform/android/java` directory. + 3. Click **Finish** to add project. + +#### Adding and running from Eclipse + +![Example](https://lh3.googleusercontent.com/-SLBOu6e3QbE/UUOcOXYaGqI/AAAAAAAAsdo/tYBY2SylOSM/s288/cocos2d-x-eclipse-project-from-code.png) ![Import](https://lh5.googleusercontent.com/-XzC9Pn65USc/UUOcOTAwizI/AAAAAAAAsdk/4b6YM-oim9Y/s400/cocos2d-x-eclipse-import-project.png) + +1. File->New->Project->Android Project From Existing Code +2. **Browse** to your project directory. eg: `cocos2d-x/cocos2dx/samples/Cpp/TestCpp/proj.android/` +3. Add the project +4. Click **Run** or **Debug** to compile C++ followed by Java and to run on connected device or emulator. + + +### Running project from Command Line + + $ cd cocos2d-x/samples/Cpp/TestCpp/proj.android/ + $ export NDK_ROOT=/path/to/ndk + $ ./build_native.sh + $ ant debug install + +If the last command results in sdk.dir missing error then do: + + $ android list target + $ android update project -p . -t (id from step 6) + $ android update project -p cocos2d/cocos/2d/platform/android/java/ -t (id from step 6) diff --git a/SampleSceneEditor/proj.android/ant.properties b/SampleSceneEditor/proj.android/ant.properties new file mode 100644 index 0000000..a51e6a0 --- /dev/null +++ b/SampleSceneEditor/proj.android/ant.properties @@ -0,0 +1,17 @@ +# This file is used to override default values used by the Ant build system. +# +# This file must be checked into Version Control Systems, as it is +# integral to the build system of your project. + +# This file is only used by the Ant script. + +# You can use this to override default values such as +# 'source.dir' for the location of your java source folder and +# 'out.dir' for the location of your output folder. + +# You can also use it define how the release builds are signed by declaring +# the following properties: +# 'key.store' for the location of your keystore and +# 'key.alias' for the name of the key to use. +# The password will be asked during the build when you use the 'release' target. + diff --git a/SampleSceneEditor/proj.android/build.xml b/SampleSceneEditor/proj.android/build.xml new file mode 100644 index 0000000..e6817c0 --- /dev/null +++ b/SampleSceneEditor/proj.android/build.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleSceneEditor/proj.android/build_native.py b/SampleSceneEditor/proj.android/build_native.py new file mode 100644 index 0000000..5eec448 --- /dev/null +++ b/SampleSceneEditor/proj.android/build_native.py @@ -0,0 +1,166 @@ +#!/usr/bin/python +# build_native.py +# Build native codes + + +import sys +import os, os.path +import shutil +from optparse import OptionParser + +def get_num_of_cpu(): + ''' The build process can be accelerated by running multiple concurrent job processes using the -j-option. + ''' + try: + platform = sys.platform + if platform == 'win32': + if 'NUMBER_OF_PROCESSORS' in os.environ: + return int(os.environ['NUMBER_OF_PROCESSORS']) + else: + return 1 + else: + from numpy.distutils import cpuinfo + return cpuinfo.cpu._getNCPUs() + except Exception: + print "Can't know cpuinfo, use default 1 cpu" + return 1 + +def check_environment_variables_sdk(): + ''' Checking the environment ANDROID_SDK_ROOT, which will be used for building + ''' + + try: + SDK_ROOT = os.environ['ANDROID_SDK_ROOT'] + except Exception: + print "ANDROID_SDK_ROOT not defined. Please define ANDROID_SDK_ROOT in your environment" + sys.exit(1) + + return SDK_ROOT + +def check_environment_variables(): + ''' Checking the environment NDK_ROOT, which will be used for building + ''' + + try: + NDK_ROOT = os.environ['NDK_ROOT'] + except Exception: + print "NDK_ROOT not defined. Please define NDK_ROOT in your environment" + sys.exit(1) + + return NDK_ROOT + +def select_toolchain_version(): + '''Because ndk-r8e uses gcc4.6 as default. gcc4.6 doesn't support c++11. So we should select gcc4.7 when + using ndk-r8e. But gcc4.7 is removed in ndk-r9, so we should determine whether gcc4.7 exist. + Conclution: + ndk-r8e -> use gcc4.7 + ndk-r9 -> use gcc4.8 + ''' + + ndk_root = check_environment_variables() + if os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.8")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.8' + print "The Selected NDK toolchain version was 4.8 !" + elif os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.7")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.7' + print "The Selected NDK toolchain version was 4.7 !" + else: + print "Couldn't find the gcc toolchain." + exit(1) + +def do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode): + + ndk_path = os.path.join(ndk_root, "ndk-build") + + # windows should use ";" to seperate module paths + platform = sys.platform + if platform == 'win32': + ndk_module_path = 'NDK_MODULE_PATH=%s;%s/external;%s/cocos' % (cocos_root, cocos_root, cocos_root) + else: + ndk_module_path = 'NDK_MODULE_PATH=%s:%s/external:%s/cocos' % (cocos_root, cocos_root, cocos_root) + + num_of_cpu = get_num_of_cpu() + + if ndk_build_param == None: + command = '%s -j%d -C %s %s' % (ndk_path, num_of_cpu, app_android_root, ndk_module_path) + else: + command = '%s -j%d -C %s %s %s' % (ndk_path, num_of_cpu, app_android_root, ''.join(str(e) for e in ndk_build_param), ndk_module_path) + if os.system(command) != 0: + raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!") + elif android_platform is not None: + sdk_tool_path = os.path.join(sdk_root, "tools/android") + cocoslib_path = os.path.join(cocos_root, "cocos/2d/platform/android/java") + command = '%s update lib-project -t %s -p %s' % (sdk_tool_path,android_platform,cocoslib_path) + if os.system(command) != 0: + raise Exception("update cocos lib-project [ " + cocoslib_path + " ] fails!") + command = '%s update project -t %s -p %s -s' % (sdk_tool_path,android_platform,app_android_root) + if os.system(command) != 0: + raise Exception("update project [ " + app_android_root + " ] fails!") + buildfile_path = os.path.join(app_android_root, "build.xml") + command = 'ant clean %s -f %s -Dsdk.dir=%s' % (build_mode,buildfile_path,sdk_root) + os.system(command) + +def copy_files(src, dst): + + for item in os.listdir(src): + path = os.path.join(src, item) + # Android can not package the file that ends with ".gz" + if not item.startswith('.') and not item.endswith('.gz') and os.path.isfile(path): + shutil.copy(path, dst) + if os.path.isdir(path): + new_dst = os.path.join(dst, item) + os.mkdir(new_dst) + copy_files(path, new_dst) + +def copy_resources(app_android_root): + + # remove app_android_root/assets if it exists + assets_dir = os.path.join(app_android_root, "assets") + if os.path.isdir(assets_dir): + shutil.rmtree(assets_dir) + + # copy resources + os.mkdir(assets_dir) + resources_dir = os.path.join(app_android_root, "../Resources") + if os.path.isdir(resources_dir): + copy_files(resources_dir, assets_dir) + +def build(ndk_build_param,android_platform,build_mode): + + ndk_root = check_environment_variables() + sdk_root = None + select_toolchain_version() + + current_dir = os.path.dirname(os.path.realpath(__file__)) + cocos_root = os.path.join(current_dir, "../cocos2d") + + app_android_root = current_dir + copy_resources(app_android_root) + + if android_platform is not None: + sdk_root = check_environment_variables_sdk() + if android_platform.isdigit(): + android_platform = 'android-'+android_platform + else: + print 'please use vaild android platform' + exit(1) + + if build_mode is None: + build_mode = 'debug' + elif build_mode != 'release': + build_mode = 'debug' + + do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode) + +# -------------- main -------------- +if __name__ == '__main__': + + parser = OptionParser() + parser.add_option("-n", "--ndk", dest="ndk_build_param", help='parameter for ndk-build') + parser.add_option("-p", "--platform", dest="android_platform", + help='parameter for android-update.Without the parameter,the script just build dynamic library for project. Valid android-platform are:[10|11|12|13|14|15|16|17|18|19]') + parser.add_option("-b", "--build", dest="build_mode", + help='the build mode for java project,debug[default] or release.Get more information,please refer to http://developer.android.com/tools/building/building-cmdline.html') + (opts, args) = parser.parse_args() + + build(opts.ndk_build_param,opts.android_platform,opts.build_mode) diff --git a/SampleSceneEditor/proj.android/jni/Android.mk b/SampleSceneEditor/proj.android/jni/Android.mk new file mode 100644 index 0000000..aba33b3 --- /dev/null +++ b/SampleSceneEditor/proj.android/jni/Android.mk @@ -0,0 +1,34 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := cocos2dcpp_shared + +LOCAL_MODULE_FILENAME := libcocos2dcpp + +LOCAL_SRC_FILES := hellocpp/main.cpp \ + ../../Classes/AppDelegate.cpp \ + ../../Classes/HelloWorldScene.cpp \ + ../../Classes/VisibleRect.cpp + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \ + $(LOCAL_PATH)/../../cocos2d \ + $(LOCAL_PATH)/../../cocos2d/extensions \ + $(LOCAL_PATH)/../../cocos2d/cocos \ + $(LOCAL_PATH)/../../cocos2d/cocos/gui \ + $(LOCAL_PATH)/../../cocos2d/cocos/editor-support/cocostudio \ + +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static +LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocos_gui_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static + + +include $(BUILD_SHARED_LIBRARY) + +$(call import-module,2d) +$(call import-module,audio/android) +$(call import-module,Box2D) +$(call import-module,gui) +$(call import-module,editor-support/cocostudio) diff --git a/SampleSceneEditor/proj.android/jni/Application.mk b/SampleSceneEditor/proj.android/jni/Application.mk new file mode 100644 index 0000000..74c3f99 --- /dev/null +++ b/SampleSceneEditor/proj.android/jni/Application.mk @@ -0,0 +1,2 @@ +APP_STL := gnustl_static +APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DCOCOS2D_DEBUG=1 -std=c++11 -fsigned-char diff --git a/SampleSceneEditor/proj.android/jni/hellocpp/main.cpp b/SampleSceneEditor/proj.android/jni/hellocpp/main.cpp new file mode 100644 index 0000000..006a744 --- /dev/null +++ b/SampleSceneEditor/proj.android/jni/hellocpp/main.cpp @@ -0,0 +1,16 @@ +#include "AppDelegate.h" +#include "cocos2d.h" +#include "CCEventType.h" +#include "platform/android/jni/JniHelper.h" +#include +#include + +#define LOG_TAG "main" +#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__) + +using namespace cocos2d; + +void cocos_android_app_init (struct android_app* app) { + LOGD("cocos_android_app_init"); + AppDelegate *pAppDelegate = new AppDelegate(); +} diff --git a/SampleSceneEditor/proj.android/proguard-project.txt b/SampleSceneEditor/proj.android/proguard-project.txt new file mode 100644 index 0000000..b60ae7e --- /dev/null +++ b/SampleSceneEditor/proj.android/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/SampleSceneEditor/proj.android/project.properties b/SampleSceneEditor/proj.android/project.properties new file mode 100644 index 0000000..c959301 --- /dev/null +++ b/SampleSceneEditor/proj.android/project.properties @@ -0,0 +1,13 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system use, +# "ant.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-10 + +android.library.reference.1=../cocos2d/cocos/2d/platform/android/java diff --git a/SampleSceneEditor/proj.android/res/drawable-hdpi/icon.png b/SampleSceneEditor/proj.android/res/drawable-hdpi/icon.png new file mode 100644 index 0000000..8aa4767 Binary files /dev/null and b/SampleSceneEditor/proj.android/res/drawable-hdpi/icon.png differ diff --git a/SampleSceneEditor/proj.android/res/drawable-ldpi/icon.png b/SampleSceneEditor/proj.android/res/drawable-ldpi/icon.png new file mode 100644 index 0000000..17ce11a Binary files /dev/null and b/SampleSceneEditor/proj.android/res/drawable-ldpi/icon.png differ diff --git a/SampleSceneEditor/proj.android/res/drawable-mdpi/icon.png b/SampleSceneEditor/proj.android/res/drawable-mdpi/icon.png new file mode 100644 index 0000000..3780aac Binary files /dev/null and b/SampleSceneEditor/proj.android/res/drawable-mdpi/icon.png differ diff --git a/SampleSceneEditor/proj.android/res/values/strings.xml b/SampleSceneEditor/proj.android/res/values/strings.xml new file mode 100644 index 0000000..e5aeee7 --- /dev/null +++ b/SampleSceneEditor/proj.android/res/values/strings.xml @@ -0,0 +1,4 @@ + + + SampleSceneEditor + diff --git a/SampleSceneEditor/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java b/SampleSceneEditor/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java new file mode 100644 index 0000000..d2dfa68 --- /dev/null +++ b/SampleSceneEditor/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java @@ -0,0 +1,32 @@ +package org.cocos2dx.cpp; + +import android.app.NativeActivity; +import android.os.Bundle; + +public class Cocos2dxActivity extends NativeActivity{ + + @Override + protected void onCreate(Bundle savedInstanceState) { + // TODO Auto-generated method stub + super.onCreate(savedInstanceState); + + //For supports translucency + + //1.change "attribs" in cocos\2d\platform\android\nativeactivity.cpp + /*const EGLint attribs[] = { + EGL_SURFACE_TYPE, EGL_WINDOW_BIT, + EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, + //EGL_BLUE_SIZE, 5, -->delete + //EGL_GREEN_SIZE, 6, -->delete + //EGL_RED_SIZE, 5, -->delete + EGL_BUFFER_SIZE, 32, //-->new field + EGL_DEPTH_SIZE, 16, + EGL_STENCIL_SIZE, 8, + EGL_NONE + };*/ + + //2.Set the format of window + // getWindow().setFormat(PixelFormat.TRANSLUCENT); + + } +} diff --git a/SampleSceneEditor/proj.ios_mac/SampleSceneEditor.xcodeproj/project.pbxproj b/SampleSceneEditor/proj.ios_mac/SampleSceneEditor.xcodeproj/project.pbxproj new file mode 100644 index 0000000..4f3fc80 --- /dev/null +++ b/SampleSceneEditor/proj.ios_mac/SampleSceneEditor.xcodeproj/project.pbxproj @@ -0,0 +1,1062 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */; }; + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */; }; + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */; }; + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */; }; + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */; }; + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */; }; + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */; }; + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */; }; + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */; }; + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */; }; + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 1AFAF8BE16D35E4900DB1158 /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 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 */; }; + 38DEFC4218C82CBA0025D030 /* ani in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFC3B18C82CBA0025D030 /* ani */; }; + 38DEFC4318C82CBA0025D030 /* ani in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFC3B18C82CBA0025D030 /* ani */; }; + 38DEFC4418C82CBA0025D030 /* FightScene.json in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFC3C18C82CBA0025D030 /* FightScene.json */; }; + 38DEFC4518C82CBA0025D030 /* FightScene.json in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFC3C18C82CBA0025D030 /* FightScene.json */; }; + 38DEFC4618C82CBA0025D030 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFC3D18C82CBA0025D030 /* fonts */; }; + 38DEFC4718C82CBA0025D030 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFC3D18C82CBA0025D030 /* fonts */; }; + 38DEFC4818C82CBA0025D030 /* img in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFC3E18C82CBA0025D030 /* img */; }; + 38DEFC4918C82CBA0025D030 /* img in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFC3E18C82CBA0025D030 /* img */; }; + 38DEFC4A18C82CBA0025D030 /* particle in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFC3F18C82CBA0025D030 /* particle */; }; + 38DEFC4B18C82CBA0025D030 /* particle in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFC3F18C82CBA0025D030 /* particle */; }; + 38DEFC4C18C82CBA0025D030 /* sound in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFC4018C82CBA0025D030 /* sound */; }; + 38DEFC4D18C82CBA0025D030 /* sound in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFC4018C82CBA0025D030 /* sound */; }; + 38DEFC4E18C82CBA0025D030 /* ui in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFC4118C82CBA0025D030 /* ui */; }; + 38DEFC4F18C82CBA0025D030 /* ui in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFC4118C82CBA0025D030 /* ui */; }; + 38DEFC5818C82CC30025D030 /* VisibleRect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFC5618C82CC30025D030 /* VisibleRect.cpp */; }; + 38DEFC5918C82CC30025D030 /* VisibleRect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFC5618C82CC30025D030 /* VisibleRect.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 */; }; + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11117EB99EE00D1A890 /* libcurl.dylib */; }; + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11A17EB9C5A00D1A890 /* IOKit.framework */; }; + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.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 */; }; + 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 */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1551A33F158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2FD617814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2CB81780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2D9B1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2ED617814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F31FD1781479B006731B9; + remoteInfo = "jsbindings Mac"; + }; + 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A6FB53017854BC300CDF010; + remoteInfo = "luabindings Mac"; + }; + 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4D641783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4EFC1783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F3B178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F9E1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4FB4178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; + 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A5030178387750073F6A7; + remoteInfo = "jsbindings iOS"; + }; + 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A119791178526AA00D62A44; + remoteInfo = "luabindings iOS"; + }; + 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 1551A33E158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2FC117814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2B781780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2E9817814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2D5D1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4C241783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4E111783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4EFD178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F3C1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F9F178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../cocos2d/build/cocos2d_libs.xcodeproj; sourceTree = ""; }; + 1ACB3243164770DE00914215 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = ""; }; + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AppDelegate.cpp; path = ../Classes/AppDelegate.cpp; sourceTree = ""; }; + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ../Classes/AppDelegate.h; sourceTree = ""; }; + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HelloWorldScene.cpp; path = ../Classes/HelloWorldScene.cpp; sourceTree = ""; }; + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HelloWorldScene.h; path = ../Classes/HelloWorldScene.h; sourceTree = ""; }; + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseNormal.png; sourceTree = ""; }; + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseSelected.png; sourceTree = ""; }; + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = HelloWorld.png; sourceTree = ""; }; + 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 1D6058910D05DD3D006BFB54 /* SampleSceneEditor iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleSceneEditor iOS.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; }; + 38DEFC3B18C82CBA0025D030 /* ani */ = {isa = PBXFileReference; lastKnownFileType = folder; path = ani; sourceTree = ""; }; + 38DEFC3C18C82CBA0025D030 /* FightScene.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = FightScene.json; sourceTree = ""; }; + 38DEFC3D18C82CBA0025D030 /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; path = fonts; sourceTree = ""; }; + 38DEFC3E18C82CBA0025D030 /* img */ = {isa = PBXFileReference; lastKnownFileType = folder; path = img; sourceTree = ""; }; + 38DEFC3F18C82CBA0025D030 /* particle */ = {isa = PBXFileReference; lastKnownFileType = folder; path = particle; sourceTree = ""; }; + 38DEFC4018C82CBA0025D030 /* sound */ = {isa = PBXFileReference; lastKnownFileType = folder; path = sound; sourceTree = ""; }; + 38DEFC4118C82CBA0025D030 /* ui */ = {isa = PBXFileReference; lastKnownFileType = folder; path = ui; sourceTree = ""; }; + 38DEFC5618C82CC30025D030 /* VisibleRect.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = VisibleRect.cpp; path = ../Classes/VisibleRect.cpp; sourceTree = ""; }; + 38DEFC5718C82CC30025D030 /* VisibleRect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VisibleRect.h; path = ../Classes/VisibleRect.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 /* SampleSceneEditor Mac.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleSceneEditor Mac.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 = ""; }; + 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; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */, + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */, + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */, + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */, + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a 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 */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75C17EB910900C73F5D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */, + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */, + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */, + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */, + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */, + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */, + 5087E76717EB910900C73F5D /* libz.dylib in Frameworks */, + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */, + 5087E78B17EB975400C73F5D /* OpenGL.framework in Frameworks */, + 5087E78917EB974C00C73F5D /* AppKit.framework in Frameworks */, + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */, + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */, + 5087E76817EB910900C73F5D /* QuartzCore.framework in Frameworks */, + 5087E76917EB910900C73F5D /* OpenAL.framework in Frameworks */, + 5087E76A17EB910900C73F5D /* AVFoundation.framework in Frameworks */, + 5087E76B17EB910900C73F5D /* AudioToolbox.framework 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 = ""; + }; + 15AA9C4015B7EC450033D6C2 /* Classes */ = { + isa = PBXGroup; + children = ( + 38DEFC5618C82CC30025D030 /* VisibleRect.cpp */, + 38DEFC5718C82CC30025D030 /* VisibleRect.h */, + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */, + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */, + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */, + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */, + ); + name = Classes; + path = ../classes; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 1D6058910D05DD3D006BFB54 /* SampleSceneEditor iOS.app */, + 5087E76F17EB910900C73F5D /* SampleSceneEditor Mac.app */, + ); + name = Products; + sourceTree = ""; + }; + 1AC6FAE6180E9839004C840B /* Products */ = { + isa = PBXGroup; + children = ( + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */, + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */, + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */, + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */, + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */, + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */, + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */, + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */, + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */, + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */, + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */, + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */, + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */, + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { + isa = PBXGroup; + children = ( + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */, + 15AA9C4015B7EC450033D6C2 /* Classes */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 080E96DDFE201D6D7F000001 /* ios */, + 503AE10617EB990700D1A890 /* mac */, + 19C28FACFE9D520D11CA2CBB /* Products */, + 78C7DDAA14EBA5050085D0C2 /* Resources */, + ); + name = CustomTemplate; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 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 = ""; + }; + 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 = ( + 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; + }; + 78C7DDAA14EBA5050085D0C2 /* Resources */ = { + isa = PBXGroup; + children = ( + 38DEFC3B18C82CBA0025D030 /* ani */, + 38DEFC3C18C82CBA0025D030 /* FightScene.json */, + 38DEFC3D18C82CBA0025D030 /* fonts */, + 38DEFC3E18C82CBA0025D030 /* img */, + 38DEFC3F18C82CBA0025D030 /* particle */, + 38DEFC4018C82CBA0025D030 /* sound */, + 38DEFC4118C82CBA0025D030 /* ui */, + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */, + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */, + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */, + ); + name = Resources; + path = ../Resources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1D6058900D05DD3D006BFB54 /* SampleSceneEditor iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "SampleSceneEditor iOS" */; + buildPhases = ( + 1D60588D0D05DD3D006BFB54 /* Resources */, + 1D60588E0D05DD3D006BFB54 /* Sources */, + 1D60588F0D05DD3D006BFB54 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */, + ); + name = "SampleSceneEditor iOS"; + productName = iphone; + productReference = 1D6058910D05DD3D006BFB54 /* SampleSceneEditor iOS.app */; + productType = "com.apple.product-type.application"; + }; + 5087E73D17EB910900C73F5D /* SampleSceneEditor Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleSceneEditor Mac" */; + buildPhases = ( + 5087E74817EB910900C73F5D /* Resources */, + 5087E75617EB910900C73F5D /* Sources */, + 5087E75C17EB910900C73F5D /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */, + 1AC6FB16180E9959004C840B /* PBXTargetDependency */, + 1AC6FB18180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */, + ); + name = "SampleSceneEditor Mac"; + productName = iphone; + productReference = 5087E76F17EB910900C73F5D /* SampleSceneEditor Mac.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0500; + TargetAttributes = { + 1D6058900D05DD3D006BFB54 = { + DevelopmentTeam = MDDB52YB8L; + }; + }; + }; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleSceneEditor" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = 1AC6FAE6180E9839004C840B /* Products */; + ProjectRef = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + 1D6058900D05DD3D006BFB54 /* SampleSceneEditor iOS */, + 5087E73D17EB910900C73F5D /* SampleSceneEditor Mac */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx Mac.a"; + remoteRef = 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions Mac.a"; + remoteRef = 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk Mac.a"; + remoteRef = 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d Mac.a"; + remoteRef = 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion Mac.a"; + remoteRef = 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings Mac.a"; + remoteRef = 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings Mac.a"; + remoteRef = 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx iOS.a"; + remoteRef = 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions iOS.a"; + remoteRef = 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk iOS.a"; + remoteRef = 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d iOS.a"; + remoteRef = 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion iOS.a"; + remoteRef = 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings iOS.a"; + remoteRef = 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings iOS.a"; + remoteRef = 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXResourcesBuildPhase section */ + 1D60588D0D05DD3D006BFB54 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 5087E78117EB970100C73F5D /* Icon-120.png in Resources */, + 5087E78617EB970100C73F5D /* Icon-76.png in Resources */, + 5087E77F17EB970100C73F5D /* Default@2x.png in Resources */, + 38DEFC4C18C82CBA0025D030 /* sound in Resources */, + 38DEFC4E18C82CBA0025D030 /* ui in Resources */, + 38DEFC4218C82CBA0025D030 /* ani in Resources */, + 38DEFC4418C82CBA0025D030 /* FightScene.json in Resources */, + 50EF629917ECD46A001EB2F8 /* Icon-100.png in Resources */, + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */, + 5087E78317EB970100C73F5D /* Icon-152.png in Resources */, + 5087E77D17EB970100C73F5D /* Default-568h@2x.png in Resources */, + 5087E78517EB970100C73F5D /* Icon-72.png in Resources */, + 38DEFC4818C82CBA0025D030 /* img in Resources */, + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */, + 38DEFC4618C82CBA0025D030 /* fonts in Resources */, + 50EF62A317ECD613001EB2F8 /* Icon-50.png in Resources */, + 5087E78017EB970100C73F5D /* Icon-114.png in Resources */, + 1AFAF8BE16D35E4900DB1158 /* 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 */, + 38DEFC4A18C82CBA0025D030 /* particle in Resources */, + 5087E78417EB970100C73F5D /* Icon-57.png in Resources */, + 5087E77E17EB970100C73F5D /* Default.png in Resources */, + 50EF629717ECD46A001EB2F8 /* Icon-58.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E74817EB910900C73F5D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFC4F18C82CBA0025D030 /* ui in Resources */, + 38DEFC4918C82CBA0025D030 /* img in Resources */, + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */, + 38DEFC4B18C82CBA0025D030 /* particle in Resources */, + 38DEFC4518C82CBA0025D030 /* FightScene.json in Resources */, + 503AE0F817EB97AB00D1A890 /* Icon.icns in Resources */, + 38DEFC4718C82CBA0025D030 /* fonts in Resources */, + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */, + 38DEFC4318C82CBA0025D030 /* ani in Resources */, + 38DEFC4D18C82CBA0025D030 /* sound in Resources */, + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1D60588E0D05DD3D006BFB54 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 503AE10017EB989F00D1A890 /* AppController.mm in Sources */, + 503AE10217EB989F00D1A890 /* RootViewController.mm in Sources */, + 38DEFC5818C82CC30025D030 /* VisibleRect.cpp in Sources */, + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */, + 503AE10117EB989F00D1A890 /* main.m in Sources */, + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75617EB910900C73F5D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFC5918C82CC30025D030 /* VisibleRect.cpp in Sources */, + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */, + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */, + 503AE10517EB98FF00D1A890 /* main.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1AC6FB16180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx Mac"; + targetProxy = 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB18180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions Mac"; + targetProxy = 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk Mac"; + targetProxy = 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion Mac"; + targetProxy = 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d Mac"; + targetProxy = 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx iOS"; + targetProxy = 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions iOS"; + targetProxy = 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk iOS"; + targetProxy = 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d iOS"; + targetProxy = 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion iOS"; + targetProxy = 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 "SampleSceneEditor iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1D6058940D05DD3E006BFB54 /* Debug */, + 1D6058950D05DD3E006BFB54 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleSceneEditor Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5087E76D17EB910900C73F5D /* Debug */, + 5087E76E17EB910900C73F5D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleSceneEditor" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/SampleSceneEditor/proj.ios_mac/ios/AppController.h b/SampleSceneEditor/proj.ios_mac/ios/AppController.h new file mode 100644 index 0000000..d0940a5 --- /dev/null +++ b/SampleSceneEditor/proj.ios_mac/ios/AppController.h @@ -0,0 +1,11 @@ +#import + +@class RootViewController; + +@interface AppController : NSObject { + UIWindow *window; + RootViewController *viewController; +} + +@end + diff --git a/SampleSceneEditor/proj.ios_mac/ios/AppController.mm b/SampleSceneEditor/proj.ios_mac/ios/AppController.mm new file mode 100644 index 0000000..3ceacda --- /dev/null +++ b/SampleSceneEditor/proj.ios_mac/ios/AppController.mm @@ -0,0 +1,142 @@ +/**************************************************************************** + 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 "CCEAGLView.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 { + + // 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: kEAGLColorFormatRGB565 + depthFormat: GL_DEPTH24_STENCIL8_OES + preserveBackbuffer: NO + sharegroup: nil + multiSampling: NO + numberOfSamples: 0]; + + // 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::GLView::createWithEAGLView(eaglView); + cocos2d::Director::getInstance()->setOpenGLView(glview); + + cocos2d::Application::getInstance()->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/SampleSceneEditor/proj.ios_mac/ios/Default-568h@2x.png b/SampleSceneEditor/proj.ios_mac/ios/Default-568h@2x.png new file mode 100644 index 0000000..66c6d1c Binary files /dev/null and b/SampleSceneEditor/proj.ios_mac/ios/Default-568h@2x.png differ diff --git a/SampleSceneEditor/proj.ios_mac/ios/Default.png b/SampleSceneEditor/proj.ios_mac/ios/Default.png new file mode 100644 index 0000000..dcb8072 Binary files /dev/null and b/SampleSceneEditor/proj.ios_mac/ios/Default.png differ diff --git a/SampleSceneEditor/proj.ios_mac/ios/Default@2x.png b/SampleSceneEditor/proj.ios_mac/ios/Default@2x.png new file mode 100644 index 0000000..8468988 Binary files /dev/null and b/SampleSceneEditor/proj.ios_mac/ios/Default@2x.png differ diff --git a/SampleSceneEditor/proj.ios_mac/ios/Icon-100.png b/SampleSceneEditor/proj.ios_mac/ios/Icon-100.png new file mode 100644 index 0000000..ef38d45 Binary files /dev/null and b/SampleSceneEditor/proj.ios_mac/ios/Icon-100.png differ diff --git a/SampleSceneEditor/proj.ios_mac/ios/Icon-114.png b/SampleSceneEditor/proj.ios_mac/ios/Icon-114.png new file mode 100644 index 0000000..c380786 Binary files /dev/null and b/SampleSceneEditor/proj.ios_mac/ios/Icon-114.png differ diff --git a/SampleSceneEditor/proj.ios_mac/ios/Icon-120.png b/SampleSceneEditor/proj.ios_mac/ios/Icon-120.png new file mode 100644 index 0000000..a5b49cc Binary files /dev/null and b/SampleSceneEditor/proj.ios_mac/ios/Icon-120.png differ diff --git a/SampleSceneEditor/proj.ios_mac/ios/Icon-144.png b/SampleSceneEditor/proj.ios_mac/ios/Icon-144.png new file mode 100644 index 0000000..1526615 Binary files /dev/null and b/SampleSceneEditor/proj.ios_mac/ios/Icon-144.png differ diff --git a/SampleSceneEditor/proj.ios_mac/ios/Icon-152.png b/SampleSceneEditor/proj.ios_mac/ios/Icon-152.png new file mode 100644 index 0000000..8aa8250 Binary files /dev/null and b/SampleSceneEditor/proj.ios_mac/ios/Icon-152.png differ diff --git a/SampleSceneEditor/proj.ios_mac/ios/Icon-29.png b/SampleSceneEditor/proj.ios_mac/ios/Icon-29.png new file mode 100644 index 0000000..0500184 Binary files /dev/null and b/SampleSceneEditor/proj.ios_mac/ios/Icon-29.png differ diff --git a/SampleSceneEditor/proj.ios_mac/ios/Icon-40.png b/SampleSceneEditor/proj.ios_mac/ios/Icon-40.png new file mode 100644 index 0000000..775685d Binary files /dev/null and b/SampleSceneEditor/proj.ios_mac/ios/Icon-40.png differ diff --git a/SampleSceneEditor/proj.ios_mac/ios/Icon-50.png b/SampleSceneEditor/proj.ios_mac/ios/Icon-50.png new file mode 100644 index 0000000..ac381bc Binary files /dev/null and b/SampleSceneEditor/proj.ios_mac/ios/Icon-50.png differ diff --git a/SampleSceneEditor/proj.ios_mac/ios/Icon-57.png b/SampleSceneEditor/proj.ios_mac/ios/Icon-57.png new file mode 100644 index 0000000..4fcc6fd Binary files /dev/null and b/SampleSceneEditor/proj.ios_mac/ios/Icon-57.png differ diff --git a/SampleSceneEditor/proj.ios_mac/ios/Icon-58.png b/SampleSceneEditor/proj.ios_mac/ios/Icon-58.png new file mode 100644 index 0000000..f0f8b7f Binary files /dev/null and b/SampleSceneEditor/proj.ios_mac/ios/Icon-58.png differ diff --git a/SampleSceneEditor/proj.ios_mac/ios/Icon-72.png b/SampleSceneEditor/proj.ios_mac/ios/Icon-72.png new file mode 100644 index 0000000..2c573c8 Binary files /dev/null and b/SampleSceneEditor/proj.ios_mac/ios/Icon-72.png differ diff --git a/SampleSceneEditor/proj.ios_mac/ios/Icon-76.png b/SampleSceneEditor/proj.ios_mac/ios/Icon-76.png new file mode 100644 index 0000000..8a1fa18 Binary files /dev/null and b/SampleSceneEditor/proj.ios_mac/ios/Icon-76.png differ diff --git a/SampleSceneEditor/proj.ios_mac/ios/Icon-80.png b/SampleSceneEditor/proj.ios_mac/ios/Icon-80.png new file mode 100644 index 0000000..d9c7ab4 Binary files /dev/null and b/SampleSceneEditor/proj.ios_mac/ios/Icon-80.png differ diff --git a/SampleSceneEditor/proj.ios_mac/ios/Info.plist b/SampleSceneEditor/proj.ios_mac/ios/Info.plist new file mode 100644 index 0000000..88a89b9 --- /dev/null +++ b/SampleSceneEditor/proj.ios_mac/ios/Info.plist @@ -0,0 +1,70 @@ + + + + + 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.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIAppFonts + + UIPrerenderedIcon + + UISupportedInterfaceOrientations + + UIInterfaceOrientationLandscapeRight + UIInterfaceOrientationLandscapeLeft + + + diff --git a/SampleSceneEditor/proj.ios_mac/ios/Prefix.pch b/SampleSceneEditor/proj.ios_mac/ios/Prefix.pch new file mode 100644 index 0000000..3737d11 --- /dev/null +++ b/SampleSceneEditor/proj.ios_mac/ios/Prefix.pch @@ -0,0 +1,8 @@ +// +// Prefix header for all source files of the 'iphone' target in the 'iphone' project +// + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/SampleSceneEditor/proj.ios_mac/ios/RootViewController.h b/SampleSceneEditor/proj.ios_mac/ios/RootViewController.h new file mode 100644 index 0000000..6cde57f --- /dev/null +++ b/SampleSceneEditor/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/SampleSceneEditor/proj.ios_mac/ios/RootViewController.mm b/SampleSceneEditor/proj.ios_mac/ios/RootViewController.mm new file mode 100644 index 0000000..c500a44 --- /dev/null +++ b/SampleSceneEditor/proj.ios_mac/ios/RootViewController.mm @@ -0,0 +1,108 @@ +/**************************************************************************** + 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 "CCEAGLView.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]; + + cocos2d::GLView *glview = cocos2d::Director::getInstance()->getOpenGLView(); + CCEAGLView *eaglview = (CCEAGLView*) glview->getEAGLView(); + + 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/SampleSceneEditor/proj.ios_mac/ios/main.m b/SampleSceneEditor/proj.ios_mac/ios/main.m new file mode 100644 index 0000000..84158b2 --- /dev/null +++ b/SampleSceneEditor/proj.ios_mac/ios/main.m @@ -0,0 +1,12 @@ +#import + +// Under iOS and the Simulator, we can use an alternate Accelerometer interface +#import "AccelerometerSimulation.h" + +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/SampleSceneEditor/proj.ios_mac/mac/Icon.icns b/SampleSceneEditor/proj.ios_mac/mac/Icon.icns new file mode 100644 index 0000000..2040fc6 Binary files /dev/null and b/SampleSceneEditor/proj.ios_mac/mac/Icon.icns differ diff --git a/SampleSceneEditor/proj.ios_mac/mac/Info.plist b/SampleSceneEditor/proj.ios_mac/mac/Info.plist new file mode 100644 index 0000000..df93f67 --- /dev/null +++ b/SampleSceneEditor/proj.ios_mac/mac/Info.plist @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + Icon + CFBundleIdentifier + org.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + 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/SampleSceneEditor/proj.ios_mac/mac/Prefix.pch b/SampleSceneEditor/proj.ios_mac/mac/Prefix.pch new file mode 100644 index 0000000..96d93ae --- /dev/null +++ b/SampleSceneEditor/proj.ios_mac/mac/Prefix.pch @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'Paralaxer' target in the 'Paralaxer' project +// + +#ifdef __OBJC__ + #import +#endif diff --git a/SampleSceneEditor/proj.ios_mac/mac/main.cpp b/SampleSceneEditor/proj.ios_mac/mac/main.cpp new file mode 100644 index 0000000..f0b87fb --- /dev/null +++ b/SampleSceneEditor/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(); +} diff --git a/SampleSceneEditor/proj.linux/main.cpp b/SampleSceneEditor/proj.linux/main.cpp new file mode 100644 index 0000000..7742def --- /dev/null +++ b/SampleSceneEditor/proj.linux/main.cpp @@ -0,0 +1,15 @@ +#include "../Classes/AppDelegate.h" + +#include +#include +#include +#include + +USING_NS_CC; + +int main(int argc, char **argv) +{ + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleSceneEditor/proj.win32/SampleSceneEditor.sln b/SampleSceneEditor/proj.win32/SampleSceneEditor.sln new file mode 100755 index 0000000..d8c7d40 --- /dev/null +++ b/SampleSceneEditor/proj.win32/SampleSceneEditor.sln @@ -0,0 +1,61 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleSceneEditor", "SampleSceneEditor.vcxproj", "{76A39BB2-9B84-4C65-98A5-654D86B86F2A}" + ProjectSection(ProjectDependencies) = postProject + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\cocos2d\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\cocos2d\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\cocos2d\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosStudio", "..\cocos2d\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libGUI", "..\cocos2d\cocos\gui\proj.win32\libGUI.vcxproj", "{7E06E92C-537A-442B-9E4A-4761C84F8A1A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libExtensions", "..\cocos2d\extensions\proj.win32\libExtensions.vcxproj", "{21B2C324-891F-48EA-AD1A-5AE13DE12E28}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.ActiveCfg = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.Build.0 = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.ActiveCfg = Release|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.Build.0 = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.ActiveCfg = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.Build.0 = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.ActiveCfg = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.Build.0 = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.ActiveCfg = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.Build.0 = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.ActiveCfg = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.Build.0 = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.ActiveCfg = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.Build.0 = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.ActiveCfg = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.Build.0 = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.ActiveCfg = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.Build.0 = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.ActiveCfg = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.Build.0 = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.ActiveCfg = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.Build.0 = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.ActiveCfg = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.Build.0 = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.ActiveCfg = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.Build.0 = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.ActiveCfg = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SampleSceneEditor/proj.win32/SampleSceneEditor.vcxproj b/SampleSceneEditor/proj.win32/SampleSceneEditor.vcxproj new file mode 100755 index 0000000..91777db --- /dev/null +++ b/SampleSceneEditor/proj.win32/SampleSceneEditor.vcxproj @@ -0,0 +1,174 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {76A39BB2-9B84-4C65-98A5-654D86B86F2A} + test_win32 + Win32Proj + + + + Application + Unicode + true + v100 + v110 + v110_xp + + + Application + Unicode + v100 + v110 + v110_xp + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + true + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + false + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;$(EngineRoot);$(EngineRoot)cocos\editor-support;$(EngineRoot)cocos;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + EditAndContinue + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + MaxSpeed + true + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + ProgramDatabase + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + libcurl_imp.lib;websockets.lib;%(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + true + true + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + + + + + + + + + + + + + {98a51ba8-fc3a-415b-ac8f-8c7bd464e93e} + false + + + {f8edd7fa-9a51-4e80-baeb-860825d2eac6} + + + {b57cf53f-2e49-4031-9822-047cc0e6bde2} + + + {7e06e92c-537a-442b-9e4a-4761c84f8a1a} + + + {21b2c324-891f-48ea-ad1a-5ae13de12e28} + + + {207bc7a9-ccf1-4f2f-a04d-45f72242ae25} + + + + + + + + + \ No newline at end of file diff --git a/SampleSceneEditor/proj.win32/SampleSceneEditor.vcxproj.filters b/SampleSceneEditor/proj.win32/SampleSceneEditor.vcxproj.filters new file mode 100755 index 0000000..63c651b --- /dev/null +++ b/SampleSceneEditor/proj.win32/SampleSceneEditor.vcxproj.filters @@ -0,0 +1,47 @@ + + + + + {84a8ebd7-7cf0-47f6-b75e-d441df67da40} + + + {bb6c862e-70e9-49d9-81b7-3829a6f50471} + + + {715254bc-d70b-4ec5-bf29-467dd3ace079} + + + + + win32 + + + Classes + + + Classes + + + Classes + + + + + win32 + + + Classes + + + Classes + + + Classes + + + + + resource + + + \ No newline at end of file diff --git a/SampleSceneEditor/proj.win32/SampleSceneEditor.vcxproj.user b/SampleSceneEditor/proj.win32/SampleSceneEditor.vcxproj.user new file mode 100644 index 0000000..314a27a --- /dev/null +++ b/SampleSceneEditor/proj.win32/SampleSceneEditor.vcxproj.user @@ -0,0 +1,11 @@ + + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + \ No newline at end of file diff --git a/SampleSceneEditor/proj.win32/game.rc b/SampleSceneEditor/proj.win32/game.rc new file mode 100644 index 0000000..09d7d99 --- /dev/null +++ b/SampleSceneEditor/proj.win32/game.rc @@ -0,0 +1,86 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +#undef APSTUDIO_HIDDEN_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +GLFW_ICON ICON "res\\game.ico" + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,1 + PRODUCTVERSION 1,0,0,1 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904B0" + BEGIN + VALUE "CompanyName", "\0" + VALUE "FileDescription", "game Module\0" + VALUE "FileVersion", "1, 0, 0, 1\0" + VALUE "InternalName", "game\0" + VALUE "LegalCopyright", "Copyright \0" + VALUE "OriginalFilename", "game.exe\0" + VALUE "ProductName", "game Module\0" + VALUE "ProductVersion", "1, 0, 0, 1\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0409, 0x04B0 + END +END + +///////////////////////////////////////////////////////////////////////////// +#endif // !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) diff --git a/SampleSceneEditor/proj.win32/main.cpp b/SampleSceneEditor/proj.win32/main.cpp new file mode 100644 index 0000000..4ef499e --- /dev/null +++ b/SampleSceneEditor/proj.win32/main.cpp @@ -0,0 +1,18 @@ +#include "main.h" +#include "AppDelegate.h" +#include "cocos2d.h" + +USING_NS_CC; + +int APIENTRY _tWinMain(HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPTSTR lpCmdLine, + int nCmdShow) +{ + UNREFERENCED_PARAMETER(hPrevInstance); + UNREFERENCED_PARAMETER(lpCmdLine); + + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleSceneEditor/proj.win32/main.h b/SampleSceneEditor/proj.win32/main.h new file mode 100644 index 0000000..e4d2aa3 --- /dev/null +++ b/SampleSceneEditor/proj.win32/main.h @@ -0,0 +1,13 @@ +#ifndef __MAIN_H__ +#define __MAIN_H__ + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers + +// Windows Header Files: +#include +#include + +// C RunTime Header Files +#include "CCStdC.h" + +#endif // __MAIN_H__ diff --git a/SampleSceneEditor/proj.win32/res/game.ico b/SampleSceneEditor/proj.win32/res/game.ico new file mode 100644 index 0000000..feaf932 Binary files /dev/null and b/SampleSceneEditor/proj.win32/res/game.ico differ diff --git a/SampleSceneEditor/proj.win32/resource.h b/SampleSceneEditor/proj.win32/resource.h new file mode 100644 index 0000000..ecde7ef --- /dev/null +++ b/SampleSceneEditor/proj.win32/resource.h @@ -0,0 +1,20 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by game.RC +// + +#define IDS_PROJNAME 100 +#define IDR_TESTJS 100 + +#define ID_FILE_NEW_WINDOW 32771 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 201 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 32775 +#endif +#endif diff --git a/SampleUIAnimation/CMakeLists.txt b/SampleUIAnimation/CMakeLists.txt new file mode 100644 index 0000000..82a8f20 --- /dev/null +++ b/SampleUIAnimation/CMakeLists.txt @@ -0,0 +1,169 @@ +cmake_minimum_required(VERSION 2.6) + +set(APP_NAME MyGame) +project (${APP_NAME}) + +include(cocos2d/build/BuildHelpers.CMakeLists.txt) + +option(USE_CHIPMUNK "Use chipmunk for physics library" ON) +option(USE_BOX2D "Use box2d for physics library" OFF) +option(DEBUG_MODE "Debug or release?" ON) + +if(DEBUG_MODE) + set(CMAKE_BUILD_TYPE DEBUG) +else(DEBUG_MODE) + set(CMAKE_BUILD_TYPE RELEASE) +endif(DEBUG_MODE) + +set(CMAKE_C_FLAGS_DEBUG "-g -Wall -DCOCOS2D_DEBUG=1") +set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG}) + +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + +if(USE_CHIPMUNK) + message("Using chipmunk ...") + add_definitions(-DLINUX -DCC_ENABLE_CHIPMUNK_INTEGRATION=1) +elseif(USE_BOX2D) + message("Using box2d ...") + add_definitions(-DLINUX -DCC_ENABLE_BOX2D_INTEGRATION=1) +else(USE_CHIPMUNK) + message(FATAL_ERROR "Must choose a physics library.") +endif(USE_CHIPMUNK) + +# architecture +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(ARCH_DIR "64-bit") +else() +set(ARCH_DIR "32-bit") +endif() + + +set(GAME_SRC + proj.linux/main.cpp + Classes/AppDelegate.cpp + Classes/HelloWorldScene.cpp +) + +set(COCOS2D_ROOT ${CMAKE_SOURCE_DIR}/cocos2d) + +include_directories( + /usr/local/include/GLFW + ${COCOS2D_ROOT} + ${COCOS2D_ROOT}/cocos + ${COCOS2D_ROOT}/cocos/audio/include + ${COCOS2D_ROOT}/cocos/2d + ${COCOS2D_ROOT}/cocos/2d/renderer + ${COCOS2D_ROOT}/cocos/2d/platform + ${COCOS2D_ROOT}/cocos/2d/platform/desktop + ${COCOS2D_ROOT}/cocos/2d/platform/linux + ${COCOS2D_ROOT}/cocos/base + ${COCOS2D_ROOT}/cocos/physics + ${COCOS2D_ROOT}/cocos/editor-support + ${COCOS2D_ROOT}/cocos/math/kazmath/include + ${COCOS2D_ROOT}/extensions + ${COCOS2D_ROOT}/external + ${COCOS2D_ROOT}/external/edtaa3func + ${COCOS2D_ROOT}/external/jpeg/include/linux + ${COCOS2D_ROOT}/external/tiff/include/linux + ${COCOS2D_ROOT}/external/webp/include/linux + ${COCOS2D_ROOT}/external/tinyxml2 + ${COCOS2D_ROOT}/external/unzip + ${COCOS2D_ROOT}/external/chipmunk/include/chipmunk + ${COCOS2D_ROOT}/external/freetype2/include/linux + ${COCOS2D_ROOT}/external/websockets/include/linux + ${COCOS2D_ROOT}/external/spidermonkey/include/linux + ${COCOS2D_ROOT}/external/linux-specific/fmod/include/${ARCH_DIR} +) + +link_directories( + /usr/local/lib + ${COCOS2D_ROOT}/external/jpeg/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/tiff/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/webp/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/freetype2/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/websockets/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/spidermonkey/prebuilt/linux/${ARCH_DIR} + ${COCOS2D_ROOT}/external/linux-specific/fmod/prebuilt/${ARCH_DIR} +) + +# kazmath +add_subdirectory(${COCOS2D_ROOT}/cocos/math/kazmath) + +# chipmunk library +add_subdirectory(${COCOS2D_ROOT}/external/chipmunk/src) + +# box2d library +add_subdirectory(${COCOS2D_ROOT}/external/Box2D) + +# unzip library +add_subdirectory(${COCOS2D_ROOT}/external/unzip) + +# tinyxml2 library +add_subdirectory(${COCOS2D_ROOT}/external/tinyxml2) + +# audio +add_subdirectory(${COCOS2D_ROOT}/cocos/audio) + +# cocos base library +add_subdirectory(${COCOS2D_ROOT}/cocos/base) + +# cocos 2d library +add_subdirectory(${COCOS2D_ROOT}/cocos/2d) + +# cocos storage +add_subdirectory(${COCOS2D_ROOT}/cocos/storage) + +# gui +add_subdirectory(${COCOS2D_ROOT}/cocos/gui) + +# network +add_subdirectory(${COCOS2D_ROOT}/cocos/network) + +# extensions +add_subdirectory(${COCOS2D_ROOT}/extensions) + +## Editor Support + +# spine +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/spine) + +# cocosbuilder +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocosbuilder) + +# cocostudio +add_subdirectory(${COCOS2D_ROOT}/cocos/editor-support/cocostudio) + +# add the executable +add_executable(${APP_NAME} + ${GAME_SRC} +) + +if ( CMAKE_SIZEOF_VOID_P EQUAL 8 ) +set(FMOD_LIB "fmodex64") +else() +set(FMOD_LIB "fmodex") +endif() + +target_link_libraries(${APP_NAME} + gui + network + storage + spine + cocostudio + cocosbuilder + extensions + audio + cocos2d + ) + +set(APP_BIN_DIR "${CMAKE_BINARY_DIR}/bin") + +set_target_properties(${APP_NAME} PROPERTIES + RUNTIME_OUTPUT_DIRECTORY "${APP_BIN_DIR}") + +pre_build(${APP_NAME} + COMMAND ${CMAKE_COMMAND} -E remove_directory ${APP_BIN_DIR}/Resources + COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/Resources ${APP_BIN_DIR}/Resources + ) + diff --git a/SampleUIAnimation/Classes/AppDelegate.cpp b/SampleUIAnimation/Classes/AppDelegate.cpp new file mode 100644 index 0000000..91eb9ee --- /dev/null +++ b/SampleUIAnimation/Classes/AppDelegate.cpp @@ -0,0 +1,73 @@ +#include "AppDelegate.h" +#include "HelloWorldScene.h" +#include "CocosGUIExamplesUIAnimationScene.h" + +USING_NS_CC; + +AppDelegate::AppDelegate() { + +} + +AppDelegate::~AppDelegate() +{ +} + +bool AppDelegate::applicationDidFinishLaunching() { + // initialize director + auto director = Director::getInstance(); + auto glview = director->getOpenGLView(); + if(!glview) { + glview = GLView::create("My Game"); + director->setOpenGLView(glview); + } + + // turn on display FPS + director->setDisplayStats(true); + + // set FPS. the default value is 1.0/60 if you don't call this + director->setAnimationInterval(1.0 / 60); + + auto screenSize = glview->getFrameSize(); + + auto designSize = Size(480, 320); + + auto fileUtils = FileUtils::getInstance(); + std::vector searchPaths; + + if (screenSize.height > 320) + { + auto resourceSize = Size(960, 640); + searchPaths.push_back("hd"); + director->setContentScaleFactor(resourceSize.height/designSize.height); + } + + fileUtils->setSearchPaths(searchPaths); + + // glview->setDesignResolutionSize(screenSize.width, screenSize.height, ResolutionPolicy::NO_BORDER); + glview->setDesignResolutionSize(designSize.width, designSize.height, ResolutionPolicy::NO_BORDER); + + // create a scene. it's an autorelease object + auto scene = new CocosGUIExamplesUIAnimationScene(); + scene->autorelease(); + + // 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::sharedEngine()->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::sharedEngine()->resumeBackgroundMusic(); +} diff --git a/SampleUIAnimation/Classes/AppDelegate.h b/SampleUIAnimation/Classes/AppDelegate.h new file mode 100644 index 0000000..01cbb7c --- /dev/null +++ b/SampleUIAnimation/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/SampleUIAnimation/Classes/CocosGUIExamplesUIAnimationScene.cpp b/SampleUIAnimation/Classes/CocosGUIExamplesUIAnimationScene.cpp new file mode 100644 index 0000000..4f21b89 --- /dev/null +++ b/SampleUIAnimation/Classes/CocosGUIExamplesUIAnimationScene.cpp @@ -0,0 +1,79 @@ + + +#include "CocosGUIExamplesUIAnimationScene.h" +#include "cocostudio/CCSSceneReader.h" +#include "cocostudio/CCSGUIReader.h" +#include "cocostudio/CCActionManagerEx.h" + +CocosGUIExamplesUIAnimationScene::CocosGUIExamplesUIAnimationScene() +{ + CCScene::init(); +} + +CocosGUIExamplesUIAnimationScene::~CocosGUIExamplesUIAnimationScene() +{ + +} + +void CocosGUIExamplesUIAnimationScene::onEnter() +{ + CCScene::onEnter(); + + m_pUILayer = Layer::create(); + m_pUILayer->scheduleUpdate(); + addChild(m_pUILayer); + + UIAnimationInit(); + + // exit button + Button* exit_button = Button::create(); + exit_button->setTouchEnabled(true); + exit_button->loadTextures("CloseNormal.png", "CloseSelected.png", ""); + exit_button->setPosition(Point(m_pUILayer->getContentSize().width - exit_button->getContentSize().width, exit_button->getContentSize().height)); + exit_button->addTouchEventListener(this, toucheventselector(CocosGUIExamplesUIAnimationScene::menuCloseCallback)); + m_pUILayer->addChild(exit_button); +} + +void CocosGUIExamplesUIAnimationScene::onExit() +{ + m_pUILayer->removeFromParent(); + + cocostudio::SceneReader::destroyInstance(); + cocostudio::GUIReader::destroyInstance(); + cocostudio::ActionManagerEx::destroyInstance(); + + CCScene::onExit(); +} + +void CocosGUIExamplesUIAnimationScene::menuCloseCallback(Ref* pSender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + cocostudio::ActionManagerEx::getInstance()->releaseActions(); + CCDirector::getInstance()->end(); + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + exit(0); +#endif + } +} + +void CocosGUIExamplesUIAnimationScene::UIAnimationInit() +{ + // ui animation root from json + Layout* uianimation_root = dynamic_cast(cocostudio::GUIReader::getInstance()->widgetFromJsonFile("cocosgui/gui_examples/SampleUIAnimation/SampleUIAnimation.json")); + m_pUILayer->addChild(uianimation_root); + + // TextButton button + Button* button = static_cast(Helper::seekWidgetByName(uianimation_root, "TextButton")); + button->addTouchEventListener(this, toucheventselector(CocosGUIExamplesUIAnimationScene::startUIAnimation)); +} + +void CocosGUIExamplesUIAnimationScene::startUIAnimation(Ref* pSender, TouchEventType type) +{ + if (type == TOUCH_EVENT_ENDED) + { + cocostudio::ActionManagerEx::getInstance()->playActionByName("SampleUIAnimation.json", "Animation1"); +// cocos2d::extension::ActionManager::shareManager()->playActionByName("SampleUIAnimation.json", "Animation1"); + } +} \ No newline at end of file diff --git a/SampleUIAnimation/Classes/CocosGUIExamplesUIAnimationScene.h b/SampleUIAnimation/Classes/CocosGUIExamplesUIAnimationScene.h new file mode 100644 index 0000000..adf6446 --- /dev/null +++ b/SampleUIAnimation/Classes/CocosGUIExamplesUIAnimationScene.h @@ -0,0 +1,56 @@ +/**************************************************************************** + Copyright (c) 2013 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. + ****************************************************************************/ + +#ifndef __TestCpp__CocosGUIExamplesUIAnimationScene__ +#define __TestCpp__CocosGUIExamplesUIAnimationScene__ + +#include "cocos2d.h" +#include "cocos-ext.h" +#include "gui/CocosGUI.h" + +USING_NS_CC; +USING_NS_CC_EXT; +using namespace ui; + +class CocosGUIExamplesUIAnimationScene : public Scene +{ +public: + CocosGUIExamplesUIAnimationScene(); + ~CocosGUIExamplesUIAnimationScene(); + + virtual void onEnter(); + virtual void onExit(); + +protected: + // a selector callback + void menuCloseCallback(Ref* pSender, TouchEventType type); + + void UIAnimationInit(); + void startUIAnimation(Ref* pSender, TouchEventType type); + +protected: + Layer* m_pUILayer; +}; + +#endif /* defined(__TestCpp__CocosGUIExamplesUIAnimationScene__) */ diff --git a/SampleUIAnimation/Classes/HelloWorldScene.cpp b/SampleUIAnimation/Classes/HelloWorldScene.cpp new file mode 100644 index 0000000..cdd15a5 --- /dev/null +++ b/SampleUIAnimation/Classes/HelloWorldScene.cpp @@ -0,0 +1,86 @@ +#include "HelloWorldScene.h" + +USING_NS_CC; + +Scene* HelloWorld::createScene() +{ + // 'scene' is an autorelease object + 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(); + Point origin = Director::getInstance()->getVisibleOrigin(); + + ///////////////////////////// + // 2. add a menu item with "X" image, which is clicked to quit the program + // you may modify it. + + // add a "close" icon to exit the progress. it's an autorelease object + auto closeItem = MenuItemImage::create( + "CloseNormal.png", + "CloseSelected.png", + CC_CALLBACK_1(HelloWorld::menuCloseCallback, this)); + + closeItem->setPosition(Point(origin.x + visibleSize.width - closeItem->getContentSize().width/2 , + origin.y + closeItem->getContentSize().height/2)); + + // create menu, it's an autorelease object + auto menu = Menu::create(closeItem, NULL); + menu->setPosition(Point::ZERO); + this->addChild(menu, 1); + + ///////////////////////////// + // 3. add your codes below... + + // add a label shows "Hello World" + // create and initialize a label + + auto label = LabelTTF::create("Hello World", "Arial", 24); + + // position the label on the center of the screen + label->setPosition(Point(origin.x + visibleSize.width/2, + origin.y + visibleSize.height - label->getContentSize().height)); + + // add the label as a child to this layer + this->addChild(label, 1); + + // add "HelloWorld" splash screen" + auto sprite = Sprite::create("HelloWorld.png"); + + // position the sprite on the center of the screen + sprite->setPosition(Point(visibleSize.width/2 + origin.x, visibleSize.height/2 + origin.y)); + + // add the sprite as a child to this layer + this->addChild(sprite, 0); + + return true; +} + + +void HelloWorld::menuCloseCallback(Ref* pSender) +{ + Director::getInstance()->end(); + +#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) + exit(0); +#endif +} diff --git a/SampleUIAnimation/Classes/HelloWorldScene.h b/SampleUIAnimation/Classes/HelloWorldScene.h new file mode 100644 index 0000000..3473313 --- /dev/null +++ b/SampleUIAnimation/Classes/HelloWorldScene.h @@ -0,0 +1,22 @@ +#ifndef __HELLOWORLD_SCENE_H__ +#define __HELLOWORLD_SCENE_H__ + +#include "cocos2d.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(); + + // a selector callback + void menuCloseCallback(cocos2d::Ref* pSender); + + // implement the "static create()" method manually + CREATE_FUNC(HelloWorld); +}; + +#endif // __HELLOWORLD_SCENE_H__ diff --git a/SampleUIAnimation/Resources/CloseNormal.png b/SampleUIAnimation/Resources/CloseNormal.png new file mode 100644 index 0000000..5657a13 Binary files /dev/null and b/SampleUIAnimation/Resources/CloseNormal.png differ diff --git a/SampleUIAnimation/Resources/CloseSelected.png b/SampleUIAnimation/Resources/CloseSelected.png new file mode 100644 index 0000000..e4c82da Binary files /dev/null and b/SampleUIAnimation/Resources/CloseSelected.png differ diff --git a/SampleUIAnimation/Resources/HelloWorld.png b/SampleUIAnimation/Resources/HelloWorld.png new file mode 100644 index 0000000..5fe89fb Binary files /dev/null and b/SampleUIAnimation/Resources/HelloWorld.png differ diff --git a/SampleUIAnimation/Resources/cocosgui/UITest/UITest.json b/SampleUIAnimation/Resources/cocosgui/UITest/UITest.json new file mode 100644 index 0000000..3712068 --- /dev/null +++ b/SampleUIAnimation/Resources/cocosgui/UITest/UITest.json @@ -0,0 +1,446 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "0.3.2.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 1, + "actiontag": 109, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 82, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 263, + "yProportion": 0.821875, + "backGroundImage": null, + "backGroundImageData": { + "path": "ribbon.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 66.6666641, + "capInsetsWidth": 66.6666641, + "capInsetsX": 66.6666641, + "capInsetsY": 66.6666641, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "UItest", + "ZOrder": 1, + "actiontag": 115, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 20, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 88, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 70, + "x": 240, + "xProportion": 0.5, + "y": 307, + "yProportion": 0.959375, + "fontName": "SongTypeFont", + "fontSize": 20, + "fontType": 0, + "text": "UI_test", + "touchSacleEnable": false + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "right_Button", + "ZOrder": 5, + "actiontag": 113, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 86, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 338, + "xProportion": 0.704166651, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "f1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "left_Button", + "ZOrder": 4, + "actiontag": 112, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 85, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 142, + "xProportion": 0.295833319, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "b1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "middle_Button", + "ZOrder": 3, + "actiontag": 111, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 84, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 49, + "x": 240, + "xProportion": 0.5, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 16.333334, + "capInsetsX": 16.333334, + "capInsetsY": 15.666667, + "disabled": null, + "disabledData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "r1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 49 + } + }, + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "background_Panel", + "ZOrder": 2, + "actiontag": 110, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 170, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 83, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 300, + "x": 90, + "xProportion": 0.1875, + "y": 75, + "yProportion": 0.234375, + "backGroundImage": null, + "backGroundImageData": { + "path": "buttonBackground.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "back", + "ZOrder": 6, + "actiontag": 114, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 24, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 87, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 48, + "x": 430, + "xProportion": 0.8958333, + "y": 30, + "yProportion": 0.09375, + "fontName": "SongTypeFont", + "fontSize": 24, + "fontType": 0, + "text": "Back", + "touchSacleEnable": true + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "root_Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 81, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": { + "path": "background.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 255, + "bgColorOpacity": 255, + "bgColorR": 255, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 106.666664, + "capInsetsWidth": 160, + "capInsetsX": 160, + "capInsetsY": 106.666664, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/SampleUIAnimation/Resources/cocosgui/UITest/b1.png b/SampleUIAnimation/Resources/cocosgui/UITest/b1.png new file mode 100644 index 0000000..547e1c7 Binary files /dev/null and b/SampleUIAnimation/Resources/cocosgui/UITest/b1.png differ diff --git a/SampleUIAnimation/Resources/cocosgui/UITest/b2.png b/SampleUIAnimation/Resources/cocosgui/UITest/b2.png new file mode 100644 index 0000000..2818054 Binary files /dev/null and b/SampleUIAnimation/Resources/cocosgui/UITest/b2.png differ diff --git a/SampleUIAnimation/Resources/cocosgui/UITest/background.png b/SampleUIAnimation/Resources/cocosgui/UITest/background.png new file mode 100644 index 0000000..500d959 Binary files /dev/null and b/SampleUIAnimation/Resources/cocosgui/UITest/background.png differ diff --git a/SampleUIAnimation/Resources/cocosgui/UITest/buttonBackground.png b/SampleUIAnimation/Resources/cocosgui/UITest/buttonBackground.png new file mode 100644 index 0000000..a467061 Binary files /dev/null and b/SampleUIAnimation/Resources/cocosgui/UITest/buttonBackground.png differ diff --git a/SampleUIAnimation/Resources/cocosgui/UITest/f1.png b/SampleUIAnimation/Resources/cocosgui/UITest/f1.png new file mode 100644 index 0000000..4fd7bdb Binary files /dev/null and b/SampleUIAnimation/Resources/cocosgui/UITest/f1.png differ diff --git a/SampleUIAnimation/Resources/cocosgui/UITest/f2.png b/SampleUIAnimation/Resources/cocosgui/UITest/f2.png new file mode 100644 index 0000000..e752eda Binary files /dev/null and b/SampleUIAnimation/Resources/cocosgui/UITest/f2.png differ diff --git a/SampleUIAnimation/Resources/cocosgui/UITest/r1.png b/SampleUIAnimation/Resources/cocosgui/UITest/r1.png new file mode 100644 index 0000000..827a772 Binary files /dev/null and b/SampleUIAnimation/Resources/cocosgui/UITest/r1.png differ diff --git a/SampleUIAnimation/Resources/cocosgui/UITest/r2.png b/SampleUIAnimation/Resources/cocosgui/UITest/r2.png new file mode 100644 index 0000000..727a1c6 Binary files /dev/null and b/SampleUIAnimation/Resources/cocosgui/UITest/r2.png differ diff --git a/SampleUIAnimation/Resources/cocosgui/UITest/ribbon.png b/SampleUIAnimation/Resources/cocosgui/UITest/ribbon.png new file mode 100644 index 0000000..b80fb94 Binary files /dev/null and b/SampleUIAnimation/Resources/cocosgui/UITest/ribbon.png differ diff --git a/SampleUIAnimation/Resources/cocosgui/gui_examples/SampleUIAnimation/CocoStudio_UIEditor.png b/SampleUIAnimation/Resources/cocosgui/gui_examples/SampleUIAnimation/CocoStudio_UIEditor.png new file mode 100644 index 0000000..83b1bcb Binary files /dev/null and b/SampleUIAnimation/Resources/cocosgui/gui_examples/SampleUIAnimation/CocoStudio_UIEditor.png differ diff --git a/SampleUIAnimation/Resources/cocosgui/gui_examples/SampleUIAnimation/SampleUIAnimation.json b/SampleUIAnimation/Resources/cocosgui/gui_examples/SampleUIAnimation/SampleUIAnimation.json new file mode 100644 index 0000000..69fea74 --- /dev/null +++ b/SampleUIAnimation/Resources/cocosgui/gui_examples/SampleUIAnimation/SampleUIAnimation.json @@ -0,0 +1,361 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [ + { + "classname": null, + "name": "Animation1", + "actionnodelist": [ + { + "classname": null, + "name": "ImageView", + "ActionTag": 27, + "actionframelist": [ + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 0, + "opacity": 255, + "positionx": 39, + "positiony": 165.920044, + "rotation": 0, + "scalex": 1, + "scaley": 1, + "starttime": 1.77505913E+30, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 10, + "opacity": 255, + "positionx": 150, + "positiony": 42.9200439, + "rotation": 90, + "scalex": 1, + "scaley": 1, + "starttime": 1.401298E-42, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 15, + "opacity": 255, + "positionx": 190, + "positiony": 14.9200287, + "rotation": 90, + "scalex": 0.3, + "scaley": 1.6, + "starttime": 7.163279E-39, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 52, + "colorg": 49, + "colorr": 196, + "frameid": 20, + "opacity": 255, + "positionx": 266, + "positiony": 91.92003, + "rotation": 272, + "scalex": 1, + "scaley": 1, + "starttime": 4.224576E-39, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 30, + "opacity": 0, + "positionx": 346.7685, + "positiony": 150.259537, + "rotation": -10.2989807, + "scalex": 1, + "scaley": 1, + "starttime": 7.163279E-39, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 40, + "opacity": 255, + "positionx": 235, + "positiony": 204.000015, + "rotation": 270, + "scalex": 1, + "scaley": 1, + "starttime": 1.401298E-45, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 50, + "opacity": 255, + "positionx": 312, + "positiony": 231.000015, + "rotation": 349.701019, + "scalex": -1, + "scaley": 0.9754356, + "starttime": 4.224576E-39, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 60, + "opacity": 255, + "positionx": 312, + "positiony": 231.000015, + "rotation": -10.2989807, + "scalex": 1, + "scaley": 0.9754356, + "starttime": 0, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 70, + "opacity": 255, + "positionx": 312, + "positiony": 231.000015, + "rotation": -10.2989807, + "scalex": -1, + "scaley": 0.9754356, + "starttime": 9.64289E-39, + "visible": false + } + ] + } + ], + "loop": false, + "unittime": 0.1 + } + ] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "1.1.0.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "TextButton", + "name": null, + "children": [], + "options": { + "__type": "ComGUITextButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "TextButton", + "name": "TextButton", + "ZOrder": 2, + "actiontag": 24, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 30, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5, + "positionPercentY": 0.121874996, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.0899999961, + "sizeType": 0, + "tag": 4, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 100, + "x": 240, + "y": 39, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "backtotopnormal.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "宋体", + "fontSize": 14, + "fontType": 0, + "normal": null, + "normalData": { + "path": "backtotopnormal.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "backtotoppressed.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 30, + "scale9Width": 100, + "text": "start anim", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "ImageView", + "ZOrder": 1, + "actiontag": 27, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 84, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.08125, + "positionPercentY": 0.515625, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.16, + "sizePercentY": 0.26, + "sizeType": 0, + "tag": 5, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 76, + "x": 39, + "y": 165, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "CocoStudio_UIEditor.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 84, + "scale9Width": 76 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.01, + "sizePercentY": 0.01, + "sizeType": 0, + "tag": 4, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "y": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/SampleUIAnimation/Resources/cocosgui/gui_examples/SampleUIAnimation/backtotopnormal.png b/SampleUIAnimation/Resources/cocosgui/gui_examples/SampleUIAnimation/backtotopnormal.png new file mode 100644 index 0000000..b9c77c2 Binary files /dev/null and b/SampleUIAnimation/Resources/cocosgui/gui_examples/SampleUIAnimation/backtotopnormal.png differ diff --git a/SampleUIAnimation/Resources/cocosgui/gui_examples/SampleUIAnimation/backtotoppressed.png b/SampleUIAnimation/Resources/cocosgui/gui_examples/SampleUIAnimation/backtotoppressed.png new file mode 100644 index 0000000..98845fb Binary files /dev/null and b/SampleUIAnimation/Resources/cocosgui/gui_examples/SampleUIAnimation/backtotoppressed.png differ diff --git a/SampleUIAnimation/Resources/fonts/Marker Felt.ttf b/SampleUIAnimation/Resources/fonts/Marker Felt.ttf new file mode 100644 index 0000000..3752ef3 Binary files /dev/null and b/SampleUIAnimation/Resources/fonts/Marker Felt.ttf differ diff --git a/SampleUIAnimation/Resources/hd/cocosgui/UITest/UITest.json b/SampleUIAnimation/Resources/hd/cocosgui/UITest/UITest.json new file mode 100644 index 0000000..3712068 --- /dev/null +++ b/SampleUIAnimation/Resources/hd/cocosgui/UITest/UITest.json @@ -0,0 +1,446 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "0.3.2.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 1, + "actiontag": 109, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 57, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 82, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 263, + "yProportion": 0.821875, + "backGroundImage": null, + "backGroundImageData": { + "path": "ribbon.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 66.6666641, + "capInsetsWidth": 66.6666641, + "capInsetsX": 66.6666641, + "capInsetsY": 66.6666641, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "UItest", + "ZOrder": 1, + "actiontag": 115, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 20, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 88, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 70, + "x": 240, + "xProportion": 0.5, + "y": 307, + "yProportion": 0.959375, + "fontName": "SongTypeFont", + "fontSize": 20, + "fontType": 0, + "text": "UI_test", + "touchSacleEnable": false + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "right_Button", + "ZOrder": 5, + "actiontag": 113, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 86, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 338, + "xProportion": 0.704166651, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "f1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "f2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "left_Button", + "ZOrder": 4, + "actiontag": 112, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 46, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 85, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 79, + "x": 142, + "xProportion": 0.295833319, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.333333, + "capInsetsWidth": 26.333334, + "capInsetsX": 26.333334, + "capInsetsY": 15.333333, + "disabled": null, + "disabledData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "b1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "b2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 46, + "scale9Width": 79 + } + }, + { + "classname": "Button", + "name": null, + "children": [], + "options": { + "__type": "ComGUIButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Button", + "name": "middle_Button", + "ZOrder": 3, + "actiontag": 111, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 47, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 84, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 49, + "x": 240, + "xProportion": 0.5, + "y": 23, + "yProportion": 0.071875, + "capInsetsHeight": 15.666667, + "capInsetsWidth": 16.333334, + "capInsetsX": 16.333334, + "capInsetsY": 15.666667, + "disabled": null, + "disabledData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "normal": null, + "normalData": { + "path": "r1.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "r2.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 47, + "scale9Width": 49 + } + }, + { + "classname": "Panel", + "name": null, + "children": [], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "background_Panel", + "ZOrder": 2, + "actiontag": 110, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 170, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 83, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 300, + "x": 90, + "xProportion": 0.1875, + "y": 75, + "yProportion": 0.234375, + "backGroundImage": null, + "backGroundImageData": { + "path": "buttonBackground.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": true, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 100, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + }, + { + "classname": "Label", + "name": null, + "children": [], + "options": { + "__type": "ComGUILabelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Label", + "name": "back", + "ZOrder": 6, + "actiontag": 114, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 24, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 87, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 48, + "x": 430, + "xProportion": 0.8958333, + "y": 30, + "yProportion": 0.09375, + "fontName": "SongTypeFont", + "fontSize": 24, + "fontType": 0, + "text": "Back", + "touchSacleEnable": true + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "root_Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 81, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": { + "path": "background.png", + "plistFile": null, + "resourceType": 0 + }, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 255, + "bgColorOpacity": 255, + "bgColorR": 255, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 106.666664, + "capInsetsWidth": 160, + "capInsetsX": 160, + "capInsetsY": 106.666664, + "clipAble": false, + "colorType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/SampleUIAnimation/Resources/hd/cocosgui/UITest/b1.png b/SampleUIAnimation/Resources/hd/cocosgui/UITest/b1.png new file mode 100644 index 0000000..a3c16ad Binary files /dev/null and b/SampleUIAnimation/Resources/hd/cocosgui/UITest/b1.png differ diff --git a/SampleUIAnimation/Resources/hd/cocosgui/UITest/b2.png b/SampleUIAnimation/Resources/hd/cocosgui/UITest/b2.png new file mode 100644 index 0000000..ffa527c Binary files /dev/null and b/SampleUIAnimation/Resources/hd/cocosgui/UITest/b2.png differ diff --git a/SampleUIAnimation/Resources/hd/cocosgui/UITest/background.png b/SampleUIAnimation/Resources/hd/cocosgui/UITest/background.png new file mode 100644 index 0000000..eff519b Binary files /dev/null and b/SampleUIAnimation/Resources/hd/cocosgui/UITest/background.png differ diff --git a/SampleUIAnimation/Resources/hd/cocosgui/UITest/buttonBackground.png b/SampleUIAnimation/Resources/hd/cocosgui/UITest/buttonBackground.png new file mode 100644 index 0000000..a467061 Binary files /dev/null and b/SampleUIAnimation/Resources/hd/cocosgui/UITest/buttonBackground.png differ diff --git a/SampleUIAnimation/Resources/hd/cocosgui/UITest/f1.png b/SampleUIAnimation/Resources/hd/cocosgui/UITest/f1.png new file mode 100644 index 0000000..606181f Binary files /dev/null and b/SampleUIAnimation/Resources/hd/cocosgui/UITest/f1.png differ diff --git a/SampleUIAnimation/Resources/hd/cocosgui/UITest/f2.png b/SampleUIAnimation/Resources/hd/cocosgui/UITest/f2.png new file mode 100644 index 0000000..8cd548b Binary files /dev/null and b/SampleUIAnimation/Resources/hd/cocosgui/UITest/f2.png differ diff --git a/SampleUIAnimation/Resources/hd/cocosgui/UITest/r1.png b/SampleUIAnimation/Resources/hd/cocosgui/UITest/r1.png new file mode 100644 index 0000000..6b51dc4 Binary files /dev/null and b/SampleUIAnimation/Resources/hd/cocosgui/UITest/r1.png differ diff --git a/SampleUIAnimation/Resources/hd/cocosgui/UITest/r2.png b/SampleUIAnimation/Resources/hd/cocosgui/UITest/r2.png new file mode 100644 index 0000000..ef1f2b4 Binary files /dev/null and b/SampleUIAnimation/Resources/hd/cocosgui/UITest/r2.png differ diff --git a/SampleUIAnimation/Resources/hd/cocosgui/UITest/ribbon.png b/SampleUIAnimation/Resources/hd/cocosgui/UITest/ribbon.png new file mode 100644 index 0000000..28583f5 Binary files /dev/null and b/SampleUIAnimation/Resources/hd/cocosgui/UITest/ribbon.png differ diff --git a/SampleUIAnimation/Resources/hd/cocosgui/gui_examples/SampleUIAnimation/CocoStudio_UIEditor.png b/SampleUIAnimation/Resources/hd/cocosgui/gui_examples/SampleUIAnimation/CocoStudio_UIEditor.png new file mode 100644 index 0000000..e11c588 Binary files /dev/null and b/SampleUIAnimation/Resources/hd/cocosgui/gui_examples/SampleUIAnimation/CocoStudio_UIEditor.png differ diff --git a/SampleUIAnimation/Resources/hd/cocosgui/gui_examples/SampleUIAnimation/SampleUIAnimation.json b/SampleUIAnimation/Resources/hd/cocosgui/gui_examples/SampleUIAnimation/SampleUIAnimation.json new file mode 100644 index 0000000..69fea74 --- /dev/null +++ b/SampleUIAnimation/Resources/hd/cocosgui/gui_examples/SampleUIAnimation/SampleUIAnimation.json @@ -0,0 +1,361 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [ + { + "classname": null, + "name": "Animation1", + "actionnodelist": [ + { + "classname": null, + "name": "ImageView", + "ActionTag": 27, + "actionframelist": [ + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 0, + "opacity": 255, + "positionx": 39, + "positiony": 165.920044, + "rotation": 0, + "scalex": 1, + "scaley": 1, + "starttime": 1.77505913E+30, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 10, + "opacity": 255, + "positionx": 150, + "positiony": 42.9200439, + "rotation": 90, + "scalex": 1, + "scaley": 1, + "starttime": 1.401298E-42, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 15, + "opacity": 255, + "positionx": 190, + "positiony": 14.9200287, + "rotation": 90, + "scalex": 0.3, + "scaley": 1.6, + "starttime": 7.163279E-39, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 52, + "colorg": 49, + "colorr": 196, + "frameid": 20, + "opacity": 255, + "positionx": 266, + "positiony": 91.92003, + "rotation": 272, + "scalex": 1, + "scaley": 1, + "starttime": 4.224576E-39, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 30, + "opacity": 0, + "positionx": 346.7685, + "positiony": 150.259537, + "rotation": -10.2989807, + "scalex": 1, + "scaley": 1, + "starttime": 7.163279E-39, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 40, + "opacity": 255, + "positionx": 235, + "positiony": 204.000015, + "rotation": 270, + "scalex": 1, + "scaley": 1, + "starttime": 1.401298E-45, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 50, + "opacity": 255, + "positionx": 312, + "positiony": 231.000015, + "rotation": 349.701019, + "scalex": -1, + "scaley": 0.9754356, + "starttime": 4.224576E-39, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 60, + "opacity": 255, + "positionx": 312, + "positiony": 231.000015, + "rotation": -10.2989807, + "scalex": 1, + "scaley": 0.9754356, + "starttime": 0, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 70, + "opacity": 255, + "positionx": 312, + "positiony": 231.000015, + "rotation": -10.2989807, + "scalex": -1, + "scaley": 0.9754356, + "starttime": 9.64289E-39, + "visible": false + } + ] + } + ], + "loop": false, + "unittime": 0.1 + } + ] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "1.1.0.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "TextButton", + "name": null, + "children": [], + "options": { + "__type": "ComGUITextButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "TextButton", + "name": "TextButton", + "ZOrder": 2, + "actiontag": 24, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 30, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.5, + "positionPercentY": 0.121874996, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.21, + "sizePercentY": 0.0899999961, + "sizeType": 0, + "tag": 4, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 100, + "x": 240, + "y": 39, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "backtotopnormal.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "宋体", + "fontSize": 14, + "fontType": 0, + "normal": null, + "normalData": { + "path": "backtotopnormal.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "backtotoppressed.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 30, + "scale9Width": 100, + "text": "start anim", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "ImageView", + "ZOrder": 1, + "actiontag": 27, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 84, + "ignoreSize": true, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0.08125, + "positionPercentY": 0.515625, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.16, + "sizePercentY": 0.26, + "sizeType": 0, + "tag": 5, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 76, + "x": 39, + "y": 165, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "CocoStudio_UIEditor.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 84, + "scale9Width": 76 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": false, + "layoutParameter": null, + "opacity": 255, + "positionPercentX": 0, + "positionPercentY": 0, + "positionType": 0, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "sizePercentX": 0.01, + "sizePercentY": 0.01, + "sizeType": 0, + "tag": 4, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "y": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "layoutType": 0, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/SampleUIAnimation/Resources/hd/cocosgui/gui_examples/SampleUIAnimation/backtotopnormal.png b/SampleUIAnimation/Resources/hd/cocosgui/gui_examples/SampleUIAnimation/backtotopnormal.png new file mode 100644 index 0000000..f51eaf9 Binary files /dev/null and b/SampleUIAnimation/Resources/hd/cocosgui/gui_examples/SampleUIAnimation/backtotopnormal.png differ diff --git a/SampleUIAnimation/Resources/hd/cocosgui/gui_examples/SampleUIAnimation/backtotoppressed.png b/SampleUIAnimation/Resources/hd/cocosgui/gui_examples/SampleUIAnimation/backtotoppressed.png new file mode 100644 index 0000000..2ad0c06 Binary files /dev/null and b/SampleUIAnimation/Resources/hd/cocosgui/gui_examples/SampleUIAnimation/backtotoppressed.png differ diff --git a/SampleUIAnimation/SampleUIAnimation_editor/Json/SampleUIAnimation.json b/SampleUIAnimation/SampleUIAnimation_editor/Json/SampleUIAnimation.json new file mode 100644 index 0000000..676bced --- /dev/null +++ b/SampleUIAnimation/SampleUIAnimation_editor/Json/SampleUIAnimation.json @@ -0,0 +1,345 @@ +{ + "classname": null, + "name": null, + "animation": { + "classname": null, + "name": "AnimationManager", + "actionlist": [ + { + "classname": null, + "name": "Animation1", + "actionnodelist": [ + { + "classname": null, + "name": "ImageView", + "ActionTag": 27, + "actionframelist": [ + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 0, + "opacity": 255, + "positionx": 39, + "positiony": 165.920044, + "rotation": 0, + "scalex": 1, + "scaley": 1, + "starttime": 1.77505913E+30, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 10, + "opacity": 255, + "positionx": 150, + "positiony": 42.9200439, + "rotation": 90, + "scalex": 1, + "scaley": 1, + "starttime": 1.401298E-42, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 15, + "opacity": 255, + "positionx": 190, + "positiony": 14.9200287, + "rotation": 90, + "scalex": 0.3, + "scaley": 1.6, + "starttime": 7.163279E-39, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 52, + "colorg": 49, + "colorr": 196, + "frameid": 20, + "opacity": 255, + "positionx": 266, + "positiony": 91.92003, + "rotation": 272, + "scalex": 1, + "scaley": 1, + "starttime": 4.224576E-39, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 30, + "opacity": 0, + "positionx": 346.7685, + "positiony": 150.259537, + "rotation": -10.2989807, + "scalex": 1, + "scaley": 1, + "starttime": 7.163279E-39, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 40, + "opacity": 255, + "positionx": 235, + "positiony": 204.000015, + "rotation": 270, + "scalex": 1, + "scaley": 1, + "starttime": 1.401298E-45, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 50, + "opacity": 255, + "positionx": 312, + "positiony": 231.000015, + "rotation": 349.701019, + "scalex": -1, + "scaley": 0.9754356, + "starttime": 4.224576E-39, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 60, + "opacity": 255, + "positionx": 312, + "positiony": 231.000015, + "rotation": -10.2989807, + "scalex": 1, + "scaley": 0.9754356, + "starttime": 0, + "visible": false + }, + { + "classname": null, + "name": null, + "colorb": 255, + "colorg": 255, + "colorr": 255, + "frameid": 70, + "opacity": 255, + "positionx": 312, + "positiony": 231.000015, + "rotation": -10.2989807, + "scalex": -1, + "scaley": 0.9754356, + "starttime": 9.64289E-39, + "visible": false + } + ] + } + ], + "loop": false, + "unittime": 0.1 + } + ] + }, + "designHeight": 320, + "designWidth": 480, + "textures": [], + "version": "1.0.0.0", + "widgetTree": { + "classname": "Panel", + "name": null, + "children": [ + { + "classname": "TextButton", + "name": null, + "children": [], + "options": { + "__type": "ComGUITextButtonSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "TextButton", + "name": "TextButton", + "ZOrder": 2, + "actiontag": 24, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 30, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 4, + "touchAble": true, + "useMergedTexture": false, + "visible": true, + "width": 100, + "x": 240, + "xProportion": 0.5, + "y": 39, + "yProportion": 0.121875, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "disabled": null, + "disabledData": { + "path": "backtotopnormal.png", + "plistFile": null, + "resourceType": 0 + }, + "fontName": "宋体", + "fontSize": 14, + "fontType": 0, + "normal": null, + "normalData": { + "path": "backtotopnormal.png", + "plistFile": null, + "resourceType": 0 + }, + "pressed": null, + "pressedData": { + "path": "backtotoppressed.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 30, + "scale9Width": 100, + "text": "start anim", + "textColorB": 255, + "textColorG": 255, + "textColorR": 255 + } + }, + { + "classname": "ImageView", + "name": null, + "children": [], + "options": { + "__type": "ComGUIImageViewSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "ImageView", + "name": "ImageView", + "ZOrder": 1, + "actiontag": 27, + "anchorPointX": 0.5, + "anchorPointY": 0.5, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 84, + "ignoreSize": true, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 5, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 76, + "x": 39, + "xProportion": 0.08125, + "y": 165, + "yProportion": 0.515625, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "fileName": null, + "fileNameData": { + "path": "CocoStudio_UIEditor.png", + "plistFile": null, + "resourceType": 0 + }, + "scale9Enable": false, + "scale9Height": 84, + "scale9Width": 76 + } + } + ], + "options": { + "__type": "ComGUIPanelSurrogate:#EditorCommon.JsonModel.Component.GUI", + "classname": "Panel", + "name": "Panel", + "ZOrder": 0, + "actiontag": -1, + "anchorPointX": 0, + "anchorPointY": 0, + "classType": null, + "colorB": 255, + "colorG": 255, + "colorR": 255, + "flipX": false, + "flipY": false, + "height": 320, + "ignoreSize": false, + "opacity": 255, + "rotation": 0, + "scaleX": 1, + "scaleY": 1, + "tag": 4, + "touchAble": false, + "useMergedTexture": false, + "visible": true, + "width": 480, + "x": 0, + "xProportion": 0, + "y": 0, + "yProportion": 0, + "backGroundImage": null, + "backGroundImageData": null, + "backGroundScale9Enable": false, + "bgColorB": 255, + "bgColorG": 200, + "bgColorOpacity": 0, + "bgColorR": 150, + "bgEndColorB": 255, + "bgEndColorG": 0, + "bgEndColorR": 0, + "bgStartColorB": 255, + "bgStartColorG": 255, + "bgStartColorR": 255, + "capInsetsHeight": 0, + "capInsetsWidth": 0, + "capInsetsX": 0, + "capInsetsY": 0, + "clipAble": false, + "colorType": 1, + "vectorX": 0, + "vectorY": -0.5 + } + } +} \ No newline at end of file diff --git a/SampleUIAnimation/SampleUIAnimation_editor/Resources/2.png b/SampleUIAnimation/SampleUIAnimation_editor/Resources/2.png new file mode 100644 index 0000000..7c90521 Binary files /dev/null and b/SampleUIAnimation/SampleUIAnimation_editor/Resources/2.png differ diff --git a/SampleUIAnimation/SampleUIAnimation_editor/Resources/CocoStudio_UIEditor.png b/SampleUIAnimation/SampleUIAnimation_editor/Resources/CocoStudio_UIEditor.png new file mode 100644 index 0000000..83b1bcb Binary files /dev/null and b/SampleUIAnimation/SampleUIAnimation_editor/Resources/CocoStudio_UIEditor.png differ diff --git a/SampleUIAnimation/SampleUIAnimation_editor/Resources/backtotopnormal.png b/SampleUIAnimation/SampleUIAnimation_editor/Resources/backtotopnormal.png new file mode 100644 index 0000000..b9c77c2 Binary files /dev/null and b/SampleUIAnimation/SampleUIAnimation_editor/Resources/backtotopnormal.png differ diff --git a/SampleUIAnimation/SampleUIAnimation_editor/Resources/backtotoppressed.png b/SampleUIAnimation/SampleUIAnimation_editor/Resources/backtotoppressed.png new file mode 100644 index 0000000..98845fb Binary files /dev/null and b/SampleUIAnimation/SampleUIAnimation_editor/Resources/backtotoppressed.png differ diff --git a/SampleUIAnimation/SampleUIAnimation_editor/SampleUIAnimation.xml.ui b/SampleUIAnimation/SampleUIAnimation_editor/SampleUIAnimation.xml.ui new file mode 100644 index 0000000..d33f9ff --- /dev/null +++ b/SampleUIAnimation/SampleUIAnimation_editor/SampleUIAnimation.xml.ui @@ -0,0 +1,20 @@ + + + 1.0.0.0 + SampleUIAnimation + C:\Users\houlong\Desktop\ui 工程文件\ui 工程文件\SampleUIAnimation + SampleUIAnimation.json + C:\Users\houlong\Desktop\ui 工程文件\ui 工程文件\SampleUIAnimation\Resources + C:\Users\houlong\Desktop\ui 工程文件\ui 工程文件\SampleUIAnimation\Json + + SampleUIAnimation.json + + + false + .json + SampleUIAnimation.json + + 480 + 320 + + \ No newline at end of file diff --git a/SampleUIAnimation/cocos2d/readme b/SampleUIAnimation/cocos2d/readme new file mode 100644 index 0000000..00bfca5 --- /dev/null +++ b/SampleUIAnimation/cocos2d/readme @@ -0,0 +1 @@ +put cocos2d here what in a project created by create_project.py \ No newline at end of file diff --git a/SampleUIAnimation/proj.android/.classpath b/SampleUIAnimation/proj.android/.classpath new file mode 100644 index 0000000..ce3da48 --- /dev/null +++ b/SampleUIAnimation/proj.android/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/SampleUIAnimation/proj.android/.project b/SampleUIAnimation/proj.android/.project new file mode 100644 index 0000000..b98891a --- /dev/null +++ b/SampleUIAnimation/proj.android/.project @@ -0,0 +1,65 @@ + + + SampleUIAnimation + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + Classes + 2 + COCOS2DX/projects/SampleUIAnimation/Classes + + + cocos2dx + 2 + COCOS2DX/cocos2dx + + + extensions + 2 + COCOS2DX/extensions + + + scripting + 2 + COCOS2DX/scripting + + + diff --git a/SampleUIAnimation/proj.android/AndroidManifest.xml b/SampleUIAnimation/proj.android/AndroidManifest.xml new file mode 100644 index 0000000..1d56053 --- /dev/null +++ b/SampleUIAnimation/proj.android/AndroidManifest.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleUIAnimation/proj.android/README.md b/SampleUIAnimation/proj.android/README.md new file mode 100644 index 0000000..aefa86b --- /dev/null +++ b/SampleUIAnimation/proj.android/README.md @@ -0,0 +1,87 @@ +## Prerequisites: + +* Android NDK +* Android SDK **OR** Eclipse ADT Bundle +* Android AVD target installed + +## Building project + +There are two ways of building Android projects. + +1. Eclipse +2. Command Line + +### Import Project in Eclipse + +#### Features: + +1. Complete workflow from Eclipse, including: + * Build C++. + * Clean C++. + * Build and Run whole project. + * Logcat view. + * Debug Java code. + * Javascript editor. + * Project management. +2. True C++ editing, including: + * Code completion. + * Jump to definition. + * Refactoring tools etc. + * Quick open C++ files. + + +#### Setup Eclipse Environment (only once) + + +**NOTE:** This step needs to be done only once to setup the Eclipse environment for cocos2d-x projects. Skip this section if you've done this before. + +1. Download Eclipse ADT bundle from [Google ADT homepage](http://developer.android.com/sdk/index.html) + + **OR** + + Install Eclipse with Java. Add ADT and CDT plugins. + +2. Only for Windows + 1. Install [Cygwin](http://www.cygwin.com/) with make (select make package from the list during the install). + 2. Add `Cygwin\bin` directory to system PATH variable. + 3. Add this line `none /cygdrive cygdrive binary,noacl,posix=0,user 0 0` to `Cygwin\etc\fstab` file. + +3. Set up Variables: + 1. Path Variable `COCOS2DX`: + * Eclipse->Preferences->General->Workspace->**Linked Resources** + * Click **New** button to add a Path Variable `COCOS2DX` pointing to the root cocos2d-x directory. + ![Example](https://lh5.googleusercontent.com/-oPpk9kg3e5w/UUOYlq8n7aI/AAAAAAAAsdQ/zLA4eghBH9U/s400/cocos2d-x-eclipse-vars.png) + + 2. C/C++ Environment Variable `NDK_ROOT`: + * Eclipse->Preferences->C/C++->Build->**Environment**. + * Click **Add** button and add a new variable `NDK_ROOT` pointing to the root NDK directory. + ![Example](https://lh3.googleusercontent.com/-AVcY8IAT0_g/UUOYltoRobI/AAAAAAAAsdM/22D2J9u3sig/s400/cocos2d-x-eclipse-ndk.png) + * Only for Windows: Add new variables **CYGWIN** with value `nodosfilewarning` and **SHELLOPTS** with value `igncr` + +4. Import libcocos2dx library project: + 1. File->New->Project->Android Project From Existing Code. + 2. Click **Browse** button and open `cocos2d-x/cocos2dx/platform/android/java` directory. + 3. Click **Finish** to add project. + +#### Adding and running from Eclipse + +![Example](https://lh3.googleusercontent.com/-SLBOu6e3QbE/UUOcOXYaGqI/AAAAAAAAsdo/tYBY2SylOSM/s288/cocos2d-x-eclipse-project-from-code.png) ![Import](https://lh5.googleusercontent.com/-XzC9Pn65USc/UUOcOTAwizI/AAAAAAAAsdk/4b6YM-oim9Y/s400/cocos2d-x-eclipse-import-project.png) + +1. File->New->Project->Android Project From Existing Code +2. **Browse** to your project directory. eg: `cocos2d-x/cocos2dx/samples/Cpp/TestCpp/proj.android/` +3. Add the project +4. Click **Run** or **Debug** to compile C++ followed by Java and to run on connected device or emulator. + + +### Running project from Command Line + + $ cd cocos2d-x/samples/Cpp/TestCpp/proj.android/ + $ export NDK_ROOT=/path/to/ndk + $ ./build_native.sh + $ ant debug install + +If the last command results in sdk.dir missing error then do: + + $ android list target + $ android update project -p . -t (id from step 6) + $ android update project -p cocos2d/cocos/2d/platform/android/java/ -t (id from step 6) diff --git a/SampleUIAnimation/proj.android/ant.properties b/SampleUIAnimation/proj.android/ant.properties new file mode 100644 index 0000000..a51e6a0 --- /dev/null +++ b/SampleUIAnimation/proj.android/ant.properties @@ -0,0 +1,17 @@ +# This file is used to override default values used by the Ant build system. +# +# This file must be checked into Version Control Systems, as it is +# integral to the build system of your project. + +# This file is only used by the Ant script. + +# You can use this to override default values such as +# 'source.dir' for the location of your java source folder and +# 'out.dir' for the location of your output folder. + +# You can also use it define how the release builds are signed by declaring +# the following properties: +# 'key.store' for the location of your keystore and +# 'key.alias' for the name of the key to use. +# The password will be asked during the build when you use the 'release' target. + diff --git a/SampleUIAnimation/proj.android/build.xml b/SampleUIAnimation/proj.android/build.xml new file mode 100644 index 0000000..65aa0d2 --- /dev/null +++ b/SampleUIAnimation/proj.android/build.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SampleUIAnimation/proj.android/build_native.py b/SampleUIAnimation/proj.android/build_native.py new file mode 100644 index 0000000..5eec448 --- /dev/null +++ b/SampleUIAnimation/proj.android/build_native.py @@ -0,0 +1,166 @@ +#!/usr/bin/python +# build_native.py +# Build native codes + + +import sys +import os, os.path +import shutil +from optparse import OptionParser + +def get_num_of_cpu(): + ''' The build process can be accelerated by running multiple concurrent job processes using the -j-option. + ''' + try: + platform = sys.platform + if platform == 'win32': + if 'NUMBER_OF_PROCESSORS' in os.environ: + return int(os.environ['NUMBER_OF_PROCESSORS']) + else: + return 1 + else: + from numpy.distutils import cpuinfo + return cpuinfo.cpu._getNCPUs() + except Exception: + print "Can't know cpuinfo, use default 1 cpu" + return 1 + +def check_environment_variables_sdk(): + ''' Checking the environment ANDROID_SDK_ROOT, which will be used for building + ''' + + try: + SDK_ROOT = os.environ['ANDROID_SDK_ROOT'] + except Exception: + print "ANDROID_SDK_ROOT not defined. Please define ANDROID_SDK_ROOT in your environment" + sys.exit(1) + + return SDK_ROOT + +def check_environment_variables(): + ''' Checking the environment NDK_ROOT, which will be used for building + ''' + + try: + NDK_ROOT = os.environ['NDK_ROOT'] + except Exception: + print "NDK_ROOT not defined. Please define NDK_ROOT in your environment" + sys.exit(1) + + return NDK_ROOT + +def select_toolchain_version(): + '''Because ndk-r8e uses gcc4.6 as default. gcc4.6 doesn't support c++11. So we should select gcc4.7 when + using ndk-r8e. But gcc4.7 is removed in ndk-r9, so we should determine whether gcc4.7 exist. + Conclution: + ndk-r8e -> use gcc4.7 + ndk-r9 -> use gcc4.8 + ''' + + ndk_root = check_environment_variables() + if os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.8")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.8' + print "The Selected NDK toolchain version was 4.8 !" + elif os.path.isdir(os.path.join(ndk_root,"toolchains/arm-linux-androideabi-4.7")): + os.environ['NDK_TOOLCHAIN_VERSION'] = '4.7' + print "The Selected NDK toolchain version was 4.7 !" + else: + print "Couldn't find the gcc toolchain." + exit(1) + +def do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode): + + ndk_path = os.path.join(ndk_root, "ndk-build") + + # windows should use ";" to seperate module paths + platform = sys.platform + if platform == 'win32': + ndk_module_path = 'NDK_MODULE_PATH=%s;%s/external;%s/cocos' % (cocos_root, cocos_root, cocos_root) + else: + ndk_module_path = 'NDK_MODULE_PATH=%s:%s/external:%s/cocos' % (cocos_root, cocos_root, cocos_root) + + num_of_cpu = get_num_of_cpu() + + if ndk_build_param == None: + command = '%s -j%d -C %s %s' % (ndk_path, num_of_cpu, app_android_root, ndk_module_path) + else: + command = '%s -j%d -C %s %s %s' % (ndk_path, num_of_cpu, app_android_root, ''.join(str(e) for e in ndk_build_param), ndk_module_path) + if os.system(command) != 0: + raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!") + elif android_platform is not None: + sdk_tool_path = os.path.join(sdk_root, "tools/android") + cocoslib_path = os.path.join(cocos_root, "cocos/2d/platform/android/java") + command = '%s update lib-project -t %s -p %s' % (sdk_tool_path,android_platform,cocoslib_path) + if os.system(command) != 0: + raise Exception("update cocos lib-project [ " + cocoslib_path + " ] fails!") + command = '%s update project -t %s -p %s -s' % (sdk_tool_path,android_platform,app_android_root) + if os.system(command) != 0: + raise Exception("update project [ " + app_android_root + " ] fails!") + buildfile_path = os.path.join(app_android_root, "build.xml") + command = 'ant clean %s -f %s -Dsdk.dir=%s' % (build_mode,buildfile_path,sdk_root) + os.system(command) + +def copy_files(src, dst): + + for item in os.listdir(src): + path = os.path.join(src, item) + # Android can not package the file that ends with ".gz" + if not item.startswith('.') and not item.endswith('.gz') and os.path.isfile(path): + shutil.copy(path, dst) + if os.path.isdir(path): + new_dst = os.path.join(dst, item) + os.mkdir(new_dst) + copy_files(path, new_dst) + +def copy_resources(app_android_root): + + # remove app_android_root/assets if it exists + assets_dir = os.path.join(app_android_root, "assets") + if os.path.isdir(assets_dir): + shutil.rmtree(assets_dir) + + # copy resources + os.mkdir(assets_dir) + resources_dir = os.path.join(app_android_root, "../Resources") + if os.path.isdir(resources_dir): + copy_files(resources_dir, assets_dir) + +def build(ndk_build_param,android_platform,build_mode): + + ndk_root = check_environment_variables() + sdk_root = None + select_toolchain_version() + + current_dir = os.path.dirname(os.path.realpath(__file__)) + cocos_root = os.path.join(current_dir, "../cocos2d") + + app_android_root = current_dir + copy_resources(app_android_root) + + if android_platform is not None: + sdk_root = check_environment_variables_sdk() + if android_platform.isdigit(): + android_platform = 'android-'+android_platform + else: + print 'please use vaild android platform' + exit(1) + + if build_mode is None: + build_mode = 'debug' + elif build_mode != 'release': + build_mode = 'debug' + + do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode) + +# -------------- main -------------- +if __name__ == '__main__': + + parser = OptionParser() + parser.add_option("-n", "--ndk", dest="ndk_build_param", help='parameter for ndk-build') + parser.add_option("-p", "--platform", dest="android_platform", + help='parameter for android-update.Without the parameter,the script just build dynamic library for project. Valid android-platform are:[10|11|12|13|14|15|16|17|18|19]') + parser.add_option("-b", "--build", dest="build_mode", + help='the build mode for java project,debug[default] or release.Get more information,please refer to http://developer.android.com/tools/building/building-cmdline.html') + (opts, args) = parser.parse_args() + + build(opts.ndk_build_param,opts.android_platform,opts.build_mode) diff --git a/SampleUIAnimation/proj.android/jni/Android.mk b/SampleUIAnimation/proj.android/jni/Android.mk new file mode 100644 index 0000000..15e6ea1 --- /dev/null +++ b/SampleUIAnimation/proj.android/jni/Android.mk @@ -0,0 +1,34 @@ +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE := cocos2dcpp_shared + +LOCAL_MODULE_FILENAME := libcocos2dcpp + +LOCAL_SRC_FILES := hellocpp/main.cpp \ + ../../Classes/AppDelegate.cpp \ + ../../Classes/HelloWorldScene.cpp \ + ../../Classes/CocosGUIExamplesUIAnimationScene.cpp + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \ + $(LOCAL_PATH)/../../cocos2d \ + $(LOCAL_PATH)/../../cocos2d/extensions \ + $(LOCAL_PATH)/../../cocos2d/cocos \ + $(LOCAL_PATH)/../../cocos2d/cocos/gui \ + $(LOCAL_PATH)/../../cocos2d/cocos/editor-support/cocostudio \ + +LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static +LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocos_gui_static +LOCAL_WHOLE_STATIC_LIBRARIES += cocostudio_static + + +include $(BUILD_SHARED_LIBRARY) + +$(call import-module,2d) +$(call import-module,audio/android) +$(call import-module,Box2D) +$(call import-module,gui) +$(call import-module,editor-support/cocostudio) diff --git a/SampleUIAnimation/proj.android/jni/Application.mk b/SampleUIAnimation/proj.android/jni/Application.mk new file mode 100644 index 0000000..74c3f99 --- /dev/null +++ b/SampleUIAnimation/proj.android/jni/Application.mk @@ -0,0 +1,2 @@ +APP_STL := gnustl_static +APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DCOCOS2D_DEBUG=1 -std=c++11 -fsigned-char diff --git a/SampleUIAnimation/proj.android/jni/hellocpp/main.cpp b/SampleUIAnimation/proj.android/jni/hellocpp/main.cpp new file mode 100644 index 0000000..006a744 --- /dev/null +++ b/SampleUIAnimation/proj.android/jni/hellocpp/main.cpp @@ -0,0 +1,16 @@ +#include "AppDelegate.h" +#include "cocos2d.h" +#include "CCEventType.h" +#include "platform/android/jni/JniHelper.h" +#include +#include + +#define LOG_TAG "main" +#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__) + +using namespace cocos2d; + +void cocos_android_app_init (struct android_app* app) { + LOGD("cocos_android_app_init"); + AppDelegate *pAppDelegate = new AppDelegate(); +} diff --git a/SampleUIAnimation/proj.android/proguard-project.txt b/SampleUIAnimation/proj.android/proguard-project.txt new file mode 100644 index 0000000..b60ae7e --- /dev/null +++ b/SampleUIAnimation/proj.android/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/SampleUIAnimation/proj.android/project.properties b/SampleUIAnimation/proj.android/project.properties new file mode 100644 index 0000000..c959301 --- /dev/null +++ b/SampleUIAnimation/proj.android/project.properties @@ -0,0 +1,13 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system use, +# "ant.properties", and override values to adapt the script to your +# project structure. + +# Project target. +target=android-10 + +android.library.reference.1=../cocos2d/cocos/2d/platform/android/java diff --git a/SampleUIAnimation/proj.android/res/drawable-hdpi/icon.png b/SampleUIAnimation/proj.android/res/drawable-hdpi/icon.png new file mode 100644 index 0000000..8aa4767 Binary files /dev/null and b/SampleUIAnimation/proj.android/res/drawable-hdpi/icon.png differ diff --git a/SampleUIAnimation/proj.android/res/drawable-ldpi/icon.png b/SampleUIAnimation/proj.android/res/drawable-ldpi/icon.png new file mode 100644 index 0000000..17ce11a Binary files /dev/null and b/SampleUIAnimation/proj.android/res/drawable-ldpi/icon.png differ diff --git a/SampleUIAnimation/proj.android/res/drawable-mdpi/icon.png b/SampleUIAnimation/proj.android/res/drawable-mdpi/icon.png new file mode 100644 index 0000000..3780aac Binary files /dev/null and b/SampleUIAnimation/proj.android/res/drawable-mdpi/icon.png differ diff --git a/SampleUIAnimation/proj.android/res/values/strings.xml b/SampleUIAnimation/proj.android/res/values/strings.xml new file mode 100644 index 0000000..6709e09 --- /dev/null +++ b/SampleUIAnimation/proj.android/res/values/strings.xml @@ -0,0 +1,4 @@ + + + SampleUIAnimation + diff --git a/SampleUIAnimation/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java b/SampleUIAnimation/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java new file mode 100644 index 0000000..d2dfa68 --- /dev/null +++ b/SampleUIAnimation/proj.android/src/org/cocos2dx/cpp/Cocos2dxActivity.java @@ -0,0 +1,32 @@ +package org.cocos2dx.cpp; + +import android.app.NativeActivity; +import android.os.Bundle; + +public class Cocos2dxActivity extends NativeActivity{ + + @Override + protected void onCreate(Bundle savedInstanceState) { + // TODO Auto-generated method stub + super.onCreate(savedInstanceState); + + //For supports translucency + + //1.change "attribs" in cocos\2d\platform\android\nativeactivity.cpp + /*const EGLint attribs[] = { + EGL_SURFACE_TYPE, EGL_WINDOW_BIT, + EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT, + //EGL_BLUE_SIZE, 5, -->delete + //EGL_GREEN_SIZE, 6, -->delete + //EGL_RED_SIZE, 5, -->delete + EGL_BUFFER_SIZE, 32, //-->new field + EGL_DEPTH_SIZE, 16, + EGL_STENCIL_SIZE, 8, + EGL_NONE + };*/ + + //2.Set the format of window + // getWindow().setFormat(PixelFormat.TRANSLUCENT); + + } +} diff --git a/SampleUIAnimation/proj.ios_mac/SampleUIAnimation.xcodeproj/project.pbxproj b/SampleUIAnimation/proj.ios_mac/SampleUIAnimation.xcodeproj/project.pbxproj new file mode 100644 index 0000000..9c537af --- /dev/null +++ b/SampleUIAnimation/proj.ios_mac/SampleUIAnimation.xcodeproj/project.pbxproj @@ -0,0 +1,1038 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */; }; + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */; }; + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */; }; + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */; }; + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */; }; + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */; }; + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */; }; + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */; }; + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */; }; + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */; }; + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 1AFAF8BE16D35E4900DB1158 /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 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 */; }; + 38DEFBC418C8252D0025D030 /* cocosgui in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFBC118C8252D0025D030 /* cocosgui */; }; + 38DEFBC518C8252D0025D030 /* cocosgui in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFBC118C8252D0025D030 /* cocosgui */; }; + 38DEFBC618C8252D0025D030 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFBC218C8252D0025D030 /* fonts */; }; + 38DEFBC718C8252D0025D030 /* fonts in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFBC218C8252D0025D030 /* fonts */; }; + 38DEFBC818C8252D0025D030 /* hd in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFBC318C8252D0025D030 /* hd */; }; + 38DEFBC918C8252D0025D030 /* hd in Resources */ = {isa = PBXBuildFile; fileRef = 38DEFBC318C8252D0025D030 /* hd */; }; + 38DEFBD218C825360025D030 /* CocosGUIExamplesUIAnimationScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFBD018C825360025D030 /* CocosGUIExamplesUIAnimationScene.cpp */; }; + 38DEFBD318C825360025D030 /* CocosGUIExamplesUIAnimationScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 38DEFBD018C825360025D030 /* CocosGUIExamplesUIAnimationScene.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 */; }; + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11117EB99EE00D1A890 /* libcurl.dylib */; }; + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 503AE11A17EB9C5A00D1A890 /* IOKit.framework */; }; + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */; }; + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */; }; + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */ = {isa = PBXBuildFile; fileRef = 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */; }; + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */; }; + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */; }; + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; }; + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765A40DF7441C002DB57D /* CoreGraphics.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 */; }; + 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 */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1551A33F158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2FD617814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2CB81780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2D9B1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F2ED617814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A03F31FD1781479B006731B9; + remoteInfo = "jsbindings Mac"; + }; + 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A6FB53017854BC300CDF010; + remoteInfo = "luabindings Mac"; + }; + 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4D641783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4EFC1783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F3B178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4F9E1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A4FB4178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; + 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = A07A5030178387750073F6A7; + remoteInfo = "jsbindings iOS"; + }; + 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 1A119791178526AA00D62A44; + remoteInfo = "luabindings iOS"; + }; + 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = 1551A33E158F2AB200E66CFE; + remoteInfo = "cocos2dx Mac"; + }; + 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2FC117814595006731B9; + remoteInfo = "cocos2dx-extensions Mac"; + }; + 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2B781780BD04006731B9; + remoteInfo = "chipmunk Mac"; + }; + 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2E9817814268006731B9; + remoteInfo = "CocosDenshion Mac"; + }; + 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A03F2D5D1780BDF7006731B9; + remoteInfo = "box2d Mac"; + }; + 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4C241783777C0073F6A7; + remoteInfo = "cocos2dx iOS"; + }; + 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4E111783867C0073F6A7; + remoteInfo = "cocos2dx-extensions iOS"; + }; + 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4EFD178387670073F6A7; + remoteInfo = "chipmunk iOS"; + }; + 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F3C1783876B0073F6A7; + remoteInfo = "box2d iOS"; + }; + 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = A07A4F9F178387730073F6A7; + remoteInfo = "CocosDenshion iOS"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = cocos2d_libs.xcodeproj; path = ../cocos2d/build/cocos2d_libs.xcodeproj; sourceTree = ""; }; + 1ACB3243164770DE00914215 /* libcurl.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libcurl.a; path = ../../cocos2dx/platform/third_party/ios/libraries/libcurl.a; sourceTree = ""; }; + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = AppDelegate.cpp; path = ../Classes/AppDelegate.cpp; sourceTree = ""; }; + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ../Classes/AppDelegate.h; sourceTree = ""; }; + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HelloWorldScene.cpp; path = ../Classes/HelloWorldScene.cpp; sourceTree = ""; }; + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HelloWorldScene.h; path = ../Classes/HelloWorldScene.h; sourceTree = ""; }; + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseNormal.png; sourceTree = ""; }; + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = CloseSelected.png; sourceTree = ""; }; + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = HelloWorld.png; sourceTree = ""; }; + 1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 1D6058910D05DD3D006BFB54 /* SampleUIAnimation iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleUIAnimation iOS.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; }; + 38DEFBC118C8252D0025D030 /* cocosgui */ = {isa = PBXFileReference; lastKnownFileType = folder; path = cocosgui; sourceTree = ""; }; + 38DEFBC218C8252D0025D030 /* fonts */ = {isa = PBXFileReference; lastKnownFileType = folder; path = fonts; sourceTree = ""; }; + 38DEFBC318C8252D0025D030 /* hd */ = {isa = PBXFileReference; lastKnownFileType = folder; path = hd; sourceTree = ""; }; + 38DEFBD018C825360025D030 /* CocosGUIExamplesUIAnimationScene.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CocosGUIExamplesUIAnimationScene.cpp; path = ../Classes/CocosGUIExamplesUIAnimationScene.cpp; sourceTree = ""; }; + 38DEFBD118C825360025D030 /* CocosGUIExamplesUIAnimationScene.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CocosGUIExamplesUIAnimationScene.h; path = ../Classes/CocosGUIExamplesUIAnimationScene.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 /* SampleUIAnimation Mac.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SampleUIAnimation Mac.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 = ""; }; + 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; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 1D60588F0D05DD3D006BFB54 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB2E180E99EB004C840B /* libbox2d iOS.a in Frameworks */, + 1AC6FB2F180E99EB004C840B /* libchipmunk iOS.a in Frameworks */, + 1AC6FB30180E99EB004C840B /* libcocos2dx iOS.a in Frameworks */, + 1AC6FB31180E99EB004C840B /* libcocos2dx-extensions iOS.a in Frameworks */, + 1AC6FB32180E99EB004C840B /* libCocosDenshion iOS.a 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 */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75C17EB910900C73F5D /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 1AC6FB1F180E996B004C840B /* libbox2d Mac.a in Frameworks */, + 1AC6FB20180E996B004C840B /* libchipmunk Mac.a in Frameworks */, + 1AC6FB21180E996B004C840B /* libcocos2dx Mac.a in Frameworks */, + 1AC6FB22180E996B004C840B /* libcocos2dx-extensions Mac.a in Frameworks */, + 1AC6FB23180E996B004C840B /* libCocosDenshion Mac.a in Frameworks */, + 503AE11217EB99EE00D1A890 /* libcurl.dylib in Frameworks */, + 5087E76717EB910900C73F5D /* libz.dylib in Frameworks */, + 503AE11B17EB9C5A00D1A890 /* IOKit.framework in Frameworks */, + 5087E78B17EB975400C73F5D /* OpenGL.framework in Frameworks */, + 5087E78917EB974C00C73F5D /* AppKit.framework in Frameworks */, + 5087E76317EB910900C73F5D /* Foundation.framework in Frameworks */, + 5087E76517EB910900C73F5D /* CoreGraphics.framework in Frameworks */, + 5087E76817EB910900C73F5D /* QuartzCore.framework in Frameworks */, + 5087E76917EB910900C73F5D /* OpenAL.framework in Frameworks */, + 5087E76A17EB910900C73F5D /* AVFoundation.framework in Frameworks */, + 5087E76B17EB910900C73F5D /* AudioToolbox.framework 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 = ""; + }; + 15AA9C4015B7EC450033D6C2 /* Classes */ = { + isa = PBXGroup; + children = ( + 38DEFBD018C825360025D030 /* CocosGUIExamplesUIAnimationScene.cpp */, + 38DEFBD118C825360025D030 /* CocosGUIExamplesUIAnimationScene.h */, + 1AFAF8B316D35DE700DB1158 /* AppDelegate.cpp */, + 1AFAF8B416D35DE700DB1158 /* AppDelegate.h */, + 1AFAF8B516D35DE700DB1158 /* HelloWorldScene.cpp */, + 1AFAF8B616D35DE700DB1158 /* HelloWorldScene.h */, + ); + name = Classes; + path = ../classes; + sourceTree = ""; + }; + 19C28FACFE9D520D11CA2CBB /* Products */ = { + isa = PBXGroup; + children = ( + 1D6058910D05DD3D006BFB54 /* SampleUIAnimation iOS.app */, + 5087E76F17EB910900C73F5D /* SampleUIAnimation Mac.app */, + ); + name = Products; + sourceTree = ""; + }; + 1AC6FAE6180E9839004C840B /* Products */ = { + isa = PBXGroup; + children = ( + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */, + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */, + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */, + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */, + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */, + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */, + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */, + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */, + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */, + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */, + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */, + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */, + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */, + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */, + ); + name = Products; + sourceTree = ""; + }; + 29B97314FDCFA39411CA2CEA /* CustomTemplate */ = { + isa = PBXGroup; + children = ( + 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */, + 15AA9C4015B7EC450033D6C2 /* Classes */, + 29B97323FDCFA39411CA2CEA /* Frameworks */, + 080E96DDFE201D6D7F000001 /* ios */, + 503AE10617EB990700D1A890 /* mac */, + 19C28FACFE9D520D11CA2CBB /* Products */, + 78C7DDAA14EBA5050085D0C2 /* Resources */, + ); + name = CustomTemplate; + sourceTree = ""; + }; + 29B97323FDCFA39411CA2CEA /* Frameworks */ = { + isa = PBXGroup; + children = ( + 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 = ""; + }; + 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 = ( + 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; + }; + 78C7DDAA14EBA5050085D0C2 /* Resources */ = { + isa = PBXGroup; + children = ( + 38DEFBC118C8252D0025D030 /* cocosgui */, + 38DEFBC218C8252D0025D030 /* fonts */, + 38DEFBC318C8252D0025D030 /* hd */, + 1AFAF8B916D35E4900DB1158 /* CloseNormal.png */, + 1AFAF8BA16D35E4900DB1158 /* CloseSelected.png */, + 1AFAF8BB16D35E4900DB1158 /* HelloWorld.png */, + ); + name = Resources; + path = ../Resources; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 1D6058900D05DD3D006BFB54 /* SampleUIAnimation iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "SampleUIAnimation iOS" */; + buildPhases = ( + 1D60588D0D05DD3D006BFB54 /* Resources */, + 1D60588E0D05DD3D006BFB54 /* Sources */, + 1D60588F0D05DD3D006BFB54 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */, + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */, + ); + name = "SampleUIAnimation iOS"; + productName = iphone; + productReference = 1D6058910D05DD3D006BFB54 /* SampleUIAnimation iOS.app */; + productType = "com.apple.product-type.application"; + }; + 5087E73D17EB910900C73F5D /* SampleUIAnimation Mac */ = { + isa = PBXNativeTarget; + buildConfigurationList = 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleUIAnimation Mac" */; + buildPhases = ( + 5087E74817EB910900C73F5D /* Resources */, + 5087E75617EB910900C73F5D /* Sources */, + 5087E75C17EB910900C73F5D /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */, + 1AC6FB16180E9959004C840B /* PBXTargetDependency */, + 1AC6FB18180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */, + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */, + ); + name = "SampleUIAnimation Mac"; + productName = iphone; + productReference = 5087E76F17EB910900C73F5D /* SampleUIAnimation Mac.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 29B97313FDCFA39411CA2CEA /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0500; + TargetAttributes = { + 1D6058900D05DD3D006BFB54 = { + DevelopmentTeam = MDDB52YB8L; + }; + }; + }; + buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleUIAnimation" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); + mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = 1AC6FAE6180E9839004C840B /* Products */; + ProjectRef = 1AC6FAE5180E9839004C840B /* cocos2d_libs.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + 1D6058900D05DD3D006BFB54 /* SampleUIAnimation iOS */, + 5087E73D17EB910900C73F5D /* SampleUIAnimation Mac */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXReferenceProxy section */ + 1AC6FAF9180E9839004C840B /* libcocos2dx Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx Mac.a"; + remoteRef = 1AC6FAF8180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFB180E9839004C840B /* libcocos2dx-extensions Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions Mac.a"; + remoteRef = 1AC6FAFA180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFD180E9839004C840B /* libchipmunk Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk Mac.a"; + remoteRef = 1AC6FAFC180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FAFF180E9839004C840B /* libbox2d Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d Mac.a"; + remoteRef = 1AC6FAFE180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB01180E9839004C840B /* libCocosDenshion Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion Mac.a"; + remoteRef = 1AC6FB00180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB03180E9839004C840B /* libjsbindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings Mac.a"; + remoteRef = 1AC6FB02180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB05180E9839004C840B /* libluabindings Mac.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings Mac.a"; + remoteRef = 1AC6FB04180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB07180E9839004C840B /* libcocos2dx iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx iOS.a"; + remoteRef = 1AC6FB06180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB09180E9839004C840B /* libcocos2dx-extensions iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libcocos2dx-extensions iOS.a"; + remoteRef = 1AC6FB08180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0B180E9839004C840B /* libchipmunk iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libchipmunk iOS.a"; + remoteRef = 1AC6FB0A180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0D180E9839004C840B /* libbox2d iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libbox2d iOS.a"; + remoteRef = 1AC6FB0C180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB0F180E9839004C840B /* libCocosDenshion iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libCocosDenshion iOS.a"; + remoteRef = 1AC6FB0E180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB11180E9839004C840B /* libjsbindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libjsbindings iOS.a"; + remoteRef = 1AC6FB10180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 1AC6FB13180E9839004C840B /* libluabindings iOS.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = "libluabindings iOS.a"; + remoteRef = 1AC6FB12180E9839004C840B /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; +/* End PBXReferenceProxy section */ + +/* Begin PBXResourcesBuildPhase section */ + 1D60588D0D05DD3D006BFB54 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFBC418C8252D0025D030 /* cocosgui in Resources */, + 5087E78117EB970100C73F5D /* Icon-120.png in Resources */, + 5087E78617EB970100C73F5D /* Icon-76.png in Resources */, + 38DEFBC618C8252D0025D030 /* fonts in Resources */, + 5087E77F17EB970100C73F5D /* Default@2x.png in Resources */, + 50EF629917ECD46A001EB2F8 /* Icon-100.png in Resources */, + 1AFAF8BC16D35E4900DB1158 /* CloseNormal.png in Resources */, + 5087E78317EB970100C73F5D /* Icon-152.png in Resources */, + 5087E77D17EB970100C73F5D /* Default-568h@2x.png in Resources */, + 5087E78517EB970100C73F5D /* Icon-72.png in Resources */, + 1AFAF8BD16D35E4900DB1158 /* CloseSelected.png in Resources */, + 50EF62A317ECD613001EB2F8 /* Icon-50.png in Resources */, + 38DEFBC818C8252D0025D030 /* hd in Resources */, + 5087E78017EB970100C73F5D /* Icon-114.png in Resources */, + 1AFAF8BE16D35E4900DB1158 /* 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 */, + 50EF629717ECD46A001EB2F8 /* Icon-58.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E74817EB910900C73F5D /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFBC518C8252D0025D030 /* cocosgui in Resources */, + 5087E75317EB910900C73F5D /* CloseNormal.png in Resources */, + 503AE0F817EB97AB00D1A890 /* Icon.icns in Resources */, + 38DEFBC718C8252D0025D030 /* fonts in Resources */, + 38DEFBC918C8252D0025D030 /* hd in Resources */, + 5087E75417EB910900C73F5D /* CloseSelected.png in Resources */, + 5087E75517EB910900C73F5D /* HelloWorld.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 1D60588E0D05DD3D006BFB54 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 503AE10017EB989F00D1A890 /* AppController.mm in Sources */, + 503AE10217EB989F00D1A890 /* RootViewController.mm in Sources */, + 1AFAF8B716D35DE700DB1158 /* AppDelegate.cpp in Sources */, + 503AE10117EB989F00D1A890 /* main.m in Sources */, + 38DEFBD218C825360025D030 /* CocosGUIExamplesUIAnimationScene.cpp in Sources */, + 1AFAF8B816D35DE700DB1158 /* HelloWorldScene.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5087E75617EB910900C73F5D /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38DEFBD318C825360025D030 /* CocosGUIExamplesUIAnimationScene.cpp in Sources */, + 5087E75717EB910900C73F5D /* AppDelegate.cpp in Sources */, + 5087E75817EB910900C73F5D /* HelloWorldScene.cpp in Sources */, + 503AE10517EB98FF00D1A890 /* main.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 1AC6FB16180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx Mac"; + targetProxy = 1AC6FB15180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB18180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions Mac"; + targetProxy = 1AC6FB17180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1A180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk Mac"; + targetProxy = 1AC6FB19180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1C180E9959004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion Mac"; + targetProxy = 1AC6FB1B180E9959004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB1E180E9963004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d Mac"; + targetProxy = 1AC6FB1D180E9963004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB25180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx iOS"; + targetProxy = 1AC6FB24180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB27180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "cocos2dx-extensions iOS"; + targetProxy = 1AC6FB26180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB29180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "chipmunk iOS"; + targetProxy = 1AC6FB28180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2B180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "box2d iOS"; + targetProxy = 1AC6FB2A180E99E1004C840B /* PBXContainerItemProxy */; + }; + 1AC6FB2D180E99E1004C840B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "CocosDenshion iOS"; + targetProxy = 1AC6FB2C180E99E1004C840B /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/ios/Simulation", + ); + INFOPLIST_FILE = ios/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 5.0; + LIBRARY_SEARCH_PATHS = ""; + SDKROOT = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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)", + "$(SRCROOT)/../cocos2d/cocos/2d/platform/mac", + "$(SRCROOT)/../cocos2d/external/glfw3/include/mac", + ); + INFOPLIST_FILE = mac/Info.plist; + LIBRARY_SEARCH_PATHS = ""; + USER_HEADER_SEARCH_PATHS = ""; + }; + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 = ( + "$(SRCROOT)/../cocos2d", + "$(SRCROOT)/../cocos2d/cocos", + "$(SRCROOT)/../cocos2d/cocos/base", + "$(SRCROOT)/../cocos2d/cocos/physics", + "$(SRCROOT)/../cocos2d/cocos/math/kazmath/include", + "$(SRCROOT)/../cocos2d/cocos/2d", + "$(SRCROOT)/../cocos2d/cocos/gui", + "$(SRCROOT)/../cocos2d/cocos/network", + "$(SRCROOT)/../cocos2d/cocos/audio/include", + "$(SRCROOT)/../cocos2d/cocos/editor-support", + "$(SRCROOT)/../cocos2d/extensions", + "$(SRCROOT)/../cocos2d/external", + "$(SRCROOT)/../cocos2d/external/chipmunk/include/chipmunk", + ); + 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 "SampleUIAnimation iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1D6058940D05DD3E006BFB54 /* Debug */, + 1D6058950D05DD3E006BFB54 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 5087E76C17EB910900C73F5D /* Build configuration list for PBXNativeTarget "SampleUIAnimation Mac" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5087E76D17EB910900C73F5D /* Debug */, + 5087E76E17EB910900C73F5D /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "SampleUIAnimation" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; +/* End XCConfigurationList section */ + }; + rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; +} diff --git a/SampleUIAnimation/proj.ios_mac/ios/AppController.h b/SampleUIAnimation/proj.ios_mac/ios/AppController.h new file mode 100644 index 0000000..d0940a5 --- /dev/null +++ b/SampleUIAnimation/proj.ios_mac/ios/AppController.h @@ -0,0 +1,11 @@ +#import + +@class RootViewController; + +@interface AppController : NSObject { + UIWindow *window; + RootViewController *viewController; +} + +@end + diff --git a/SampleUIAnimation/proj.ios_mac/ios/AppController.mm b/SampleUIAnimation/proj.ios_mac/ios/AppController.mm new file mode 100644 index 0000000..3ceacda --- /dev/null +++ b/SampleUIAnimation/proj.ios_mac/ios/AppController.mm @@ -0,0 +1,142 @@ +/**************************************************************************** + 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 "CCEAGLView.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 { + + // 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: kEAGLColorFormatRGB565 + depthFormat: GL_DEPTH24_STENCIL8_OES + preserveBackbuffer: NO + sharegroup: nil + multiSampling: NO + numberOfSamples: 0]; + + // 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::GLView::createWithEAGLView(eaglView); + cocos2d::Director::getInstance()->setOpenGLView(glview); + + cocos2d::Application::getInstance()->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/SampleUIAnimation/proj.ios_mac/ios/Default-568h@2x.png b/SampleUIAnimation/proj.ios_mac/ios/Default-568h@2x.png new file mode 100644 index 0000000..66c6d1c Binary files /dev/null and b/SampleUIAnimation/proj.ios_mac/ios/Default-568h@2x.png differ diff --git a/SampleUIAnimation/proj.ios_mac/ios/Default.png b/SampleUIAnimation/proj.ios_mac/ios/Default.png new file mode 100644 index 0000000..dcb8072 Binary files /dev/null and b/SampleUIAnimation/proj.ios_mac/ios/Default.png differ diff --git a/SampleUIAnimation/proj.ios_mac/ios/Default@2x.png b/SampleUIAnimation/proj.ios_mac/ios/Default@2x.png new file mode 100644 index 0000000..8468988 Binary files /dev/null and b/SampleUIAnimation/proj.ios_mac/ios/Default@2x.png differ diff --git a/SampleUIAnimation/proj.ios_mac/ios/Icon-100.png b/SampleUIAnimation/proj.ios_mac/ios/Icon-100.png new file mode 100644 index 0000000..ef38d45 Binary files /dev/null and b/SampleUIAnimation/proj.ios_mac/ios/Icon-100.png differ diff --git a/SampleUIAnimation/proj.ios_mac/ios/Icon-114.png b/SampleUIAnimation/proj.ios_mac/ios/Icon-114.png new file mode 100644 index 0000000..c380786 Binary files /dev/null and b/SampleUIAnimation/proj.ios_mac/ios/Icon-114.png differ diff --git a/SampleUIAnimation/proj.ios_mac/ios/Icon-120.png b/SampleUIAnimation/proj.ios_mac/ios/Icon-120.png new file mode 100644 index 0000000..a5b49cc Binary files /dev/null and b/SampleUIAnimation/proj.ios_mac/ios/Icon-120.png differ diff --git a/SampleUIAnimation/proj.ios_mac/ios/Icon-144.png b/SampleUIAnimation/proj.ios_mac/ios/Icon-144.png new file mode 100644 index 0000000..1526615 Binary files /dev/null and b/SampleUIAnimation/proj.ios_mac/ios/Icon-144.png differ diff --git a/SampleUIAnimation/proj.ios_mac/ios/Icon-152.png b/SampleUIAnimation/proj.ios_mac/ios/Icon-152.png new file mode 100644 index 0000000..8aa8250 Binary files /dev/null and b/SampleUIAnimation/proj.ios_mac/ios/Icon-152.png differ diff --git a/SampleUIAnimation/proj.ios_mac/ios/Icon-29.png b/SampleUIAnimation/proj.ios_mac/ios/Icon-29.png new file mode 100644 index 0000000..0500184 Binary files /dev/null and b/SampleUIAnimation/proj.ios_mac/ios/Icon-29.png differ diff --git a/SampleUIAnimation/proj.ios_mac/ios/Icon-40.png b/SampleUIAnimation/proj.ios_mac/ios/Icon-40.png new file mode 100644 index 0000000..775685d Binary files /dev/null and b/SampleUIAnimation/proj.ios_mac/ios/Icon-40.png differ diff --git a/SampleUIAnimation/proj.ios_mac/ios/Icon-50.png b/SampleUIAnimation/proj.ios_mac/ios/Icon-50.png new file mode 100644 index 0000000..ac381bc Binary files /dev/null and b/SampleUIAnimation/proj.ios_mac/ios/Icon-50.png differ diff --git a/SampleUIAnimation/proj.ios_mac/ios/Icon-57.png b/SampleUIAnimation/proj.ios_mac/ios/Icon-57.png new file mode 100644 index 0000000..4fcc6fd Binary files /dev/null and b/SampleUIAnimation/proj.ios_mac/ios/Icon-57.png differ diff --git a/SampleUIAnimation/proj.ios_mac/ios/Icon-58.png b/SampleUIAnimation/proj.ios_mac/ios/Icon-58.png new file mode 100644 index 0000000..f0f8b7f Binary files /dev/null and b/SampleUIAnimation/proj.ios_mac/ios/Icon-58.png differ diff --git a/SampleUIAnimation/proj.ios_mac/ios/Icon-72.png b/SampleUIAnimation/proj.ios_mac/ios/Icon-72.png new file mode 100644 index 0000000..2c573c8 Binary files /dev/null and b/SampleUIAnimation/proj.ios_mac/ios/Icon-72.png differ diff --git a/SampleUIAnimation/proj.ios_mac/ios/Icon-76.png b/SampleUIAnimation/proj.ios_mac/ios/Icon-76.png new file mode 100644 index 0000000..8a1fa18 Binary files /dev/null and b/SampleUIAnimation/proj.ios_mac/ios/Icon-76.png differ diff --git a/SampleUIAnimation/proj.ios_mac/ios/Icon-80.png b/SampleUIAnimation/proj.ios_mac/ios/Icon-80.png new file mode 100644 index 0000000..d9c7ab4 Binary files /dev/null and b/SampleUIAnimation/proj.ios_mac/ios/Icon-80.png differ diff --git a/SampleUIAnimation/proj.ios_mac/ios/Info.plist b/SampleUIAnimation/proj.ios_mac/ios/Info.plist new file mode 100644 index 0000000..88a89b9 --- /dev/null +++ b/SampleUIAnimation/proj.ios_mac/ios/Info.plist @@ -0,0 +1,70 @@ + + + + + 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.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIAppFonts + + UIPrerenderedIcon + + UISupportedInterfaceOrientations + + UIInterfaceOrientationLandscapeRight + UIInterfaceOrientationLandscapeLeft + + + diff --git a/SampleUIAnimation/proj.ios_mac/ios/Prefix.pch b/SampleUIAnimation/proj.ios_mac/ios/Prefix.pch new file mode 100644 index 0000000..3737d11 --- /dev/null +++ b/SampleUIAnimation/proj.ios_mac/ios/Prefix.pch @@ -0,0 +1,8 @@ +// +// Prefix header for all source files of the 'iphone' target in the 'iphone' project +// + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/SampleUIAnimation/proj.ios_mac/ios/RootViewController.h b/SampleUIAnimation/proj.ios_mac/ios/RootViewController.h new file mode 100644 index 0000000..6cde57f --- /dev/null +++ b/SampleUIAnimation/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/SampleUIAnimation/proj.ios_mac/ios/RootViewController.mm b/SampleUIAnimation/proj.ios_mac/ios/RootViewController.mm new file mode 100644 index 0000000..c500a44 --- /dev/null +++ b/SampleUIAnimation/proj.ios_mac/ios/RootViewController.mm @@ -0,0 +1,108 @@ +/**************************************************************************** + 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 "CCEAGLView.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]; + + cocos2d::GLView *glview = cocos2d::Director::getInstance()->getOpenGLView(); + CCEAGLView *eaglview = (CCEAGLView*) glview->getEAGLView(); + + 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/SampleUIAnimation/proj.ios_mac/ios/main.m b/SampleUIAnimation/proj.ios_mac/ios/main.m new file mode 100644 index 0000000..84158b2 --- /dev/null +++ b/SampleUIAnimation/proj.ios_mac/ios/main.m @@ -0,0 +1,12 @@ +#import + +// Under iOS and the Simulator, we can use an alternate Accelerometer interface +#import "AccelerometerSimulation.h" + +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/SampleUIAnimation/proj.ios_mac/mac/Icon.icns b/SampleUIAnimation/proj.ios_mac/mac/Icon.icns new file mode 100644 index 0000000..2040fc6 Binary files /dev/null and b/SampleUIAnimation/proj.ios_mac/mac/Icon.icns differ diff --git a/SampleUIAnimation/proj.ios_mac/mac/Info.plist b/SampleUIAnimation/proj.ios_mac/mac/Info.plist new file mode 100644 index 0000000..df93f67 --- /dev/null +++ b/SampleUIAnimation/proj.ios_mac/mac/Info.plist @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIconFile + Icon + CFBundleIdentifier + org.cocos2d-x.${PRODUCT_NAME:rfc1034identifier} + 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/SampleUIAnimation/proj.ios_mac/mac/Prefix.pch b/SampleUIAnimation/proj.ios_mac/mac/Prefix.pch new file mode 100644 index 0000000..96d93ae --- /dev/null +++ b/SampleUIAnimation/proj.ios_mac/mac/Prefix.pch @@ -0,0 +1,7 @@ +// +// Prefix header for all source files of the 'Paralaxer' target in the 'Paralaxer' project +// + +#ifdef __OBJC__ + #import +#endif diff --git a/SampleUIAnimation/proj.ios_mac/mac/main.cpp b/SampleUIAnimation/proj.ios_mac/mac/main.cpp new file mode 100644 index 0000000..f0b87fb --- /dev/null +++ b/SampleUIAnimation/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(); +} diff --git a/SampleUIAnimation/proj.linux/main.cpp b/SampleUIAnimation/proj.linux/main.cpp new file mode 100644 index 0000000..7742def --- /dev/null +++ b/SampleUIAnimation/proj.linux/main.cpp @@ -0,0 +1,15 @@ +#include "../Classes/AppDelegate.h" + +#include +#include +#include +#include + +USING_NS_CC; + +int main(int argc, char **argv) +{ + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleUIAnimation/proj.win32/SampleUIAnimation.sln b/SampleUIAnimation/proj.win32/SampleUIAnimation.sln new file mode 100755 index 0000000..4bda417 --- /dev/null +++ b/SampleUIAnimation/proj.win32/SampleUIAnimation.sln @@ -0,0 +1,61 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleUIAnimation", "SampleUIAnimation.vcxproj", "{76A39BB2-9B84-4C65-98A5-654D86B86F2A}" + ProjectSection(ProjectDependencies) = postProject + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} = {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E} + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} = {207BC7A9-CCF1-4F2F-A04D-45F72242AE25} + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} = {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcocos2d", "..\cocos2d\cocos\2d\cocos2d.vcxproj", "{98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libchipmunk", "..\cocos2d\external\chipmunk\proj.win32\chipmunk.vcxproj", "{207BC7A9-CCF1-4F2F-A04D-45F72242AE25}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libAudio", "..\cocos2d\cocos\audio\proj.win32\CocosDenshion.vcxproj", "{F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libCocosStudio", "..\cocos2d\cocos\editor-support\cocostudio\proj.win32\libCocosStudio.vcxproj", "{B57CF53F-2E49-4031-9822-047CC0E6BDE2}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libGUI", "..\cocos2d\cocos\gui\proj.win32\libGUI.vcxproj", "{7E06E92C-537A-442B-9E4A-4761C84F8A1A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libExtensions", "..\cocos2d\extensions\proj.win32\libExtensions.vcxproj", "{21B2C324-891F-48EA-AD1A-5AE13DE12E28}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.ActiveCfg = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Debug|Win32.Build.0 = Debug|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.ActiveCfg = Release|Win32 + {76A39BB2-9B84-4C65-98A5-654D86B86F2A}.Release|Win32.Build.0 = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.ActiveCfg = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Debug|Win32.Build.0 = Debug|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.ActiveCfg = Release|Win32 + {98A51BA8-FC3A-415B-AC8F-8C7BD464E93E}.Release|Win32.Build.0 = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.ActiveCfg = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Debug|Win32.Build.0 = Debug|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.ActiveCfg = Release|Win32 + {207BC7A9-CCF1-4F2F-A04D-45F72242AE25}.Release|Win32.Build.0 = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.ActiveCfg = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Debug|Win32.Build.0 = Debug|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.ActiveCfg = Release|Win32 + {F8EDD7FA-9A51-4E80-BAEB-860825D2EAC6}.Release|Win32.Build.0 = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.ActiveCfg = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Debug|Win32.Build.0 = Debug|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.ActiveCfg = Release|Win32 + {B57CF53F-2E49-4031-9822-047CC0E6BDE2}.Release|Win32.Build.0 = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.ActiveCfg = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Debug|Win32.Build.0 = Debug|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.ActiveCfg = Release|Win32 + {7E06E92C-537A-442B-9E4A-4761C84F8A1A}.Release|Win32.Build.0 = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.ActiveCfg = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Debug|Win32.Build.0 = Debug|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.ActiveCfg = Release|Win32 + {21B2C324-891F-48EA-AD1A-5AE13DE12E28}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/SampleUIAnimation/proj.win32/SampleUIAnimation.vcxproj b/SampleUIAnimation/proj.win32/SampleUIAnimation.vcxproj new file mode 100755 index 0000000..2bd4b6a --- /dev/null +++ b/SampleUIAnimation/proj.win32/SampleUIAnimation.vcxproj @@ -0,0 +1,174 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {76A39BB2-9B84-4C65-98A5-654D86B86F2A} + test_win32 + Win32Proj + + + + Application + Unicode + true + v100 + v110 + v110_xp + + + Application + Unicode + v100 + v110 + v110_xp + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.40219.1 + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + true + $(SolutionDir)$(Configuration).win32\ + $(Configuration).win32\ + false + AllRules.ruleset + + + AllRules.ruleset + + + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + $(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath) + + + + Disabled + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;$(EngineRoot);$(EngineRoot)cocos\editor-support;$(EngineRoot)cocos;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;COCOS2D_DEBUG=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + EditAndContinue + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + %(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + MaxSpeed + true + $(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;..\Classes;..;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USE_MATH_DEFINES;GL_GLEXT_PROTOTYPES;CC_ENABLE_CHIPMUNK_INTEGRATION=1;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + true + + + Level3 + ProgramDatabase + 4267;4251;4244;%(DisableSpecificWarnings) + true + + + libcurl_imp.lib;websockets.lib;%(AdditionalDependencies) + $(OutDir)$(ProjectName).exe + $(OutDir);%(AdditionalLibraryDirectories) + true + Windows + true + true + MachineX86 + + + + + + + if not exist "$(OutDir)" mkdir "$(OutDir)" +xcopy /Y /Q "$(EngineRoot)external\websockets\prebuilt\win32\*.*" "$(OutDir)" + + + + + + + + + + + + + + + + + {98a51ba8-fc3a-415b-ac8f-8c7bd464e93e} + false + + + {f8edd7fa-9a51-4e80-baeb-860825d2eac6} + + + {b57cf53f-2e49-4031-9822-047cc0e6bde2} + + + {7e06e92c-537a-442b-9e4a-4761c84f8a1a} + + + {21b2c324-891f-48ea-ad1a-5ae13de12e28} + + + {207bc7a9-ccf1-4f2f-a04d-45f72242ae25} + + + + + + + + + \ No newline at end of file diff --git a/SampleUIAnimation/proj.win32/SampleUIAnimation.vcxproj.filters b/SampleUIAnimation/proj.win32/SampleUIAnimation.vcxproj.filters new file mode 100755 index 0000000..a2de1ea --- /dev/null +++ b/SampleUIAnimation/proj.win32/SampleUIAnimation.vcxproj.filters @@ -0,0 +1,47 @@ + + + + + {84a8ebd7-7cf0-47f6-b75e-d441df67da40} + + + {bb6c862e-70e9-49d9-81b7-3829a6f50471} + + + {715254bc-d70b-4ec5-bf29-467dd3ace079} + + + + + win32 + + + Classes + + + Classes + + + Classes + + + + + win32 + + + Classes + + + Classes + + + Classes + + + + + resource + + + \ No newline at end of file diff --git a/SampleUIAnimation/proj.win32/SampleUIAnimation.vcxproj.user b/SampleUIAnimation/proj.win32/SampleUIAnimation.vcxproj.user new file mode 100644 index 0000000..314a27a --- /dev/null +++ b/SampleUIAnimation/proj.win32/SampleUIAnimation.vcxproj.user @@ -0,0 +1,11 @@ + + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + + $(ProjectDir)..\Resources + WindowsLocalDebugger + + \ No newline at end of file diff --git a/SampleUIAnimation/proj.win32/game.rc b/SampleUIAnimation/proj.win32/game.rc new file mode 100644 index 0000000..09d7d99 --- /dev/null +++ b/SampleUIAnimation/proj.win32/game.rc @@ -0,0 +1,86 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +#undef APSTUDIO_HIDDEN_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +GLFW_ICON ICON "res\\game.ico" + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,1 + PRODUCTVERSION 1,0,0,1 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904B0" + BEGIN + VALUE "CompanyName", "\0" + VALUE "FileDescription", "game Module\0" + VALUE "FileVersion", "1, 0, 0, 1\0" + VALUE "InternalName", "game\0" + VALUE "LegalCopyright", "Copyright \0" + VALUE "OriginalFilename", "game.exe\0" + VALUE "ProductName", "game Module\0" + VALUE "ProductVersion", "1, 0, 0, 1\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0409, 0x04B0 + END +END + +///////////////////////////////////////////////////////////////////////////// +#endif // !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) diff --git a/SampleUIAnimation/proj.win32/main.cpp b/SampleUIAnimation/proj.win32/main.cpp new file mode 100644 index 0000000..4ef499e --- /dev/null +++ b/SampleUIAnimation/proj.win32/main.cpp @@ -0,0 +1,18 @@ +#include "main.h" +#include "AppDelegate.h" +#include "cocos2d.h" + +USING_NS_CC; + +int APIENTRY _tWinMain(HINSTANCE hInstance, + HINSTANCE hPrevInstance, + LPTSTR lpCmdLine, + int nCmdShow) +{ + UNREFERENCED_PARAMETER(hPrevInstance); + UNREFERENCED_PARAMETER(lpCmdLine); + + // create the application instance + AppDelegate app; + return Application::getInstance()->run(); +} diff --git a/SampleUIAnimation/proj.win32/main.h b/SampleUIAnimation/proj.win32/main.h new file mode 100644 index 0000000..e4d2aa3 --- /dev/null +++ b/SampleUIAnimation/proj.win32/main.h @@ -0,0 +1,13 @@ +#ifndef __MAIN_H__ +#define __MAIN_H__ + +#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers + +// Windows Header Files: +#include +#include + +// C RunTime Header Files +#include "CCStdC.h" + +#endif // __MAIN_H__ diff --git a/SampleUIAnimation/proj.win32/res/game.ico b/SampleUIAnimation/proj.win32/res/game.ico new file mode 100644 index 0000000..feaf932 Binary files /dev/null and b/SampleUIAnimation/proj.win32/res/game.ico differ diff --git a/SampleUIAnimation/proj.win32/resource.h b/SampleUIAnimation/proj.win32/resource.h new file mode 100644 index 0000000..ecde7ef --- /dev/null +++ b/SampleUIAnimation/proj.win32/resource.h @@ -0,0 +1,20 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by game.RC +// + +#define IDS_PROJNAME 100 +#define IDR_TESTJS 100 + +#define ID_FILE_NEW_WINDOW 32771 + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 201 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 32775 +#endif +#endif diff --git a/cocos2d/readme b/cocos2d/readme new file mode 100644 index 0000000..00bfca5 --- /dev/null +++ b/cocos2d/readme @@ -0,0 +1 @@ +put cocos2d here what in a project created by create_project.py \ No newline at end of file