Commit 9b4672c4 9b4672c4cf1b6bc5abcaa9d9080d2cfbc4299752 by 赵春雷

淘好玩福建版本提交

1 parent a9da3478
Showing 422 changed files with 2211 additions and 10 deletions
#/////////////////////////////////////////////////////////////////////////////
# Fireball Projects
#/////////////////////////////////////////////////////////////////////////////
library/
temp/
local/
#/////////////////////////////////////////////////////////////////////////////
# Logs and databases
#/////////////////////////////////////////////////////////////////////////////
*.log
*.sql
*.sqlite
#/////////////////////////////////////////////////////////////////////////////
# files for debugger
#/////////////////////////////////////////////////////////////////////////////
*.sln
*.csproj
*.pidb
*.unityproj
*.suo
#/////////////////////////////////////////////////////////////////////////////
# OS generated files
#/////////////////////////////////////////////////////////////////////////////
.DS_Store
ehthumbs.db
Thumbs.db
#/////////////////////////////////////////////////////////////////////////////
# exvim files
#/////////////////////////////////////////////////////////////////////////////
*UnityVS.meta
*.err
*.err.meta
*.exvim
*.exvim.meta
*.vimentry
*.vimentry.meta
*.vimproject
*.vimproject.meta
.vimfiles.*/
.exvim.*/
quick_gen_project_*_autogen.bat
quick_gen_project_*_autogen.bat.meta
quick_gen_project_*_autogen.sh
quick_gen_project_*_autogen.sh.meta
.exvim.app
#/////////////////////////////////////////////////////////////////////////////
# webstorm files
#/////////////////////////////////////////////////////////////////////////////
.idea/
#//////////////////////////
# VS Code
#//////////////////////////
.vscode/
#//////////////////////////
# cocos
#//////////////////////////
*.meta
\ No newline at end of file
APP_STL := c++_static
# Uncomment this line to compile to armeabi-v7a, your application will run faster but support less devices
APP_ABI := armeabi-v7a
APP_CPPFLAGS := -frtti -std=c++11 -fsigned-char
APP_LDFLAGS := -latomic
# To solve windows commands char length too long
APP_SHORT_COMMANDS := true
USE_ARM_MODE := 1
# MUST be careful to modify this manually
# disable module will speed up compile time, and reduce package size
USE_GFX_RENDERER := 1
USE_VIDEO := 1
USE_WEB_VIEW := 1
USE_AUDIO := 1
USE_SOCKET := 1
USE_SPINE := 1
USE_DRAGONBONES := 1
USE_TIFF := 1
USE_MIDDLEWARE := 1
USE_PARTICLE := 1
APP_CPPFLAGS += -DUSE_GFX_RENDERER=$(USE_GFX_RENDERER)
APP_CPPFLAGS += -DUSE_VIDEO=${USE_VIDEO}
APP_CPPFLAGS += -DUSE_WEB_VIEW=${USE_WEB_VIEW}
APP_CPPFLAGS += -DUSE_AUDIO=${USE_AUDIO}
APP_CPPFLAGS += -DUSE_SOCKET=${USE_SOCKET}
APP_CPPFLAGS += -DUSE_SPINE=${USE_SPINE}
APP_CPPFLAGS += -DUSE_DRAGONBONES=${USE_DRAGONBONES}
APP_CPPFLAGS += -DCC_USE_TIFF=${USE_TIFF}
APP_CPPFLAGS += -DUSE_MIDDLEWARE=${USE_MIDDLEWARE}
APP_CPPFLAGS += -DUSE_PARTICLE=${USE_PARTICLE}
ifeq ($(NDK_DEBUG),1)
APP_CPPFLAGS += -DCOCOS2D_DEBUG=1
APP_CFLAGS += -DCOCOS2D_DEBUG=1
APP_OPTIM := debug
else
APP_CPPFLAGS += -DNDEBUG
APP_CFLAGS += -DNDEBUG
APP_OPTIM := release
endif
# Some Android Simulators don't support SSE instruction, so disable it for x86 arch.
APP_CPPFLAGS += -U__SSE__
USE_EDIT_BOX := 1
copy Application.mk ..\build\jsb-link\frameworks\runtime-src\proj.android-studio\app\jni\Application.mk
\ No newline at end of file
copy ..\build\jsb-link\frameworks\runtime-src\proj.android-studio\app\jni\Application.mk Application.mk
\ No newline at end of file
# hello-world
Hello world new project template.
{"packageUrl":"http://demo.cloud.api.findfun.topdraw.cn:38081/findfun/remote-assets/","remoteManifestUrl":"http://demo.cloud.api.findfun.topdraw.cn:38081/findfun/remote-assets/project.manifest","remoteVersionUrl":"http://demo.cloud.api.findfun.topdraw.cn:38081/findfun/remote-assets/version.manifest","version":"1.0.0"}
\ No newline at end of file
{"packageUrl":"http://eastcity.fj.a176.ottcn.com:81/clutch/apps/forfun/remote-assets/","remoteManifestUrl":"http://eastcity.fj.a176.ottcn.com:81/clutch/apps/forfun/remote-assets/project.manifest","remoteVersionUrl":"http://eastcity.fj.a176.ottcn.com:81/clutch/apps/forfun/remote-assets/version.manifest","version":"1.0.0"}
\ No newline at end of file
......
{
"engine_version": "2.2.0",
"has_native": true,
"project_type": "js",
"projectName": "For_Fun",
"packageName": "com.topdraw.forfun_FJYD"
}
\ No newline at end of file
{
"do_default": {
"exclude_from_template": [
"frameworks/runtime-src"
]
},
"do_add_native_support": {
"append_from_template": {
"from": "frameworks/runtime-src",
"to": "frameworks/runtime-src",
"exclude": [
"proj.ios_mac/HelloJavascript.xcodeproj/project.xcworkspace",
"proj.ios_mac/HelloJavascript.xcodeproj/xcuserdata",
"proj.win32/Debug.win32",
"proj.win32/Release.win32",
"proj.win32/HelloJavascript.sdf"
]
},
"append_file": [{
"from": "cocos/scripting/js-bindings/manual/jsb_module_register.cpp",
"to": "frameworks/runtime-src/Classes/jsb_module_register.cpp"
}],
"project_rename": {
"src_project_name": "HelloJavascript",
"files": [
"frameworks/runtime-src/proj.win32/PROJECT_NAME.vcxproj",
"frameworks/runtime-src/proj.win32/PROJECT_NAME.vcxproj.filters",
"frameworks/runtime-src/proj.win32/PROJECT_NAME.vcxproj.user",
"frameworks/runtime-src/proj.win32/PROJECT_NAME.sln",
"frameworks/runtime-src/proj.ios_mac/PROJECT_NAME.xcodeproj"
]
},
"project_replace_project_name": {
"src_project_name": "HelloJavascript",
"files": [
"frameworks/runtime-src/proj.win32/PROJECT_NAME.vcxproj",
"frameworks/runtime-src/proj.win32/PROJECT_NAME.vcxproj.filters",
"frameworks/runtime-src/proj.win32/PROJECT_NAME.vcxproj.user",
"frameworks/runtime-src/proj.win32/PROJECT_NAME.sln",
"frameworks/runtime-src/proj.win32/main.cpp",
"frameworks/runtime-src/proj.android-studio/settings.gradle",
"frameworks/runtime-src/proj.android-studio/app/res/values/strings.xml",
"frameworks/runtime-src/proj.ios_mac/ios/main.m",
"frameworks/runtime-src/proj.ios_mac/ios/Prefix.pch",
"frameworks/runtime-src/proj.ios_mac/PROJECT_NAME.xcodeproj/project.pbxproj",
"frameworks/runtime-src/Classes/AppDelegate.cpp"
]
},
"project_replace_package_name": {
"src_package_name": "org.cocos2dx.hellojavascript",
"files": [
"frameworks/runtime-src/proj.android-studio/app/build.gradle",
"frameworks/runtime-src/proj.android-studio/app/AndroidManifest.xml"
]
},
"project_replace_mac_bundleid": {
"src_bundle_id": "org.cocos2dx.hellojavascript",
"files": [
"frameworks/runtime-src/proj.ios_mac/mac/Info.plist"
]
},
"project_replace_ios_bundleid": {
"src_bundle_id": "org.cocos2dx.hellojavascript",
"files": [
"frameworks/runtime-src/proj.ios_mac/ios/Info.plist"
]
}
}
}
/****************************************************************************
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated engine source code (the "Software"), a limited,
worldwide, royalty-free, non-assignable, revocable and non-exclusive license
to use Cocos Creator solely to develop games on your target platforms. You shall
not use Cocos Creator software for developing other software or tools that's
used for developing games. You are not granted to publish, distribute,
sublicense, and/or sell copies of Cocos Creator.
The software or tools in this License Agreement are licensed, not sold.
Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you.
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"
#include "cocos/scripting/js-bindings/manual/jsb_module_register.hpp"
#include "cocos/scripting/js-bindings/manual/jsb_global.h"
#include "cocos/scripting/js-bindings/jswrapper/SeApi.h"
#include "cocos/scripting/js-bindings/event/EventDispatcher.h"
#include "cocos/scripting/js-bindings/manual/jsb_classtype.hpp"
USING_NS_CC;
AppDelegate::AppDelegate(int width, int height) : Application("Cocos Game", width, height)
{
}
AppDelegate::~AppDelegate()
{
}
bool AppDelegate::applicationDidFinishLaunching()
{
se::ScriptEngine *se = se::ScriptEngine::getInstance();
jsb_set_xxtea_key("93eb5b74-8065-43");
jsb_init_file_operation_delegate();
#if defined(COCOS2D_DEBUG) && (COCOS2D_DEBUG > 0)
// Enable debugger here
jsb_enable_debugger("0.0.0.0", 6086, false);
#endif
se->setExceptionCallback([](const char *location, const char *message, const char *stack) {
// Send exception information to server like Tencent Bugly.
});
jsb_register_all_modules();
se->start();
se::AutoHandleScope hs;
jsb_run_script("jsb-adapter/jsb-builtin.js");
jsb_run_script("main.js");
se->addAfterCleanupHook([]() {
JSBClassType::destroy();
});
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()
{
EventDispatcher::dispatchEnterBackgroundEvent();
}
// this function will be called when the app is active again
void AppDelegate::applicationWillEnterForeground()
{
EventDispatcher::dispatchEnterForegroundEvent();
}
/****************************************************************************
Copyright (c) 2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated engine source code (the "Software"), a limited,
worldwide, royalty-free, non-assignable, revocable and non-exclusive license
to use Cocos Creator solely to develop games on your target platforms. You shall
not use Cocos Creator software for developing other software or tools that's
used for developing games. You are not granted to publish, distribute,
sublicense, and/or sell copies of Cocos Creator.
The software or tools in this License Agreement are licensed, not sold.
Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you.
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.
****************************************************************************/
#pragma once
#include "platform/CCApplication.h"
/**
@brief The cocos2d Application.
The reason for implement as private inheritance is to hide some interface call by Director.
*/
class AppDelegate : public cocos2d::Application
{
public:
AppDelegate(int width, int height);
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() override;
/**
@brief The function be called when the application enter background
@param the pointer of the application
*/
virtual void applicationDidEnterBackground() override;
/**
@brief The function be called when the application enter foreground
@param the pointer of the application
*/
virtual void applicationWillEnterForeground() override;
};
/****************************************************************************
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated engine source code (the "Software"), a limited,
worldwide, royalty-free, non-assignable, revocable and non-exclusive license
to use Cocos Creator solely to develop games on your target platforms. You shall
not use Cocos Creator software for developing other software or tools that's
used for developing games. You are not granted to publish, distribute,
sublicense, and/or sell copies of Cocos Creator.
The software or tools in this License Agreement are licensed, not sold.
Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you.
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 "cocos2d.h"
#include "cocos/scripting/js-bindings/manual/jsb_module_register.hpp"
#include "cocos/scripting/js-bindings/jswrapper/SeApi.h"
#include "cocos/scripting/js-bindings/auto/jsb_cocos2dx_auto.hpp"
#include "cocos/scripting/js-bindings/manual/jsb_global.h"
#include "cocos/scripting/js-bindings/manual/jsb_node.hpp"
#include "cocos/scripting/js-bindings/manual/jsb_conversions.hpp"
#include "cocos/scripting/js-bindings/manual/jsb_opengl_manual.hpp"
#include "cocos/scripting/js-bindings/manual/jsb_platform.h"
#include "cocos/scripting/js-bindings/manual/jsb_cocos2dx_manual.hpp"
#include "cocos/scripting/js-bindings/manual/jsb_xmlhttprequest.hpp"
#include "cocos/scripting/js-bindings/manual/jsb_cocos2dx_network_manual.h"
#include "cocos/scripting/js-bindings/auto/jsb_cocos2dx_network_auto.hpp"
#include "cocos/scripting/js-bindings/auto/jsb_cocos2dx_extension_auto.hpp"
#if USE_GFX_RENDERER
#include "cocos/scripting/js-bindings/auto/jsb_gfx_auto.hpp"
#include "cocos/scripting/js-bindings/auto/jsb_renderer_auto.hpp"
#include "cocos/scripting/js-bindings/manual/jsb_gfx_manual.hpp"
#include "cocos/scripting/js-bindings/manual/jsb_renderer_manual.hpp"
#endif
#if USE_SOCKET
#include "cocos/scripting/js-bindings/manual/jsb_websocket.hpp"
#include "cocos/scripting/js-bindings/manual/jsb_socketio.hpp"
#endif // USE_SOCKET
#if USE_AUDIO
#include "cocos/scripting/js-bindings/auto/jsb_cocos2dx_audioengine_auto.hpp"
#endif
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_MAC)
#include "cocos/scripting/js-bindings/manual/JavaScriptObjCBridge.h"
#endif
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
#include "cocos/scripting/js-bindings/manual/JavaScriptJavaBridge.h"
#endif
#if USE_GFX_RENDERER && USE_MIDDLEWARE
#include "cocos/scripting/js-bindings/auto/jsb_cocos2dx_editor_support_auto.hpp"
#if USE_SPINE
#include "cocos/scripting/js-bindings/auto/jsb_cocos2dx_spine_auto.hpp"
#include "cocos/scripting/js-bindings/manual/jsb_spine_manual.hpp"
#endif
#if USE_DRAGONBONES
#include "cocos/scripting/js-bindings/auto/jsb_cocos2dx_dragonbones_auto.hpp"
#include "cocos/scripting/js-bindings/manual/jsb_dragonbones_manual.hpp"
#endif
#if USE_PARTICLE
#include "cocos/scripting/js-bindings/auto/jsb_cocos2dx_particle_auto.hpp"
#endif
#endif // USE_MIDDLEWARE
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
#if USE_VIDEO
#include "cocos/scripting/js-bindings/auto/jsb_video_auto.hpp"
#endif
#if USE_WEB_VIEW
#include "cocos/scripting/js-bindings/auto/jsb_webview_auto.hpp"
#endif
#endif // (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
using namespace cocos2d;
bool jsb_register_all_modules()
{
se::ScriptEngine* se = se::ScriptEngine::getInstance();
se->addBeforeInitHook([](){
JSBClassType::init();
});
se->addBeforeCleanupHook([se](){
se->garbageCollect();
PoolManager::getInstance()->getCurrentPool()->clear();
se->garbageCollect();
PoolManager::getInstance()->getCurrentPool()->clear();
});
se->addRegisterCallback(jsb_register_global_variables);
se->addRegisterCallback(JSB_register_opengl);
se->addRegisterCallback(register_all_engine);
se->addRegisterCallback(register_all_cocos2dx_manual);
se->addRegisterCallback(register_platform_bindings);
se->addRegisterCallback(register_all_network);
se->addRegisterCallback(register_all_cocos2dx_network_manual);
se->addRegisterCallback(register_all_xmlhttprequest);
// extension depend on network
se->addRegisterCallback(register_all_extension);
#if USE_GFX_RENDERER
se->addRegisterCallback(register_all_gfx);
se->addRegisterCallback(jsb_register_gfx_manual);
se->addRegisterCallback(register_all_renderer);
se->addRegisterCallback(jsb_register_renderer_manual);
#endif
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_MAC)
se->addRegisterCallback(register_javascript_objc_bridge);
#endif
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
se->addRegisterCallback(register_javascript_java_bridge);
#endif
#if USE_AUDIO
se->addRegisterCallback(register_all_audioengine);
#endif
#if USE_SOCKET
se->addRegisterCallback(register_all_websocket);
se->addRegisterCallback(register_all_socketio);
#endif
#if USE_GFX_RENDERER && USE_MIDDLEWARE
se->addRegisterCallback(register_all_cocos2dx_editor_support);
#if USE_SPINE
se->addRegisterCallback(register_all_cocos2dx_spine);
se->addRegisterCallback(register_all_spine_manual);
#endif
#if USE_DRAGONBONES
se->addRegisterCallback(register_all_cocos2dx_dragonbones);
se->addRegisterCallback(register_all_dragonbones_manual);
#endif
#if USE_PARTICLE
se->addRegisterCallback(register_all_cocos2dx_particle);
#endif
#endif // USE_MIDDLEWARE
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
#if USE_VIDEO
se->addRegisterCallback(register_all_video);
#endif
#if USE_WEB_VIEW
se->addRegisterCallback(register_all_webview);
#endif
#endif // (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
se->addAfterCleanupHook([](){
PoolManager::getInstance()->getCurrentPool()->clear();
JSBClassType::destroy();
});
return true;
}
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
......@@ -20,9 +20,9 @@ android {
targets 'cocos2djs'
arguments 'NDK_TOOLCHAIN_VERSION=clang'
def module_paths = [project.file("D:/CocosCreator_2.2.0/resources/cocos2d-x"),
project.file("D:/CocosCreator_2.2.0/resources/cocos2d-x/cocos"),
project.file("D:/CocosCreator_2.2.0/resources/cocos2d-x/external")]
def module_paths = [project.file("D:/Programs/CocosCreator_2.2.0/resources/cocos2d-x"),
project.file("D:/Programs/CocosCreator_2.2.0/resources/cocos2d-x/cocos"),
project.file("D:/Programs/CocosCreator_2.2.0/resources/cocos2d-x/external")]
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
arguments 'NDK_MODULE_PATH=' + module_paths.join(";")
}
......@@ -65,10 +65,10 @@ android {
}
config {
keyAlias 'topdraw'
keyPassword 'Topdraw!17qaz'
storeFile file('D:/Android/topdraw.keystore')
storePassword 'Topdraw!17qaz'
storeFile file(RELEASE_STORE_FILE)
storePassword RELEASE_STORE_PASSWORD
keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD
}
}
......@@ -81,7 +81,7 @@ android {
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
if (project.hasProperty("RELEASE_STORE_FILE")) {
signingConfig signingConfigs.config
signingConfig signingConfigs.release
}
externalNativeBuild {
......@@ -142,7 +142,7 @@ android.applicationVariants.all { variant ->
dependencies {
implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
implementation fileTree(include: ['*.jar'], dir: 'D:/CocosCreator_2.2.0/resources/cocos2d-x/cocos/platform/android/java/libs')
implementation fileTree(include: ['*.jar'], dir: 'D:/Programs/CocosCreator_2.2.0/resources/cocos2d-x/cocos/platform/android/java/libs')
implementation project(':libcocos2dx')
implementation files('libs/TopdrawSDK.jar')
implementation files('libs/universal-image-loader-1.9.5.jar')
......
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := cocos2djs_shared
LOCAL_MODULE_FILENAME := libcocos2djs
ifeq ($(USE_ARM_MODE),1)
LOCAL_ARM_MODE := arm
endif
LOCAL_SRC_FILES := hellojavascript/main.cpp \
../../../Classes/AppDelegate.cpp \
../../../Classes/jsb_module_register.cpp \
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../Classes
LOCAL_STATIC_LIBRARIES := cocos2dx_static
include $(BUILD_SHARED_LIBRARY)
$(call import-module, cocos)
APP_STL := c++_static
# Uncomment this line to compile to armeabi-v7a, your application will run faster but support less devices
APP_ABI := armeabi-v7a
APP_CPPFLAGS := -frtti -std=c++11 -fsigned-char
APP_LDFLAGS := -latomic
# To solve windows commands char length too long
APP_SHORT_COMMANDS := true
USE_ARM_MODE := 1
# MUST be careful to modify this manually
# disable module will speed up compile time, and reduce package size
USE_GFX_RENDERER := 1
USE_VIDEO := 1
USE_WEB_VIEW := 1
USE_AUDIO := 1
USE_SOCKET := 1
USE_SPINE := 1
USE_DRAGONBONES := 1
USE_TIFF := 1
USE_MIDDLEWARE := 1
USE_PARTICLE := 1
APP_CPPFLAGS += -DUSE_GFX_RENDERER=$(USE_GFX_RENDERER)
APP_CPPFLAGS += -DUSE_VIDEO=${USE_VIDEO}
APP_CPPFLAGS += -DUSE_WEB_VIEW=${USE_WEB_VIEW}
APP_CPPFLAGS += -DUSE_AUDIO=${USE_AUDIO}
APP_CPPFLAGS += -DUSE_SOCKET=${USE_SOCKET}
APP_CPPFLAGS += -DUSE_SPINE=${USE_SPINE}
APP_CPPFLAGS += -DUSE_DRAGONBONES=${USE_DRAGONBONES}
APP_CPPFLAGS += -DCC_USE_TIFF=${USE_TIFF}
APP_CPPFLAGS += -DUSE_MIDDLEWARE=${USE_MIDDLEWARE}
APP_CPPFLAGS += -DUSE_PARTICLE=${USE_PARTICLE}
ifeq ($(NDK_DEBUG),1)
APP_CPPFLAGS += -DCOCOS2D_DEBUG=1
APP_CFLAGS += -DCOCOS2D_DEBUG=1
APP_OPTIM := debug
else
APP_CPPFLAGS += -DNDEBUG
APP_CFLAGS += -DNDEBUG
APP_OPTIM := release
endif
# Some Android Simulators don't support SSE instruction, so disable it for x86 arch.
APP_CPPFLAGS += -U__SSE__
USE_EDIT_BOX := 1
/****************************************************************************
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated engine source code (the "Software"), a limited,
worldwide, royalty-free, non-assignable, revocable and non-exclusive license
to use Cocos Creator solely to develop games on your target platforms. You shall
not use Cocos Creator software for developing other software or tools that's
used for developing games. You are not granted to publish, distribute,
sublicense, and/or sell copies of Cocos Creator.
The software or tools in this License Agreement are licensed, not sold.
Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to you.
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"
#include "platform/android/jni/JniHelper.h"
#include <jni.h>
#include <android/log.h>
#define LOG_TAG "main"
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__)
using namespace cocos2d;
//called when JNI_OnLoad()
void cocos_jni_env_init(JNIEnv *env)
{
LOGD("cocos_jni_env_init");
}
//called when onSurfaceCreated()
Application *cocos_android_app_init(JNIEnv *env, int width, int height)
{
LOGD("cocos_android_app_init");
auto app = new AppDelegate(width, height);
return app;
}
extern "C"
{
/*JNI_CALL_FUNCTION*/
}
ndk.dir=D\:\\SDK\\android-ndk-r16b
sdk.dir=D\:\\SDK\\android-sdk-studio
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in E:\developSoftware\Android\SDK/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# 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 *;
#}
# Proguard Cocos2d-x-lite for release
-keep public class org.cocos2dx.** { *; }
-dontwarn org.cocos2dx.**
# Proguard Apache HTTP for release
-keep class org.apache.http.** { *; }
-dontwarn org.apache.http.**
# Proguard okhttp for release
-keep class okhttp3.** { *; }
-dontwarn okhttp3.**
-keep class okio.** { *; }
-dontwarn okio.**
# Proguard Android Webivew for release. you can comment if you are not using a webview
-keep public class android.net.http.SslError
-keep public class android.webkit.WebViewClient
-dontwarn android.webkit.WebView
-dontwarn android.net.http.SslError
-dontwarn android.webkit.WebViewClient
# keep anysdk for release. you can comment if you are not using anysdk
-keep public class com.anysdk.** { *; }
-dontwarn com.anysdk.**
-dontwarn tv.icntv.**
-keep class tv.icntv.**{*;}
-dontwarn tv.newtv.**
-keep class tv.newtv.**{*;}
# 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-29
{
"ndk_module_path" :[
"D:/Programs/CocosCreator_2.2.0/resources/cocos2d-x",
"D:/Programs/CocosCreator_2.2.0/resources/cocos2d-x/cocos",
"D:/Programs/CocosCreator_2.2.0/resources/cocos2d-x/external"
],
"copy_resources": []
}
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
flatDir {
dirs 'libs'
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx10248m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# Android SDK version that will be used as the compile project
PROP_COMPILE_SDK_VERSION=29
# Android SDK version that will be used as the earliest version of android this application can run on
PROP_MIN_SDK_VERSION=16
# Android SDK version that will be used as the latest version of android this application has been tested on
PROP_TARGET_SDK_VERSION=29
# Android Build Tools version that will be used as the compile project
PROP_BUILD_TOOLS_VERSION=28.0.3
# List of CPU Archtexture to build that application with
# Available architextures (armeabi-v7a | arm64-v8a | x86)
# To build for multiple architexture, use the `:` between them
# Example - PROP_APP_ABI=armeabi-v7a
PROP_APP_ABI=armeabi-v7a
# fill in sign information for release mode
RELEASE_STORE_FILE=D:/Workspace/topdraw.keystore
RELEASE_STORE_PASSWORD=Topdraw!17qaz
RELEASE_KEY_ALIAS=topdraw
RELEASE_KEY_PASSWORD=Topdraw!17qaz
#!/usr/bin/env bash
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn ( ) {
echo "$*"
}
die ( ) {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
esac
# For Cygwin, ensure paths are in UNIX format before anything is touched.
if $cygwin ; then
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
fi
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >&-
APP_HOME="`pwd -P`"
cd "$SAVED" >&-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
function splitJvmOpts() {
JVM_OPTS=("$@")
}
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windowz variants
if not "%OS%" == "Windows_NT" goto win9xME_args
if "%@eval[2+2]" == "4" goto 4NT_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
goto execute
:4NT_args
@rem Get arguments from the 4NT Shell from JP Software
set CMD_LINE_ARGS=%$
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
<?xml version="1.0" encoding="UTF-8"?>
<module external.linked.project.id="proj.android-studio" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="java-gradle" name="Java-Gradle">
<configuration>
<option name="BUILD_FOLDER_PATH" value="$MODULE_DIR$/build" />
<option name="BUILDABLE" value="false" />
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
include ':libcocos2dx'
project(':libcocos2dx').projectDir = new File('D:/Programs/CocosCreator_2.2.0/resources/cocos2d-x/cocos/platform/android/libcocos2dx')
include ':For_Fun'
project(':For_Fun').projectDir = new File(settingsDir, 'app')
/****************************************************************************
Copyright (c) 2010-2013 cocos2d-x.org
Copyright (c) 2013-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
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 <UIKit/UIKit.h>
@class RootViewController;
@interface AppController : NSObject <UIApplicationDelegate>
{
}
@property(nonatomic, readonly) RootViewController* viewController;
@end
/****************************************************************************
Copyright (c) 2010-2013 cocos2d-x.org
Copyright (c) 2013-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
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 "cocos2d.h"
#import "AppDelegate.h"
#import "RootViewController.h"
#import "SDKWrapper.h"
#import "platform/ios/CCEAGLView-ios.h"
using namespace cocos2d;
@implementation AppController
Application* app = nullptr;
@synthesize window;
#pragma mark -
#pragma mark Application lifecycle
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[[SDKWrapper getInstance] application:application didFinishLaunchingWithOptions:launchOptions];
// Add the view controller's view to the window and display.
float scale = [[UIScreen mainScreen] scale];
CGRect bounds = [[UIScreen mainScreen] bounds];
window = [[UIWindow alloc] initWithFrame: bounds];
// cocos2d application instance
app = new AppDelegate(bounds.size.width * scale, bounds.size.height * scale);
app->setMultitouch(true);
// Use RootViewController to manage CCEAGLView
_viewController = [[RootViewController alloc]init];
#ifdef NSFoundationVersionNumber_iOS_7_0
_viewController.automaticallyAdjustsScrollViewInsets = NO;
_viewController.extendedLayoutIncludesOpaqueBars = NO;
_viewController.edgesForExtendedLayout = UIRectEdgeAll;
#else
_viewController.wantsFullScreenLayout = YES;
#endif
// 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:YES];
//run the cocos2d-x game scene
app->start();
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.
*/
[[SDKWrapper getInstance] applicationWillResignActive:application];
}
- (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.
*/
[[SDKWrapper getInstance] applicationDidBecomeActive:application];
}
- (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.
*/
[[SDKWrapper getInstance] applicationDidEnterBackground:application];
app->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.
*/
[[SDKWrapper getInstance] applicationWillEnterForeground:application];
app->applicationWillEnterForeground();
}
- (void)applicationWillTerminate:(UIApplication *)application
{
[[SDKWrapper getInstance] applicationWillTerminate:application];
delete app;
app = nil;
}
#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.
*/
}
@end
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13196" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina5_9" orientation="landscape">
<adaptation id="fullscreen"/>
</device>
<dependencies>
<deployment version="1792" identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13173"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="fm7-M6-edp"/>
<viewControllerLayoutGuide type="bottom" id="uRH-d6-mvd"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="812" height="375"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleAspectFill" insetsLayoutMarginsFromSafeArea="NO" image="LaunchScreenBackground.png" translatesAutoresizingMaskIntoConstraints="NO" id="YCC-wj-Gww" userLabel="Background">
<rect key="frame" x="0.0" y="0.0" width="812" height="375"/>
</imageView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="YCC-wj-Gww" secondAttribute="bottom" id="Naz-ae-jWI"/>
<constraint firstAttribute="trailing" secondItem="YCC-wj-Gww" secondAttribute="trailing" id="myj-85-hk9"/>
<constraint firstItem="YCC-wj-Gww" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" id="qOq-Cg-doS"/>
<constraint firstItem="YCC-wj-Gww" firstAttribute="top" secondItem="Ze5-6b-2t3" secondAttribute="top" id="xL7-Fo-4bl"/>
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="50.399999999999999" y="373.15270935960592"/>
</scene>
</scenes>
<resources>
<image name="LaunchScreenBackground.png" width="2208" height="1242"/>
</resources>
</document>
/*
Localizable.strings
*/
"done" = "Done";
"next" = "Next";
"search" = "Search";
"go" = "Go";
"send" = "Send";
{
"images" : [
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-20@2x.png",
"scale" : "2x"
},
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-20@3x.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-29.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-29@2x.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-29@3x.png",
"scale" : "3x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-40@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-40@3x.png",
"scale" : "3x"
},
{
"size" : "57x57",
"idiom" : "iphone",
"filename" : "Icon-57.png",
"scale" : "1x"
},
{
"size" : "57x57",
"idiom" : "iphone",
"filename" : "Icon-57@2x.png",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-60@2x.png",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-60@3x.png",
"scale" : "3x"
},
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-20.png",
"scale" : "1x"
},
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-20@2x.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-29.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-29@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-40.png",
"scale" : "1x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-40@2x.png",
"scale" : "2x"
},
{
"size" : "50x50",
"idiom" : "ipad",
"filename" : "Icon-50.png",
"scale" : "1x"
},
{
"size" : "50x50",
"idiom" : "ipad",
"filename" : "Icon-50@2x.png",
"scale" : "2x"
},
{
"size" : "72x72",
"idiom" : "ipad",
"filename" : "Icon-72.png",
"scale" : "1x"
},
{
"size" : "72x72",
"idiom" : "ipad",
"filename" : "Icon-72@2x.png",
"scale" : "2x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76.png",
"scale" : "1x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "Icon-83.5@2x.png",
"scale" : "2x"
},
{
"idiom" : "ios-marketing",
"size" : "1024x1024",
"scale" : "1x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIcons~ipad</key>
<dict/>
<key>CFBundleIdentifier</key>
<string>com.topdraw.forfun_FJYD</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIPrerenderedIcon</key>
<true/>
<key>UIRequiredDeviceCapabilities</key>
<dict>
<key>accelerometer</key>
<true/>
<key>opengles-1</key>
<true/>
</dict>
<key>UIRequiresFullScreen</key>
<true/>
<key>UIStatusBarHidden</key>
<true/>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationLandscapeRight</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
</array>
</dict>
</plist>
\ No newline at end of file
//
// Prefix header for all source files of the 'For_Fun' target in the 'For_Fun' project
//
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#endif
/****************************************************************************
Copyright (c) 2013 cocos2d-x.org
Copyright (c) 2013-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
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 <UIKit/UIKit.h>
@interface RootViewController : UIViewController {
}
- (BOOL)prefersStatusBarHidden;
@end
/****************************************************************************
Copyright (c) 2013 cocos2d-x.org
Copyright (c) 2013-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
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"
#include "platform/CCApplication.h"
#include "platform/ios/CCEAGLView-ios.h"
@implementation RootViewController
/*
// The designated initializer. Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
if ((self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil])) {
// Custom initialization
}
return self;
}
*/
// Implement loadView to create a view hierarchy programmatically, without using a nib.
- (void)loadView {
// Set EAGLView as view of RootViewController
self.view = (__bridge CCEAGLView *)cocos2d::Application::getInstance()->getView();
}
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad {
[super viewDidLoad];
}
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
}
- (void)viewDidDisappear:(BOOL)animated {
[super viewDidDisappear:animated];
}
// For ios6, use supportedInterfaceOrientations & shouldAutorotate instead
#ifdef __IPHONE_6_0
- (NSUInteger) supportedInterfaceOrientations{
return UIInterfaceOrientationMaskAllButUpsideDown;
}
#endif
- (BOOL) shouldAutorotate {
return YES;
}
- (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation {
[super didRotateFromInterfaceOrientation:fromInterfaceOrientation];
}
//fix not hide status on ios7
- (BOOL)prefersStatusBarHidden {
return YES;
}
// Controls the application's preferred home indicator auto-hiding when this view controller is shown.
- (BOOL)prefersHomeIndicatorAutoHidden {
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.
}
@end
//
// SDKWrapper.h
// polish_project-mobile
//
// Created by 杨欣 on 2018/10/20.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface SDKWrapper : NSObject
@property(nonatomic,strong) NSString *name;
+ (instancetype)getInstance;
// iOS应用生命周期
- (void)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;
- (void)applicationDidBecomeActive:(UIApplication *)application;
- (void)applicationWillResignActive:(UIApplication *)application;
- (void)applicationDidEnterBackground:(UIApplication *)application;
- (void)applicationWillEnterForeground:(UIApplication *)application;
- (void)applicationWillTerminate:(UIApplication *)application;
@end
NS_ASSUME_NONNULL_END
//
// SDKWrapper.m
// polish_project-mobile
//
// Created by 杨欣 on 2018/10/20.
//
#import "SDKWrapper.h"
#import "SDKDelegate.h"
@interface SDKWrapper ()
@property (nonatomic, strong) NSArray *sdkClasses;
@end
@implementation SDKWrapper
#pragma mark -
#pragma mark Singleton
static SDKWrapper *mInstace = nil;
+ (instancetype)getInstance {
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
mInstace = [[super allocWithZone:NULL] init];
[mInstace initSDKWrapper];
});
return mInstace;
}
+ (id)allocWithZone:(struct _NSZone *)zone {
return [SDKWrapper getInstance];
}
+ (id)copyWithZone:(struct _NSZone *)zone {
return [SDKWrapper getInstance];
}
#pragma mark -
#pragma mark Application lifecycle
- (void)initSDKWrapper {
[self loadSDKClass];
}
- (void)loadSDKClass {
NSString *path = [NSString stringWithFormat:@"%@/project.json",
[[NSBundle mainBundle] resourcePath]];
NSData *data = [NSData dataWithContentsOfFile:path options:NSDataReadingMappedIfSafe error:nil];
id obj = [NSJSONSerialization JSONObjectWithData:data options:0 error:nil];
id dic = obj[@"serviceClassPath"];
NSLog(@"%@",dic);
NSMutableArray *sdks = [NSMutableArray array];
for (NSString *str in dic) {
@try {
NSString *className = [[str componentsSeparatedByString:@"."] lastObject];
NSLog(@"%@",className);
Class c = NSClassFromString(className);
id sdk = [[c alloc] init];
[sdks addObject:sdk];
NSLog(@"%@",sdk);
} @catch (NSException *e) {
NSLog(@"%@",@"NSException");
NSLog(@"%@",e);
}
}
self.sdkClasses = [NSArray arrayWithArray:sdks];
}
/**
app显示给用户之前执行最后的初始化操作
*/
- (void)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
for (id <SDKDelegate> sdk in self.sdkClasses) {
if ([sdk respondsToSelector:@selector(application:didFinishLaunchingWithOptions:)]) {
[sdk application:application didFinishLaunchingWithOptions:launchOptions];
}
}
}
/**
app已经切换到active状态后需要执行的操作
*/
- (void)applicationDidBecomeActive:(UIApplication *)application {
for (id sdk in self.sdkClasses) {
if ([sdk respondsToSelector:@selector(applicationDidBecomeActive:)]) {
[sdk applicationDidBecomeActive:application];
}
}
}
/**
app将要从前台切换到后台时需要执行的操作
*/
- (void)applicationWillResignActive:(UIApplication *)application {
for (id sdk in self.sdkClasses) {
if ([sdk respondsToSelector:@selector(applicationWillResignActive:)]) {
[sdk applicationWillResignActive:application];
}
}
}
/**
app已经进入后台后需要执行的操作
*/
- (void)applicationDidEnterBackground:(UIApplication *)application {
for (id sdk in self.sdkClasses) {
if ([sdk respondsToSelector:@selector(applicationDidEnterBackground:)]) {
[sdk applicationDidEnterBackground:application];
}
}
}
/**
app将要从后台切换到前台需要执行的操作,但app还不是active状态
*/
- (void)applicationWillEnterForeground:(UIApplication *)application {
for (id sdk in self.sdkClasses) {
if ([sdk respondsToSelector:@selector(applicationWillEnterForeground:)]) {
[sdk applicationWillEnterForeground:application];
}
}
}
/**
app将要结束时需要执行的操作
*/
- (void)applicationWillTerminate:(UIApplication *)application {
for (id sdk in self.sdkClasses) {
if ([sdk respondsToSelector:@selector(applicationWillTerminate:)]) {
[sdk applicationWillTerminate:application];
}
}
}
@end
// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974
#include "D:\CocosCreator_2.2.0\resources\cocos2d-x/cocos/platform/ios/CCModuleConfigIOS.debug.xcconfig"
// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974
#include "D:\CocosCreator_2.2.0\resources\cocos2d-x/cocos/platform/ios/CCModuleConfigIOS.release.xcconfig"
#import <UIKit/UIKit.h>
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, @"AppController");
[pool release];
return retVal;
}
//
// SDKWrapperDelegate.h
// polish_project-mobile
//
// Created by 杨欣 on 2018/10/22.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@protocol SDKDelegate <NSObject>
@optional
- (void) optionalFunction;
- (void)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;
- (void)applicationDidBecomeActive:(UIApplication *)application;
- (void)applicationWillResignActive:(UIApplication *)application;
- (void)applicationDidEnterBackground:(UIApplication *)application;
- (void)applicationWillEnterForeground:(UIApplication *)application;
- (void)applicationWillTerminate:(UIApplication *)application;
@end
NS_ASSUME_NONNULL_END
/*
Localizable.strings
*/
"done" = "完成";
"next" = "下一个";
"search" = "搜索";
"go" = "前往";
"send" = "发送";
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string>Icon</string>
<key>CFBundleIdentifier</key>
<string>com.topdraw.forfun_FJYD</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.games</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2013. All rights reserved.</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
</dict>
</plist>
//
// Prefix header for all source files of the 'Paralaxer' target in the 'Paralaxer' project
//
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif
// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974
#include "D:\CocosCreator_2.2.0\resources\cocos2d-x/cocos/platform/mac/CCModuleConfigMac.debug.xcconfig"
// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974
#include "D:\CocosCreator_2.2.0\resources\cocos2d-x/cocos/platform/mac/CCModuleConfigMac.release.xcconfig"
/****************************************************************************
Copyright (c) 2010 cocos2d-x.org
Copyright (c) 2013-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
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"
int main(int argc, char *argv[])
{
AppDelegate app(960, 640);
app.start();
return 0;
}
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
window.boot = function () {
var settings = window._CCSettings;
window._CCSettings = undefined;
if ( !settings.debug ) {
var uuids = settings.uuids;
var rawAssets = settings.rawAssets;
var assetTypes = settings.assetTypes;
var realRawAssets = settings.rawAssets = {};
for (var mount in rawAssets) {
var entries = rawAssets[mount];
var realEntries = realRawAssets[mount] = {};
for (var id in entries) {
var entry = entries[id];
var type = entry[1];
// retrieve minified raw asset
if (typeof type === 'number') {
entry[1] = assetTypes[type];
}
// retrieve uuid
realEntries[uuids[id] || id] = entry;
}
}
var scenes = settings.scenes;
for (var i = 0; i < scenes.length; ++i) {
var scene = scenes[i];
if (typeof scene.uuid === 'number') {
scene.uuid = uuids[scene.uuid];
}
}
var packedAssets = settings.packedAssets;
for (var packId in packedAssets) {
var packedIds = packedAssets[packId];
for (var j = 0; j < packedIds.length; ++j) {
if (typeof packedIds[j] === 'number') {
packedIds[j] = uuids[packedIds[j]];
}
}
}
var subpackages = settings.subpackages;
for (var subId in subpackages) {
var uuidArray = subpackages[subId].uuids;
if (uuidArray) {
for (var k = 0, l = uuidArray.length; k < l; k++) {
if (typeof uuidArray[k] === 'number') {
uuidArray[k] = uuids[uuidArray[k]];
}
}
}
}
}
function setLoadingDisplay () {
// Loading splash scene
var splash = document.getElementById('splash');
var progressBar = splash.querySelector('.progress-bar span');
cc.loader.onProgress = function (completedCount, totalCount, item) {
var percent = 100 * completedCount / totalCount;
if (progressBar) {
progressBar.style.width = percent.toFixed(2) + '%';
}
};
splash.style.display = 'block';
progressBar.style.width = '0%';
cc.director.once(cc.Director.EVENT_AFTER_SCENE_LAUNCH, function () {
splash.style.display = 'none';
});
}
var onStart = function () {
cc.loader.downloader._subpackages = settings.subpackages;
cc.view.enableRetina(true);
cc.view.resizeWithBrowserSize(true);
if (cc.sys.isBrowser) {
setLoadingDisplay();
}
if (cc.sys.isMobile) {
if (settings.orientation === 'landscape') {
cc.view.setOrientation(cc.macro.ORIENTATION_LANDSCAPE);
}
else if (settings.orientation === 'portrait') {
cc.view.setOrientation(cc.macro.ORIENTATION_PORTRAIT);
}
cc.view.enableAutoFullScreen([
cc.sys.BROWSER_TYPE_BAIDU,
cc.sys.BROWSER_TYPE_WECHAT,
cc.sys.BROWSER_TYPE_MOBILE_QQ,
cc.sys.BROWSER_TYPE_MIUI,
].indexOf(cc.sys.browserType) < 0);
}
// Limit downloading max concurrent task to 2,
// more tasks simultaneously may cause performance draw back on some android system / browsers.
// You can adjust the number based on your own test result, you have to set it before any loading process to take effect.
if (cc.sys.isBrowser && cc.sys.os === cc.sys.OS_ANDROID) {
cc.macro.DOWNLOAD_MAX_CONCURRENT = 2;
}
function loadScene(launchScene) {
cc.director.loadScene(launchScene,
function (err) {
if (!err) {
if (cc.sys.isBrowser) {
// show canvas
var canvas = document.getElementById('GameCanvas');
canvas.style.visibility = '';
var div = document.getElementById('GameDiv');
if (div) {
div.style.backgroundImage = '';
}
}
cc.loader.onProgress = null;
console.log('Success to load scene: ' + launchScene);
}
else if (CC_BUILD) {
setTimeout(function () {
loadScene(launchScene);
}, 1000);
}
}
);
}
var launchScene = settings.launchScene;
// load scene
loadScene(launchScene);
};
// jsList
var jsList = settings.jsList;
var bundledScript = settings.debug ? 'src/project.dev.js' : 'src/project.js';
if (jsList) {
jsList = jsList.map(function (x) {
return 'src/' + x;
});
jsList.push(bundledScript);
}
else {
jsList = [bundledScript];
}
var option = {
id: 'GameCanvas',
scenes: settings.scenes,
debugMode: settings.debug ? cc.debug.DebugMode.INFO : cc.debug.DebugMode.ERROR,
showFPS: settings.debug,
frameRate: 60,
jsList: jsList,
groupList: settings.groupList,
collisionMatrix: settings.collisionMatrix,
};
// init assets
cc.AssetLibrary.init({
libraryPath: 'res/import',
rawAssetsBase: 'res/raw-',
rawAssets: settings.rawAssets,
packedAssets: settings.packedAssets,
md5AssetsMap: settings.md5AssetsMap,
subpackages: settings.subpackages
});
cc.game.run(option, onStart);
};
if (window.jsb) {
var isRuntime = (typeof loadRuntime === 'function');
if (isRuntime) {
require('src/settings.js');
require('src/cocos2d-runtime.js');
require('jsb-adapter/engine/index.js');
}
else {
require('src/settings.js');
require('src/cocos2d-jsb.js');
require('jsb-adapter/jsb-engine.js');
}
cc.macro.CLEANUP_IMAGE_CACHE = true;
window.boot();
}
\ No newline at end of file
{
"project_type": "javascript",
"debugMode" : 1,
"showFPS" : true,
"frameRate" : 60,
"id" : "gameCanvas",
"renderMode" : 0,
"engineDir":"frameworks/cocos2d-html5",
"modules" : ["cocos2d"],
"jsList" : [
"src/resource.js",
"src/app.js"
]
}
[[{"__type__":"cc.Prefab","_name":"pfbMainViewPagerLabelCell","data":{"__id__":1}},{"__type__":"cc.Node","_name":"pfbMainViewPagerLabelCell","_children":[{"__id__":2},{"__id__":4},{"__id__":18}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":1},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"75Lrz7AiFNqJBcmIMzqZgc"},"_sizeMode":0},{"__type__":"cc.Widget","node":{"__id__":1},"_alignFlags":9,"_top":676},{"__type__":"ddaa0OcbRlKTaPmX8APrKbF","node":{"__id__":1},"title":{"__id__":3},"selectTitle":{"__id__":6},"activeName1":{"__id__":12},"activeName2":{"__id__":14},"normalName":{"__id__":17},"afterTitle":{"__id__":20},"afterName":{"__id__":22}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"0a9RUq44VFPqfIUZoRRXbR"},"fileId":"f3FKYd7SJEvrs4s48MPI1G"},"_contentSize":{"__type__":"cc.Size","width":294,"height":88},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[147,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Title","_parent":{"__id__":1},"_components":[{"__id__":3},{"__type__":"cc.Widget","node":{"__id__":2},"alignMode":2,"_alignFlags":8,"_left":24,"_top":24.1}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"0a9RUq44VFPqfIUZoRRXbR"},"fileId":"80Sygu+GJGCIcTzVsmIjEi"},"_contentSize":{"__type__":"cc.Size","width":53.83,"height":37.8},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[-96.08499908447266,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Label","node":{"__id__":2},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"Label","_N$string":"Label","_fontSize":22,"_lineHeight":30,"_N$verticalAlign":1},{"__type__":"cc.Node","_name":"Select","_parent":{"__id__":1},"_children":[{"__id__":5},{"__id__":7}],"_active":false,"_components":[{"__type__":"cc.Sprite","node":{"__id__":4},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a5IJ584H9OUphf2x2Tb4dz"},"_sizeMode":0}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"0a9RUq44VFPqfIUZoRRXbR"},"fileId":"a5s+yVdB5CZq0o1BOt9eDs"},"_contentSize":{"__type__":"cc.Size","width":294,"height":88},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Title","_parent":{"__id__":4},"_components":[{"__id__":6},{"__type__":"cc.Widget","node":{"__id__":5},"_target":{"__id__":1},"_alignFlags":9,"_left":24,"_top":15}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"0a9RUq44VFPqfIUZoRRXbR"},"fileId":"cfwbjwkPBOJJHFvKkhNumw"},"_color":{"__type__":"cc.Color","r":77,"g":11,"b":2},"_contentSize":{"__type__":"cc.Size","width":200,"height":30},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[-23,14,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Label","node":{"__id__":5},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"脑力训练","_N$string":"脑力训练","_fontSize":22,"_lineHeight":30,"_N$verticalAlign":1,"_N$overflow":1},{"__type__":"cc.Node","_name":"Name","_parent":{"__id__":4},"_children":[{"__id__":8},{"__id__":15}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":7},"_sizeMode":0},{"__type__":"cc.Widget","node":{"__id__":7},"_alignFlags":12,"_top":16,"_originalHeight":30}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"0a9RUq44VFPqfIUZoRRXbR"},"fileId":"c6YqwqaFBIM5kk7bF7uxFH"},"_contentSize":{"__type__":"cc.Size","width":294,"height":88},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"ActiveName","_parent":{"__id__":7},"_children":[{"__id__":9}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"0a9RUq44VFPqfIUZoRRXbR"},"fileId":"63dLbLnFpC6KYUCGm2Pnge"},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NameContainer","_parent":{"__id__":8},"_children":[{"__id__":10}],"_components":[{"__type__":"cc.Mask","node":{"__id__":9},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}]}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"0a9RUq44VFPqfIUZoRRXbR"},"fileId":"c1ify9XstJS4qh4GjcDTLI"},"_opacity":0,"_contentSize":{"__type__":"cc.Size","width":294,"height":88},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NameText","_parent":{"__id__":9},"_children":[{"__id__":11},{"__id__":13}],"_components":[{"__type__":"cc.Widget","node":{"__id__":10},"_alignFlags":12,"_left":24,"_top":51,"_bottom":15}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"0a9RUq44VFPqfIUZoRRXbR"},"fileId":"a2tvLwlcdLnZpswqmyk9Ur"},"_contentSize":{"__type__":"cc.Size","width":294,"height":22},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[24,-18,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NameText1","_parent":{"__id__":10},"_components":[{"__id__":12},{"__type__":"cc.Widget","node":{"__id__":11},"_alignFlags":8}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"0a9RUq44VFPqfIUZoRRXbR"},"fileId":"6bdUlupgFB/Z65mxTnlFFh"},"_color":{"__type__":"cc.Color","r":77,"g":11,"b":2},"_contentSize":{"__type__":"cc.Size","width":61.34,"height":27.72},"_anchorPoint":{"__type__":"cc.Vec2","y":0.5},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[-147,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Label","node":{"__id__":11},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"载入中...","_N$string":"载入中...","_fontSize":16,"_lineHeight":22,"_N$verticalAlign":1},{"__type__":"cc.Node","_name":"NameText2","_parent":{"__id__":10},"_components":[{"__id__":14},{"__type__":"cc.Widget","node":{"__id__":13},"_alignFlags":8}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"0a9RUq44VFPqfIUZoRRXbR"},"fileId":"54JsaXchxMkqijK/3Oadxy"},"_color":{"__type__":"cc.Color","r":77,"g":11,"b":2},"_contentSize":{"__type__":"cc.Size","width":61.34,"height":27.72},"_anchorPoint":{"__type__":"cc.Vec2","y":0.5},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[-147,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Label","node":{"__id__":13},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"载入中...","_N$string":"载入中...","_fontSize":16,"_lineHeight":22,"_N$horizontalAlign":1,"_N$verticalAlign":1},{"__type__":"cc.Node","_name":"NormalName","_parent":{"__id__":7},"_children":[{"__id__":16}],"_components":[{"__type__":"cc.Mask","node":{"__id__":15},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}]},{"__type__":"cc.Widget","node":{"__id__":15},"_alignFlags":12,"_left":24,"_top":51,"_bottom":15}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"0a9RUq44VFPqfIUZoRRXbR"},"fileId":"96lLDsWjhAwr20CIOjsYYU"},"_contentSize":{"__type__":"cc.Size","width":294,"height":22},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[24,-18,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"MidName","_parent":{"__id__":15},"_components":[{"__id__":17},{"__type__":"cc.Widget","node":{"__id__":16},"_alignFlags":9}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"0a9RUq44VFPqfIUZoRRXbR"},"fileId":"d5TIlS8rtMSpdeEfju/j3P"},"_color":{"__type__":"cc.Color","r":77,"g":11,"b":2},"_contentSize":{"__type__":"cc.Size","width":250,"height":22},"_anchorPoint":{"__type__":"cc.Vec2","y":0.5},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[-147,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Label","node":{"__id__":16},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"游戏名称","_N$string":"游戏名称","_fontSize":16,"_lineHeight":22,"_N$verticalAlign":1,"_N$overflow":1},{"__type__":"cc.Node","_name":"AfterSelect","_parent":{"__id__":1},"_children":[{"__id__":19},{"__id__":21}],"_active":false,"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"0a9RUq44VFPqfIUZoRRXbR"},"fileId":"35NcntWE5N2aCO9qG/k+k5"},"_contentSize":{"__type__":"cc.Size","width":294,"height":88},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Title","_parent":{"__id__":18},"_components":[{"__id__":20},{"__type__":"cc.Widget","node":{"__id__":19},"_alignFlags":9,"_left":24,"_top":15}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"0a9RUq44VFPqfIUZoRRXbR"},"fileId":"ffBfaUHWBM2JbCf30t1Wau"},"_color":{"__type__":"cc.Color","r":255,"g":209,"b":89},"_contentSize":{"__type__":"cc.Size","width":200,"height":30},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[-23,14,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Label","node":{"__id__":19},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"墨宝脑力","_N$string":"墨宝脑力","_fontSize":22,"_lineHeight":30,"_N$verticalAlign":1,"_N$overflow":1},{"__type__":"cc.Node","_name":"Name","_parent":{"__id__":18},"_components":[{"__id__":22},{"__type__":"cc.Widget","node":{"__id__":21},"_alignFlags":9,"_left":24,"_top":51}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"0a9RUq44VFPqfIUZoRRXbR"},"fileId":"2eqHGH4epPfbG0dxOFLF7g"},"_color":{"__type__":"cc.Color","r":255,"g":209,"b":89},"_contentSize":{"__type__":"cc.Size","width":240,"height":22},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[-3,-18,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Label","node":{"__id__":21},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"Label","_N$string":"Label","_fontSize":16,"_lineHeight":22,"_N$verticalAlign":1,"_N$overflow":1}],{"__type__":"cc.SpriteFrame","content":{"name":"icon_shadow","texture":"ebRnSGI9xFi7cRDbkJzucS","rect":[1,1,294,86],"offset":[0.5,-0.5],"originalSize":[295,87],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"block1_shadow2","texture":"000fwWHVVN3Yqv2go0FkYW","rect":[0,0,321,97],"offset":[0,0],"originalSize":[321,97],"capInsets":[0,0,0,0]}}]
\ No newline at end of file
{"__type__":"cc.AnimationClip","_name":"prifileRotation","_duration":2.5,"speed":0.1,"wrapMode":2,"curveData":{"props":{"angle":[{"frame":0,"value":0},{"frame":0.8333333333333334,"value":-120},{"frame":1.6666666666666667,"value":-240},{"frame":2.5,"value":-360}]}}}
\ No newline at end of file
[{"__type__":"cc.AnimationClip","_name":"loadingRotate","_duration":1,"sample":4,"wrapMode":2,"curveData":{"comps":{"cc.Sprite":{"spriteFrame":[{"frame":0,"value":{"__uuid__":"8bFDOjKGpGvpE698lS6ueJ"}},{"frame":0.25,"value":{"__uuid__":"8bFDOjKGpGvpE698lS6ueJ"}},{"frame":0.5,"value":{"__uuid__":"8bFDOjKGpGvpE698lS6ueJ"}},{"frame":0.75,"value":{"__uuid__":"8bFDOjKGpGvpE698lS6ueJ"}}]}},"props":{"angle":[{"frame":0,"value":0},{"frame":1,"value":-360}]}}},{"__type__":"cc.SpriteFrame","content":{"name":"icon_loading_rotate","texture":"59Egc24phMKKilqp2rm5Rk","rect":[0,0,70,70],"offset":[0,0],"originalSize":[70,70],"capInsets":[0,0,0,0]}}]
\ No newline at end of file
[{"__type__":"cc.SpriteFrame","content":{"name":"icon_bg","texture":"63CRzczvFPMbtLhCeADjcI","rect":[0,0,1334,750],"offset":[0,0],"originalSize":[1334,750],"capInsets":[0,0,0,0]}},[{"__type__":"cc.SceneAsset","_name":"sceneGameLoading","scene":{"__id__":1},"asyncLoadAssets":null},{"__type__":"cc.Scene","_name":"New Node","_children":[{"__id__":2}],"_anchorPoint":{"__type__":"cc.Vec2"},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]},"autoReleaseAssets":true},{"__type__":"cc.Node","_name":"Canvas","_parent":{"__id__":1},"_children":[{"__id__":3},{"__id__":4},{"__id__":5},{"__id__":6},{"__id__":7}],"_components":[{"__type__":"cc.Canvas","node":{"__id__":2},"_designResolution":{"__type__":"cc.Size","width":1280,"height":720}},{"__type__":"2ee90+mNnZHQ5BGXwJpMTJD","node":{"__id__":2}}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":720},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[640,360,0,0,0,0,1,1,1,1]},"_id":"c3fxceAoBAyI+PS2sFC2+R"},{"__type__":"cc.Node","_name":"Main Camera","_parent":{"__id__":2},"_components":[{"__type__":"cc.Camera","node":{"__id__":3},"_clearFlags":7,"_depth":-1}],"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,265.0037841796875,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Bg","_parent":{"__id__":2},"_components":[{"__type__":"cc.Sprite","node":{"__id__":4},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"0dCqi+jMpKR4BcF2S58hmB"},"_sizeMode":0}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":720},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"New Label","_parent":{"__id__":2},"_components":[{"__type__":"cc.Label","node":{"__id__":5},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"游戏资源加载中......","_N$string":"游戏资源加载中......","_fontSize":26,"_lineHeight":26,"_N$horizontalAlign":1,"_N$verticalAlign":1},{"__type__":"cc.Widget","node":{"__id__":5},"_alignFlags":9,"_left":490,"_top":537}],"_contentSize":{"__type__":"cc.Size","width":225.34,"height":32.76},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[-37.33000183105469,-193.3800048828125,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"ProgressLabel","_parent":{"__id__":2},"_components":[{"__type__":"cc.Label","node":{"__id__":6},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"0%","_N$string":"0%","_fontSize":26,"_lineHeight":26,"_N$verticalAlign":1,"_N$overflow":1}],"_contentSize":{"__type__":"cc.Size","width":66.5,"height":32.76},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[113.55899810791016,-193,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"ProgressBar","_parent":{"__id__":2},"_children":[{"__id__":8}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":7},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"19eszFhnhJ6K5aMi0yRWZE"},"_type":1},{"__type__":"cc.ProgressBar","node":{"__id__":7},"_N$totalLength":300,"_N$barSprite":{"__id__":9},"_N$progress":0.5},{"__type__":"cc.Widget","node":{"__id__":7},"_alignFlags":1,"_top":577}],"_contentSize":{"__type__":"cc.Size","width":657,"height":29},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,-231.5,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bar","_parent":{"__id__":7},"_components":[{"__id__":9},{"__type__":"cc.Widget","node":{"__id__":8},"alignMode":2,"_alignFlags":8,"_left":3}],"_contentSize":{"__type__":"cc.Size","height":24},"_anchorPoint":{"__type__":"cc.Vec2","y":0.5},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[-325.5,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Sprite","node":{"__id__":8},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"18zTIIw9JINJGjZ5xltadC"},"_type":1,"_sizeMode":0}],{"__type__":"cc.SpriteFrame","content":{"name":"progress_bar","texture":"a6Hl1tfVdJwbkmCepWOhhO","rect":[6,5,434,24],"offset":[0.5,0],"originalSize":[445,34],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"progress_bg","texture":"1d0Iyil2lLQ7AAH75R3DWw","rect":[1,3,657,29],"offset":[-0.5,-0.5],"originalSize":[660,34],"capInsets":[0,0,0,0]}}]
\ No newline at end of file
[[{"__type__":"cc.Prefab","_name":"pfbGameDetailListCell","data":{"__id__":1}},{"__type__":"cc.Node","_name":"pfbGameDtailListCell","_children":[{"__id__":2},{"__id__":3}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"35VdTTDuZHu5A5O7RKq4mi"},"fileId":"5bPJVCs69Iprc19tmQ33CI"},"_contentSize":{"__type__":"cc.Size","width":172,"height":169},"_position":{"__type__":"cc.Vec3"},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Pic","_parent":{"__id__":1},"_components":[{"__type__":"cc.Sprite","node":{"__id__":2},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_sizeMode":0}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"35VdTTDuZHu5A5O7RKq4mi"},"fileId":"9dK5JH1NJC3oacXNVa4k5S"},"_contentSize":{"__type__":"cc.Size","width":172,"height":129},"_position":{"__type__":"cc.Vec3"},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,20,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Name","_parent":{"__id__":1},"_children":[{"__id__":4},{"__id__":5},{"__id__":10}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":3},"_sizeMode":0},{"__type__":"cc.Widget","node":{"__id__":3},"alignMode":2,"_alignFlags":44,"_originalWidth":172}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"35VdTTDuZHu5A5O7RKq4mi"},"fileId":"867z1GhthIoau4v+uLMyff"},"_contentSize":{"__type__":"cc.Size","width":172,"height":40},"_position":{"__type__":"cc.Vec3","y":-93.5},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,-64.5,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NameBg","_parent":{"__id__":3},"_components":[{"__type__":"cc.Sprite","node":{"__id__":4},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a2MjXRFdtLlYQ5ouAFv/+R"},"_sizeMode":0}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"35VdTTDuZHu5A5O7RKq4mi"},"fileId":"e4cK2zE+JC7ae8ZQFEJz32"},"_opacity":100,"_color":{"__type__":"cc.Color"},"_contentSize":{"__type__":"cc.Size","width":172,"height":40},"_position":{"__type__":"cc.Vec3"},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"ActiveName","_parent":{"__id__":3},"_children":[{"__id__":6}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"35VdTTDuZHu5A5O7RKq4mi"},"fileId":"ddeTkPUx5EPZw3Q8lGgvCJ"},"_position":{"__type__":"cc.Vec3"},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NameContainer","_parent":{"__id__":5},"_children":[{"__id__":7}],"_components":[{"__type__":"cc.Widget","node":{"__id__":6},"_alignFlags":8},{"__type__":"cc.Mask","node":{"__id__":6},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}]}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"35VdTTDuZHu5A5O7RKq4mi"},"fileId":"d6xC6FentGb7BCjPocRJwt"},"_opacity":0,"_contentSize":{"__type__":"cc.Size","width":150,"height":40},"_position":{"__type__":"cc.Vec3","x":-20},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[75,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NameText","_parent":{"__id__":6},"_children":[{"__id__":8},{"__id__":9}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"35VdTTDuZHu5A5O7RKq4mi"},"fileId":"34duGeJORO4rb45/fNdAGS"},"_contentSize":{"__type__":"cc.Size","width":150,"height":40},"_position":{"__type__":"cc.Vec3"},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NameText1","_parent":{"__id__":7},"_components":[{"__type__":"cc.Label","node":{"__id__":8},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"载入中...","_N$string":"载入中...","_fontSize":22,"_lineHeight":30,"_N$horizontalAlign":1,"_N$verticalAlign":1},{"__type__":"cc.Widget","node":{"__id__":8},"_alignFlags":8}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"35VdTTDuZHu5A5O7RKq4mi"},"fileId":"b4q8tyJ/ZPTZr35YH8vBrp"},"_contentSize":{"__type__":"cc.Size","width":84.34,"height":37.8},"_anchorPoint":{"__type__":"cc.Vec2","y":0.5},"_position":{"__type__":"cc.Vec3","x":-65},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[-75,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NameText2","_parent":{"__id__":7},"_components":[{"__type__":"cc.Label","node":{"__id__":9},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"载入中...","_N$string":"载入中...","_fontSize":22,"_lineHeight":30,"_N$horizontalAlign":1,"_N$verticalAlign":1},{"__type__":"cc.Widget","node":{"__id__":9},"_alignFlags":8}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"35VdTTDuZHu5A5O7RKq4mi"},"fileId":"17km0S5D9CV4oGlF28DSWI"},"_contentSize":{"__type__":"cc.Size","width":84.34,"height":37.8},"_anchorPoint":{"__type__":"cc.Vec2","y":0.5},"_position":{"__type__":"cc.Vec3","x":-65},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[-75,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NormalName","_parent":{"__id__":3},"_children":[{"__id__":11}],"_components":[{"__type__":"cc.Mask","node":{"__id__":10},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}]}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"35VdTTDuZHu5A5O7RKq4mi"},"fileId":"17gTbNQFdAWIiIzqVQONs0"},"_contentSize":{"__type__":"cc.Size","width":150,"height":40},"_position":{"__type__":"cc.Vec3","x":-20},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"MidName","_parent":{"__id__":10},"_components":[{"__type__":"cc.Label","node":{"__id__":11},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"帝国守护者","_N$string":"帝国守护者","_fontSize":22,"_lineHeight":30,"_N$horizontalAlign":1,"_N$verticalAlign":1},{"__type__":"cc.Widget","node":{"__id__":11},"_alignFlags":8}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"35VdTTDuZHu5A5O7RKq4mi"},"fileId":"adroC/09ZE/6jsRIdXZU0N"},"_contentSize":{"__type__":"cc.Size","width":110,"height":37.8},"_anchorPoint":{"__type__":"cc.Vec2","y":0.5},"_position":{"__type__":"cc.Vec3","x":-65},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[-75,0,0,0,0,0,1,1,1,1]}}],{"__type__":"cc.SpriteFrame","content":{"name":"default_sprite_splash","texture":"02delMVqdBD70a/HSD99FK","rect":[0,0,2,2],"offset":[0,0],"originalSize":[2,2],"capInsets":[0,0,0,0]}}]
\ No newline at end of file
[[{"__type__":"cc.Prefab","_name":"pfbMainHighScoreCell","data":{"__id__":1}},{"__type__":"cc.Node","_name":"pfbMainHighScoreCell","_children":[{"__id__":2},{"__id__":4},{"__id__":6},{"__id__":10}],"_components":[{"__type__":"06f47yWhhJAgqsaJZK35KEx","node":{"__id__":1},"pic":{"__id__":3},"mark":{"__id__":5},"activeName1":{"__id__":16},"activeName2":{"__id__":18},"normalName":{"__id__":21},"Name":{"__id__":9}},{"__type__":"cc.Widget","node":{"__id__":1},"_alignFlags":9,"_left":-86,"_top":586}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"94S8KCjZVDU4MlTe/TOKhg"},"fileId":"5bPJVCs69Iprc19tmQ33CI"},"_contentSize":{"__type__":"cc.Size","width":172,"height":268},"_position":{"__type__":"cc.Vec3"},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Pic","_parent":{"__id__":1},"_components":[{"__id__":3},{"__type__":"cc.Widget","node":{"__id__":2},"_alignFlags":1}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"94S8KCjZVDU4MlTe/TOKhg"},"fileId":"9dK5JH1NJC3oacXNVa4k5S"},"_contentSize":{"__type__":"cc.Size","width":172,"height":228},"_position":{"__type__":"cc.Vec3"},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,20,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Sprite","node":{"__id__":2},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_sizeMode":0},{"__type__":"cc.Node","_name":"Mark","_parent":{"__id__":1},"_components":[{"__id__":5},{"__type__":"cc.Widget","node":{"__id__":4},"_alignFlags":9,"_left":8,"_top":-3}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"94S8KCjZVDU4MlTe/TOKhg"},"fileId":"3c+bNdBfdEe6C09Qw4EBms"},"_contentSize":{"__type__":"cc.Size","width":40,"height":36},"_anchorPoint":{"__type__":"cc.Vec2","y":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[-78,137,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Sprite","node":{"__id__":4},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}]},{"__type__":"cc.Node","_name":"Normal","_parent":{"__id__":1},"_children":[{"__id__":7},{"__id__":8}],"_active":false,"_components":[{"__type__":"cc.Mask","node":{"__id__":6},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}]},{"__type__":"cc.Widget","node":{"__id__":6},"_alignFlags":4}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"94S8KCjZVDU4MlTe/TOKhg"},"fileId":"69QqufpuBN4LlsPULNuAMD"},"_contentSize":{"__type__":"cc.Size","width":172,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,-114,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"New Sprite(Splash)","_parent":{"__id__":6},"_components":[{"__type__":"cc.Sprite","node":{"__id__":7},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a2MjXRFdtLlYQ5ouAFv/+R"},"_sizeMode":0}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"94S8KCjZVDU4MlTe/TOKhg"},"fileId":"54rS8a+ixPK7y0SlSk8vBe"},"_opacity":25,"_contentSize":{"__type__":"cc.Size","width":172,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Name","_parent":{"__id__":6},"_components":[{"__id__":9},{"__type__":"cc.Widget","node":{"__id__":8},"_left":10,"_right":47.665,"_originalWidth":76.67}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"94S8KCjZVDU4MlTe/TOKhg"},"fileId":"a1EsZEt7pBVa7KtyZOT4Pw"},"_contentSize":{"__type__":"cc.Size","width":76.67,"height":35.28},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Label","node":{"__id__":8},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"载入中...","_N$string":"载入中...","_fontSize":20,"_lineHeight":28,"_N$horizontalAlign":1,"_N$verticalAlign":1},{"__type__":"cc.Node","_name":"Name","_parent":{"__id__":1},"_children":[{"__id__":11},{"__id__":12},{"__id__":19}],"_active":false,"_components":[{"__type__":"cc.Sprite","node":{"__id__":10},"_sizeMode":0},{"__type__":"cc.Widget","node":{"__id__":10},"_alignFlags":4,"_top":114,"_originalHeight":40}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"94S8KCjZVDU4MlTe/TOKhg"},"fileId":"867z1GhthIoau4v+uLMyff"},"_contentSize":{"__type__":"cc.Size","width":172,"height":40},"_position":{"__type__":"cc.Vec3","y":-93.5},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,-114,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NameBg","_parent":{"__id__":10},"_components":[{"__type__":"cc.Sprite","node":{"__id__":11},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a2MjXRFdtLlYQ5ouAFv/+R"},"_sizeMode":0}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"94S8KCjZVDU4MlTe/TOKhg"},"fileId":"e4cK2zE+JC7ae8ZQFEJz32"},"_contentSize":{"__type__":"cc.Size","width":172,"height":40},"_position":{"__type__":"cc.Vec3"},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"ActiveName","_parent":{"__id__":10},"_children":[{"__id__":13}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"94S8KCjZVDU4MlTe/TOKhg"},"fileId":"ddeTkPUx5EPZw3Q8lGgvCJ"},"_contentSize":{"__type__":"cc.Size","width":172,"height":40},"_position":{"__type__":"cc.Vec3"},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NameContainer","_parent":{"__id__":12},"_children":[{"__id__":14}],"_components":[{"__type__":"cc.Mask","node":{"__id__":13},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}]}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"94S8KCjZVDU4MlTe/TOKhg"},"fileId":"d6xC6FentGb7BCjPocRJwt"},"_opacity":0,"_contentSize":{"__type__":"cc.Size","width":172,"height":40},"_position":{"__type__":"cc.Vec3","x":-20},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NameText","_parent":{"__id__":13},"_children":[{"__id__":15},{"__id__":17}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"94S8KCjZVDU4MlTe/TOKhg"},"fileId":"34duGeJORO4rb45/fNdAGS"},"_contentSize":{"__type__":"cc.Size","width":172,"height":40},"_position":{"__type__":"cc.Vec3"},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NameText1","_parent":{"__id__":14},"_components":[{"__id__":16}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"94S8KCjZVDU4MlTe/TOKhg"},"fileId":"b4q8tyJ/ZPTZr35YH8vBrp"},"_color":{"__type__":"cc.Color"},"_contentSize":{"__type__":"cc.Size","width":76.67,"height":35.28},"_position":{"__type__":"cc.Vec3","x":-65},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Label","node":{"__id__":15},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"载入中...","_N$string":"载入中...","_fontSize":20,"_lineHeight":28,"_N$horizontalAlign":1,"_N$verticalAlign":1},{"__type__":"cc.Node","_name":"NameText2","_parent":{"__id__":14},"_components":[{"__id__":18}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"94S8KCjZVDU4MlTe/TOKhg"},"fileId":"17km0S5D9CV4oGlF28DSWI"},"_color":{"__type__":"cc.Color"},"_contentSize":{"__type__":"cc.Size","width":76.67,"height":35.28},"_position":{"__type__":"cc.Vec3","x":-65},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Label","node":{"__id__":17},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"载入中...","_N$string":"载入中...","_fontSize":20,"_lineHeight":28,"_N$horizontalAlign":1,"_N$verticalAlign":1},{"__type__":"cc.Node","_name":"NormalName","_parent":{"__id__":10},"_children":[{"__id__":20}],"_components":[{"__type__":"cc.Mask","node":{"__id__":19},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}]},{"__type__":"cc.Widget","node":{"__id__":19},"_alignFlags":4}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"94S8KCjZVDU4MlTe/TOKhg"},"fileId":"17gTbNQFdAWIiIzqVQONs0"},"_contentSize":{"__type__":"cc.Size","width":172,"height":40},"_position":{"__type__":"cc.Vec3","x":-20},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"MidName","_parent":{"__id__":19},"_components":[{"__id__":21}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"94S8KCjZVDU4MlTe/TOKhg"},"fileId":"adroC/09ZE/6jsRIdXZU0N"},"_color":{"__type__":"cc.Color"},"_contentSize":{"__type__":"cc.Size","width":76.67,"height":35.28},"_position":{"__type__":"cc.Vec3","x":-65},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Label","node":{"__id__":20},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"载入中...","_N$string":"载入中...","_fontSize":20,"_lineHeight":28,"_N$horizontalAlign":1,"_N$verticalAlign":1}],{"__type__":"cc.SpriteFrame","content":{"name":"default_sprite_splash","texture":"02delMVqdBD70a/HSD99FK","rect":[0,0,2,2],"offset":[0,0],"originalSize":[2,2],"capInsets":[0,0,0,0]}}]
\ No newline at end of file
{"type":"cc.Texture2D","data":"0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|1,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|1,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|1,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|1,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1"}
\ No newline at end of file
{"__type__":"cc.SpriteFrame","content":{"name":"song_cell_bg_367_50","texture":"59zx4dDD1NObbeUCyL9BmX","rect":[0,0,367,50],"offset":[0,0],"originalSize":[367,50],"capInsets":[0,0,0,0]}}
\ No newline at end of file
{"__type__":"cc.SpriteFrame","content":{"name":"icon5","texture":"47Q4F+P/1DJoTBq5VnDU7O","rect":[0,0,172,129],"offset":[0,0],"originalSize":[172,129],"capInsets":[0,0,0,0]}}
\ No newline at end of file
[{"__type__":"cc.SpriteFrame","content":{"name":"mask","texture":"83maDxUfNI7ZrcYk8FvvJa","rect":[0,0,100,100],"offset":[0,0],"originalSize":[100,100],"capInsets":[10,10,10,10]}},[{"__type__":"cc.Prefab","_name":"pfbCommonWidgetCell","data":{"__id__":1}},{"__type__":"cc.Node","_name":"pfbCommonWidgetCell","_children":[{"__id__":2},{"__id__":4}],"_components":[{"__type__":"cc.Widget","node":{"__id__":1},"_alignFlags":9,"_left":-79.5,"_top":684},{"__type__":"877de2t1m5AgbWoACdqDL4E","node":{"__id__":1},"pic":{"__id__":3}},{"__type__":"cc.Mask","node":{"__id__":1},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"17j+hae35Nj70HtVgf9BeG"},"_type":2,"_segments":190,"_N$alphaThreshold":0.4}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"57eHclJDBKw7MkwiwIw/B0"},"fileId":"f3FKYd7SJEvrs4s48MPI1G"},"_contentSize":{"__type__":"cc.Size","width":159,"height":72},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Pic","_parent":{"__id__":1},"_components":[{"__id__":3}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"57eHclJDBKw7MkwiwIw/B0"},"fileId":"cahAospA9KiZ8bJwfuwSSJ"},"_contentSize":{"__type__":"cc.Size","width":2,"height":2},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Sprite","node":{"__id__":2},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_sizeMode":0},{"__type__":"cc.Node","_name":"Name","_parent":{"__id__":1},"_children":[{"__id__":5},{"__id__":6},{"__id__":11}],"_active":false,"_components":[{"__type__":"cc.Sprite","node":{"__id__":4},"_sizeMode":0},{"__type__":"cc.Widget","node":{"__id__":4},"_alignFlags":4,"_top":16,"_bottom":-32,"_originalHeight":30}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"57eHclJDBKw7MkwiwIw/B0"},"fileId":"3cZxN5N+xLFaj2EE+8rVDx"},"_contentSize":{"__type__":"cc.Size","width":177,"height":30},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,-3,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NameBg","_parent":{"__id__":4},"_components":[{"__type__":"cc.Sprite","node":{"__id__":5},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_sizeMode":0}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"57eHclJDBKw7MkwiwIw/B0"},"fileId":"4f3cHALCNIfr19oYIAX61I"},"_contentSize":{"__type__":"cc.Size","width":177,"height":30},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"ActiveName","_parent":{"__id__":4},"_children":[{"__id__":7}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"57eHclJDBKw7MkwiwIw/B0"},"fileId":"c6qN5ao1JBxJOd7LkwMCOK"},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NameContainer","_parent":{"__id__":6},"_children":[{"__id__":8}],"_components":[{"__type__":"cc.Widget","node":{"__id__":7},"_target":{"__id__":4},"_alignFlags":8,"_left":5},{"__type__":"cc.Mask","node":{"__id__":7},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}]}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"57eHclJDBKw7MkwiwIw/B0"},"fileId":"24kSN+ttJGc4bgpKFRk1QS"},"_opacity":0,"_contentSize":{"__type__":"cc.Size","width":120,"height":30},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[-23.5,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NameText","_parent":{"__id__":7},"_children":[{"__id__":9},{"__id__":10}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"57eHclJDBKw7MkwiwIw/B0"},"fileId":"ce5H6YHSpPPrpjfWzmJpMM"},"_contentSize":{"__type__":"cc.Size","width":120,"height":30},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NameText1","_parent":{"__id__":8},"_components":[{"__type__":"cc.Label","node":{"__id__":9},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"载入中...","_N$string":"载入中...","_fontSize":18,"_lineHeight":30,"_N$horizontalAlign":1,"_N$verticalAlign":1},{"__type__":"cc.Widget","node":{"__id__":9},"_alignFlags":8}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"57eHclJDBKw7MkwiwIw/B0"},"fileId":"74y2vYQsxKI7hxIghENlG9"},"_contentSize":{"__type__":"cc.Size","width":69,"height":37.8},"_anchorPoint":{"__type__":"cc.Vec2","y":0.5},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[-60,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NameText2","_parent":{"__id__":8},"_components":[{"__type__":"cc.Label","node":{"__id__":10},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"载入中...","_N$string":"载入中...","_fontSize":18,"_lineHeight":30,"_N$horizontalAlign":1,"_N$verticalAlign":1},{"__type__":"cc.Widget","node":{"__id__":10},"_alignFlags":8}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"57eHclJDBKw7MkwiwIw/B0"},"fileId":"27nHOOIVBGcbW54vllXI5T"},"_contentSize":{"__type__":"cc.Size","width":69,"height":37.8},"_anchorPoint":{"__type__":"cc.Vec2","y":0.5},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[-60,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"NormalName","_parent":{"__id__":4},"_children":[{"__id__":12}],"_components":[{"__type__":"cc.Mask","node":{"__id__":11},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}]}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"57eHclJDBKw7MkwiwIw/B0"},"fileId":"efqvBqBehP8JhwQUzxVWiX"},"_contentSize":{"__type__":"cc.Size","width":120,"height":30},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"MidName","_parent":{"__id__":11},"_components":[{"__type__":"cc.Label","node":{"__id__":12},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"游戏名称","_N$string":"游戏名称","_fontSize":18,"_lineHeight":22,"_N$horizontalAlign":1,"_N$verticalAlign":1,"_N$overflow":1},{"__type__":"cc.Widget","node":{"__id__":12},"_alignFlags":8}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"57eHclJDBKw7MkwiwIw/B0"},"fileId":"40bfITOx9IV6/BDqAyzJtY"},"_contentSize":{"__type__":"cc.Size","width":130,"height":27.72},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}}]]
\ No newline at end of file
[{"__type__":"cc.SpriteFrame","content":{"name":"splash_white","texture":"e1hV0cyUtPpLALQzocrokk","rect":[0,0,2,2],"offset":[0,0],"originalSize":[2,2],"capInsets":[0,0,0,0]}},[{"__type__":"cc.Prefab","_name":"pfbMovieDetailNaviCell","data":{"__id__":1}},{"__type__":"cc.Node","_name":"pfbMovieDetailNaviList","_children":[{"__id__":2},{"__id__":3}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"67Qmu/IM9M0I7YYGwRfLgd"},"fileId":"57vxuAFOFCgpuupa1TzpzK"},"_contentSize":{"__type__":"cc.Size","width":110,"height":40},"_position":{"__type__":"cc.Vec3"},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Bg","_parent":{"__id__":1},"_components":[{"__type__":"cc.Sprite","node":{"__id__":2},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"04Isv50ihLY5mDTPaBkczx"},"_sizeMode":0}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"67Qmu/IM9M0I7YYGwRfLgd"},"fileId":"83vSN2W0FJGppDZW5DV4dH"},"_opacity":30,"_contentSize":{"__type__":"cc.Size","width":110,"height":42},"_position":{"__type__":"cc.Vec3"},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Text","_parent":{"__id__":1},"_components":[{"__type__":"cc.Label","node":{"__id__":3},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"1-20","_N$string":"1-20","_fontSize":24,"_lineHeight":24,"_N$horizontalAlign":1,"_N$verticalAlign":1}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"67Qmu/IM9M0I7YYGwRfLgd"},"fileId":"a8eJGo/95DHZo+KiwpT3xR"},"_contentSize":{"__type__":"cc.Size","width":48.04,"height":30.24},"_position":{"__type__":"cc.Vec3"},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}}]]
\ No newline at end of file
{"__type__":"cc.JsonAsset","_name":"detain_box","json":{"businessCode":"success","count":1,"resultSet":[{"name":"热血篮球","description":"以前酷炫造型的投篮机,只能在游戏厅里玩到,现在只需要打开热血投篮,就可以足不出户享受刺激的篮球机投篮快感,还可以跟你的家人朋友,锻炼你的身体,考验你的反应,就在热血投篮。","tvlink":"{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.basketball\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.basketball_v1.0.16_20190109_Release_22000601.apk\"}}]}","images":{"list":[{"extension":".png","enable":true,"fileUrl":"upload/image/gameDetail/热血篮球/截图1.jpg","width":274,"height":168}]}}]}}
\ No newline at end of file
{"__type__":"cc.JsonAsset","_name":"catetory_jsby_list","json":{"businessCode":"success","count":11,"currentTime":1581929128107,"description":"","resultSet":[{"name":"O宝脑力训练","tvlink":"{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.braintrain\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.braintrain_v3.0.15_bc30_20190716_Release.apk\"}}]}","package_name":"com.orbbec.braintrain","description":"O宝脑力训练简介","image":[{"extension":".png","size":100405,"enable":true,"fileUrl":"upload/image/games/o宝脑力训练270-167.jpg","width":270,"height":167}]},{"name":"O宝体能课堂","tvlink":"{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.obabyprivacy\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.obabyprivacy_v1.3.39_bc67_200221_Beta.apk\"}}]}","package_name":"com.orbbec.obabyprivacy","description":"O宝体能课堂简介","image":[{"extension":".png","size":100405,"enable":true,"fileUrl":"upload/image/games/O宝体能课堂270-167.jpg","width":270,"height":167}]},{"name":"奇幻海底","tvlink":"{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.OceanAR\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.OceanAR_v2.1.14_bc89_20190704_Release.apk\"}}]}","package_name":"com.orbbec.OceanAR","description":"奇幻海底简介","image":[{"extension":".png","size":100405,"enable":true,"fileUrl":"upload/image/games/奇幻海底270-167.jpg","width":270,"height":167}]},{"name":"O宝互动书屋","tvlink":"{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.OpelBook\",\"activityName\":\"com.orbbec.OpelBookActivity.SplashActivity\",\"downloadUrl\":\"apk/com.orbbec.OpelBook_v2.2.18_20190104_Release.apk\"}}]}","package_name":"com.orbbec.OpelBook","description":"O宝互动书屋简介","image":[{"extension":".png","size":100405,"enable":true,"fileUrl":"upload/image/games/O宝互动书屋 270-167.jpg","width":270,"height":167}]},{"name":"疯狂赛车手","tvlink":"{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.orbbec.motor\",\"activityName\":\"com.orbbec.u3d.OrbbecActivity\",\"downloadUrl\":\"apk/com.orbbec.motor_v1.2.11_20190704.apk\"}}]}","package_name":"com.orbbec.motor","description":"疯狂赛车手简介","image":[{"extension":".png","size":100405,"enable":true,"fileUrl":"upload/image/games/疯狂赛车手270-167.jpg","width":270,"height":167}]},{"name":"旋转海盗","tvlink":"{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.haidao\"}}]}","package_name":"com.topdraw.xhx.haidao","description":"旋转海盗简介","image":[{"extension":".png","size":100405,"enable":true,"fileUrl":"upload/image/games/旋转海盗270-167.png","width":270,"height":167}]},{"name":"飞檐走壁","tvlink":"{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.feiyanzoubi\"}}]}","package_name":"com.topdraw.xhx.feiyanzoubi","description":"飞檐走壁简介","image":[{"extension":".png","size":100405,"enable":true,"fileUrl":"upload/image/games/飞檐走壁270-167.png","width":270,"height":167}]},{"name":"火箭小象","tvlink":"{\"click\":[{\"action\":\"ChangeScene\",\"parameters\":{\"sceneName\":\"sceneGameDetail\",\"packageName\":\"com.topdraw.xhx.bird\"}}]}","package_name":"com.topdraw.xhx.bird","description":"火箭小象简介","image":[{"extension":".png","size":100405,"enable":true,"fileUrl":"upload/image/games/火箭小象270-167.png","width":270,"height":167}]}]}}
\ No newline at end of file
[[{"__type__":"cc.Prefab","_name":"pfbMovieDetailEpisodeCell","data":{"__id__":1}},{"__type__":"cc.Node","_name":"pfbMovieDetailEpisodeCell","_children":[{"__id__":2},{"__id__":3}],"_components":[{"__type__":"cc.Mask","node":{"__id__":1},"_materials":[null],"_type":2,"_N$alphaThreshold":0.9}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"586H+eYWNAUrY8GfhMtPnm"},"fileId":"7a0Pz/KNRLXrJA+uJ5skQo"},"_contentSize":{"__type__":"cc.Size","width":104,"height":60},"_position":{"__type__":"cc.Vec3"},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Bg","_parent":{"__id__":1},"_components":[{"__type__":"cc.Sprite","node":{"__id__":2},"_sizeMode":0,"_fillType":1}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"586H+eYWNAUrY8GfhMtPnm"},"fileId":"50cZSiLZFHJKM3NFbekCWR"},"_contentSize":{"__type__":"cc.Size","width":104,"height":60},"_position":{"__type__":"cc.Vec3"},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"EpisodeNum","_parent":{"__id__":1},"_children":[{"__id__":4},{"__id__":5}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"586H+eYWNAUrY8GfhMtPnm"},"fileId":"cfLaJVGVNIoYZDtoDIFlwz"},"_contentSize":{"__type__":"cc.Size","width":104,"height":60},"_position":{"__type__":"cc.Vec3","y":-63},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Bg","_parent":{"__id__":3},"_components":[{"__type__":"cc.Sprite","node":{"__id__":4},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a2MjXRFdtLlYQ5ouAFv/+R"},"_sizeMode":0}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"586H+eYWNAUrY8GfhMtPnm"},"fileId":"b2tz5etIhC47T7R0sRcHAZ"},"_opacity":30,"_contentSize":{"__type__":"cc.Size","width":104,"height":60},"_position":{"__type__":"cc.Vec3"},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Text","_parent":{"__id__":3},"_components":[{"__type__":"cc.Label","node":{"__id__":5},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_fontSize":24,"_lineHeight":49,"_N$horizontalAlign":1,"_N$verticalAlign":1,"_N$overflow":2}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"586H+eYWNAUrY8GfhMtPnm"},"fileId":"7aVXWJZTNOiIBm+iubUplA"},"_contentSize":{"__type__":"cc.Size","width":104,"height":49},"_position":{"__type__":"cc.Vec3"},"_scale":{"__type__":"cc.Vec3","x":1,"y":1,"z":1},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}}],{"__type__":"cc.SpriteFrame","content":{"name":"default_sprite_splash","texture":"02delMVqdBD70a/HSD99FK","rect":[0,0,2,2],"offset":[0,0],"originalSize":[2,2],"capInsets":[0,0,0,0]}}]
\ No newline at end of file
[{"__type__":"cc.SpriteFrame","content":{"name":"bg_comming_soon","texture":"advl2DuDVLRKTOqBwL0bCK","rect":[0,0,570,394],"offset":[0,0],"originalSize":[570,394],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"btn_confirm_comming_soon","texture":"b88gMcAm9LY639vB6Y2Qde","rect":[1,6,222,193],"offset":[0,-2.5],"originalSize":[224,200],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"splash_black","texture":"f0aQmppRZNHLkDhDxVdE6W","rect":[0,0,2,2],"offset":[0,0],"originalSize":[2,2],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"btn_cancel_comming_soon","texture":"de1nIRZMFOoKic3+dmTytD","rect":[1,6,222,193],"offset":[0,-2.5],"originalSize":[224,200],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"icon_comming_soon","texture":"25PU6f+txBcqT8mhezUmAI","rect":[189,14,213,149],"offset":[10.5,1.5],"originalSize":[570,180],"capInsets":[0,0,0,0]}},[{"__type__":"cc.Prefab","_name":"pfbComingSoonPrompt","data":{"__id__":1}},{"__type__":"cc.Node","_name":"pfbComingSoonPrompt","_children":[{"__id__":2},{"__id__":3}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"e57lyWPj1ETIZAv/mvHnp/"},"fileId":"2eud1EkclLMpkhGbtKWfZT"},"_contentSize":{"__type__":"cc.Size","width":1280,"height":720},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"New Sprite(Splash)","_parent":{"__id__":1},"_components":[{"__type__":"cc.Sprite","node":{"__id__":2},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a6YCK9uAtMw7EocuUyMpRZ"},"_sizeMode":0}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"e57lyWPj1ETIZAv/mvHnp/"},"fileId":"9fjeYXU3xI7LixNq0WZBZy"},"_opacity":200,"_contentSize":{"__type__":"cc.Size","width":1280,"height":720},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"PromptBox","_parent":{"__id__":1},"_children":[{"__id__":4},{"__id__":5},{"__id__":6},{"__id__":7},{"__id__":8}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":3},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"0cdY/grjdLppq5SvzMj2Re"}},{"__type__":"cc.Widget","node":{"__id__":3},"_alignFlags":1,"_top":205}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"e57lyWPj1ETIZAv/mvHnp/"},"fileId":"a8guWiadxOIaU0ktlXrhwa"},"_contentSize":{"__type__":"cc.Size","width":570,"height":394},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,-42,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Background","_parent":{"__id__":3},"_components":[{"__type__":"cc.Sprite","node":{"__id__":4},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"e3J1DyQhpKmbrErSgvfWmB"}},{"__type__":"cc.Widget","node":{"__id__":4},"_alignFlags":4,"_top":122.5,"_bottom":320}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"e57lyWPj1ETIZAv/mvHnp/"},"fileId":"9fbEjZwnJPbblzNy+6ktVz"},"_contentSize":{"__type__":"cc.Size","width":213,"height":149},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,197.5,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Title","_parent":{"__id__":3},"_components":[{"__type__":"cc.Label","node":{"__id__":5},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"敬请期待!","_N$string":"敬请期待!","_fontSize":32,"_lineHeight":45,"_N$horizontalAlign":1,"_N$verticalAlign":1,"_N$overflow":1},{"__type__":"cc.Widget","node":{"__id__":5},"_alignFlags":9,"_left":85,"_top":120}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"e57lyWPj1ETIZAv/mvHnp/"},"fileId":"caRAXZayVLJbxwxw0aYl+Z"},"_color":{"__type__":"cc.Color","r":11,"g":16,"b":38},"_contentSize":{"__type__":"cc.Size","width":400,"height":56.7},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,48.650001525878906,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Content","_parent":{"__id__":3},"_components":[{"__type__":"cc.Label","node":{"__id__":6},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"更多功能正在开发中...","_N$string":"更多功能正在开发中...","_fontSize":20,"_lineHeight":30,"_N$horizontalAlign":1,"_N$verticalAlign":1},{"__type__":"cc.Widget","node":{"__id__":6},"_alignFlags":1,"_left":369.165,"_top":177}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"e57lyWPj1ETIZAv/mvHnp/"},"fileId":"a4w7jaogZBVaod0zyMuSf6"},"_color":{"__type__":"cc.Color","r":133,"g":140,"b":150},"_contentSize":{"__type__":"cc.Size","width":196.67,"height":37.8},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[0,1.100000023841858,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"ComingSoonConfirm","_parent":{"__id__":3},"_components":[{"__type__":"cc.Sprite","node":{"__id__":7},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"43rXQJ2wNPAq7zG+g3WW/U"},"_sizeMode":0},{"__type__":"cc.Widget","node":{"__id__":7},"_target":{"__id__":1},"_alignFlags":12,"_left":400,"_top":527,"_bottom":177}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"e57lyWPj1ETIZAv/mvHnp/"},"fileId":"0368f1AkdOL5EKDmlqvFej"},"_contentSize":{"__type__":"cc.Size","width":224,"height":100},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[-128,-91,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"ComingSoonCancel","_parent":{"__id__":3},"_components":[{"__type__":"cc.Sprite","node":{"__id__":8},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"c10NCCcIlLP7qspnDNlwnt"},"_sizeMode":0},{"__type__":"cc.Widget","node":{"__id__":8},"_target":{"__id__":1},"_alignFlags":36,"_left":659,"_right":400,"_top":527,"_bottom":177,"_originalHeight":100}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"e57lyWPj1ETIZAv/mvHnp/"},"fileId":"6f+XVuoLpG3acrEOpLn3Tu"},"_contentSize":{"__type__":"cc.Size","width":224,"height":100},"_trs":{"__type__":"TypedArray","ctor":"Float32Array","array":[128,-91,0,0,0,0,1,1,1,1]}}]]
\ No newline at end of file
No preview for this file type
No preview for this file type
No preview for this file type
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.