This commit is contained in:
2026-05-19 11:51:58 +08:00
parent 8d73b5e02c
commit 53b269e68a
501 changed files with 80205 additions and 0 deletions

12
assets/app-appinit.meta Normal file
View File

@@ -0,0 +1,12 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "5aa02f13-d2f9-4d73-a79e-58b9fe6eca78",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}

View File

@@ -0,0 +1,2 @@
1、框架初始化首屏
2、不可删除此文件夹

View File

@@ -0,0 +1,12 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "e1ee8c84-c9c2-4a48-8e6e-9e242ed718f3",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "2a89c2f6-f894-47db-88e9-1017df6fbf0d",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "2a89c2f6-f894-47db-88e9-1017df6fbf0d@6c48a",
"displayName": "logo",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "2a89c2f6-f894-47db-88e9-1017df6fbf0d",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "2a89c2f6-f894-47db-88e9-1017df6fbf0d@f9941",
"displayName": "logo",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -1.5,
"trimX": 0,
"trimY": 3,
"width": 540,
"height": 554,
"rawWidth": 540,
"rawHeight": 557,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-270,
-277,
0,
270,
-277,
0,
-270,
277,
0,
270,
277,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
554,
540,
554,
0,
0,
540,
0
],
"nuv": [
0,
0,
1,
0,
0,
0.9946140035906643,
1,
0.9946140035906643
],
"minPos": [
-270,
-277,
0
],
"maxPos": [
270,
277,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "2a89c2f6-f894-47db-88e9-1017df6fbf0d@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "2a89c2f6-f894-47db-88e9-1017df6fbf0d@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 B

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "a4cadc68-5c93-4683-8ee0-cf3bb6acb132",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "a4cadc68-5c93-4683-8ee0-cf3bb6acb132@6c48a",
"displayName": "singleColor",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "a4cadc68-5c93-4683-8ee0-cf3bb6acb132",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "a4cadc68-5c93-4683-8ee0-cf3bb6acb132@f9941",
"displayName": "singleColor",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 2,
"height": 2,
"rawWidth": 2,
"rawHeight": 2,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-1,
-1,
0,
1,
-1,
0,
-1,
1,
0,
1,
1,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
2,
2,
2,
0,
0,
2,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-1,
-1,
0
],
"maxPos": [
1,
1,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "a4cadc68-5c93-4683-8ee0-cf3bb6acb132@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": true,
"hasAlpha": false,
"redirect": "a4cadc68-5c93-4683-8ee0-cf3bb6acb132@6c48a"
}
}

View File

@@ -0,0 +1,12 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "2d1f88c5-c88d-43c1-9bad-8c188f9314e0",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}

View File

@@ -0,0 +1,502 @@
[
{
"__type__": "cc.Prefab",
"_name": "AppInit",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "AppInit",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 10
}
],
"_active": true,
"_components": [
{
"__id__": 18
},
{
"__id__": 20
},
{
"__id__": 22
}
],
"_prefab": {
"__id__": 24
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
}
],
"_prefab": {
"__id__": 9
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1bUhFF79dG46Ne46ZRxKpC"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 227,
"g": 235,
"b": 228,
"a": 255
},
"_spriteFrame": {
"__uuid__": "8bb9cc8a-135e-4143-9fb9-83b834ef2e90@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f0x+xHB+BD77gwz9qesmbl"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 2,
"_originalHeight": 2,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "fd5ETT07RFqrFUq6p6ErCa"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "0fJ7SovSVCVawCNYpB3WTW",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "logo",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 11
},
{
"__id__": 13
},
{
"__id__": 15
}
],
"_prefab": {
"__id__": 17
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 12
},
"_contentSize": {
"__type__": "cc.Size",
"width": 391,
"height": 188
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "830VxCeINAa7bLC2kyd2Db"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 14
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "2a89c2f6-f894-47db-88e9-1017df6fbf0d@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "fdljxQ6hREBoCDN2bRrUnW"
},
{
"__type__": "cc.UIOpacity",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 16
},
"_opacity": 255,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8foH2eGy5DX4TvPYTKru5b"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "8cWbsI+kdMYYPLYQrEFecs",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "fdxpU8hWdAMIljPcrHWSD1"
},
{
"__type__": "598f2EhUohEebUzsqwXHool",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 21
},
"logo": {
"__id__": 10
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ffhkucpqlE+aHYz+nafs1t"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 23
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "10GYyo4FNMU6BKnnXpm7FG"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "7aBxAgUy9NRJNTrHNH6/6R",
"instance": null,
"targetOverrides": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "19a93f71-0300-44b3-9bd9-efbc15271e7d",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "AppInit"
}
}

View File

@@ -0,0 +1,75 @@
import { Node, UIOpacity, _decorator, tween } from 'cc';
import BaseAppInit from '../../../extensions/app/assets/base/BaseAppInit';
import { LOGIN_TOKEN } from '../../res-native/network/HttpRequest';
import { Tools } from '../../res-native/tools/Tools';
import { app } from '../../app/app';
import { USERDATA } from '../../res-native/data/UserData';
const { ccclass, property } = _decorator;
@ccclass('AppInit')
export class AppInit extends BaseAppInit {
@property(Node)
private logo: Node;
/**
* 获得用户资源总量这里返回几就需要用户自行调用几次nextInit
*/
protected getUserAssetNum(): number {
return 1;
}
protected onLoad() {
this.initToken();
if (LOGIN_TOKEN.access_token == "" || LOGIN_TOKEN.access_token == undefined) {
return
}
// 执行初始化操作
const opacity = this.logo.getComponent(UIOpacity);
opacity.opacity = 0;
tween(opacity)
.to(0.5, { opacity: 255 })
.delay(1)
.to(0.5, { opacity: 0 })
.call(() => {
Tools.httpReq("prize-list", {}, (res:any) => {
USERDATA.setUserData(res);
this.nextInit();
})
})
.start();
}
/** 根据参数初始化TOKEN */
initToken(){
let str = window.location.search.slice(1)
const pairs = str.split('&');
const params: { [key: string]: string } = {};
pairs.forEach(pair => {
const [key, value] = pair.split('=');
params[decodeURIComponent(key)] = decodeURIComponent(value || '');
});
const at = Tools.parseJWT(params.access_token)
const actualKey = 'xyxfz83d'.substring(0, 8); // 取前8个字符
// 解密appkey
const appkey = Tools.desEcbDecrypt(at.extend.channel, actualKey);
// 如果解密失败,尝试原始值
if (!appkey) {
console.log('Failed to decrypt token, using original value');
}
LOGIN_TOKEN.setToken(params.access_token, params.refresh_token, at.extend.app_id, appkey)
}
// BaseAppInit中使用start方法作为初始化入口如果重写start方法请注意调用父类方法
// protected start() { }
protected onFinish() {
// 执行完成操作
this.node.destroy();
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "598f2121-5288-4479-b533-b2ac171e8a25",
"files": [],
"subMetas": {},
"userData": {}
}

12
assets/app-builtin.meta Normal file
View File

@@ -0,0 +1,12 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "8564f435-63c9-4e21-bda9-2927d8c7b90d",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}

View File

@@ -0,0 +1,2 @@
1、存储内置功能的文件夹
2、不可删除此文件夹

View File

@@ -0,0 +1,12 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "95e76f7f-cbcf-4726-87bf-efbf19fb0e33",
"files": [],
"subMetas": {},
"userData": {
"isBundle": true,
"bundleConfigID": "auto_398Ij6Mc1B2Y7sW3e6BgFC"
}
}

View File

@@ -0,0 +1,2 @@
1、一些配置类的资产(框架自动维护)
2、不可删除此文件夹

View File

@@ -0,0 +1,41 @@
/* eslint-disable */
import { Component,director,Director } from 'cc';
import { app } from '../../app/app';
import { EDITOR,EDITOR_NOT_IN_PREVIEW } from 'cc/env';
export type IReadOnly<T> = { readonly [P in keyof T]: T[P] extends Function ? T[P] : (T[P] extends Object ? IReadOnly<T[P]> : T[P]); };
export type IViewName = "PageMain"|"PageRewardhistory"|"PageTips"
export type IViewNames = IViewName[]
export type IMiniViewName = "never"
export type IMiniViewNames = IMiniViewName[]
export type IMusicName = "music/bgm"
export type IMusicNames = IMusicName[]
export type IEffectName = "effect/click"|"effect/win"|"effect/wipe"
export type IEffectNames = IEffectName[]
import EventManager from '../../../extensions/app/assets/manager/event/EventManager'
import LoaderManager from '../../../extensions/app/assets/manager/loader/LoaderManager'
import SoundManager from '../../../extensions/app/assets/manager/sound/SoundManager'
import TimerManager from '../../../extensions/app/assets/manager/timer/TimerManager'
import UIManager from '../../../extensions/app/assets/manager/ui/UIManager'
export type IApp = {
Controller: {},
controller: {},
Manager: {Event:Omit<typeof EventManager,keyof Component>,Loader:Omit<typeof LoaderManager,keyof Component>,Sound:Omit<typeof SoundManager,keyof Component>,Timer:Omit<typeof TimerManager,keyof Component>,UI:Omit<typeof UIManager,keyof Component>},
manager: {event:Omit<EventManager,keyof Component>,loader:Omit<LoaderManager,keyof Component>,sound:Omit<SoundManager<IEffectName,IMusicName>,keyof Component>,timer:Omit<TimerManager,keyof Component>,ui:Omit<UIManager<IViewName,IMiniViewName>,keyof Component>},
data: {},
config: {}
store: {}
}
function init(){
if(!EDITOR||!EDITOR_NOT_IN_PREVIEW) Object.assign(app.config, {})
if(!EDITOR||!EDITOR_NOT_IN_PREVIEW) Object.assign(app.data, {})
if(!EDITOR||!EDITOR_NOT_IN_PREVIEW) Object.assign(app.store, {})
if(!EDITOR||!EDITOR_NOT_IN_PREVIEW) Object.assign(app.Controller, {})
if(!EDITOR||!EDITOR_NOT_IN_PREVIEW) Object.assign(app.controller, {})
}
if(!EDITOR||!EDITOR_NOT_IN_PREVIEW) director.on(Director.EVENT_RESET,init)
if(!EDITOR||!EDITOR_NOT_IN_PREVIEW) init()

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "f187b639-0be1-421c-ac96-f3891a260321",
"files": [],
"subMetas": {},
"userData": {}
}

9
assets/app-bundle.meta Normal file
View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "77941b47-de7f-4917-8716-2b6c7a2f4c44",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,2 @@
1、存储内置的Bundle的文件夹
2、如不再需要可以直接删除此文件夹

View File

@@ -0,0 +1,13 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "1641af30-73a6-4372-8a9c-c943ec12e662",
"files": [],
"subMetas": {},
"userData": {
"isBundle": true,
"bundleConfigID": "auto_11aBEBWDxI/6ryvKvFthEo",
"priority": 8
}
}

View File

@@ -0,0 +1,4 @@
存储音乐/音效资源的文件夹
1、通过app.manager.sound管理
2、通过菜单「App/创建/Sound」创建目录
3、如不再需要可以直接删除此文件夹

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "7ee86308-e455-4003-a42e-74fd6f882c96",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,3 @@
存储音效资源的文件夹
1、通过app.manager.sound.playEffect播放
2、如不再需要可以直接删除此文件夹

Binary file not shown.

View File

@@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "7b14d717-73d7-4b16-bb7c-a224816819df",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "14485472-e144-4f43-a748-18b0dc956e8c",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

Binary file not shown.

View File

@@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "9c1c41a9-5f91-436a-922f-3b9103fb43fe",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "5ae9e382-f181-4129-a699-efef7ad9dd41",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,3 @@
存储音乐资源的文件夹
1、通过app.manager.sound.playMusic播放
2、如不再需要可以直接删除此文件夹

Binary file not shown.

View File

@@ -0,0 +1,14 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "af219af4-67a7-49a3-897a-b6e979f4634d",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "d4316074-6ccc-4906-90e1-b98c8c421ae1",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,4 @@
存储UI资源的文件夹
1、通过app.manager.ui管理
2、通过菜单「App/创建/View」创建
3、如不再需要可以直接删除此文件夹

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "5854d615-edf1-435d-9ec6-1ecb4ee0af2a",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,2 @@
1、所有page类型UI的根目录
2、如不再需要可以直接删除此文件夹

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "06135315-0b97-4b53-97f0-5ee82ea63600",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,3 @@
PageMain所在文件夹
1、通过app.manager.ui.show({ name:'PageMain' })的方式加载
2、如不再需要可以直接删除此文件夹

View File

@@ -0,0 +1,14 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "616115b0-9188-44c6-8a76-26bb2fe12d3c",
"files": [],
"subMetas": {},
"userData": {
"isBundle": true,
"bundleConfigID": "auto_f7NI9WxFVIO6e8LbJGF72k",
"priority": 1,
"bundleName": "page-main"
}
}

View File

@@ -0,0 +1,4 @@
存放UI以及脚本的文件夹
1、除了UI本身外不允许存放其它任何预置体或场景资源🔥
2、UI脚本在根目录下其它脚本放到expansion目录下
3、不可单独删除此文件夹

View File

@@ -0,0 +1,7617 @@
[
{
"__type__": "cc.Prefab",
"_name": "PageMain",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "PageMain",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 208
},
{
"__id__": 277
}
],
"_active": true,
"_components": [
{
"__id__": 316
},
{
"__id__": 318
},
{
"__id__": 320
}
],
"_prefab": {
"__id__": 322
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
},
{
"__id__": 37
},
{
"__id__": 72
},
{
"__id__": 114
}
],
"_active": true,
"_components": [
{
"__id__": 201
},
{
"__id__": 203
},
{
"__id__": 205
}
],
"_prefab": {
"__id__": 207
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "flash",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 4
},
{
"__id__": 10
},
{
"__id__": 16
},
{
"__id__": 22
},
{
"__id__": 28
}
],
"_active": true,
"_components": [
{
"__id__": 34
}
],
"_prefab": {
"__id__": 36
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "flash_1",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
},
{
"__id__": 7
}
],
"_prefab": {
"__id__": 9
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -123,
"y": 855,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0.17364817766693033,
"w": 0.984807753012208
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.3,
"y": 0.2,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 19.999999999999996
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_contentSize": {
"__type__": "cc.Size",
"width": 902.7070922851562,
"height": 902.7073974609375
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ffjfaMZQZAT46sJdl4eqK9"
},
{
"__type__": "sp.Skeleton",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 4
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_skeletonData": {
"__uuid__": "53564e4a-749a-44ad-b84c-40a9843c7240",
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "default",
"defaultAnimation": "idle_yellow",
"_premultipliedAlpha": false,
"_timeScale": 1,
"_preCacheMode": 0,
"_cacheMode": 0,
"_sockets": [],
"_useTint": false,
"_debugMesh": false,
"_debugBones": false,
"_debugSlots": false,
"_enableBatch": false,
"loop": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "137gDp5FVLN5NCp/zHBNv8"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "b2a3H4zqdBsKAoqz54bIUx",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "flash_2",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 11
},
{
"__id__": 13
}
],
"_prefab": {
"__id__": 15
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 465,
"y": -32,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0.17364817766693033,
"w": 0.984807753012208
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.3,
"y": 0.2,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 19.999999999999996
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 12
},
"_contentSize": {
"__type__": "cc.Size",
"width": 902.7070922851562,
"height": 902.7073974609375
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "88ZmIa6XxLeo4lnaPXMRl4"
},
{
"__type__": "sp.Skeleton",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 14
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_skeletonData": {
"__uuid__": "53564e4a-749a-44ad-b84c-40a9843c7240",
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "default",
"defaultAnimation": "idle_yellow",
"_premultipliedAlpha": false,
"_timeScale": 1,
"_preCacheMode": 0,
"_cacheMode": 0,
"_sockets": [],
"_useTint": false,
"_debugMesh": false,
"_debugBones": false,
"_debugSlots": false,
"_enableBatch": false,
"loop": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "0dVF7dmkZCc69LdtxEu7sr"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c7+8c6VhJL9aQJRDCIuCzN",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "flash_3",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
},
{
"__id__": 19
}
],
"_prefab": {
"__id__": 21
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -435,
"y": 380,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": -0.25881904510252074,
"w": 0.9659258262890683
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.2,
"y": 0.1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -30
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 16
},
"_enabled": true,
"__prefab": {
"__id__": 18
},
"_contentSize": {
"__type__": "cc.Size",
"width": 902.7070922851562,
"height": 902.7073974609375
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2bta2yq1FARZB4QfRIMTUT"
},
{
"__type__": "sp.Skeleton",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 16
},
"_enabled": true,
"__prefab": {
"__id__": 20
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_skeletonData": {
"__uuid__": "53564e4a-749a-44ad-b84c-40a9843c7240",
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "default",
"defaultAnimation": "idle_white",
"_premultipliedAlpha": false,
"_timeScale": 1,
"_preCacheMode": 0,
"_cacheMode": 0,
"_sockets": [],
"_useTint": false,
"_debugMesh": false,
"_debugBones": false,
"_debugSlots": false,
"_enableBatch": false,
"loop": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ae5ADsw35CN4A2vHbXwV4/"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d0vvSOIG9E8K6SCJ3Yadfw",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "flash_4",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 23
},
{
"__id__": 25
}
],
"_prefab": {
"__id__": 27
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 415,
"y": 275,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0.25881904510252074,
"w": 0.9659258262890683
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.2,
"y": 0.1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 30
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 24
},
"_contentSize": {
"__type__": "cc.Size",
"width": 902.7070922851562,
"height": 902.7073974609375
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "49UmZbZvlM7InIfecmUBha"
},
{
"__type__": "sp.Skeleton",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 26
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_skeletonData": {
"__uuid__": "53564e4a-749a-44ad-b84c-40a9843c7240",
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "default",
"defaultAnimation": "idle_white",
"_premultipliedAlpha": false,
"_timeScale": 1,
"_preCacheMode": 0,
"_cacheMode": 0,
"_sockets": [],
"_useTint": false,
"_debugMesh": false,
"_debugBones": false,
"_debugSlots": false,
"_enableBatch": false,
"loop": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b3IzT0l3VPXpXRnQWe/W8q"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "78fL/we95A57tr+GgmbIG5",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "Particle2D",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 29
},
{
"__id__": 31
}
],
"_prefab": {
"__id__": 33
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 371.19799999999987,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 2,
"y": 2,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 30
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ca8mujqvpIlI6V9EXSPKHa"
},
{
"__type__": "cc.ParticleSystem2D",
"_name": "Node<ParticleSystem2D>",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 32
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"duration": -1,
"emissionRate": 20,
"life": 1,
"lifeVar": 0,
"angle": 360,
"angleVar": 360,
"startSize": 60,
"startSizeVar": 0,
"endSize": 80,
"endSizeVar": 100,
"startSpin": 0,
"startSpinVar": 0,
"endSpin": 360,
"endSpinVar": 0,
"sourcePos": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"posVar": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"emitterMode": 1,
"gravity": {
"__type__": "cc.Vec2",
"x": 0,
"y": -5000
},
"speed": 1000,
"speedVar": 0,
"tangentialAccel": 0,
"tangentialAccelVar": 0,
"radialAccel": 0,
"radialAccelVar": 0,
"rotationIsDir": false,
"startRadius": 0,
"startRadiusVar": 0,
"endRadius": 800,
"endRadiusVar": 0,
"rotatePerS": 0,
"rotatePerSVar": 0,
"playOnLoad": true,
"autoRemoveOnFinish": false,
"_preview": true,
"preview": true,
"_custom": true,
"_file": null,
"_spriteFrame": {
"__uuid__": "e5192fd7-8daa-41f7-a254-cca8b7794d45@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_totalParticles": 20,
"_startColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_startColorVar": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_endColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_endColorVar": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_positionType": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "57dGTrU2RMAqdabGL8acbS"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "4a+67buZtCobwr7BgKrThs",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 35
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "cfJb0aGR5ABYDu0D6K3bKs"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "94voOw9ptPZYx93jdTGh+r",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "btns",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 38
},
{
"__id__": 47
},
{
"__id__": 56
}
],
"_active": true,
"_components": [
{
"__id__": 65
},
{
"__id__": 67
},
{
"__id__": 69
}
],
"_prefab": {
"__id__": 71
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 327.5,
"y": 870,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "btn_sounds",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 37
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 39
},
{
"__id__": 41
},
{
"__id__": 43
}
],
"_prefab": {
"__id__": 46
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 115,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 38
},
"_enabled": true,
"__prefab": {
"__id__": 40
},
"_contentSize": {
"__type__": "cc.Size",
"width": 95,
"height": 101
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e2/A010hdBzqRot0QFZOVA"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 38
},
"_enabled": true,
"__prefab": {
"__id__": 42
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "f76d4098-86bb-4d85-8e5b-beb06b7308f2@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2cPeWZE15GIJPOJww7DMwl"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 38
},
"_enabled": true,
"__prefab": {
"__id__": 44
},
"clickEvents": [
{
"__id__": 45
}
],
"_interactable": true,
"_transition": 3,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 0.96,
"_target": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "30tMFRufRPS6thCSAPy1CT"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "5c1d6Gm/4FIG5IXQwohh/9Q",
"handler": "oncClickMusic",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "8cKb4xJVNHz72xOkrc+uql",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "btn_tips",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 37
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 48
},
{
"__id__": 50
},
{
"__id__": 52
}
],
"_prefab": {
"__id__": 55
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 47
},
"_enabled": true,
"__prefab": {
"__id__": 49
},
"_contentSize": {
"__type__": "cc.Size",
"width": 95,
"height": 101
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "4foCR92opPj6lk+3k4vT7A"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 47
},
"_enabled": true,
"__prefab": {
"__id__": 51
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "5b600712-8704-49cd-9f95-5f013387a423@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "97cTpcRLFL3Jy4GrDB0Bb9"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 47
},
"_enabled": true,
"__prefab": {
"__id__": 53
},
"clickEvents": [
{
"__id__": 54
}
],
"_interactable": true,
"_transition": 3,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 0.96,
"_target": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "84c9SsOvlNuqqwtfx91Ol+"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "5c1d6Gm/4FIG5IXQwohh/9Q",
"handler": "onClickTips",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "b0z4M59nZLL4w7oI1eOvGR",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "btn_reward",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 37
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 57
},
{
"__id__": 59
},
{
"__id__": 61
}
],
"_prefab": {
"__id__": 64
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -115,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 56
},
"_enabled": true,
"__prefab": {
"__id__": 58
},
"_contentSize": {
"__type__": "cc.Size",
"width": 95,
"height": 101
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "96hdW6mp9LyZBwuDutlpHC"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 56
},
"_enabled": true,
"__prefab": {
"__id__": 60
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "658b2f1e-7429-4c65-9a9d-8ba14adf34a0@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "33qVBjJN5P9ZxSdhWBdn+9"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 56
},
"_enabled": true,
"__prefab": {
"__id__": 62
},
"clickEvents": [
{
"__id__": 63
}
],
"_interactable": true,
"_transition": 3,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 0.96,
"_target": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "23q/qHGVBD+YDTkeVuj0JP"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "5c1d6Gm/4FIG5IXQwohh/9Q",
"handler": "onClickRwHis",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d5EWLydc5Ld4lZGQqHycXf",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 37
},
"_enabled": true,
"__prefab": {
"__id__": 66
},
"_contentSize": {
"__type__": "cc.Size",
"width": 325,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "896ypyn1dMer+1KrKXbeaZ"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 37
},
"_enabled": true,
"__prefab": {
"__id__": 68
},
"_resizeMode": 1,
"_layoutType": 1,
"_cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_startAxis": 0,
"_paddingLeft": 0,
"_paddingRight": 0,
"_paddingTop": 0,
"_paddingBottom": 0,
"_spacingX": 20,
"_spacingY": 0,
"_verticalDirection": 1,
"_horizontalDirection": 1,
"_constraint": 0,
"_constraintNum": 2,
"_affectedByScale": false,
"_isAlign": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b1VhtDkqlGupwYHDc2b8bE"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 37
},
"_enabled": true,
"__prefab": {
"__id__": 70
},
"_alignFlags": 33,
"_target": null,
"_left": 0,
"_right": 50,
"_top": 40,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e7xuazH95FbauhmmDUDOKl"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "ecuU/wqItCrJga8HPiXzNI",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "peoples",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 73
},
{
"__id__": 79
},
{
"__id__": 85
},
{
"__id__": 91
}
],
"_active": true,
"_components": [
{
"__id__": 109
},
{
"__id__": 111
}
],
"_prefab": {
"__id__": 113
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 300,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "main_icon_gold_1",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 72
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 74
},
{
"__id__": 76
}
],
"_prefab": {
"__id__": 78
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -455,
"y": 15,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 73
},
"_enabled": true,
"__prefab": {
"__id__": 75
},
"_contentSize": {
"__type__": "cc.Size",
"width": 159,
"height": 224
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c75SZhMjRGl6o/DyofUjgs"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 73
},
"_enabled": true,
"__prefab": {
"__id__": 77
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "a8f2dcd2-2451-4b7a-8f35-d409c3f8259c@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "56HY5zjA9IJLLk5xWLQJJU"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "5fzzE2wolHG6LwLw2oLwcs",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "main_icon_gold_2",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 72
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 80
},
{
"__id__": 82
}
],
"_prefab": {
"__id__": 84
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 433,
"y": -85,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 79
},
"_enabled": true,
"__prefab": {
"__id__": 81
},
"_contentSize": {
"__type__": "cc.Size",
"width": 133,
"height": 216
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "30JqA96PJFnJb6DONxJ7pR"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 79
},
"_enabled": true,
"__prefab": {
"__id__": 83
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "66a08ed1-0736-4a9b-afa0-aade7840daf8@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "57PH6BEQZCmozs02nVmbkG"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "77AMnNnUhOrotTHv5qZ9Jr",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "main_icon_gold_3",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 72
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 86
},
{
"__id__": 88
}
],
"_prefab": {
"__id__": 90
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -248,
"y": 490,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 85
},
"_enabled": true,
"__prefab": {
"__id__": 87
},
"_contentSize": {
"__type__": "cc.Size",
"width": 369,
"height": 224
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "4dFLDAjmpAuK8eOstRDR+6"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 85
},
"_enabled": true,
"__prefab": {
"__id__": 89
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "22118f25-e9e1-4b1b-ae53-c3fbe1ab161f@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "6eEBG6/H5ALIqUwmJawIcg"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d5NgOnPfJPsJBrtbNeroKB",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "main_logo",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 72
},
"_children": [
{
"__id__": 92
},
{
"__id__": 98
}
],
"_active": true,
"_components": [
{
"__id__": 104
},
{
"__id__": 106
}
],
"_prefab": {
"__id__": 108
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -292.5,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "main_logo_gold_1",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 91
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 93
},
{
"__id__": 95
}
],
"_prefab": {
"__id__": 97
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 397,
"y": -80,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 92
},
"_enabled": true,
"__prefab": {
"__id__": 94
},
"_contentSize": {
"__type__": "cc.Size",
"width": 281,
"height": 174
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "46w+k4PBFC9ojM7T8rUYoV"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 92
},
"_enabled": true,
"__prefab": {
"__id__": 96
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "e53ef832-2477-4e1d-b4c0-2279a8959e40@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d8SwCTe5ZAR5BbnuwyEhtx"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d0pUZw8xtJjYJHp+5WkhXM",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "main_logo_gold_2",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 91
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 99
},
{
"__id__": 101
}
],
"_prefab": {
"__id__": 103
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -378,
"y": -88,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 98
},
"_enabled": true,
"__prefab": {
"__id__": 100
},
"_contentSize": {
"__type__": "cc.Size",
"width": 221,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "942nSfnUtHNKmCKU3tEEwb"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 98
},
"_enabled": true,
"__prefab": {
"__id__": 102
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "200b3b4b-9cdf-456a-b120-587a157b671c@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "40Qaw/bbhM6rfKRJFbR//z"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "df+NCbVU9FRbxRsR4LnMrX",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 91
},
"_enabled": true,
"__prefab": {
"__id__": 105
},
"_contentSize": {
"__type__": "cc.Size",
"width": 783,
"height": 338
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b4aaDo5DNGy6ADLFuTZUTS"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 91
},
"_enabled": true,
"__prefab": {
"__id__": 107
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "d4afde6c-4e1b-4338-8aff-c98d72ca78c9@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ebRBt5h29N06DJvJri8m87"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d4JbYzVSFMbrqGIMbHX2+Y",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 72
},
"_enabled": true,
"__prefab": {
"__id__": 110
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1153
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c2f38Z4XRMJZfWNNEIw3Lp"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 72
},
"_enabled": true,
"__prefab": {
"__id__": 112
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "b04adca5-7bb9-4991-bcad-f8b5b9ba2f20@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "33CNiJsopNJ4zHgdw/1rH8"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "45Yd6SII9Gl6U5nj5uJ4Dp",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "main_machine",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 115
},
{
"__id__": 121
},
{
"__id__": 133
},
{
"__id__": 181
},
{
"__id__": 190
}
],
"_active": true,
"_components": [
{
"__id__": 196
},
{
"__id__": 198
}
],
"_prefab": {
"__id__": 200
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -551.5,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "flash",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 116
},
{
"__id__": 118
}
],
"_prefab": {
"__id__": 120
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 91,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 115
},
"_enabled": true,
"__prefab": {
"__id__": 117
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 300
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d4OHuz1PNP/pdaj03V4UCa"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 115
},
"_enabled": true,
"__prefab": {
"__id__": 119
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "22de947c-9735-45be-a07b-4f0e12fd5215@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7frYkjWEJLg6mEYKy5Ci9y"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "08S5Z8xrtJjbZR5gOovWIG",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "rw_icon",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 114
},
"_children": [
{
"__id__": 122
}
],
"_active": true,
"_components": [
{
"__id__": 128
},
{
"__id__": 130
}
],
"_prefab": {
"__id__": 132
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 91,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "lab",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 121
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 123
},
{
"__id__": 125
}
],
"_prefab": {
"__id__": 127
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -142.633,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 122
},
"_enabled": true,
"__prefab": {
"__id__": 124
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "229tIcld1JXaIEb1ZpQy20"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 122
},
"_enabled": true,
"__prefab": {
"__id__": 126
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 30,
"_fontSize": 30,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c19fLHkRxF3KCQ5HqOWMUM"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "44ZKRK4nJAUIe+2rIGXTVD",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 121
},
"_enabled": true,
"__prefab": {
"__id__": 129
},
"_contentSize": {
"__type__": "cc.Size",
"width": 261,
"height": 232
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "53QwdaIX1J9aIdMyMg0SEn"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 121
},
"_enabled": true,
"__prefab": {
"__id__": 131
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": null,
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e5jQfetF5EpaY2DI5Z6XTe"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "fcWnlZbPtOSqxXOO7sXUWD",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "game_mask",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 114
},
"_children": [
{
"__id__": 134
},
{
"__id__": 146
}
],
"_active": true,
"_components": [
{
"__id__": 172
},
{
"__id__": 174
},
{
"__id__": 176
},
{
"__id__": 178
}
],
"_prefab": {
"__id__": 180
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 91,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "cover",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 133
},
"_children": [
{
"__id__": 135
}
],
"_active": true,
"_components": [
{
"__id__": 141
},
{
"__id__": 143
}
],
"_prefab": {
"__id__": 145
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "touch",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 134
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 136
},
{
"__id__": 138
}
],
"_prefab": {
"__id__": 140
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 135
},
"_enabled": true,
"__prefab": {
"__id__": 137
},
"_contentSize": {
"__type__": "cc.Size",
"width": 763,
"height": 405
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c8htyTUy1JwIzrrGGr5zGN"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 135
},
"_enabled": true,
"__prefab": {
"__id__": 139
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "47LPU3WOdDk6KYZ7Hrwjp1"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "1brYEdXXNLqpjYgFGozdw1",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 134
},
"_enabled": true,
"__prefab": {
"__id__": 142
},
"_contentSize": {
"__type__": "cc.Size",
"width": 763,
"height": 405
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "77wOEuYU1LQaEQwp4aTPBx"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 134
},
"_enabled": true,
"__prefab": {
"__id__": 144
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "ff891a4e-00f2-477d-9041-6581054e1d6c@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "88Ux8LnpJJeIR9RfQ5EVkE"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "73gTpDXVBITr+TKrmWgotf",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "tips",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 133
},
"_children": [
{
"__id__": 147
},
{
"__id__": 155
},
{
"__id__": 161
}
],
"_active": true,
"_components": [
{
"__id__": 167
},
{
"__id__": 169
}
],
"_prefab": {
"__id__": 171
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "mask",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 146
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 148
},
{
"__id__": 150
},
{
"__id__": 152
}
],
"_prefab": {
"__id__": 154
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 147
},
"_enabled": true,
"__prefab": {
"__id__": 149
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "24i+fBcmtOerrnMQcIrrjc"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 147
},
"_enabled": true,
"__prefab": {
"__id__": 151
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 100
},
"_spriteFrame": {
"__uuid__": "3b5a4365-09ed-46db-bdb4-c1dc2d3b806b@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "17M6JxhidMRY3fxprliUM/"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 147
},
"_enabled": true,
"__prefab": {
"__id__": 153
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 2,
"_originalHeight": 2,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "9bOi7jG01LiLRDHB0Ok1Tb"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "25VFz5NLxP5J7DyQeDGc6z",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "hand",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 146
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 156
},
{
"__id__": 158
}
],
"_prefab": {
"__id__": 160
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 50,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 155
},
"_enabled": true,
"__prefab": {
"__id__": 157
},
"_contentSize": {
"__type__": "cc.Size",
"width": 115,
"height": 124
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7316G96YFJ4IWFq5NkLkVu"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 155
},
"_enabled": true,
"__prefab": {
"__id__": 159
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "48b24286-b1ac-4a84-8276-a4ba9f7b98f1@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "68TDvz4i1J7pN/tQhi4//Q"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "19Tn+/89NN24wclBOx9R5k",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "lab",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 146
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 162
},
{
"__id__": 164
}
],
"_prefab": {
"__id__": 166
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -75,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 161
},
"_enabled": true,
"__prefab": {
"__id__": 163
},
"_contentSize": {
"__type__": "cc.Size",
"width": 254.337890625,
"height": 67.8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "97VKpM0spM3o8GpFDz8yQc"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 161
},
"_enabled": true,
"__prefab": {
"__id__": 165
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 156,
"g": 156,
"b": 156,
"a": 255
},
"_string": "Gently scrath the card\nwith your finger",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 26,
"_fontSize": 26,
"_fontFamily": "Arial",
"_lineHeight": 30,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8ahbuXY0hCnZ/KRYzFmieE"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c71IF0tJRNB6Ag4XRvX0p/",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 146
},
"_enabled": true,
"__prefab": {
"__id__": 168
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b1DVkgZaxOJJFR7s0tOOQh"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 146
},
"_enabled": true,
"__prefab": {
"__id__": 170
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 2,
"_originalHeight": 2,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "35XRvTlzFPWan6jfq8tJiB"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "bbv9wd3FZKTJwDiSzyk05t",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 133
},
"_enabled": true,
"__prefab": {
"__id__": 173
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "0cP9S8hzJCwpHgrjp+J20x"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 133
},
"_enabled": true,
"__prefab": {
"__id__": 175
},
"_type": 0,
"_inverted": true,
"_segments": 64,
"_alphaThreshold": 0.1,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "5cZpBph31B3ZpvvXwZAlHJ"
},
{
"__type__": "cc.Graphics",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 133
},
"_enabled": true,
"__prefab": {
"__id__": 177
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_lineWidth": 1,
"_strokeColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_lineJoin": 2,
"_lineCap": 0,
"_fillColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 0
},
"_miterLimit": 10,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "fdiDwIJn5AO5OlkWn4up+K"
},
{
"__type__": "cc.UIOpacity",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 133
},
"_enabled": true,
"__prefab": {
"__id__": 179
},
"_opacity": 255,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "9aHXnWIPtLtoxn3rKpAhKJ"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "faQXsRAPZPQIDD+ldmPwx2",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "btn_start",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 182
},
{
"__id__": 184
},
{
"__id__": 186
}
],
"_prefab": {
"__id__": 189
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -231,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 181
},
"_enabled": true,
"__prefab": {
"__id__": 183
},
"_contentSize": {
"__type__": "cc.Size",
"width": 309,
"height": 85
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "af/zrTerxLZJNpnWDvXo4H"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 181
},
"_enabled": true,
"__prefab": {
"__id__": 185
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "f17d4299-7989-4690-815e-a71c20ac75c6@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "21hY9a8OlOtrdFJq2HpZFE"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 181
},
"_enabled": true,
"__prefab": {
"__id__": 187
},
"clickEvents": [
{
"__id__": 188
}
],
"_interactable": true,
"_transition": 3,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 0.96,
"_target": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "cdvWNGHWVLab4BCz9hTR9n"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "5c1d6Gm/4FIG5IXQwohh/9Q",
"handler": "GameReset",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "9e4fsOmWRMwasuvxePfD2G",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "remain",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 114
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 191
},
{
"__id__": 193
}
],
"_prefab": {
"__id__": 195
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -535,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 190
},
"_enabled": true,
"__prefab": {
"__id__": 192
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "67qk7Unm5NeLSzCXv+a7So"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 190
},
"_enabled": true,
"__prefab": {
"__id__": 194
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 30,
"_fontSize": 30,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "087cth1BZF+Iwb5Ia9ua0s"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "36YT3Ra5lH16cz7doJ8lM5",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 114
},
"_enabled": true,
"__prefab": {
"__id__": 197
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 817
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "06jGN8o0RAYYHTzoXMyUlx"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 114
},
"_enabled": true,
"__prefab": {
"__id__": 199
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "a721a89c-9d7b-4754-9f34-d396775ace91@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "206GFZk3hC5aAVerZMi2V1"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "b1mTg5TK5O0oIWO6XMob7R",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 202
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f0wS1MBeVC2qST1WgJNsb+"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 204
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "f11b4921-fce8-49cd-9a4c-69c69df1ad43@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ca1CEiO99ODLqV1afHRaOv"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 206
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1080,
"_originalHeight": 1920,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f9Dv7o/0ZNNIc5F8GA7XQ0"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "e7vp3L/4RNUJbrPDn69Oi8",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "bg_rw",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 209
},
{
"__id__": 219
},
{
"__id__": 261
}
],
"_active": false,
"_components": [
{
"__id__": 270
},
{
"__id__": 272
},
{
"__id__": 274
}
],
"_prefab": {
"__id__": 276
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "mask",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 208
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 210
},
{
"__id__": 212
},
{
"__id__": 214
},
{
"__id__": 216
}
],
"_prefab": {
"__id__": 218
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 209
},
"_enabled": true,
"__prefab": {
"__id__": 211
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "dbGJFlZ7FBB7F1atKRqZ8T"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 209
},
"_enabled": true,
"__prefab": {
"__id__": 213
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 173
},
"_spriteFrame": {
"__uuid__": "3b5a4365-09ed-46db-bdb4-c1dc2d3b806b@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "80ZlSiSDNBEZtJkCnjKwPl"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 209
},
"_enabled": true,
"__prefab": {
"__id__": 215
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 2,
"_originalHeight": 2,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "99/nRhkQVCF7iQ0lPw0kGj"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 209
},
"_enabled": true,
"__prefab": {
"__id__": 217
},
"clickEvents": [],
"_interactable": true,
"_transition": 0,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 1.2,
"_target": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7emp6hdsRHYa5A92C9vTo5"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "02jElotXNA0JWlW4F9n9ab",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 208
},
"_children": [
{
"__id__": 220
},
{
"__id__": 232
},
{
"__id__": 238
}
],
"_active": true,
"_components": [
{
"__id__": 256
},
{
"__id__": 258
}
],
"_prefab": {
"__id__": 260
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "bg_title",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 219
},
"_children": [
{
"__id__": 221
}
],
"_active": true,
"_components": [
{
"__id__": 227
},
{
"__id__": 229
}
],
"_prefab": {
"__id__": 231
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 375,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "title",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 220
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 222
},
{
"__id__": 224
}
],
"_prefab": {
"__id__": 226
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -35,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 221
},
"_enabled": true,
"__prefab": {
"__id__": 223
},
"_contentSize": {
"__type__": "cc.Size",
"width": 719,
"height": 131
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e35/v9sPFOXpI+MrUjKqBg"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 221
},
"_enabled": true,
"__prefab": {
"__id__": 225
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "a8e7784f-8e04-400a-8040-9ac6c4835825@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "26Va+p5HBNl69ReCSdK1M0"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "8e/mgR4FZNKau8JMdx8LGQ",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 220
},
"_enabled": true,
"__prefab": {
"__id__": 228
},
"_contentSize": {
"__type__": "cc.Size",
"width": 773,
"height": 352
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a19VG2r15Ks4k+ua4QozOb"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 220
},
"_enabled": true,
"__prefab": {
"__id__": 230
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "45d8a4f8-df33-4b31-a470-b85988fe5b1d@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "caZFXwTlhIubuu5pS9vDMu"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "beB1n0wEdPYrItAChkARbR",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "bg_lab",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 219
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 233
},
{
"__id__": 235
}
],
"_prefab": {
"__id__": 237
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -250,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 232
},
"_enabled": true,
"__prefab": {
"__id__": 234
},
"_contentSize": {
"__type__": "cc.Size",
"width": 928,
"height": 95
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "dbrHp3+6BKz4q1X8TU6XpP"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 232
},
"_enabled": true,
"__prefab": {
"__id__": 236
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "89394689-384f-4a33-a40d-e1bf1f4ac839@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e0UoCILuJJ/pIJkdkfc7lQ"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "a0y0AtlDpBHIcRRWZRpod2",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "icon_light",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 219
},
"_children": [
{
"__id__": 239
},
{
"__id__": 245
}
],
"_active": true,
"_components": [
{
"__id__": 251
},
{
"__id__": 253
}
],
"_prefab": {
"__id__": 255
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 50,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "icon",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 238
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 240
},
{
"__id__": 242
}
],
"_prefab": {
"__id__": 244
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 239
},
"_enabled": true,
"__prefab": {
"__id__": 241
},
"_contentSize": {
"__type__": "cc.Size",
"width": 261,
"height": 232
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "6c3lQAKJ1JuZjWY5jEqinP"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 239
},
"_enabled": true,
"__prefab": {
"__id__": 243
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "817420bd-0834-4afa-9074-ce1014d4fd95@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "90HSae421OQ40btCecUv9q"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "ce4YJzvExDu7lKzkT25O3p",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "lab",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 238
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 246
},
{
"__id__": 248
}
],
"_prefab": {
"__id__": 250
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -300,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 245
},
"_enabled": true,
"__prefab": {
"__id__": 247
},
"_contentSize": {
"__type__": "cc.Size",
"width": 226.73828125,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c1iEwpF6BIEZBYL/Jemv22"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 245
},
"_enabled": true,
"__prefab": {
"__id__": 249
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 221,
"b": 64,
"a": 255
},
"_string": "100 CREDIT",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 40,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2crLb0JYxASJj0bFD+iN2b"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "64mtwFschIO40nVGfgDnLj",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 238
},
"_enabled": true,
"__prefab": {
"__id__": 252
},
"_contentSize": {
"__type__": "cc.Size",
"width": 456,
"height": 454
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "dawfVllBFCJJ+8s7MxvGXR"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 238
},
"_enabled": true,
"__prefab": {
"__id__": 254
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "22de947c-9735-45be-a07b-4f0e12fd5215@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "bdyFxGntdJ8pNl4UYeRJg/"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "9dy8D7sjxJBYfezC6E2FZG",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 219
},
"_enabled": true,
"__prefab": {
"__id__": 257
},
"_contentSize": {
"__type__": "cc.Size",
"width": 958,
"height": 740
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "eclZZY5g1H+I1/5qlVy6BP"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 219
},
"_enabled": true,
"__prefab": {
"__id__": 259
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "0686b7d1-9489-4159-a328-1cd66031003c@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "14U/XixTNJgqq4Qksmi9uD"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "14MnHB3hlP3ZPdm1vCncaX",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "btn_sure",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 208
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 262
},
{
"__id__": 264
},
{
"__id__": 266
}
],
"_prefab": {
"__id__": 269
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -520,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 261
},
"_enabled": true,
"__prefab": {
"__id__": 263
},
"_contentSize": {
"__type__": "cc.Size",
"width": 515,
"height": 191
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "40pMS13htJYobTi56eLFrm"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 261
},
"_enabled": true,
"__prefab": {
"__id__": 265
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "3f2ae0d4-95ce-407c-8df5-05e2ad62e542@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d3mKDR6gRDmpz4/tYMyoiA"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 261
},
"_enabled": true,
"__prefab": {
"__id__": 267
},
"clickEvents": [
{
"__id__": 268
}
],
"_interactable": true,
"_transition": 3,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 0.96,
"_target": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f6dowBXDlA2LcgFS9DKDh6"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "5c1d6Gm/4FIG5IXQwohh/9Q",
"handler": "onClickRewardSure",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "38l1UK181HLaTBYjniMuAe",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 208
},
"_enabled": true,
"__prefab": {
"__id__": 271
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c8JkgZNnRJHpZ6YAWPVxSg"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 208
},
"_enabled": true,
"__prefab": {
"__id__": 273
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 2,
"_originalHeight": 2,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2350NQjz1KI6WQv6hORKDy"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 208
},
"_enabled": true,
"__prefab": {
"__id__": 275
},
"clickEvents": [],
"_interactable": true,
"_transition": 0,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 1.2,
"_target": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "23wJ2dsRdFN4f5J64Amk7j"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "6dQuVkpRlMYJ7g0tRXoVCR",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "bg_norw",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 278
},
{
"__id__": 288
},
{
"__id__": 300
}
],
"_active": false,
"_components": [
{
"__id__": 309
},
{
"__id__": 311
},
{
"__id__": 313
}
],
"_prefab": {
"__id__": 315
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "mask",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 277
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 279
},
{
"__id__": 281
},
{
"__id__": 283
},
{
"__id__": 285
}
],
"_prefab": {
"__id__": 287
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 278
},
"_enabled": true,
"__prefab": {
"__id__": 280
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "11oStFYhJFkYxooDswML56"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 278
},
"_enabled": true,
"__prefab": {
"__id__": 282
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 173
},
"_spriteFrame": {
"__uuid__": "3b5a4365-09ed-46db-bdb4-c1dc2d3b806b@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "cdnJz8VqBPYoRSeToQRE+w"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 278
},
"_enabled": true,
"__prefab": {
"__id__": 284
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 2,
"_originalHeight": 2,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ffQUct7rVCgYRtJ0GgNBSu"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 278
},
"_enabled": true,
"__prefab": {
"__id__": 286
},
"clickEvents": [],
"_interactable": true,
"_transition": 0,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 1.2,
"_target": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "05pBg5zdlA74PB8Dw71InF"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "36C0n652VNboN4L9yKnweE",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 277
},
"_children": [
{
"__id__": 289
}
],
"_active": true,
"_components": [
{
"__id__": 295
},
{
"__id__": 297
}
],
"_prefab": {
"__id__": 299
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 125,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "lab",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 288
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 290
},
{
"__id__": 292
}
],
"_prefab": {
"__id__": 294
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -445,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 289
},
"_enabled": true,
"__prefab": {
"__id__": 291
},
"_contentSize": {
"__type__": "cc.Size",
"width": 914.0380859375,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "05cdrxoBBCxpoGJwbisFxf"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 289
},
"_enabled": true,
"__prefab": {
"__id__": 293
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "Good luck with the dice, prizes galore!",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 50,
"_fontSize": 50,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8e+V4aBe5MZ72hBnF29UMz"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "5fq8bdBOlPN7kwh3htMZVr",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 288
},
"_enabled": true,
"__prefab": {
"__id__": 296
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1054,
"height": 873
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "32+X91a8pEq6Vb4g9mKiAn"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 288
},
"_enabled": true,
"__prefab": {
"__id__": 298
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "60442357-ec1f-4dfc-bb80-7c8ee06cd683@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "61CupT+NBOfYN/Dw70srmI"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "039xHx8j5MZ6VQ7FQwIpPH",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "btn_sure",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 277
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 301
},
{
"__id__": 303
},
{
"__id__": 305
}
],
"_prefab": {
"__id__": 308
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -480,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 300
},
"_enabled": true,
"__prefab": {
"__id__": 302
},
"_contentSize": {
"__type__": "cc.Size",
"width": 515,
"height": 191
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "0ffxLwcUJPVaQpAn6wmQxP"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 300
},
"_enabled": true,
"__prefab": {
"__id__": 304
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "eac9d566-c620-4950-971c-849934499ac6@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "deb9Ai7DBOf5xCfwEblp38"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 300
},
"_enabled": true,
"__prefab": {
"__id__": 306
},
"clickEvents": [
{
"__id__": 307
}
],
"_interactable": true,
"_transition": 3,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 0.96,
"_target": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "15PZHemvhHVItRCKtWIw9E"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "5c1d6Gm/4FIG5IXQwohh/9Q",
"handler": "onClickRewardSure",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "71xB4EIjBL3KddY26liYBw",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 277
},
"_enabled": true,
"__prefab": {
"__id__": 310
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "5aZEAHpJNN3oPamIAdjLFa"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 277
},
"_enabled": true,
"__prefab": {
"__id__": 312
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 2,
"_originalHeight": 2,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "59sz09dONAILVFRMzBMTTk"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 277
},
"_enabled": true,
"__prefab": {
"__id__": 314
},
"clickEvents": [],
"_interactable": true,
"_transition": 0,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 1.2,
"_target": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "93+h6Al7xOdp6Gm4jNbKgr"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "9aNwh4vCVCkrcL8WAlVK5l",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "5c1d6Gm/4FIG5IXQwohh/9Q",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 317
},
"_hideEvent": 1,
"_singleton": true,
"_captureFocus": true,
"_shade": false,
"_blockInput": true,
"_alwaysExist": true,
"btn_music": {
"__id__": 38
},
"lab_rw": {
"__id__": 248
},
"reward_bg": {
"__id__": 208
},
"noreward_bg": {
"__id__": 277
},
"game_tips": {
"__id__": 146
},
"touch": {
"__id__": 135
},
"scratchLayer": {
"__id__": 133
},
"rw_icon": {
"__id__": 121
},
"icon_rw": {
"__id__": 242
},
"lab_remain": {
"__id__": 193
},
"btn_start": {
"__id__": 181
},
"game_logo": {
"__id__": 106
},
"game_logo_bg": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "70ggeL6RdBvb3k6EFfOvBi"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 319
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "93kLNYVP5I3YSkAXyvc+8y"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 321
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "beSbf3LfhHg4Z7OdUM5hMf"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "181hznodBBtYZzEfaJaWeP",
"instance": null,
"targetOverrides": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "4892f711-598c-44a7-888d-fb1ceb7ae920",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "PageMain"
}
}

View File

@@ -0,0 +1,284 @@
import { _decorator, Node, tween, Vec3, Sprite, Asset, ImageAsset, SpriteFrame, Texture2D, Label, Graphics, EventTouch, Vec2, UITransform, Color, Mask, UIOpacity, resources } from 'cc';
import BaseView from '../../../../../../extensions/app/assets/base/BaseView';
import { PageTips } from '../../tips/native/PageTips';
import { app } from 'db://assets/app/app';
import { PageRewardhistory } from '../../rewardhistory/native/PageRewardhistory';
import { USERDATA } from 'db://assets/res-native/data/UserData';
import { Tools } from 'db://assets/res-native/tools/Tools';
const { ccclass, property } = _decorator;
@ccclass('PageMain')
export class PageMain extends BaseView {
/** 音乐按钮 */
@property(Node)
btn_music: Node = null!;
/** 奖励文字 */
@property(Label)
lab_rw: Label = null!;
/** 奖励 */
@property(Node)
reward_bg: Node = null!;
/** 奖励 */
@property(Node)
noreward_bg: Node = null!;
/** 游戏提示 */
@property(Node)
game_tips: Node = null!;
/** 触摸节点 */
@property(Node)
touch: Node = null!;
/** 刮刮乐涂层 */
@property(Node)
scratchLayer: Node = null!;
/**奖励icon */
@property(Node)
rw_icon: Node = null!;
/** 奖励icon */
@property(Sprite)
icon_rw: Sprite = null!;
/** 剩余次数 */
@property(Label)
lab_remain: Label = null!;
/** 开始按钮 */
@property(Node)
btn_start: Node = null!;
/** 奖励icon */
@property(Sprite)
game_logo: Sprite = null!;
/** 奖励icon */
@property(Sprite)
game_logo_bg: Sprite = null!;
/** 涂层遮罩 */
private _graphics : Graphics = null!;
/** 每次刮开的宽度半径 */
private _scratchRadioX = 20;
/** 每次刮开的长度半径 */
private _scratchRadioY = 20;
/** 遮罩点 */
private _hidePoint : any[] = []
/** 遮罩点数量 */
private _hidePointNum = 0
/** 是否可以刮 */
private _canScratching = false
/** 是否在播放擦除音效 */
private _wipeEff = false;
/** 是否获得奖励 */
private _rw_type : number = null;
// 初始化的相关逻辑写在这
onLoad() {}
// 界面打开时的相关逻辑写在这(onShow可被多次调用-它与onHide不成对)
onShow(params: any) {
this._graphics = this.scratchLayer.getComponent(Graphics);
this.lab_remain.string = "REMAINING CHANCE : " + USERDATA.point.toString();
this.GameReset(false)
// 监听触摸事件
this.touch.on(Node.EventType.TOUCH_START, this.onTouchStart, this);
this.touch.on(Node.EventType.TOUCH_MOVE, this.onTouch, this);
this.touch.on(Node.EventType.TOUCH_END, this.onTouchEnd, this);
// 加载配置的logo
if (USERDATA.logo && this.game_logo) {
Tools.remoteLoadSprite(USERDATA.logo, this.game_logo)
}
if (USERDATA.logo_back && this.game_logo_bg) {
Tools.remoteLoadSprite(USERDATA.logo_back, this.game_logo_bg)
}
}
// 界面关闭时的相关逻辑写在这(已经关闭的界面不会触发onHide)
onHide(result: undefined) {
// app.manager.ui.show<PageMain>({name: 'PageMain', onHide:(result) => { 接收到return的数据并且有类型提示 }})
// 监听触摸事件
this.touch.off(Node.EventType.TOUCH_START, this.onTouchStart, this);
this.touch.off(Node.EventType.TOUCH_MOVE, this.onTouch, this);
this.touch.off(Node.EventType.TOUCH_END, this.onTouchEnd, this);
return result;
}
/** 点击奖励确定 */
onClickRewardSure(){
this.reward_bg.active = false
this.noreward_bg.active = false
}
/** 点击提示 */
onClickTips(){
app.manager.ui.show<PageTips>({name: 'PageTips'})
}
/** 点击音乐 */
oncClickMusic(){
let music = app.manager.sound.isMusicPlaying
music ? app.manager.sound.stopMusic() : app.manager.sound.playDefaultMusic()
this.loadRes(music ? "main_btn_sounds_off" : "main_btn_sounds_on", Asset, (res: ImageAsset)=>{
let sp = new SpriteFrame()
let tex = new Texture2D();
tex.image = res;
sp.texture = tex
this.btn_music.getComponent(Sprite).spriteFrame = sp
});
}
/** 点击历史 */
onClickRwHis(){
app.manager.ui.show<PageRewardhistory>({name: 'PageRewardhistory'})
}
/** 计算遮罩点 */
initMaskPoint(){
let rows = Math.floor((this.rw_icon.getComponent(UITransform).height + 20) / (this._scratchRadioY * 2))
let cols = Math.floor((this.rw_icon.getComponent(UITransform).width + 50) / (this._scratchRadioX * 2))
rows = Math.ceil(rows / 2)
cols = Math.ceil(cols / 2)
this._hidePoint = []
for (let i = -rows; i <= rows; i++) {
for (let j = -cols; j <= cols; j++) {
this._hidePoint.push({x: j, y: i})
}
}
this._hidePointNum = this._hidePoint.length
}
/** 隐藏游戏提示 */
hideGameTips(){
this.game_tips.active = false
}
onTouch(event: EventTouch) {
this.scratchAtPosition(event.getUILocation());
}
onTouchStart(event: EventTouch) {
if (this._canScratching){
this._wipeEff = true;
app.manager.sound.playEffect({name : "effect/wipe", loop: true})
this.onTouch(event);
}else{
app.manager.ui.showToast(Tools.GetLocalized("Please click start or retry first"));
}
}
onTouchEnd(event: EventTouch) {
if (this._wipeEff) {
app.manager.sound.stopAllEffects();
this._wipeEff = false;
}
this.onTouch(event);
}
// 在指定位置创建擦除效果
scratchAtPosition(worldPos: Vec2) {
if (!this._canScratching) { return; }
const localPos = this.scratchLayer.getComponent(UITransform).convertToNodeSpaceAR(new Vec3(worldPos.x, worldPos.y, 0));
this._graphics.fillRect(localPos.x, localPos.y, this._scratchRadioX * 2, this._scratchRadioY * 2)
this.checkScratchCompletion(localPos);
}
// 检查是否完成刮刮乐
checkScratchCompletion(localPos: Vec3) {
if (this._canScratching){
let x = Math.floor(localPos.x / (this._scratchRadioX * 2))
let y = Math.floor(localPos.y / (this._scratchRadioY * 2))
for (let i = 0; i < this._hidePoint.length; i++) {
if (this._hidePoint[i].x == x && this._hidePoint[i].y == y) {
this._hidePoint.splice(i, 1)
break
}
}
if (this._hidePoint.length / this._hidePointNum < 0.3){
this._canScratching = false;
this.scheduleOnce(()=>{
if (this._wipeEff) {
app.manager.sound.stopAllEffects();
this._wipeEff = false;
}
app.manager.sound.playEffect({name : "effect/win"})
}, 0.3)
const opacity = this.scratchLayer.getComponent(UIOpacity);
tween(opacity)
.to(0.3, { opacity: 0 })
.call(() => {
if (this._rw_type != null) {
this.reward_bg.active = this._rw_type != 3
this.noreward_bg.active = this._rw_type == 3
}
this._rw_type = null
})
.start();
}
}
}
/** 重置刮刮乐 */
GameReset(need_req = true){
if (this._canScratching){
app.manager.ui.showToast("Game is in progress")
return
}
if (USERDATA.point <= 0 && need_req) {
app.manager.ui.showToast(Tools.GetLocalized("no chance"));
return;
}
this._graphics.clear()
this.initMaskPoint()
this.rw_icon.getComponent(Sprite).spriteFrame = null
this.icon_rw.spriteFrame = null
this.scratchLayer.getComponent(UIOpacity).opacity = 255
if (need_req){
this._canScratching = true
Tools.httpReq("lottery", {}, (res:any)=>{
this.loadRes("main_btn_retry", Asset, (res: ImageAsset)=>{
let sp = new SpriteFrame()
let tex = new Texture2D();
tex.image = res;
sp.texture = tex
this.btn_start.getComponent(Sprite).spriteFrame = sp
}),()=>{
this._canScratching = false
return
};
let n = null
for (let i = 0; i < USERDATA.prize_list.length; i++) {
const element = USERDATA.prize_list[i];
if (res.prize_id == element.id){
n = i
break
}
}
if (n == null){
app.manager.ui.showToast(Tools.GetLocalized("fail"))
return
}
this._rw_type = res.prize_type
USERDATA.point--
this.lab_remain.string = "REMAINING CHANCE : " + USERDATA.point.toString()
Tools.remoteLoadSprite(USERDATA.prize_list[n].pic, this.icon_rw)
Tools.SetChildText(this.rw_icon, "lab", USERDATA.prize_list[n].name)
Tools.remoteLoadSprite(USERDATA.prize_list[n].pic, this.rw_icon.getComponent(Sprite))
this.lab_rw.string = Tools.StringLFormat(res.message)
})
}
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "5c1d61a6-ff81-481b-9217-430a2187ff50",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "bdb63f02-2584-4780-ab06-23ee67be4568",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,2 @@
1、只能存放脚本⚠
2、如不再需要可以直接删除此文件夹

View File

@@ -0,0 +1,14 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "a99733dc-4564-4361-bf0a-458cf9eaf630",
"files": [],
"subMetas": {},
"userData": {
"isBundle": true,
"bundleConfigID": "auto_11aBEBWDxI/6ryvKvFthEo",
"priority": 4,
"bundleName": "page-main-res"
}
}

View File

@@ -0,0 +1,6 @@
UI资源目录
1、脚本资源一定不要放在此文件夹内🔥
2、资源会随着UI销毁自动释放
3、在UI脚本内可通过this.loadRes动态加载
4、在UI子节点的脚本内可通过app.manager.ui.loadRes(this, ...)动态加载
5、不可单独删除此文件夹

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "f11b4921-fce8-49cd-9a4c-69c69df1ad43",
"files": [
".jpg",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f11b4921-fce8-49cd-9a4c-69c69df1ad43@6c48a",
"displayName": "main_bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "f11b4921-fce8-49cd-9a4c-69c69df1ad43",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "f11b4921-fce8-49cd-9a4c-69c69df1ad43@f9941",
"displayName": "main_bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1080,
"height": 1920,
"rawWidth": 1080,
"rawHeight": 1920,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-540,
-960,
0,
540,
-960,
0,
-540,
960,
0,
540,
960,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
1920,
1080,
1920,
0,
0,
1080,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-540,
-960,
0
],
"maxPos": [
540,
960,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "f11b4921-fce8-49cd-9a4c-69c69df1ad43@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "f11b4921-fce8-49cd-9a4c-69c69df1ad43@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "89394689-384f-4a33-a40d-e1bf1f4ac839",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "89394689-384f-4a33-a40d-e1bf1f4ac839@6c48a",
"displayName": "main_bg_lab",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "89394689-384f-4a33-a40d-e1bf1f4ac839",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "89394689-384f-4a33-a40d-e1bf1f4ac839@f9941",
"displayName": "main_bg_lab",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -137.5,
"trimX": 76,
"trimY": 1050,
"width": 928,
"height": 95,
"rawWidth": 1080,
"rawHeight": 1920,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-464,
-47.5,
0,
464,
-47.5,
0,
-464,
47.5,
0,
464,
47.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
76,
870,
1004,
870,
76,
775,
1004,
775
],
"nuv": [
0.07037037037037037,
0.4036458333333333,
0.9296296296296296,
0.4036458333333333,
0.07037037037037037,
0.453125,
0.9296296296296296,
0.453125
],
"minPos": [
-464,
-47.5,
0
],
"maxPos": [
464,
47.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "89394689-384f-4a33-a40d-e1bf1f4ac839@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "89394689-384f-4a33-a40d-e1bf1f4ac839@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "0686b7d1-9489-4159-a328-1cd66031003c",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "0686b7d1-9489-4159-a328-1cd66031003c@6c48a",
"displayName": "main_bg_rw",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "0686b7d1-9489-4159-a328-1cd66031003c",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "0686b7d1-9489-4159-a328-1cd66031003c@f9941",
"displayName": "main_bg_rw",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -2,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 958,
"height": 740,
"rawWidth": 962,
"rawHeight": 740,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-479,
-370,
0,
479,
-370,
0,
-479,
370,
0,
479,
370,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
740,
958,
740,
0,
0,
958,
0
],
"nuv": [
0,
0,
0.9958419958419958,
0,
0,
1,
0.9958419958419958,
1
],
"minPos": [
-479,
-370,
0
],
"maxPos": [
479,
370,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "0686b7d1-9489-4159-a328-1cd66031003c@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "0686b7d1-9489-4159-a328-1cd66031003c@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "45d8a4f8-df33-4b31-a470-b85988fe5b1d",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "45d8a4f8-df33-4b31-a470-b85988fe5b1d@6c48a",
"displayName": "main_bg_rw_title",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "45d8a4f8-df33-4b31-a470-b85988fe5b1d",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "45d8a4f8-df33-4b31-a470-b85988fe5b1d@f9941",
"displayName": "main_bg_rw_title",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 773,
"height": 352,
"rawWidth": 773,
"rawHeight": 352,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-386.5,
-176,
0,
386.5,
-176,
0,
-386.5,
176,
0,
386.5,
176,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
352,
773,
352,
0,
0,
773,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-386.5,
-176,
0
],
"maxPos": [
386.5,
176,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "45d8a4f8-df33-4b31-a470-b85988fe5b1d@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "45d8a4f8-df33-4b31-a470-b85988fe5b1d@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "eac9d566-c620-4950-971c-849934499ac6",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "eac9d566-c620-4950-971c-849934499ac6@6c48a",
"displayName": "main_btn_norwretry",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "eac9d566-c620-4950-971c-849934499ac6",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "eac9d566-c620-4950-971c-849934499ac6@f9941",
"displayName": "main_btn_norwretry",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 515,
"height": 191,
"rawWidth": 515,
"rawHeight": 191,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-257.5,
-95.5,
0,
257.5,
-95.5,
0,
-257.5,
95.5,
0,
257.5,
95.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
191,
515,
191,
0,
0,
515,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-257.5,
-95.5,
0
],
"maxPos": [
257.5,
95.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "eac9d566-c620-4950-971c-849934499ac6@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "eac9d566-c620-4950-971c-849934499ac6@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "dfed0fe5-ad3b-4540-92a8-4cae9788ed04",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "dfed0fe5-ad3b-4540-92a8-4cae9788ed04@6c48a",
"displayName": "main_btn_retry",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "dfed0fe5-ad3b-4540-92a8-4cae9788ed04",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "dfed0fe5-ad3b-4540-92a8-4cae9788ed04@f9941",
"displayName": "main_btn_retry",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 309,
"height": 85,
"rawWidth": 309,
"rawHeight": 85,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-154.5,
-42.5,
0,
154.5,
-42.5,
0,
-154.5,
42.5,
0,
154.5,
42.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
85,
309,
85,
0,
0,
309,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-154.5,
-42.5,
0
],
"maxPos": [
154.5,
42.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "dfed0fe5-ad3b-4540-92a8-4cae9788ed04@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "dfed0fe5-ad3b-4540-92a8-4cae9788ed04@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "658b2f1e-7429-4c65-9a9d-8ba14adf34a0",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "658b2f1e-7429-4c65-9a9d-8ba14adf34a0@6c48a",
"displayName": "main_btn_reward",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "658b2f1e-7429-4c65-9a9d-8ba14adf34a0",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "658b2f1e-7429-4c65-9a9d-8ba14adf34a0@f9941",
"displayName": "main_btn_reward",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 95,
"height": 101,
"rawWidth": 95,
"rawHeight": 101,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-47.5,
-50.5,
0,
47.5,
-50.5,
0,
-47.5,
50.5,
0,
47.5,
50.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
101,
95,
101,
0,
0,
95,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-47.5,
-50.5,
0
],
"maxPos": [
47.5,
50.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "658b2f1e-7429-4c65-9a9d-8ba14adf34a0@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "658b2f1e-7429-4c65-9a9d-8ba14adf34a0@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "3f2ae0d4-95ce-407c-8df5-05e2ad62e542",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "3f2ae0d4-95ce-407c-8df5-05e2ad62e542@6c48a",
"displayName": "main_btn_rw_sure",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "3f2ae0d4-95ce-407c-8df5-05e2ad62e542",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "3f2ae0d4-95ce-407c-8df5-05e2ad62e542@f9941",
"displayName": "main_btn_rw_sure",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 515,
"height": 191,
"rawWidth": 515,
"rawHeight": 191,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-257.5,
-95.5,
0,
257.5,
-95.5,
0,
-257.5,
95.5,
0,
257.5,
95.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
191,
515,
191,
0,
0,
515,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-257.5,
-95.5,
0
],
"maxPos": [
257.5,
95.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "3f2ae0d4-95ce-407c-8df5-05e2ad62e542@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "3f2ae0d4-95ce-407c-8df5-05e2ad62e542@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "482daa8e-3325-4cdf-ae00-bebb26f7a9a3",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "482daa8e-3325-4cdf-ae00-bebb26f7a9a3@6c48a",
"displayName": "main_btn_sounds_off",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "482daa8e-3325-4cdf-ae00-bebb26f7a9a3",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "482daa8e-3325-4cdf-ae00-bebb26f7a9a3@f9941",
"displayName": "main_btn_sounds_off",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 95,
"height": 101,
"rawWidth": 95,
"rawHeight": 101,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-47.5,
-50.5,
0,
47.5,
-50.5,
0,
-47.5,
50.5,
0,
47.5,
50.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
101,
95,
101,
0,
0,
95,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-47.5,
-50.5,
0
],
"maxPos": [
47.5,
50.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "482daa8e-3325-4cdf-ae00-bebb26f7a9a3@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "482daa8e-3325-4cdf-ae00-bebb26f7a9a3@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "f76d4098-86bb-4d85-8e5b-beb06b7308f2",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f76d4098-86bb-4d85-8e5b-beb06b7308f2@6c48a",
"displayName": "main_btn_sounds_on",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "f76d4098-86bb-4d85-8e5b-beb06b7308f2",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "f76d4098-86bb-4d85-8e5b-beb06b7308f2@f9941",
"displayName": "main_btn_sounds_on",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 95,
"height": 101,
"rawWidth": 95,
"rawHeight": 101,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-47.5,
-50.5,
0,
47.5,
-50.5,
0,
-47.5,
50.5,
0,
47.5,
50.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
101,
95,
101,
0,
0,
95,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-47.5,
-50.5,
0
],
"maxPos": [
47.5,
50.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "f76d4098-86bb-4d85-8e5b-beb06b7308f2@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "f76d4098-86bb-4d85-8e5b-beb06b7308f2@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "f17d4299-7989-4690-815e-a71c20ac75c6",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f17d4299-7989-4690-815e-a71c20ac75c6@6c48a",
"displayName": "main_btn_start",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "f17d4299-7989-4690-815e-a71c20ac75c6",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "f17d4299-7989-4690-815e-a71c20ac75c6@f9941",
"displayName": "main_btn_start",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 309,
"height": 85,
"rawWidth": 309,
"rawHeight": 85,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-154.5,
-42.5,
0,
154.5,
-42.5,
0,
-154.5,
42.5,
0,
154.5,
42.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
85,
309,
85,
0,
0,
309,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-154.5,
-42.5,
0
],
"maxPos": [
154.5,
42.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "f17d4299-7989-4690-815e-a71c20ac75c6@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "f17d4299-7989-4690-815e-a71c20ac75c6@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "5b600712-8704-49cd-9f95-5f013387a423",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "5b600712-8704-49cd-9f95-5f013387a423@6c48a",
"displayName": "main_btn_tips",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "5b600712-8704-49cd-9f95-5f013387a423",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "5b600712-8704-49cd-9f95-5f013387a423@f9941",
"displayName": "main_btn_tips",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 95,
"height": 101,
"rawWidth": 95,
"rawHeight": 101,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-47.5,
-50.5,
0,
47.5,
-50.5,
0,
-47.5,
50.5,
0,
47.5,
50.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
101,
95,
101,
0,
0,
95,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-47.5,
-50.5,
0
],
"maxPos": [
47.5,
50.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "5b600712-8704-49cd-9f95-5f013387a423@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "5b600712-8704-49cd-9f95-5f013387a423@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "ff891a4e-00f2-477d-9041-6581054e1d6c",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ff891a4e-00f2-477d-9041-6581054e1d6c@6c48a",
"displayName": "main_game_mask",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "ff891a4e-00f2-477d-9041-6581054e1d6c",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "ff891a4e-00f2-477d-9041-6581054e1d6c@f9941",
"displayName": "main_game_mask",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 763,
"height": 405,
"rawWidth": 763,
"rawHeight": 405,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-381.5,
-202.5,
0,
381.5,
-202.5,
0,
-381.5,
202.5,
0,
381.5,
202.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
405,
763,
405,
0,
0,
763,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-381.5,
-202.5,
0
],
"maxPos": [
381.5,
202.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "ff891a4e-00f2-477d-9041-6581054e1d6c@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "ff891a4e-00f2-477d-9041-6581054e1d6c@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "a8f2dcd2-2451-4b7a-8f35-d409c3f8259c",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "a8f2dcd2-2451-4b7a-8f35-d409c3f8259c@6c48a",
"displayName": "main_icon_gold_1",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "a8f2dcd2-2451-4b7a-8f35-d409c3f8259c",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "a8f2dcd2-2451-4b7a-8f35-d409c3f8259c@f9941",
"displayName": "main_icon_gold_1",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 159,
"height": 224,
"rawWidth": 159,
"rawHeight": 224,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-79.5,
-112,
0,
79.5,
-112,
0,
-79.5,
112,
0,
79.5,
112,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
224,
159,
224,
0,
0,
159,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-79.5,
-112,
0
],
"maxPos": [
79.5,
112,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "a8f2dcd2-2451-4b7a-8f35-d409c3f8259c@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "a8f2dcd2-2451-4b7a-8f35-d409c3f8259c@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "66a08ed1-0736-4a9b-afa0-aade7840daf8",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "66a08ed1-0736-4a9b-afa0-aade7840daf8@6c48a",
"displayName": "main_icon_gold_2",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "66a08ed1-0736-4a9b-afa0-aade7840daf8",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "66a08ed1-0736-4a9b-afa0-aade7840daf8@f9941",
"displayName": "main_icon_gold_2",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0.5,
"trimX": 0,
"trimY": 0,
"width": 133,
"height": 216,
"rawWidth": 133,
"rawHeight": 217,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-66.5,
-108,
0,
66.5,
-108,
0,
-66.5,
108,
0,
66.5,
108,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
217,
133,
217,
0,
1,
133,
1
],
"nuv": [
0,
0.004608294930875576,
1,
0.004608294930875576,
0,
1,
1,
1
],
"minPos": [
-66.5,
-108,
0
],
"maxPos": [
66.5,
108,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "66a08ed1-0736-4a9b-afa0-aade7840daf8@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "66a08ed1-0736-4a9b-afa0-aade7840daf8@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "22118f25-e9e1-4b1b-ae53-c3fbe1ab161f",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "22118f25-e9e1-4b1b-ae53-c3fbe1ab161f@6c48a",
"displayName": "main_icon_gold_3",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "22118f25-e9e1-4b1b-ae53-c3fbe1ab161f",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "22118f25-e9e1-4b1b-ae53-c3fbe1ab161f@f9941",
"displayName": "main_icon_gold_3",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 369,
"height": 224,
"rawWidth": 369,
"rawHeight": 224,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-184.5,
-112,
0,
184.5,
-112,
0,
-184.5,
112,
0,
184.5,
112,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
224,
369,
224,
0,
0,
369,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-184.5,
-112,
0
],
"maxPos": [
184.5,
112,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "22118f25-e9e1-4b1b-ae53-c3fbe1ab161f@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "22118f25-e9e1-4b1b-ae53-c3fbe1ab161f@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "22de947c-9735-45be-a07b-4f0e12fd5215",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "22de947c-9735-45be-a07b-4f0e12fd5215@6c48a",
"displayName": "main_icon_light",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "22de947c-9735-45be-a07b-4f0e12fd5215",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "22de947c-9735-45be-a07b-4f0e12fd5215@f9941",
"displayName": "main_icon_light",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 456,
"height": 454,
"rawWidth": 456,
"rawHeight": 454,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-228,
-227,
0,
228,
-227,
0,
-228,
227,
0,
228,
227,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
454,
456,
454,
0,
0,
456,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-228,
-227,
0
],
"maxPos": [
228,
227,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "22de947c-9735-45be-a07b-4f0e12fd5215@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "22de947c-9735-45be-a07b-4f0e12fd5215@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "a8e7784f-8e04-400a-8040-9ac6c4835825",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "a8e7784f-8e04-400a-8040-9ac6c4835825@6c48a",
"displayName": "main_lab_rw_title",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "a8e7784f-8e04-400a-8040-9ac6c4835825",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "a8e7784f-8e04-400a-8040-9ac6c4835825@f9941",
"displayName": "main_lab_rw_title",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 719,
"height": 131,
"rawWidth": 719,
"rawHeight": 131,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-359.5,
-65.5,
0,
359.5,
-65.5,
0,
-359.5,
65.5,
0,
359.5,
65.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
131,
719,
131,
0,
0,
719,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-359.5,
-65.5,
0
],
"maxPos": [
359.5,
65.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "a8e7784f-8e04-400a-8040-9ac6c4835825@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "a8e7784f-8e04-400a-8040-9ac6c4835825@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "d4afde6c-4e1b-4338-8aff-c98d72ca78c9",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "d4afde6c-4e1b-4338-8aff-c98d72ca78c9@6c48a",
"displayName": "main_logo",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "d4afde6c-4e1b-4338-8aff-c98d72ca78c9",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "d4afde6c-4e1b-4338-8aff-c98d72ca78c9@f9941",
"displayName": "main_logo",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 783,
"height": 338,
"rawWidth": 783,
"rawHeight": 338,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-391.5,
-169,
0,
391.5,
-169,
0,
-391.5,
169,
0,
391.5,
169,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
338,
783,
338,
0,
0,
783,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-391.5,
-169,
0
],
"maxPos": [
391.5,
169,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "d4afde6c-4e1b-4338-8aff-c98d72ca78c9@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "d4afde6c-4e1b-4338-8aff-c98d72ca78c9@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "e53ef832-2477-4e1d-b4c0-2279a8959e40",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "e53ef832-2477-4e1d-b4c0-2279a8959e40@6c48a",
"displayName": "main_logo_gold_1",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "e53ef832-2477-4e1d-b4c0-2279a8959e40",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "e53ef832-2477-4e1d-b4c0-2279a8959e40@f9941",
"displayName": "main_logo_gold_1",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 281,
"height": 174,
"rawWidth": 281,
"rawHeight": 174,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-140.5,
-87,
0,
140.5,
-87,
0,
-140.5,
87,
0,
140.5,
87,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
174,
281,
174,
0,
0,
281,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-140.5,
-87,
0
],
"maxPos": [
140.5,
87,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "e53ef832-2477-4e1d-b4c0-2279a8959e40@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "e53ef832-2477-4e1d-b4c0-2279a8959e40@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "200b3b4b-9cdf-456a-b120-587a157b671c",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "200b3b4b-9cdf-456a-b120-587a157b671c@6c48a",
"displayName": "main_logo_gold_2",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "200b3b4b-9cdf-456a-b120-587a157b671c",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "200b3b4b-9cdf-456a-b120-587a157b671c@f9941",
"displayName": "main_logo_gold_2",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 221,
"height": 76,
"rawWidth": 221,
"rawHeight": 76,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-110.5,
-38,
0,
110.5,
-38,
0,
-110.5,
38,
0,
110.5,
38,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
76,
221,
76,
0,
0,
221,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-110.5,
-38,
0
],
"maxPos": [
110.5,
38,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "200b3b4b-9cdf-456a-b120-587a157b671c@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "200b3b4b-9cdf-456a-b120-587a157b671c@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 528 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "a721a89c-9d7b-4754-9f34-d396775ace91",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "a721a89c-9d7b-4754-9f34-d396775ace91@6c48a",
"displayName": "main_machine",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "a721a89c-9d7b-4754-9f34-d396775ace91",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "a721a89c-9d7b-4754-9f34-d396775ace91@f9941",
"displayName": "main_machine",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1080,
"height": 817,
"rawWidth": 1080,
"rawHeight": 817,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-540,
-408.5,
0,
540,
-408.5,
0,
-540,
408.5,
0,
540,
408.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
817,
1080,
817,
0,
0,
1080,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-540,
-408.5,
0
],
"maxPos": [
540,
408.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "a721a89c-9d7b-4754-9f34-d396775ace91@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "a721a89c-9d7b-4754-9f34-d396775ace91@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "60442357-ec1f-4dfc-bb80-7c8ee06cd683",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "60442357-ec1f-4dfc-bb80-7c8ee06cd683@6c48a",
"displayName": "main_norw_bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "60442357-ec1f-4dfc-bb80-7c8ee06cd683",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "60442357-ec1f-4dfc-bb80-7c8ee06cd683@f9941",
"displayName": "main_norw_bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1054,
"height": 873,
"rawWidth": 1054,
"rawHeight": 873,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-527,
-436.5,
0,
527,
-436.5,
0,
-527,
436.5,
0,
527,
436.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
873,
1054,
873,
0,
0,
1054,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-527,
-436.5,
0
],
"maxPos": [
527,
436.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "60442357-ec1f-4dfc-bb80-7c8ee06cd683@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "60442357-ec1f-4dfc-bb80-7c8ee06cd683@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "b04adca5-7bb9-4991-bcad-f8b5b9ba2f20",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "b04adca5-7bb9-4991-bcad-f8b5b9ba2f20@6c48a",
"displayName": "main_peoples",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "b04adca5-7bb9-4991-bcad-f8b5b9ba2f20",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "b04adca5-7bb9-4991-bcad-f8b5b9ba2f20@f9941",
"displayName": "main_peoples",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1080,
"height": 1153,
"rawWidth": 1080,
"rawHeight": 1153,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-540,
-576.5,
0,
540,
-576.5,
0,
-540,
576.5,
0,
540,
576.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
1153,
1080,
1153,
0,
0,
1080,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-540,
-576.5,
0
],
"maxPos": [
540,
576.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "b04adca5-7bb9-4991-bcad-f8b5b9ba2f20@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "b04adca5-7bb9-4991-bcad-f8b5b9ba2f20@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "e5192fd7-8daa-41f7-a254-cca8b7794d45",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "e5192fd7-8daa-41f7-a254-cca8b7794d45@6c48a",
"displayName": "main_rw_1",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "e5192fd7-8daa-41f7-a254-cca8b7794d45",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "e5192fd7-8daa-41f7-a254-cca8b7794d45@f9941",
"displayName": "main_rw_1",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 136,
"height": 135,
"rawWidth": 136,
"rawHeight": 135,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-68,
-67.5,
0,
68,
-67.5,
0,
-68,
67.5,
0,
68,
67.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
135,
136,
135,
0,
0,
136,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-68,
-67.5,
0
],
"maxPos": [
68,
67.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "e5192fd7-8daa-41f7-a254-cca8b7794d45@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "e5192fd7-8daa-41f7-a254-cca8b7794d45@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "f9f6d7df-6ca5-4844-a6e2-de9b83dfba31",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f9f6d7df-6ca5-4844-a6e2-de9b83dfba31@6c48a",
"displayName": "main_rw_2",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "f9f6d7df-6ca5-4844-a6e2-de9b83dfba31",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "f9f6d7df-6ca5-4844-a6e2-de9b83dfba31@f9941",
"displayName": "main_rw_2",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 196,
"height": 159,
"rawWidth": 196,
"rawHeight": 159,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-98,
-79.5,
0,
98,
-79.5,
0,
-98,
79.5,
0,
98,
79.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
159,
196,
159,
0,
0,
196,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-98,
-79.5,
0
],
"maxPos": [
98,
79.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "f9f6d7df-6ca5-4844-a6e2-de9b83dfba31@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "f9f6d7df-6ca5-4844-a6e2-de9b83dfba31@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "4af74d7b-4822-4156-b3ab-edf95fe8d41b",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "4af74d7b-4822-4156-b3ab-edf95fe8d41b@6c48a",
"displayName": "main_rw_3",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "4af74d7b-4822-4156-b3ab-edf95fe8d41b",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "4af74d7b-4822-4156-b3ab-edf95fe8d41b@f9941",
"displayName": "main_rw_3",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 215,
"height": 182,
"rawWidth": 215,
"rawHeight": 182,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-107.5,
-91,
0,
107.5,
-91,
0,
-107.5,
91,
0,
107.5,
91,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
182,
215,
182,
0,
0,
215,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-107.5,
-91,
0
],
"maxPos": [
107.5,
91,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "4af74d7b-4822-4156-b3ab-edf95fe8d41b@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "4af74d7b-4822-4156-b3ab-edf95fe8d41b@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "db633d2f-4bdf-48b0-b079-d19ceea03416",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "db633d2f-4bdf-48b0-b079-d19ceea03416@6c48a",
"displayName": "main_rw_4",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "db633d2f-4bdf-48b0-b079-d19ceea03416",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "db633d2f-4bdf-48b0-b079-d19ceea03416@f9941",
"displayName": "main_rw_4",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 232,
"height": 213,
"rawWidth": 232,
"rawHeight": 213,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-116,
-106.5,
0,
116,
-106.5,
0,
-116,
106.5,
0,
116,
106.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
213,
232,
213,
0,
0,
232,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-116,
-106.5,
0
],
"maxPos": [
116,
106.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "db633d2f-4bdf-48b0-b079-d19ceea03416@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "db633d2f-4bdf-48b0-b079-d19ceea03416@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "817420bd-0834-4afa-9074-ce1014d4fd95",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "817420bd-0834-4afa-9074-ce1014d4fd95@6c48a",
"displayName": "main_rw_5",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "817420bd-0834-4afa-9074-ce1014d4fd95",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "817420bd-0834-4afa-9074-ce1014d4fd95@f9941",
"displayName": "main_rw_5",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 261,
"height": 232,
"rawWidth": 261,
"rawHeight": 232,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-130.5,
-116,
0,
130.5,
-116,
0,
-130.5,
116,
0,
130.5,
116,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
232,
261,
232,
0,
0,
261,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-130.5,
-116,
0
],
"maxPos": [
130.5,
116,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "817420bd-0834-4afa-9074-ce1014d4fd95@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "817420bd-0834-4afa-9074-ce1014d4fd95@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "48b24286-b1ac-4a84-8276-a4ba9f7b98f1",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "48b24286-b1ac-4a84-8276-a4ba9f7b98f1@6c48a",
"displayName": "main_tips_hand",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "48b24286-b1ac-4a84-8276-a4ba9f7b98f1",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "48b24286-b1ac-4a84-8276-a4ba9f7b98f1@f9941",
"displayName": "main_tips_hand",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 115,
"height": 124,
"rawWidth": 115,
"rawHeight": 124,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-57.5,
-62,
0,
57.5,
-62,
0,
-57.5,
62,
0,
57.5,
62,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
124,
115,
124,
0,
0,
115,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-57.5,
-62,
0
],
"maxPos": [
57.5,
62,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "48b24286-b1ac-4a84-8276-a4ba9f7b98f1@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "48b24286-b1ac-4a84-8276-a4ba9f7b98f1@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 B

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "3b5a4365-09ed-46db-bdb4-c1dc2d3b806b",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "3b5a4365-09ed-46db-bdb4-c1dc2d3b806b@6c48a",
"displayName": "singleColor",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "3b5a4365-09ed-46db-bdb4-c1dc2d3b806b",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "3b5a4365-09ed-46db-bdb4-c1dc2d3b806b@f9941",
"displayName": "singleColor",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 2,
"height": 2,
"rawWidth": 2,
"rawHeight": 2,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-1,
-1,
0,
1,
-1,
0,
-1,
1,
0,
1,
1,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
2,
2,
2,
0,
0,
2,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-1,
-1,
0
],
"maxPos": [
1,
1,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "3b5a4365-09ed-46db-bdb4-c1dc2d3b806b@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "3b5a4365-09ed-46db-bdb4-c1dc2d3b806b@6c48a"
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "169756bf-bc5f-471b-8200-c13e4a174b8e",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,3 @@
PageRewardhistory所在文件夹
1、通过app.manager.ui.show({ name:'PageRewardhistory' })的方式加载
2、如不再需要可以直接删除此文件夹

View File

@@ -0,0 +1,14 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "e76f98d3-131d-48aa-bbd5-a1fc99406971",
"files": [],
"subMetas": {},
"userData": {
"isBundle": true,
"bundleConfigID": "auto_f7NI9WxFVIO6e8LbJGF72k",
"priority": 1,
"bundleName": "page-rewardhistory"
}
}

View File

@@ -0,0 +1,4 @@
存放UI以及脚本的文件夹
1、除了UI本身外不允许存放其它任何预置体或场景资源🔥
2、UI脚本在根目录下其它脚本放到expansion目录下
3、不可单独删除此文件夹

View File

@@ -0,0 +1,2284 @@
[
{
"__type__": "cc.Prefab",
"_name": "PageRewardhistory",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "PageRewardhistory",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 10
},
{
"__id__": 57
}
],
"_active": true,
"_components": [
{
"__id__": 93
},
{
"__id__": 95
},
{
"__id__": 97
}
],
"_prefab": {
"__id__": 99
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "mask",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
}
],
"_prefab": {
"__id__": 9
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "bffYXjGadNB7Q4+PI/QoIF"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7cRCi+2JVIPbbMKk3eVKfp"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 150
},
"_spriteFrame": {
"__uuid__": "f02366ec-9682-4417-87b0-bd9723cb4041@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7aZEEniLZLnoT2A6qDMGfE"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "bbqnhfc8RA8aXR1wCSgaxy",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "rehis_bg",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 11
},
{
"__id__": 17
},
{
"__id__": 28
}
],
"_active": true,
"_components": [
{
"__id__": 52
},
{
"__id__": 54
}
],
"_prefab": {
"__id__": 56
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "rehis_bg_title",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 10
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
},
{
"__id__": 14
}
],
"_prefab": {
"__id__": 16
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 730,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 13
},
"_contentSize": {
"__type__": "cc.Size",
"width": 670,
"height": 230
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a1GKjezwlJSJnN7pe9xqLJ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 15
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "2f12e860-64f6-462e-b3a0-eb4d04dfec81@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "984eQoJG9DX5FV3uH1n2PL"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "36np2mmfVGS4ROL8gu3fv8",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "btn_close",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 10
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 18
},
{
"__id__": 20
},
{
"__id__": 22
},
{
"__id__": 24
}
],
"_prefab": {
"__id__": 27
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 451,
"y": 712,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 17
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"_contentSize": {
"__type__": "cc.Size",
"width": 136,
"height": 143
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "3bs6eCETFKzYTMMb53B9n2"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 17
},
"_enabled": true,
"__prefab": {
"__id__": 21
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "381a00f4-28a8-42d0-b9cb-cb658a3bc139@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "69YgQPdGZKpK1htY243dkH"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 17
},
"_enabled": true,
"__prefab": {
"__id__": 23
},
"_alignFlags": 33,
"_target": null,
"_left": 0,
"_right": -20,
"_top": -55.5,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "80ALlTPLBFNrNvhpkQYKPM"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 17
},
"_enabled": true,
"__prefab": {
"__id__": 25
},
"clickEvents": [
{
"__id__": 26
}
],
"_interactable": true,
"_transition": 3,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 0.96,
"_target": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "02hBBBYaxEPJVtzXIX+TQH"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "a70db4PkldMrqJCkQvJdOTQ",
"handler": "hide",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "a2aT9KQWRHAoC5YWwCC8Aw",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "rw_list",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 10
},
"_children": [
{
"__id__": 29
}
],
"_active": true,
"_components": [
{
"__id__": 45
},
{
"__id__": 47
},
{
"__id__": 49
}
],
"_prefab": {
"__id__": 51
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -20,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "mask",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 28
},
"_children": [
{
"__id__": 30
}
],
"_active": true,
"_components": [
{
"__id__": 36
},
{
"__id__": 38
},
{
"__id__": 40
},
{
"__id__": 42
}
],
"_prefab": {
"__id__": 44
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "content",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 29
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 31
},
{
"__id__": 33
}
],
"_prefab": {
"__id__": 35
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 596,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 30
},
"_enabled": true,
"__prefab": {
"__id__": 32
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": -30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 1
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c5R0L9MrBJZrzT+2sQTjhl"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 30
},
"_enabled": true,
"__prefab": {
"__id__": 34
},
"_resizeMode": 1,
"_layoutType": 2,
"_cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_startAxis": 0,
"_paddingLeft": 0,
"_paddingRight": 0,
"_paddingTop": 0,
"_paddingBottom": 0,
"_spacingX": 0,
"_spacingY": 30,
"_verticalDirection": 1,
"_horizontalDirection": 0,
"_constraint": 0,
"_constraintNum": 2,
"_affectedByScale": false,
"_isAlign": false,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c20JVpkGFH9ZQrsnjUP7J1"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "adwgBXFMJHP6vbTClSkkcv",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 29
},
"_enabled": true,
"__prefab": {
"__id__": 37
},
"_contentSize": {
"__type__": "cc.Size",
"width": 838,
"height": 1176
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "dfecdW6XZH4rtvJ4XNsqvn"
},
{
"__type__": "cc.Mask",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 29
},
"_enabled": true,
"__prefab": {
"__id__": 39
},
"_type": 0,
"_inverted": false,
"_segments": 64,
"_alphaThreshold": 0.1,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "9cXLtOWxFAi7aY7KonSggx"
},
{
"__type__": "cc.Graphics",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 29
},
"_enabled": true,
"__prefab": {
"__id__": 41
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_lineWidth": 1,
"_strokeColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_lineJoin": 2,
"_lineCap": 0,
"_fillColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 0
},
"_miterLimit": 10,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "13TM5Y/e1IiLSO90FdQfVR"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 29
},
"_enabled": true,
"__prefab": {
"__id__": 43
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "eaipPus09CE47pOj0qhOJ3"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "626PlbjDVN/5DyH4A13Hbo",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 46
},
"_contentSize": {
"__type__": "cc.Size",
"width": 838,
"height": 1176
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "87EV8TcYxOU4q32+Rca4yo"
},
{
"__type__": "cc.ScrollView",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 48
},
"bounceDuration": 1,
"brake": 0.5,
"elastic": true,
"inertia": true,
"horizontal": false,
"vertical": true,
"cancelInnerEvents": true,
"scrollEvents": [],
"_content": {
"__id__": 30
},
"_horizontalScrollBar": null,
"_verticalScrollBar": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "77Yv3wlQpK1KCIl+GZVf+P"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 50
},
"_alignFlags": 45,
"_target": null,
"_left": 80,
"_right": 80,
"_top": 160,
"_bottom": 120,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "bfLCQyoshOuJK46743VnVw"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "7chrvFK39HT7lXWyIdpNHV",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 53
},
"_contentSize": {
"__type__": "cc.Size",
"width": 998,
"height": 1456
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8bBpxEqYlOBbTY+5sAe0wj"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 55
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "5198c377-3de0-4ac4-ab9e-81a5c3b85c9f@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8cJTs+KZNODIWRuB6R4Qcc"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "aeI23Z1VFFHbej1+bcDfxJ",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "rw_item",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 58
},
{
"__id__": 70
},
{
"__id__": 76
},
{
"__id__": 82
}
],
"_active": false,
"_components": [
{
"__id__": 88
},
{
"__id__": 90
}
],
"_prefab": {
"__id__": 92
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "rehis_bg_rw",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 57
},
"_children": [
{
"__id__": 59
}
],
"_active": true,
"_components": [
{
"__id__": 65
},
{
"__id__": 67
}
],
"_prefab": {
"__id__": 69
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -260,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "icon",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 58
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 60
},
{
"__id__": 62
}
],
"_prefab": {
"__id__": 64
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 59
},
"_enabled": true,
"__prefab": {
"__id__": 61
},
"_contentSize": {
"__type__": "cc.Size",
"width": 135,
"height": 135
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "9eJIwEfKVN7ZjkTTxdPEhW"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 59
},
"_enabled": true,
"__prefab": {
"__id__": 63
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": null,
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "daSNSwwHFBo51DBDnYrYVf"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "ebADOrCZhMm4etSoWUvB7w",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 58
},
"_enabled": true,
"__prefab": {
"__id__": 66
},
"_contentSize": {
"__type__": "cc.Size",
"width": 240,
"height": 240
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "81G7eldpxJ3ppKZ8P9hkPf"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 58
},
"_enabled": true,
"__prefab": {
"__id__": 68
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "2305111f-e56f-4991-8aac-e10282bc8b86@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f4tK6bBplAMbGC2GPdKezH"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "6fBetE+YhHaIsM9ozM2HLs",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "lab_num",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 57
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 71
},
{
"__id__": 73
}
],
"_prefab": {
"__id__": 75
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -80,
"y": 60,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 70
},
"_enabled": true,
"__prefab": {
"__id__": 72
},
"_contentSize": {
"__type__": "cc.Size",
"width": 400,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b70p2VMCZPm7AEeTP27on1"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 70
},
"_enabled": true,
"__prefab": {
"__id__": 74
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 254,
"b": 228,
"a": 255
},
"_string": "50 Credits",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 41,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 2,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "54F83KoqVCtI0BFr62hprZ"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "a9isNGzsZLMr75cXd8J/j+",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "lab_time_title",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 57
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 77
},
{
"__id__": 79
}
],
"_prefab": {
"__id__": 81
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -80,
"y": -20,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 76
},
"_enabled": true,
"__prefab": {
"__id__": 78
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "68yXRYR6tKjLomSWMi/Ltl"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 76
},
"_enabled": true,
"__prefab": {
"__id__": 80
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 254,
"b": 228,
"a": 255
},
"_string": "Obtain Time:",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 25,
"_fontSize": 24,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 2,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "3eTBI9VzVCn7bERganRT8e"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "60wH7WTQdKXp6CoZ1OUbk+",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "lab_time",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 57
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 83
},
{
"__id__": 85
}
],
"_prefab": {
"__id__": 87
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -80,
"y": -60,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 82
},
"_enabled": true,
"__prefab": {
"__id__": 84
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "5bxHv7aA1BL7dB0hqsxwod"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 82
},
"_enabled": true,
"__prefab": {
"__id__": 86
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 254,
"b": 228,
"a": 255
},
"_string": "2025-06-06 12:33:33",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 25,
"_fontSize": 24,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 2,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ebNOJUgtBO6q1/3SWWWyHu"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "7aBrKuUghLXaJlAwDPvCrB",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 57
},
"_enabled": true,
"__prefab": {
"__id__": 89
},
"_contentSize": {
"__type__": "cc.Size",
"width": 828,
"height": 289
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "91RRU2DW9IZouOvD6QIqhT"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 57
},
"_enabled": true,
"__prefab": {
"__id__": 91
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "2f833d48-cce6-4b5e-bcc3-de30bfa9ebc8@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "9f6qaYWzRMxKruomyp/IkF"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "0e35HmFcBAvqnvHR0uCSOh",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "a70db4PkldMrqJCkQvJdOTQ",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 94
},
"_hideEvent": 2,
"_singleton": true,
"_captureFocus": true,
"_shade": false,
"_blockInput": true,
"_alwaysExist": false,
"rw_item": {
"__id__": 57
},
"rw_list": {
"__id__": 47
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "689lCMjJZJI4uUV6znpRKN"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 96
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7ba1ZyY9tHo4Hrq2Ww9Oa6"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 98
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "744gmrD/dAUoVkMgrOfyML"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "68C1xdSS5HCqj8JNp7fqdk",
"instance": null,
"targetOverrides": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "5231a223-7efb-466d-849b-e506ffbf58bf",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "PageRewardhistory"
}
}

View File

@@ -0,0 +1,39 @@
import { _decorator, Node, ScrollView, Sprite } from 'cc';
import BaseView from '../../../../../../extensions/app/assets/base/BaseView';
import { Tools } from 'db://assets/res-native/tools/Tools';
const { ccclass, property } = _decorator;
@ccclass('PageRewardhistory')
export class PageRewardhistory extends BaseView {
@property(Node)
rw_item: Node = null!;
@property(ScrollView)
rw_list: ScrollView = null!;
// 初始化的相关逻辑写在这
onLoad() {}
// 界面打开时的相关逻辑写在这(onShow可被多次调用-它与onHide不成对)
onShow(params: any) {
this.initRw()
}
initRw() {
this.rw_list.content.removeAllChildren()
Tools.httpReq("draw-records", {}, (res:any)=>{
for (let i = 0; i < res.length; i++) {
let d = res[i]
let item = Tools.AddChild(this.rw_list.content, this.rw_item, "item" + i);
Tools.SetChildText(item, "lab_num", d.prize_name)
Tools.SetChildText(item, "lab_time", d.draw_time)
Tools.remoteLoadSprite(d.prize_pic, Tools.GetChildComp(item, "rehis_bg_rw/icon", Sprite))
item.active = true;
}
})
}
// 界面关闭时的相关逻辑写在这(已经关闭的界面不会触发onHide)
onHide(result: undefined) {
// app.manager.ui.show<PageRewardhistory>({name: 'PageRewardhistory', onHide:(result) => { 接收到return的数据并且有类型提示 }})
return result;
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "a70dbe0f-9257-4cae-a242-910bc974e4d0",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "cb733b05-a6d4-4c8c-a674-9e1dd4ad3084",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,2 @@
1、只能存放脚本⚠
2、如不再需要可以直接删除此文件夹

View File

@@ -0,0 +1,14 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "ede1d7ef-2b9f-48e9-b21a-107727dba4e0",
"files": [],
"subMetas": {},
"userData": {
"isBundle": true,
"bundleConfigID": "auto_11aBEBWDxI/6ryvKvFthEo",
"priority": 4,
"bundleName": "page-rewardhistory-res"
}
}

View File

@@ -0,0 +1,6 @@
UI资源目录
1、脚本资源一定不要放在此文件夹内🔥
2、资源会随着UI销毁自动释放
3、在UI脚本内可通过this.loadRes动态加载
4、在UI子节点的脚本内可通过app.manager.ui.loadRes(this, ...)动态加载
5、不可单独删除此文件夹

Binary file not shown.

After

Width:  |  Height:  |  Size: 492 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "5198c377-3de0-4ac4-ab9e-81a5c3b85c9f",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "5198c377-3de0-4ac4-ab9e-81a5c3b85c9f@6c48a",
"displayName": "rehis_bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "5198c377-3de0-4ac4-ab9e-81a5c3b85c9f",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "5198c377-3de0-4ac4-ab9e-81a5c3b85c9f@f9941",
"displayName": "rehis_bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 998,
"height": 1456,
"rawWidth": 998,
"rawHeight": 1456,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-499,
-728,
0,
499,
-728,
0,
-499,
728,
0,
499,
728,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
1456,
998,
1456,
0,
0,
998,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-499,
-728,
0
],
"maxPos": [
499,
728,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "5198c377-3de0-4ac4-ab9e-81a5c3b85c9f@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "5198c377-3de0-4ac4-ab9e-81a5c3b85c9f@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "2305111f-e56f-4991-8aac-e10282bc8b86",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "2305111f-e56f-4991-8aac-e10282bc8b86@6c48a",
"displayName": "rehis_bg_rw",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "2305111f-e56f-4991-8aac-e10282bc8b86",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "2305111f-e56f-4991-8aac-e10282bc8b86@f9941",
"displayName": "rehis_bg_rw",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 280,
"height": 274,
"rawWidth": 280,
"rawHeight": 274,
"borderTop": 132,
"borderBottom": 132,
"borderLeft": 132,
"borderRight": 132,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-140,
-137,
0,
140,
-137,
0,
-140,
137,
0,
140,
137,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
274,
280,
274,
0,
0,
280,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-140,
-137,
0
],
"maxPos": [
140,
137,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "2305111f-e56f-4991-8aac-e10282bc8b86@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "2305111f-e56f-4991-8aac-e10282bc8b86@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "381a00f4-28a8-42d0-b9cb-cb658a3bc139",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "381a00f4-28a8-42d0-b9cb-cb658a3bc139@6c48a",
"displayName": "rehis_btn_close",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "381a00f4-28a8-42d0-b9cb-cb658a3bc139",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "381a00f4-28a8-42d0-b9cb-cb658a3bc139@f9941",
"displayName": "rehis_btn_close",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 136,
"height": 143,
"rawWidth": 136,
"rawHeight": 143,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-68,
-71.5,
0,
68,
-71.5,
0,
-68,
71.5,
0,
68,
71.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
143,
136,
143,
0,
0,
136,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-68,
-71.5,
0
],
"maxPos": [
68,
71.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "381a00f4-28a8-42d0-b9cb-cb658a3bc139@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "381a00f4-28a8-42d0-b9cb-cb658a3bc139@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "a731d7f5-9058-4cbb-be76-758a438425c4",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "a731d7f5-9058-4cbb-be76-758a438425c4@6c48a",
"displayName": "rehis_rw_1",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "a731d7f5-9058-4cbb-be76-758a438425c4",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "a731d7f5-9058-4cbb-be76-758a438425c4@f9941",
"displayName": "rehis_rw_1",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 135,
"height": 135,
"rawWidth": 135,
"rawHeight": 135,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-67.5,
-67.5,
0,
67.5,
-67.5,
0,
-67.5,
67.5,
0,
67.5,
67.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
135,
135,
135,
0,
0,
135,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-67.5,
-67.5,
0
],
"maxPos": [
67.5,
67.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "a731d7f5-9058-4cbb-be76-758a438425c4@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "a731d7f5-9058-4cbb-be76-758a438425c4@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "3fbdbaa3-df15-4081-bbb3-c7725d13c49e",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "3fbdbaa3-df15-4081-bbb3-c7725d13c49e@6c48a",
"displayName": "rehis_rw_2",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "3fbdbaa3-df15-4081-bbb3-c7725d13c49e",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "3fbdbaa3-df15-4081-bbb3-c7725d13c49e@f9941",
"displayName": "rehis_rw_2",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 196,
"height": 159,
"rawWidth": 196,
"rawHeight": 159,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-98,
-79.5,
0,
98,
-79.5,
0,
-98,
79.5,
0,
98,
79.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
159,
196,
159,
0,
0,
196,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-98,
-79.5,
0
],
"maxPos": [
98,
79.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "3fbdbaa3-df15-4081-bbb3-c7725d13c49e@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "3fbdbaa3-df15-4081-bbb3-c7725d13c49e@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "78511dc3-193b-4a20-8226-6ab4d9ac5246",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "78511dc3-193b-4a20-8226-6ab4d9ac5246@6c48a",
"displayName": "rehis_rw_3",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "78511dc3-193b-4a20-8226-6ab4d9ac5246",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "78511dc3-193b-4a20-8226-6ab4d9ac5246@f9941",
"displayName": "rehis_rw_3",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 215,
"height": 182,
"rawWidth": 215,
"rawHeight": 182,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-107.5,
-91,
0,
107.5,
-91,
0,
-107.5,
91,
0,
107.5,
91,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
182,
215,
182,
0,
0,
215,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-107.5,
-91,
0
],
"maxPos": [
107.5,
91,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "78511dc3-193b-4a20-8226-6ab4d9ac5246@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "78511dc3-193b-4a20-8226-6ab4d9ac5246@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "acc85cbf-be03-4e36-8513-a8feb0c490ad",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "acc85cbf-be03-4e36-8513-a8feb0c490ad@6c48a",
"displayName": "rehis_rw_4",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "acc85cbf-be03-4e36-8513-a8feb0c490ad",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "acc85cbf-be03-4e36-8513-a8feb0c490ad@f9941",
"displayName": "rehis_rw_4",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 232,
"height": 213,
"rawWidth": 232,
"rawHeight": 213,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-116,
-106.5,
0,
116,
-106.5,
0,
-116,
106.5,
0,
116,
106.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
213,
232,
213,
0,
0,
232,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-116,
-106.5,
0
],
"maxPos": [
116,
106.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "acc85cbf-be03-4e36-8513-a8feb0c490ad@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "acc85cbf-be03-4e36-8513-a8feb0c490ad@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "ed3dc650-139e-4619-b373-33c3b50f97b3",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ed3dc650-139e-4619-b373-33c3b50f97b3@6c48a",
"displayName": "rehis_rw_5",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "ed3dc650-139e-4619-b373-33c3b50f97b3",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "ed3dc650-139e-4619-b373-33c3b50f97b3@f9941",
"displayName": "rehis_rw_5",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 261,
"height": 232,
"rawWidth": 261,
"rawHeight": 232,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-130.5,
-116,
0,
130.5,
-116,
0,
-130.5,
116,
0,
130.5,
116,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
232,
261,
232,
0,
0,
261,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-130.5,
-116,
0
],
"maxPos": [
130.5,
116,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "ed3dc650-139e-4619-b373-33c3b50f97b3@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "ed3dc650-139e-4619-b373-33c3b50f97b3@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "2f833d48-cce6-4b5e-bcc3-de30bfa9ebc8",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "2f833d48-cce6-4b5e-bcc3-de30bfa9ebc8@6c48a",
"displayName": "rehis_rw_bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "2f833d48-cce6-4b5e-bcc3-de30bfa9ebc8",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "2f833d48-cce6-4b5e-bcc3-de30bfa9ebc8@f9941",
"displayName": "rehis_rw_bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 828,
"height": 289,
"rawWidth": 828,
"rawHeight": 289,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-414,
-144.5,
0,
414,
-144.5,
0,
-414,
144.5,
0,
414,
144.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
289,
828,
289,
0,
0,
828,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-414,
-144.5,
0
],
"maxPos": [
414,
144.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "2f833d48-cce6-4b5e-bcc3-de30bfa9ebc8@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "2f833d48-cce6-4b5e-bcc3-de30bfa9ebc8@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "2f12e860-64f6-462e-b3a0-eb4d04dfec81",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "2f12e860-64f6-462e-b3a0-eb4d04dfec81@6c48a",
"displayName": "rehis_title",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "2f12e860-64f6-462e-b3a0-eb4d04dfec81",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "2f12e860-64f6-462e-b3a0-eb4d04dfec81@f9941",
"displayName": "rehis_title",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 670,
"height": 230,
"rawWidth": 670,
"rawHeight": 230,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-335,
-115,
0,
335,
-115,
0,
-335,
115,
0,
335,
115,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
230,
670,
230,
0,
0,
670,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-335,
-115,
0
],
"maxPos": [
335,
115,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "2f12e860-64f6-462e-b3a0-eb4d04dfec81@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "2f12e860-64f6-462e-b3a0-eb4d04dfec81@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 B

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "f02366ec-9682-4417-87b0-bd9723cb4041",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f02366ec-9682-4417-87b0-bd9723cb4041@6c48a",
"displayName": "singleColor",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "f02366ec-9682-4417-87b0-bd9723cb4041",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "f02366ec-9682-4417-87b0-bd9723cb4041@f9941",
"displayName": "singleColor",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 2,
"height": 2,
"rawWidth": 2,
"rawHeight": 2,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-1,
-1,
0,
1,
-1,
0,
-1,
1,
0,
1,
1,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
2,
2,
2,
0,
0,
2,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-1,
-1,
0
],
"maxPos": [
1,
1,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "f02366ec-9682-4417-87b0-bd9723cb4041@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "f02366ec-9682-4417-87b0-bd9723cb4041@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "09e2d82a-3d4f-4102-b780-de9ea86f192b",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,3 @@
PageTips所在文件夹
1、通过app.manager.ui.show({ name:'PageTips' })的方式加载
2、如不再需要可以直接删除此文件夹

View File

@@ -0,0 +1,14 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "4ed45723-cb84-4213-9fde-d70ce968b9b0",
"files": [],
"subMetas": {},
"userData": {
"isBundle": true,
"bundleConfigID": "auto_f7NI9WxFVIO6e8LbJGF72k",
"priority": 1,
"bundleName": "page-tips"
}
}

View File

@@ -0,0 +1,4 @@
存放UI以及脚本的文件夹
1、除了UI本身外不允许存放其它任何预置体或场景资源🔥
2、UI脚本在根目录下其它脚本放到expansion目录下
3、不可单独删除此文件夹

View File

@@ -0,0 +1,1218 @@
[
{
"__type__": "cc.Prefab",
"_name": "PageTips",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "PageTips",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 10
}
],
"_active": true,
"_components": [
{
"__id__": 47
},
{
"__id__": 49
},
{
"__id__": 51
}
],
"_prefab": {
"__id__": 53
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "mask",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
}
],
"_prefab": {
"__id__": 9
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "855hhnaT9AHLxt7GxEQCL8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 150
},
"_spriteFrame": {
"__uuid__": "06c69eac-72f1-4cf9-938e-ece19602cc55@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d0VapTGlhL44GLDGmoMHIi"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1aLpquux9Dob4Ar9pF7GYh"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d0CzyElo5AOI+9uKiojWR3",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 11
},
{
"__id__": 23
},
{
"__id__": 34
}
],
"_active": true,
"_components": [
{
"__id__": 42
},
{
"__id__": 44
}
],
"_prefab": {
"__id__": 46
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "tips_bg_title",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 10
},
"_children": [
{
"__id__": 12
}
],
"_active": true,
"_components": [
{
"__id__": 18
},
{
"__id__": 20
}
],
"_prefab": {
"__id__": 22
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 730,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "title",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 11
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 13
},
{
"__id__": 15
}
],
"_prefab": {
"__id__": 17
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 15,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 12
},
"_enabled": true,
"__prefab": {
"__id__": 14
},
"_contentSize": {
"__type__": "cc.Size",
"width": 741,
"height": 245
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e6bFRknSRAV6SOBlTbQbE5"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 12
},
"_enabled": true,
"__prefab": {
"__id__": 16
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "f28663c8-a56e-4250-bc32-12e6ec054846@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "34QGt3dJ1De4Ky5PX7dhEc"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "ccSv3OFI5JMI2YR4/vJJH0",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"_contentSize": {
"__type__": "cc.Size",
"width": 741,
"height": 245
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "10k+HQ+dhEOpv+h1gNkMpj"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 21
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "f28663c8-a56e-4250-bc32-12e6ec054846@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "64wrR76RpGh66GmfFhXwGs"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "8cdTt93QFJQ47qdk9zWm47",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "btn_close",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 10
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 24
},
{
"__id__": 26
},
{
"__id__": 28
},
{
"__id__": 30
}
],
"_prefab": {
"__id__": 33
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 465,
"y": 712,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
},
"_enabled": true,
"__prefab": {
"__id__": 25
},
"_contentSize": {
"__type__": "cc.Size",
"width": 136,
"height": 143
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c81oaqd/hFMJbTtvIOpb7a"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
},
"_enabled": true,
"__prefab": {
"__id__": 27
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "e4c4a51f-4906-4750-92fa-eda8ea787e68@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e32xl/XVNMw4Mux/FhoJHg"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
},
"_enabled": true,
"__prefab": {
"__id__": 29
},
"_alignFlags": 33,
"_target": null,
"_left": 0,
"_right": -34,
"_top": -55.5,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a77EROo3VIyIVVyfiCA3gh"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 23
},
"_enabled": true,
"__prefab": {
"__id__": 31
},
"clickEvents": [
{
"__id__": 32
}
],
"_interactable": true,
"_transition": 3,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_hoverColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_pressedColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_normalSprite": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 0.96,
"_target": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "41MXh67GBHSaRHn+G95VLq"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "79948hibTlEY5RVGpx/edvj",
"handler": "hide",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "a7p8qYyWlARb/S9yiHW8xE",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "lab_tips",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 10
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 35
},
{
"__id__": 37
},
{
"__id__": 39
}
],
"_prefab": {
"__id__": 41
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -25,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 34
},
"_enabled": true,
"__prefab": {
"__id__": 36
},
"_contentSize": {
"__type__": "cc.Size",
"width": 758,
"height": 1106
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "4buQ/O/8VKfqYQlwSjTu2D"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 34
},
"_enabled": true,
"__prefab": {
"__id__": 38
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 224,
"b": 213,
"a": 255
},
"_string": "",
"_horizontalAlign": 0,
"_verticalAlign": 0,
"_actualFontSize": 33,
"_fontSize": 32,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 2,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "abLDZbR01A+Z/f720dYtxZ"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 34
},
"_enabled": true,
"__prefab": {
"__id__": 40
},
"_alignFlags": 45,
"_target": null,
"_left": 120,
"_right": 120,
"_top": 200,
"_bottom": 150,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 700,
"_originalHeight": 400,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "95NfXeQS1GaqBmpbIGFS9v"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "99FUHm8JhMHK4TbR9+XfqB",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 43
},
"_contentSize": {
"__type__": "cc.Size",
"width": 998,
"height": 1456
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "73lVCMbLRPRJ7jqVFJXNn+"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 10
},
"_enabled": true,
"__prefab": {
"__id__": 45
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "d4a6fcf4-f444-4ba7-83be-b2bfae37b174@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "bfPwi6E+VBTKSgAzV1+snk"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "b31L8f7wxDCZX14TH8RZ2P",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "79948hibTlEY5RVGpx/edvj",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 48
},
"_hideEvent": 2,
"_singleton": true,
"_captureFocus": true,
"_shade": false,
"_blockInput": true,
"_alwaysExist": false,
"lab_tips": {
"__id__": 37
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "61DG2Hhm9Lf7Z9V9XAwcZD"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 50
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e1RBJlY5BO27PDlfslJaia"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 52
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f09VrsjTNCgKly1ztpB1Gx"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "13R0oe3xFAmrvlQLMv2EeI",
"instance": null,
"targetOverrides": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "f8f8b7ef-6d55-4b2e-997d-fb96104ac47d",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "PageTips"
}
}

View File

@@ -0,0 +1,24 @@
import { _decorator, Label } from 'cc';
import BaseView from '../../../../../../extensions/app/assets/base/BaseView';
import { USERDATA } from 'db://assets/res-native/data/UserData';
const { ccclass, property } = _decorator;
@ccclass('PageTips')
export class PageTips extends BaseView {
/** tips */
@property(Label)
lab_tips: Label = null!;
// 初始化的相关逻辑写在这
onLoad() {}
// 界面打开时的相关逻辑写在这(onShow可被多次调用-它与onHide不成对)
onShow(params: any) {
this.lab_tips.string = USERDATA.description
}
// 界面关闭时的相关逻辑写在这(已经关闭的界面不会触发onHide)
onHide(result: undefined) {
// app.manager.ui.show<PageTips>({name: 'PageTips', onHide:(result) => { 接收到return的数据并且有类型提示 }})
return result;
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "79948862-6d39-4463-9455-1a9c7f79dbe3",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "d5c2c247-b89a-42bc-a389-290ca94b79d9",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,2 @@
1、只能存放脚本⚠
2、如不再需要可以直接删除此文件夹

View File

@@ -0,0 +1,14 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "bc281800-ee8d-4ec9-bd7d-1373ede53490",
"files": [],
"subMetas": {},
"userData": {
"isBundle": true,
"bundleConfigID": "auto_11aBEBWDxI/6ryvKvFthEo",
"priority": 4,
"bundleName": "page-tips-res"
}
}

View File

@@ -0,0 +1,6 @@
UI资源目录
1、脚本资源一定不要放在此文件夹内🔥
2、资源会随着UI销毁自动释放
3、在UI脚本内可通过this.loadRes动态加载
4、在UI子节点的脚本内可通过app.manager.ui.loadRes(this, ...)动态加载
5、不可单独删除此文件夹

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 B

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "06c69eac-72f1-4cf9-938e-ece19602cc55",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "06c69eac-72f1-4cf9-938e-ece19602cc55@6c48a",
"displayName": "singleColor",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "06c69eac-72f1-4cf9-938e-ece19602cc55",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "06c69eac-72f1-4cf9-938e-ece19602cc55@f9941",
"displayName": "singleColor",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 2,
"height": 2,
"rawWidth": 2,
"rawHeight": 2,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-1,
-1,
0,
1,
-1,
0,
-1,
1,
0,
1,
1,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
2,
2,
2,
0,
0,
2,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-1,
-1,
0
],
"maxPos": [
1,
1,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "06c69eac-72f1-4cf9-938e-ece19602cc55@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "06c69eac-72f1-4cf9-938e-ece19602cc55@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 492 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "d4a6fcf4-f444-4ba7-83be-b2bfae37b174",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "d4a6fcf4-f444-4ba7-83be-b2bfae37b174@6c48a",
"displayName": "tips_bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "d4a6fcf4-f444-4ba7-83be-b2bfae37b174",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "d4a6fcf4-f444-4ba7-83be-b2bfae37b174@f9941",
"displayName": "tips_bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 998,
"height": 1456,
"rawWidth": 998,
"rawHeight": 1456,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-499,
-728,
0,
499,
-728,
0,
-499,
728,
0,
499,
728,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
1456,
998,
1456,
0,
0,
998,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-499,
-728,
0
],
"maxPos": [
499,
728,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "d4a6fcf4-f444-4ba7-83be-b2bfae37b174@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "d4a6fcf4-f444-4ba7-83be-b2bfae37b174@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "e4c4a51f-4906-4750-92fa-eda8ea787e68",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "e4c4a51f-4906-4750-92fa-eda8ea787e68@6c48a",
"displayName": "tips_btn_close",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "e4c4a51f-4906-4750-92fa-eda8ea787e68",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "e4c4a51f-4906-4750-92fa-eda8ea787e68@f9941",
"displayName": "tips_btn_close",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 136,
"height": 143,
"rawWidth": 136,
"rawHeight": 143,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-68,
-71.5,
0,
68,
-71.5,
0,
-68,
71.5,
0,
68,
71.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
143,
136,
143,
0,
0,
136,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-68,
-71.5,
0
],
"maxPos": [
68,
71.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "e4c4a51f-4906-4750-92fa-eda8ea787e68@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "e4c4a51f-4906-4750-92fa-eda8ea787e68@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "f28663c8-a56e-4250-bc32-12e6ec054846",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f28663c8-a56e-4250-bc32-12e6ec054846@6c48a",
"displayName": "tips_title",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "f28663c8-a56e-4250-bc32-12e6ec054846",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "f28663c8-a56e-4250-bc32-12e6ec054846@f9941",
"displayName": "tips_title",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 741,
"height": 245,
"rawWidth": 741,
"rawHeight": 245,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-370.5,
-122.5,
0,
370.5,
-122.5,
0,
-370.5,
122.5,
0,
370.5,
122.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
245,
741,
245,
0,
0,
741,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-370.5,
-122.5,
0
],
"maxPos": [
370.5,
122.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "f28663c8-a56e-4250-bc32-12e6ec054846@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "f28663c8-a56e-4250-bc32-12e6ec054846@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

12
assets/app-scene.meta Normal file
View File

@@ -0,0 +1,12 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "104c58a7-687b-47fb-b7b0-dac627418567",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}

View File

@@ -0,0 +1,2 @@
1、存储主场景的文件夹
2、不可删除此文件夹

1289
assets/app-scene/main.scene Normal file
View File

@@ -0,0 +1,1289 @@
[
{
"__type__": "cc.SceneAsset",
"_name": "main",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"scene": {
"__id__": 1
}
},
{
"__type__": "cc.Scene",
"_name": "main",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 52
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"autoReleaseAssets": false,
"_globals": {
"__id__": 53
},
"_id": "5298bb0b-166e-4978-af98-0047d43757de"
},
{
"__type__": "cc.Node",
"_name": "Canvas",
"_objFlags": 512,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 31
},
{
"__id__": 34
},
{
"__id__": 46
}
],
"_active": true,
"_components": [
{
"__id__": 49
},
{
"__id__": 50
},
{
"__id__": 51
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 540,
"y": 960,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "beI88Z2HpFELqR4T5EMHpg"
},
{
"__type__": "cc.Node",
"_name": "CameraCleaner",
"_objFlags": 512,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "44sn5JnYZMDacIjGeLTb9L"
},
{
"__type__": "cc.Camera",
"_name": "Camera<CameraComponent>",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 3
},
"_enabled": true,
"__prefab": null,
"_projection": 0,
"_priority": 0,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 667,
"_near": 0,
"_far": 1,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_depth": 1,
"_stencil": 0,
"_clearFlags": 7,
"_rect": {
"__type__": "cc.Rect",
"x": 0,
"y": 0,
"width": 1,
"height": 1
},
"_aperture": 19,
"_shutter": 7,
"_iso": 0,
"_screenScale": 1,
"_visibility": 0,
"_targetTexture": null,
"_postProcess": null,
"_usePostProcess": false,
"_cameraType": -1,
"_trackingType": 0,
"_id": "90ePEmbuZG5pOTEw/PvfiP"
},
{
"__type__": "cc.Node",
"_name": "CameraDefault",
"_objFlags": 512,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 6
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 1000
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "ebFwiq8gBFaYpqYbdoDODe"
},
{
"__type__": "cc.Camera",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
},
"_enabled": true,
"__prefab": null,
"_projection": 0,
"_priority": 1000,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 960,
"_near": 0,
"_far": 2000,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_depth": 1,
"_stencil": 0,
"_clearFlags": 6,
"_rect": {
"__type__": "cc.Rect",
"x": 0,
"y": 0,
"width": 1,
"height": 1
},
"_aperture": 19,
"_shutter": 7,
"_iso": 0,
"_screenScale": 1,
"_visibility": 33554432,
"_targetTexture": null,
"_postProcess": null,
"_usePostProcess": false,
"_cameraType": -1,
"_trackingType": 0,
"_id": "63WIch3o5BEYRlXzTT0oWc"
},
{
"__type__": "cc.Node",
"_name": "AppInitLayer",
"_objFlags": 512,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 8
}
],
"_active": true,
"_components": [
{
"__id__": 29
},
{
"__id__": 30
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "c1MYxrXkRChJfRVULozYQ1"
},
{
"__type__": "cc.Node",
"_objFlags": 512,
"_parent": {
"__id__": 7
},
"_prefab": {
"__id__": 9
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 8
},
"asset": {
"__uuid__": "19a93f71-0300-44b3-9bd9-efbc15271e7d",
"__expectedType__": "cc.Prefab"
},
"fileId": "7aBxAgUy9NRJNTrHNH6/6R",
"instance": {
"__id__": 10
},
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "59H08KPE9KIrsVoKNgJyQL",
"prefabRootNode": null,
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 11
},
{
"__id__": 13
},
{
"__id__": 14
},
{
"__id__": 15
},
{
"__id__": 16
},
{
"__id__": 18
},
{
"__id__": 20
},
{
"__id__": 21
},
{
"__id__": 23
},
{
"__id__": 25
},
{
"__id__": 27
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 12
},
"propertyPath": [
"_name"
],
"value": "AppInit"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"7aBxAgUy9NRJNTrHNH6/6R"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 12
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 12
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 12
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 17
},
"propertyPath": [
"_contentSize"
],
"value": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"fdxpU8hWdAMIljPcrHWSD1"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 19
},
"propertyPath": [
"_contentSize"
],
"value": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"1bUhFF79dG46Ne46ZRxKpC"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 12
},
"propertyPath": [
"_layer"
],
"value": 33554432
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 22
},
"propertyPath": [
"_layer"
],
"value": 33554432
},
{
"__type__": "cc.TargetInfo",
"localID": [
"0fJ7SovSVCVawCNYpB3WTW"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 24
},
"propertyPath": [
"_contentSize"
],
"value": {
"__type__": "cc.Size",
"width": 540,
"height": 554
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"830VxCeINAa7bLC2kyd2Db"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 26
},
"propertyPath": [
"_sizeMode"
],
"value": 1
},
{
"__type__": "cc.TargetInfo",
"localID": [
"fdljxQ6hREBoCDN2bRrUnW"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 28
},
"propertyPath": [
"_lscale"
],
"value": {
"__type__": "cc.Vec3",
"x": 0.5,
"y": 0.5,
"z": 1
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"8cWbsI+kdMYYPLYQrEFecs"
]
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 7
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "3fCzoQamRD6YqJ5xAJrIrF"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 7
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 750,
"_originalHeight": 1334,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "39b7+TQHZNjLetoDp6d0KT"
},
{
"__type__": "cc.Node",
"_name": "UserInterface",
"_objFlags": 512,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 32
},
{
"__id__": 33
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "22nXmnonVOVLZIZLp3/gsy"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 31
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "49vj7BWZpFRron6sjoM8FB"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 31
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 750,
"_originalHeight": 1334,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "7bO/h4uK5NkKHZJR3g+kQE"
},
{
"__type__": "cc.Node",
"_objFlags": 512,
"_parent": {
"__id__": 2
},
"_prefab": {
"__id__": 35
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 34
},
"asset": {
"__uuid__": "5e43bb09-848f-434a-b3a5-a6b6602e00af",
"__expectedType__": "cc.Prefab"
},
"fileId": "09f6AV8NhG8amoujtBeGc3",
"instance": {
"__id__": 36
},
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "6bff0rS6pG9K1dncpRrgk3",
"prefabRootNode": null,
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 37
},
{
"__id__": 39
},
{
"__id__": 40
},
{
"__id__": 41
},
{
"__id__": 42
},
{
"__id__": 44
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 38
},
"propertyPath": [
"_name"
],
"value": "MainManager"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"09f6AV8NhG8amoujtBeGc3"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 38
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 38
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 38
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 43
},
"propertyPath": [
"_contentSize"
],
"value": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"bab8wNsgZHRICm9NXgLsKC"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 45
},
"propertyPath": [
"_contentSize"
],
"value": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"c3fJug795H8Zpvt/9PivC1"
]
},
{
"__type__": "cc.Node",
"_name": "UserManager",
"_objFlags": 512,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 47
},
{
"__id__": 48
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "85DtqjhStE35D/yB7DOLJP"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 46
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "75nDyZNw1Ba5VJGHfNgh1y"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 46
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 750,
"_originalHeight": 1334,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "bbmV5F90ZFTpPH7eVrcMtt"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "d6rUX5yfhMlKoWX2bSbawx"
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": null,
"_cameraComponent": {
"__id__": 6
},
"_alignCanvasWithScreen": true,
"_id": "12O/ljcVlEqLmVm3U2gEOQ"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 750,
"_originalHeight": 1334.0000000000002,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "eaKwWyCaFLR50mqc10Dr1B"
},
{
"__type__": "cc.PrefabInfo",
"root": null,
"asset": null,
"fileId": "5298bb0b-166e-4978-af98-0047d43757de",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 8
},
{
"__id__": 34
}
]
},
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 54
},
"shadows": {
"__id__": 55
},
"_skybox": {
"__id__": 56
},
"fog": {
"__id__": 57
},
"octree": {
"__id__": 58
},
"skin": {
"__id__": 59
},
"lightProbeInfo": {
"__id__": 60
},
"postSettings": {
"__id__": 61
},
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false
},
{
"__type__": "cc.AmbientInfo",
"_skyColorHDR": {
"__type__": "cc.Vec4",
"x": 0.242612,
"y": 0.362617,
"z": 0.798746,
"w": 0.520833125
},
"_skyColor": {
"__type__": "cc.Vec4",
"x": 0.242612,
"y": 0.362617,
"z": 0.798746,
"w": 0.520833125
},
"_skyIllumHDR": 20000,
"_skyIllum": 20000,
"_groundAlbedoHDR": {
"__type__": "cc.Vec4",
"x": 0.241836,
"y": 0.361964,
"z": 0.798801,
"w": 0
},
"_groundAlbedo": {
"__type__": "cc.Vec4",
"x": 0.241836,
"y": 0.361964,
"z": 0.798801,
"w": 0
},
"_skyColorLDR": {
"__type__": "cc.Vec4",
"x": 0.2,
"y": 0.5,
"z": 0.8,
"w": 1
},
"_skyIllumLDR": 20000,
"_groundAlbedoLDR": {
"__type__": "cc.Vec4",
"x": 0.2,
"y": 0.2,
"z": 0.2,
"w": 1
}
},
{
"__type__": "cc.ShadowsInfo",
"_enabled": false,
"_type": 0,
"_normal": {
"__type__": "cc.Vec3",
"x": 0,
"y": 1,
"z": 0
},
"_distance": 0,
"_planeBias": 1,
"_shadowColor": {
"__type__": "cc.Color",
"r": 76,
"g": 76,
"b": 76,
"a": 255
},
"_maxReceived": 4,
"_size": {
"__type__": "cc.Vec2",
"x": 512,
"y": 512
}
},
{
"__type__": "cc.SkyboxInfo",
"_envLightingType": 0,
"_envmapHDR": null,
"_envmap": null,
"_envmapLDR": null,
"_diffuseMapHDR": null,
"_diffuseMapLDR": null,
"_enabled": false,
"_useHDR": true,
"_editableMaterial": null,
"_reflectionHDR": null,
"_reflectionLDR": null,
"_rotationAngle": 0
},
{
"__type__": "cc.FogInfo",
"_type": 0,
"_fogColor": {
"__type__": "cc.Color",
"r": 200,
"g": 200,
"b": 200,
"a": 255
},
"_enabled": false,
"_fogDensity": 0.3,
"_fogStart": 0.5,
"_fogEnd": 300,
"_fogAtten": 5,
"_fogTop": 1.5,
"_fogRange": 1.2,
"_accurate": false
},
{
"__type__": "cc.OctreeInfo",
"_enabled": false,
"_minPos": {
"__type__": "cc.Vec3",
"x": -1024,
"y": -1024,
"z": -1024
},
"_maxPos": {
"__type__": "cc.Vec3",
"x": 1024,
"y": 1024,
"z": 1024
},
"_depth": 8
},
{
"__type__": "cc.SkinInfo",
"_enabled": true,
"_blurRadius": 0.01,
"_sssIntensity": 3
},
{
"__type__": "cc.LightProbeInfo",
"_giScale": 1,
"_giSamples": 1024,
"_bounces": 2,
"_reduceRinging": 0,
"_showProbe": true,
"_showWireframe": true,
"_showConvex": false,
"_data": null,
"_lightProbeSphereVolume": 1
},
{
"__type__": "cc.PostSettingsInfo",
"_toneMappingType": 0
}
]

View File

@@ -0,0 +1,11 @@
{
"ver": "1.1.50",
"importer": "scene",
"imported": true,
"uuid": "5298bb0b-166e-4978-af98-0047d43757de",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

12
assets/app.meta Normal file
View File

@@ -0,0 +1,12 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "a7084ee0-ab27-4f9f-a846-6d4b38db50ba",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}

2
assets/app/.app.md Normal file
View File

@@ -0,0 +1,2 @@
1、框架配置、生命周期及全局导出
2、不可删除此文件夹

33
assets/app/app.ts Normal file
View File

@@ -0,0 +1,33 @@
import { Game, game } from 'cc';
import { DEBUG, DEV, EDITOR } from 'cc/env';
import Core from '../../extensions/app/assets/Core';
import { IApp } from '../app-builtin/app-admin/executor';
import { appInited, appReady, cccInited, cccReady } from './handle';
export class App extends Core<IApp> {
protected static _inst: App | undefined;
static get inst() {
if (!this._inst) this._inst = new App();
return this._inst;
}
private constructor() {
super();
}
}
export const app = App.inst;
if (DEBUG) {
//@ts-ignore
window['app'] = app;
//@ts-ignore
window['App'] = App;
}
if (!EDITOR || DEV) {
cccReady && cccReady(app);
appReady && appReady(app);
cccInited && game.once(Game.EVENT_ENGINE_INITED, function () { cccInited(app); });
appInited && app.once(App.EventType.EVENT_APPINIT_FINISHED, function () { appInited(app); });
}

9
assets/app/app.ts.meta Normal file
View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "121df84f-631d-4557-831a-19641e7deea8",
"files": [],
"subMetas": {},
"userData": {}
}

34
assets/app/handle.ts Normal file
View File

@@ -0,0 +1,34 @@
import { game, sys } from 'cc';
import { App } from './app';
/**
* ccc除物理引擎等外的基础功能已经准备好了
*/
export function cccReady(app: App) {
// 为了防止web环境中异常掉帧问题(关键代码在cc.game._pacer._handleRAF中)
if (sys.isBrowser) {
// game.frameRate = 100; // 在60、90帧率手机上满帧率运行120帧率手机上以60帧率运行(可能不够流畅但省电)
game.frameRate = 200; // 满帧率运行
}
}
/**
* ccc全部功能都初始化完毕了
*/
export function cccInited(app: App) {
}
/**
* app除了用户自定义Manager未加载外其它都已准备好了
*/
export function appReady(app: App) {
}
/**
* app全部功能都初始化完毕了
*/
export function appInited(app: App) {
}

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "8afaf85a-fbcd-4213-aacb-2e9337926fee",
"files": [],
"subMetas": {},
"userData": {}
}

32
assets/app/setting.ts Normal file
View File

@@ -0,0 +1,32 @@
import { DEBUG } from 'cc/env';
import { Logger } from 'db://app/lib/logger/logger';
import { Storage } from 'db://app/lib/storage/storage';
import SoundManager from 'db://app/manager/sound/SoundManager';
import UIManager from 'db://app/manager/ui/UIManager';
// 如果需要加密内容,请设置密钥的值
Storage.setting.secretKey = '';
// 设置日志过滤
Logger.setting.filter = DEBUG ? ['error', 'log', 'warn'] : ['error'];
// 预加载的UI列表
UIManager.setting.preload = ['PageMain', 'PageRewardhistory', 'PageTips'];
// 默认UI, 会在首屏流程后自动show
UIManager.setting.defaultUI = 'PageMain'; // 通过App菜单创建Page类型的UI后填入该UI的名称(会有自动提示与类型检查)
// 是否自动适配分辨率策略
UIManager.setting.autoFit = true; // 开启后,会弃用项目设置中的适配策略,并自动根据设备分辨率与设计分辨率计算出新的适配策略
// 弹窗默认遮罩展现动画配置
UIManager.setting.shade = {
delay: 0,
begin: 100,
end: 200,
speed: 400,
blur: false
};
// 预加载的音频(按数组顺序依次预加载)
SoundManager.setting.preload = ['music/bgm', 'effect/click', 'effect/wipe', 'effect/win'];
// 默认音乐, 会在首屏流程后自动播放
SoundManager.setting.defaultMusicName = 'music/bgm';
// 默认音效, 会在Button被点击后播放
SoundManager.setting.defaultEffectName = 'effect/click';

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "9a8d2a40-9eb2-4058-8883-a7de0fedbd33",
"files": [],
"subMetas": {},
"userData": {}
}

9
assets/res-native.meta Normal file
View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "1a0d9ccf-f49e-434f-9e73-241ccac52e5b",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,5 @@
存储静态资源的文件夹
1、非公共脚本资源尽量不放到主包内
3、图片、字体等非脚本类公共资源尽量不放到主包内(因为构建后这些资源会被拷贝到其它Bundle中)
2、如果公共脚本资源体积较大可以考虑放到Bundle内保证首屏体积尽量小
4、如不再需要可以直接删除此文件夹

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "769a05ac-21c9-496a-8982-371919a27245",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,208 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "egg_break",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 60,
"speed": 1,
"wrapMode": 1,
"enableTrsBlending": false,
"_duration": 0.16666666666666666,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 12
},
"_auxiliaryCurveEntries": []
},
{
"__type__": "cc.animation.VectorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channels": [
{
"__id__": 4
},
{
"__id__": 6
},
{
"__id__": 8
},
{
"__id__": 10
}
],
"_nComponents": 3
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 3
},
"position"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "break_1"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 5
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.1666666716337204
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 6,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 6,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 7
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.1666666716337204
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 165,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 9
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.1666666716337204
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 11
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "71efad7f-f0ee-49cf-9024-52ed8545728f",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "egg_break"
}
}

View File

@@ -0,0 +1,30 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "egg_shake",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 60,
"speed": 1,
"wrapMode": 1,
"enableTrsBlending": false,
"_duration": 0,
"_hash": 500763545,
"_tracks": [],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 1
},
"_auxiliaryCurveEntries": []
},
{
"__type__": "cc.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "aa01a925-cb11-41fc-8802-6116f79824a4",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "egg_shake"
}
}

View File

@@ -0,0 +1,228 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "hammer",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 60,
"speed": 1,
"wrapMode": 1,
"enableTrsBlending": false,
"_duration": 0.3333333333333333,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 11
},
"_auxiliaryCurveEntries": []
},
{
"__type__": "cc.animation.VectorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channels": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 9
}
],
"_nComponents": 3
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
"eulerAngles"
]
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 4
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.1666666716337204
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 6
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.1666666716337204
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 8
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.1666666716337204,
0.3333333432674408
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": -30,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 10,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 10
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "96cd4242-dcde-4328-82f8-80f884a97e72",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "hammer"
}
}

View File

@@ -0,0 +1,844 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "star",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 60,
"speed": 1,
"wrapMode": 2,
"enableTrsBlending": false,
"_duration": 1,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
},
{
"__id__": 13
},
{
"__id__": 25
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 37
},
"_auxiliaryCurveEntries": []
},
{
"__type__": "cc.animation.ColorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channels": [
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 9
},
{
"__id__": 11
}
]
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 3
},
{
"__id__": 4
},
"color"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "star_1"
},
{
"__type__": "cc.animation.ComponentPath",
"component": "cc.Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 6
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.5,
1
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 8
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.5,
1
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 10
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.5,
1
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 12
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.5,
1
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 150,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 150,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.ColorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 14
},
"proxy": null
},
"_channels": [
{
"__id__": 17
},
{
"__id__": 19
},
{
"__id__": 21
},
{
"__id__": 23
}
]
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 15
},
{
"__id__": 16
},
"color"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "star_3"
},
{
"__type__": "cc.animation.ComponentPath",
"component": "cc.Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 18
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.5,
1
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 20
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.5,
1
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 22
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.5,
1
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 24
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.5,
1
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 150,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.ColorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 26
},
"proxy": null
},
"_channels": [
{
"__id__": 29
},
{
"__id__": 31
},
{
"__id__": 33
},
{
"__id__": 35
}
]
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 27
},
{
"__id__": 28
},
"color"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "star_2"
},
{
"__type__": "cc.animation.ComponentPath",
"component": "cc.Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 30
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.5,
1
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 32
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.5,
1
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 34
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.5,
1
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 36
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.5,
1
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 150,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 255,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 150,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "9ba7633f-46fd-4b7b-993a-49c310065853",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "star"
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "5f177605-01cd-47a7-b574-5047cfebd3d0",
"files": [],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 594 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "8bb9cc8a-135e-4143-9fb9-83b834ef2e90",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "8bb9cc8a-135e-4143-9fb9-83b834ef2e90@6c48a",
"displayName": "com_loading",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "8bb9cc8a-135e-4143-9fb9-83b834ef2e90",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "8bb9cc8a-135e-4143-9fb9-83b834ef2e90@f9941",
"displayName": "com_loading",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1080,
"height": 1920,
"rawWidth": 1080,
"rawHeight": 1920,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-540,
-960,
0,
540,
-960,
0,
-540,
960,
0,
540,
960,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
1920,
1080,
1920,
0,
0,
1080,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-540,
-960,
0
],
"maxPos": [
540,
960,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "8bb9cc8a-135e-4143-9fb9-83b834ef2e90@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "8bb9cc8a-135e-4143-9fb9-83b834ef2e90@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "9b3q67UQRMP6kdjNnh013Z"
}
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "f67f413f-4d38-4a1a-9f4c-4613b82693ba",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,81 @@
import { _decorator } from 'cc';
const { ccclass } = _decorator;
/** 玩家数据类 */
@ccclass('ChannelData')
class ChannelData {
public static instance: ChannelData | null = null;
/** 获取渠道数据状态 */
public get_success: boolean = false;
/** 活动开关(0:关闭,1:开启) */
public activity_open : number = 0;
/** 币商功能(0:禁用,1:启用) */
public coin_status : boolean = true;
/** 币别代码 */
public currency : string = "";
/** 讨论组功能(0:禁用,1:启用) */
public discussion_group_status : boolean = true;
/** 渠道域名 */
public domain : string = "";
/** 下载地址 */
public download_url : string = "";
/** 渠道ID */
public id : number = 0;
/** 语言 */
public lang : string = "";
/** line client id */
public line_client_id : string = "";
/** line 登录功能(0:禁用,1:启用) */
public line_login_status : boolean = true;
/** 机台线路 */
public machine_media_line : number = 0;
/** 渠道名称 */
public name : string = "";
/** 全民代理功能(0:禁用,1:启用) */
public national_promoter_status : boolean = true;
/** 代理开启状态 */
public promotion_status : boolean = true;
/** Q币转入(0:禁用,1:启用) */
public q_talk_point_status : boolean = true;
/** Q币充值(0:禁用,1:启用) */
public q_talk_recharge_status : boolean = true;
/** Q币转出(0:禁用,1:启用) */
public q_talk_withdraw_status : boolean = true;
/** 排行榜功能(0:禁用,1:启用) */
public ranking_status : boolean = true;
/** 充值开启状态 */
public recharge_status : boolean = true;
/** 反水开启状态 */
public reverse_water_status : boolean = true;
/** 实体机台开关 0关闭1-开启 */
public status_machine : boolean = true;
/** web登录状态(0:禁用,1:启用) */
public web_login_status : boolean = true;
/** 人工提现(0:禁用,1:启用) */
public withdraw_status : boolean = true;
private constructor(){}
static get Instance(){
if(ChannelData.instance == null){
ChannelData.instance = new ChannelData();
}
return ChannelData.instance;
}
public setChannelData(data:any){
for (let key in data){
if (this.hasOwnProperty(key)){
(this as any)[key] = data[key];
}
}
this.get_success = true;
}
}
/**
* 游戏配置数据
*/
export const CHANNELDATA = ChannelData.Instance;

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "c2e6b946-cc1f-4b8a-b626-42968399e30d",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,39 @@
import { _decorator } from 'cc';
const { ccclass } = _decorator;
/** 玩家数据类 */
@ccclass('UserData')
class UserData {
public static instance: UserData | null = null;
/** 剩余抽奖次数 */
public point : number = 0;
/** 奖品列表 */
public prize_list : any[] = [];
/** 游戏描述 */
public description : string = "";
/* 游戏logo */
public logo : string = "";
public logo_back : string = "";
private constructor(){}
static get Instance(){
if(UserData.instance == null){
UserData.instance = new UserData();
}
return UserData.instance;
}
public setUserData(data:any){
for (let key in data){
if (this.hasOwnProperty(key)){
(this as any)[key] = data[key];
}
}
}
}
/**
* 玩家数据
*/
export const USERDATA = UserData.Instance;

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "29d17a77-7796-4df7-a0ed-7e0ececeae54",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "740a6825-00d2-43cd-8055-a3541d2f6a87",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,295 @@
import { game } from "cc";
import { HTTP_SITE_ID, SERVER_LIST, GAME_VER } from "../setting/ServerConfig";
import { Tools } from "../tools/Tools";
import { app } from "../../app/app";
import { CHANNELDATA } from "../data/ChannelData";
var urls: any = {}; // 当前请求地址集合
var reqparams: any = {}; // 请求参数
/**
* 登录token类全局唯一
*/
export class LoginToken{
private static instance: LoginToken | null = null;
public access_token: string = "";
public refresh_token: string = "";
public appId: string = "";
public appKey: string = "";
private constructor(){}
static get Instance(){
if(LoginToken.instance == null){
LoginToken.instance = new LoginToken();
}
return LoginToken.instance;
}
public setToken(access_token: string, refresh_token: string, appID: string, appKey: string){
this.access_token = access_token;
this.refresh_token = refresh_token;
this.appId = appID
this.appKey = appKey
}
}
/** 当前保存的token */
export const LOGIN_TOKEN : LoginToken = LoginToken.Instance;
export enum HttpEvent {
NO_NETWORK = "http_request_no_network", // 断网
UNKNOWN_ERROR = "http_request_unknown_error", // 未知错误
TIMEOUT = "http_request_timout" // 请求超时
}
export class HttpRequest {
/** 服务器地址 */
public server: string = SERVER_LIST
/** 请求超时时间 */
public timeout: number = 10000;
public lobbyUrl = ""
public setUrl (url:string) {
this.server = "http://" + url + "/"
}
/**
* HTTP GET请求
* 例:
*
* Get
var complete = function(response){
LogWrap.log(response);
}
var error = function(response){
LogWrap.log(response);
}
this.get(name, complete, error);
*/
public get(name: string, completeCallback: Function, errorCallback?: Function) {
this.sendRequest(name, null, false, completeCallback, errorCallback)
}
public getWithParams(name: string, params: any, completeCallback: Function, errorCallback?: Function) {
this.sendRequest(name, params, false, completeCallback, errorCallback)
}
public getByArraybuffer(name: string, completeCallback: Function, errorCallback?: Function) {
this.sendRequest(name, null, false, completeCallback, errorCallback, 'arraybuffer', false);
}
public getWithParamsByArraybuffer(name: string, params: any, completeCallback: Function, errorCallback?: Function) {
this.sendRequest(name, params, false, completeCallback, errorCallback, 'arraybuffer', false);
}
/**
* HTTP POST请求
* 例:
*
* Post
var param = '{"LoginCode":"donggang_dev","Password":"e10adc3949ba59abbe56e057f20f883e"}'
var complete = function(response){
var jsonData = JSON.parse(response);
var data = JSON.parse(jsonData.Data);
LogWrap.log(data.Id);
}
var error = function(response){
LogWrap.log(response);
}
this.post(name, param, complete, error);
*/
public post(name: string, params: any, completeCallback?: Function, errorCallback?: Function) {
this.sendRequest(name, params, true, completeCallback, errorCallback);
}
/** 取消请求中的请求 */
public abort(name: string) {
var xhr = urls[this.server + name];
if (xhr) {
xhr.abort();
}
}
/**
* 获得字符串形式的参数
*/
private getParamString(params: any) {
var result = "";
for (var name in params) {
let data = params[name];
if (data instanceof Object) {
for (var key in data)
result += `${key}=${data[key]}&`;
}
else {
result += `${name}=${data}&`;
}
}
return result.substring(0, result.length - 1);
}
/**
* Http请求
* @param name(string) 请求地址
* @param params(JSON) 请求参数
* @param isPost(boolen) 是否为POST方式
* @param callback(function) 请求成功回调
* @param errorCallback(function) 请求失败回调
* @param responseType(string) 响应类型
*/
private async sendRequest(
name: string,
params: any,
isPost: boolean,
completeCallback?: Function,
errorCallback?: Function,
responseType?: string,
isOpenTimeout = true,
timeout: number = this.timeout
) {
if (!name) {
console.log("请求地址不能为空");
return;
}
let url: string, newUrl: string, paramsStr: string;
if (name.toLocaleLowerCase().indexOf("http") === 0) {
url = name;
} else {
url = this.server + name;
}
if (params) {
paramsStr = this.getParamString(params);
if (url.indexOf("?") > -1)
newUrl = url + "&" + encodeURIComponent(paramsStr);
else
newUrl = url + "?" + paramsStr;
} else {
newUrl = url;
}
if (urls[newUrl] != null && reqparams[newUrl] === paramsStr!) {
console.log(`地址【${url}】已正在请求中,不能重复请求`);
return;
}
const xhr = new XMLHttpRequest();
urls[newUrl] = xhr;
reqparams[newUrl] = paramsStr!;
if (isPost) {
xhr.open("POST", url);
} else {
xhr.open("GET", newUrl);
}
if (LOGIN_TOKEN.access_token !== "") {
xhr.setRequestHeader("Authorization", "Bearer " + LOGIN_TOKEN.access_token);
}
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;charset=utf-8");
// 加密设置
const time = Math.floor(Date.now() / 1000);
xhr.setRequestHeader("Lang", CHANNELDATA.lang);
if (!params) params = {};
let _params = params;
_params.appId = LOGIN_TOKEN.appId;
_params.nonceStr = Tools.getRandomStr(6);
_params.timestamp = time;
let sha256DDD: string;
try {
sha256DDD = await Tools.generateSignNative(_params, LOGIN_TOKEN.appKey);
} catch (err) {
console.error("生成签名失败:", err);
this.deleteCache(newUrl);
const data: any = { url, params, event: HttpEvent.UNKNOWN_ERROR };
if (errorCallback) errorCallback(data);
return; // 出错直接返回,避免继续执行
}
xhr.setRequestHeader("appId", LOGIN_TOKEN.appId);
xhr.setRequestHeader("timestamp", _params.timestamp.toString());
xhr.setRequestHeader("signature", sha256DDD);
xhr.setRequestHeader("nonceStr", _params.nonceStr);
xhr.setRequestHeader("Site-Id", HTTP_SITE_ID);
const v = app.lib.storage.get("CURR_VERSION") || "100";
xhr.setRequestHeader("app-version-key", v.toString());
xhr.setRequestHeader("system-key", "android");
xhr.setRequestHeader("Client-Version", GAME_VER);
const data: any = { url, params };
// 请求超时
if (isOpenTimeout) {
xhr.timeout = timeout;
xhr.ontimeout = () => {
this.deleteCache(newUrl);
data.event = HttpEvent.TIMEOUT;
if (errorCallback) errorCallback(data);
};
}
xhr.onloadend = () => {
if (xhr.status === 500) {
this.deleteCache(newUrl);
data.event = HttpEvent.NO_NETWORK;
if (errorCallback) errorCallback(data);
}
};
xhr.onerror = () => {
this.deleteCache(newUrl);
if (!errorCallback) return;
if (xhr.readyState === 0 || xhr.readyState === 1 || xhr.status === 0) {
data.event = HttpEvent.NO_NETWORK;
} else {
data.event = HttpEvent.UNKNOWN_ERROR;
}
errorCallback(data);
};
xhr.onreadystatechange = () => {
if (xhr.readyState !== 4) return;
this.deleteCache(newUrl);
if (xhr.status === 200) {
if (completeCallback) {
if (responseType === "arraybuffer") {
xhr.responseType = responseType;
completeCallback(xhr.response);
} else {
try {
const resp: any = JSON.parse(xhr.response);
console.log("---" + newUrl + "---", resp);
if (Number(resp.code) === 200 || Number(resp.code) === 406) {
completeCallback(resp.data);
} else {
app.manager.ui.showToast(Tools.GetLocalized(resp.msg));
if (errorCallback) errorCallback(resp.data);
}
} catch (error) {
console.log("解析响应失败:", error);
if (errorCallback) errorCallback({ event: HttpEvent.UNKNOWN_ERROR });
}
}
}
}
};
if (!paramsStr) {
xhr.send();
} else {
xhr.send(paramsStr!);
}
}
private deleteCache(url: string) {
delete urls[url];
delete reqparams[url];
}
}
export let httpRequest = new HttpRequest()

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "58832863-cdb2-4696-85ed-027e9449985d",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "44be95f0-1362-451f-8ad9-cb71f6109525",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,34 @@
/** 服务区域 */
export const enum SERVER_EREA {
// 一级棒横版
ZP = 0,
}
/** 当前服务区域配置(根据打包修改) */
export const NOW_SERVER_EREA : SERVER_EREA = SERVER_EREA.ZP;
// 默认地址
const DEFAULT_URL = "https://xyxapi.yuliao666.top"
/** 通用版本 */
const DEFAULT_VERSION = "1.0.5"
/** 测试服版本号 */
const DEFAULT_TEST_VERSION = "1.0.0"
/** 区域打包配置文件 */
const SERVER_CONFIG = {
// 横版一级棒
[0] : {
"server" : DEFAULT_URL,
"site_id" : "ba5ea4dc-75bb-438d-8a3a-b8031ef89426",
"ver" : DEFAULT_TEST_VERSION,
"area" : "86",
}
}
/** 服务器地址 */
export const SERVER_LIST = SERVER_CONFIG[NOW_SERVER_EREA]["server"];
/** Site ID */
export const HTTP_SITE_ID = SERVER_CONFIG[NOW_SERVER_EREA]["site_id"];
/** 当前版本号 */
export const GAME_VER = SERVER_CONFIG[NOW_SERVER_EREA]["ver"];
/** 国家电话区号 */
export const COUNTRY_CODE = SERVER_CONFIG[NOW_SERVER_EREA]["area"];

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "29ef329c-fd90-4d8a-a91a-95ab0b17eace",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "b36f5741-040a-4ee5-92cd-bb830bd7682d",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,62 @@
AquariumUnlockLight.png
size: 474,474
format: RGBA8888
filter: Linear,Linear
repeat: none
11111
rotate: false
xy: 235, 21
size: 32, 32
orig: 32, 32
offset: 0, 0
index: -1
g
rotate: false
xy: 2, 238
size: 231, 234
orig: 256, 259
offset: 12, 12
index: -1
g02
rotate: true
xy: 235, 244
size: 228, 227
orig: 256, 256
offset: 14, 15
index: -1
g03
rotate: false
xy: 235, 116
size: 53, 59
orig: 64, 64
offset: 6, 2
index: -1
g03a
rotate: false
xy: 235, 55
size: 53, 59
orig: 64, 64
offset: 6, 2
index: -1
g2
rotate: false
xy: 2, 2
size: 231, 234
orig: 256, 259
offset: 12, 12
index: -1
gd1
rotate: false
xy: 269, 21
size: 32, 32
orig: 32, 32
offset: 0, 0
index: -1
guang
rotate: false
xy: 235, 177
size: 65, 65
orig: 66, 69
offset: 0, 2
index: -1

View File

@@ -0,0 +1,12 @@
{
"ver": "1.0.0",
"importer": "*",
"imported": true,
"uuid": "9d8b92e9-ad6b-4967-b6ea-6137cff5dcce",
"files": [
".atlas",
".json"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "be985e92-51e2-4909-8644-b189f26f6150",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "be985e92-51e2-4909-8644-b189f26f6150@6c48a",
"displayName": "AquariumUnlockLight",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "be985e92-51e2-4909-8644-b189f26f6150",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "be985e92-51e2-4909-8644-b189f26f6150@f9941",
"displayName": "AquariumUnlockLight",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -5,
"offsetY": 0,
"trimX": 1,
"trimY": 1,
"width": 462,
"height": 472,
"rawWidth": 474,
"rawHeight": 474,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-231,
-236,
0,
231,
-236,
0,
-231,
236,
0,
231,
236,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
1,
473,
463,
473,
1,
1,
463,
1
],
"nuv": [
0.002109704641350211,
0.002109704641350211,
0.9767932489451476,
0.002109704641350211,
0.002109704641350211,
0.9978902953586498,
0.9767932489451476,
0.9978902953586498
],
"minPos": [
-231,
-236,
0
],
"maxPos": [
231,
236,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "be985e92-51e2-4909-8644-b189f26f6150@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "be985e92-51e2-4909-8644-b189f26f6150@6c48a"
}
}

Binary file not shown.

View File

@@ -0,0 +1,12 @@
{
"ver": "1.2.6",
"importer": "spine-data",
"imported": true,
"uuid": "53564e4a-749a-44ad-b84c-40a9843c7240",
"files": [
".bin",
".json"
],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "939eacdb-98dc-481f-8bf2-fca6e277d3ac",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,627 @@
import { _decorator, SpriteFrame, Node, Sprite, instantiate, Label, Prefab, Color, Size, UITransform, RichText, Component, Texture2D, ImageAsset } from 'cc';
import { httpRequest } from '../network/HttpRequest';
import { app } from '../../app/app';
const { ccclass } = _decorator;
//@ts-ignore
import CryptoJS from "crypto-js";
type ConstructorOf<T> = new (...args: any[]) => T;
// 定义数据接口
interface DataObject {
[key: string]: string | number | boolean;
}
/** 事件名称 */
export enum EventType {
/** 刷新玩家数据 */
RefreshUserInfo = "RefreshUserInfo",
/** 刷新玩家数据成功 */
RefreshUserInfoSuccess = "RefreshUserInfoSuccess",
}
// 定义阈值和对应的num值
const sizeThresholds = [
{ size: 20000000, num: 100 },
{ size: 19000000, num: 95 },
{ size: 18000000, num: 90 },
{ size: 17000000, num: 85 },
{ size: 16000000, num: 80 },
{ size: 15000000, num: 75 },
{ size: 14000000, num: 70 },
{ size: 13000000, num: 65 },
{ size: 12000000, num: 60 },
{ size: 11000000, num: 55 },
{ size: 10000000, num: 50 },
{ size: 9000000, num: 45 },
{ size: 8000000, num: 40 },
{ size: 7000000, num: 35 },
{ size: 6000000, num: 30 },
{ size: 5000000, num: 25 },
{ size: 4000000, num: 20 },
{ size: 3000000, num: 15 },
{ size: 2000000, num: 10 },
{ size: 1000000, num: 5 },
{ size: 500000, num: 2.5 },
{ size: 250000, num: 1.5 }
];
/** 用户代理等级和图片对照表 */
const AGENT_LV_TO_PIC = {
["等级青铜"] : "a",
["等级白银"] : "b",
["等级黄金"] : "c",
["等级VIP"] : "d",
["等级超级VIP"] : "e"
}
/** 通用工具类 */
@ccclass('Tools')
export class Tools
{
//#region Sprite相关操作
/** 设置节点的SpriteFrame 默认从resource/ui下面找 */
static SetSpriteFrame(node:Node, uiname:string, uipath:string, fuc:Function = null) {
app.manager.loader.load({
bundle: "", // 不传入bundle默认为resources
path: 'xxx/xxxx',
type: SpriteFrame,
onComplete(asset){
if (node){
let c = node.getComponent(Sprite)
if (c) c.spriteFrame = asset
if (fuc) fuc()
}
}
})
}
/** 加载远程图片 */
static remoteLoadSprite(url: string, node: Sprite, fuc?: Function) {
app.manager.loader.loadRemote( {
url: url,
ext: null,
onComplete: (result: ImageAsset | null) => {
if (result) {
if(node) {
let sp = new SpriteFrame()
let tex = new Texture2D();
tex.image = result;
sp.texture = tex
node.spriteFrame = sp
if (fuc) fuc()
}
}
}
})
}
/** 设置子节点uisprite */
static SetChildSprite(node:Node, path:string, uiname:string, uipath:string, fuc:Function = null) {
let n = node.getChildByPath(path)
if (n) this.SetSpriteFrame(n, uiname, uipath, fuc)
}
/**
* 设置艺术字
* itemPath:字体预制件位置, numPath:字体图片位置, pre:图片名前缀
*/
// static SetArtNums(str:any, item:Node, itemPath:string = "ui/numbers/num_Item", numPath:string = "ui/numbers", pre:string = "numbers_0") {
// str = String(str)
// item.destroyAllChildren()
// let m_resLoader = new ResLoader();
// m_resLoader.loadPrefabNode(itemPath, (prefab:Node) => {
// console.log(itemPath, prefab)
// // 根据字符串长度,显示对应数量的数字图片
// for (let i = 0; i < str.length; i++) {
// let n = Tools.AddChild(item, prefab, "num_" + i)
// n.active = true
// this.SetSpriteFrame(n, pre + (str[i] == "." ? "dot" : str[i]), numPath)
// }
// })
// }
//#endregion
//#region http相关
/** 发送http请求 */
static httpReq(str:string, param:any, callback:Function, failCallBack:Function = null) {
httpRequest.post("/agent/api/" + str, param, callback, failCallBack)
}
//#endregion
//#region Node 相关
/** 添加子节点 */
static AddChild(node:Node, prefab:Node|Prefab, name:string = null):Node {
var n = instantiate(prefab as Node)
node.addChild(n)
if (name) n.name = name
return n
}
/** 设置子节点显示 */
static ActChild(node:Node, path:string, act:boolean)
{
let n = node.getChildByPath(path)
if (n) n.active = act
}
/** 获取子节点组件 */
static GetChildComp<T extends Component>(node: Node, path: string, compClass: ConstructorOf<T>): T {
return node.getChildByPath(path)?.getComponent(compClass);
}
//#endregion
//#region Text 相关
/** 设置子节点文字 */
static SetText(node:Node, str:string) {
str = String(str)
node.getComponent(Label).string = str
}
/** 设置子节点文字 */
static SetChildText(node:Node, path:string, str:string) {
str = String(str)
let n = node.getChildByPath(path)
n.getComponent(Label).string = str
}
/** 设置子节点文字 */
static SetChildRichText(node:Node, path:string, str:string) {
str = String(str)
let n = node.getChildByPath(path)
n.getComponent(RichText).string = str
}
/** 设置节点文字颜色 */
static SetLabColor(node:Node, str:string) {
node.getComponent(Label).color = Color.fromHEX(new Color(), str)
}
/** 设置子节点字体颜色 */
static SetChildLabColor(node:Node, path:string, str:string) {
let n = node.getChildByPath(path)
n.getComponent(Label).color = Color.fromHEX(new Color(), str)
}
/** 设置节点大小 */
static SetSize(node:Node, size:Size) {
node.getComponent(UITransform).setContentSize(size);
}
/** 设置节点触摸事件 */
static SetTouchEndEvt(node:Node, func:Function) {
node.off(Node.EventType.TOUCH_END)
node.on(Node.EventType.TOUCH_END, func)
}
/** 设置子节点触摸事件 */
static SetChildTouchEndEvt(node:Node, path:string, func:Function) {
let n = node.getChildByPath(path)
if (n) this.SetTouchEndEvt(n, func)
}
//#endregion
//#region 字符串操作
/**
** 替换占位符{0},{1}....
** 例子: const message = Tools.stringFormat("My name is {0} and I am {1} years old.", name, age);
*/
static StringFormat(format: string, ...args: any[]): string {
return format.replace(/{(\d+)}/g, (match, index) => {
return typeof args[index] !== "undefined" ? args[index] : match;
});
}
static StringLFormat(format: string, ...args: any[]): string {
format = this.GetLocalized(format)
return this.StringFormat(format, ...args)
}
//#endregion
//#region 其他
/** 本地化 */
static GetLocalized(str : string) {
return str
//return LabelConfig[str] ? LabelConfig[str][LocalizadManager.getInstance().getLanauge()-1] : str
}
/** 压缩上传图片成base64 */
static CompressImageToBase64(param:any, callback:Function = null){
var fileList = param.files[0];
var reader = new FileReader();
reader.readAsDataURL(fileList);
reader.onload = (event) => {
let image = new Image() //新建一个img标签还没嵌入DOM节点)
var dataImg = event.target.result;
var num = 1;
//@ts-ignore
image.src = event.target.result
image.onload = () => {
//由于不能将太多Base64字符给服务端发过于咱们压缩一下
//如果想支持更大图片,请继续加判断,增加除数
// 检查文件大小是否超过20M
if (fileList.size > 20000000) {
console.log("文件大小不能大于20M");
param.value = '';
return;
}
// 根据文件大小设置num值
for (const threshold of sizeThresholds) {
if (fileList.size > threshold.size) {
num = threshold.num;
break;
}
}
let canvas = document.createElement('canvas');
let context = canvas.getContext('2d');
let imageWidth = image.width / num; //压缩后图片的大小
let imageHeight = image.height / num;
const minSize = 640; // 设置最小尺寸
if (imageWidth < minSize || imageHeight < minSize) {
const scaleFactor = Math.max(minSize / imageWidth, minSize / imageHeight);
imageWidth *= scaleFactor;
imageHeight *= scaleFactor;
}
canvas.width = imageWidth;
canvas.height = imageHeight;
context.drawImage(image, 0, 0, imageWidth, imageHeight);
dataImg = canvas.toDataURL('image/png');
//此时的dataImg就是你要上传给服务器的字符
param.value = '';
if (callback) callback(dataImg)
return dataImg;
}
};
}
/** 生成二维码 */
// static SetQRCode(text: string, item : Node){
// const qr = QRCode(0, 'M');
// qr.addData(text);
// qr.make();
// const dataUrl = qr.createDataURL(4, 4);
// const img = new Image();
// img.src = dataUrl;
// assetManager.loadRemote(dataUrl, {ext : '.png'}, (err, imgAsset: ImageAsset) => {
// if (err) {
// console.error(err.message || err);
// return;
// }
// const sp = new SpriteFrame()
// const tx = new Texture2D()
// tx.image = imgAsset
// sp.texture = tx
// item.getComponent(Sprite).spriteFrame = sp
// })
// }
/** 通过base64字符串设置图片 */
static SetBase64Pic(src: string, node: Node): void {
let image = new Image()
image.src = src // base 64是string看后端返回是二进制是否带头data:image/png;base64, 不带要手动添加
image.onload = () => {
let texture = new Texture2D()
texture.image = new ImageAsset(image)
let _frame = new SpriteFrame()
_frame.texture = texture
// 获取节点的容器
let c = node.getComponent(Sprite)
if (c) c.spriteFrame = _frame
}
}
/** 复制到剪切板 */
static CopyToClipboard(str:string) {
var input = str + '';
const el = document.createElement('textarea');
el.value = input;
el.setAttribute('readonly', '');
el.style.contain = 'strict';
el.style.position = 'absolute';
el.style.left = '-9999px';
el.style.fontSize = '12pt'; // Prevent zooming on iOS
const selection = getSelection();
var originalRange = null;
if (selection.rangeCount > 0) {
originalRange = selection.getRangeAt(0);
}
document.body.appendChild(el);
el.select();
el.selectionStart = 0;
el.selectionEnd = input.length;
var success = false;
try {
success = document.execCommand('copy');
} catch (err) {}
document.body.removeChild(el);
if (originalRange) {
selection.removeAllRanges();
selection.addRange(originalRange);
}
app.manager.ui.showToast("复制成功")
return success;
}
/** 获取代理等级本地化 */
static GetAgentLvLocalized(agentLv:string, lv :number) {
return this.StringFormat(this.GetLocalized(agentLv), lv)
}
/** 设置代理等级图标 */
// static SetAgentLvIcon(item:Node, agentLv:string, lv :number) {
// if (!AGENT_LV_TO_PIC[agentLv]) return
// var icon = "icon" + AGENT_LV_TO_PIC[agentLv] + this.Return2LengthNumber(lv)
// this.SetSpriteFrame(item, icon, "Lobby/ui/allagent/icon")
// }
/** 设置子节点代理等级图标 */
// static SetChildAgentLvIcon(item:Node, path :string, agentLv:string, lv :number) {
// let n = item.getChildByPath(path)
// this.SetAgentLvIcon(n, agentLv, lv)
// }
/** 返回两位数 */
static Return2LengthNumber(n : number) {
return n < 10 ? "0" + n : n.toString()
}
//#endregion
//#region 数学算法
static MathClampZeroToOne(value: number): number {
return Math.max(0, Math.min(1, value));
}
static MathClamp(value: number, min: number, max: number): number {
return Math.max(min, Math.min(max, value));
}
//#endregion
static OpenWeb(url:string) {
const link = document.createElement('a');
link.href = url;
link.target = '_blank';
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
}
/**
* 获取指定长度随机字符串
*/
public static getRandomStr (len:number) {
let chars =
'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz'
let maxPos = chars.length
let pwd = ''
for (let i = 0; i < len; i++) {
pwd += chars.charAt(Math.floor(Math.random() * maxPos))
}
return pwd
}
/**
* 使用 crypto-js 生成签名
* @param data - 要签名的数据
* @param key - 签名密钥
* @param encrypt - 加密算法 (sha1, sha256)
* @returns Promise<string> 签名结果
*/
public static generateSignNative(
data: Record<string, string>,
key: string,
encrypt: string = 'sha256'
): Promise<string> {
// 1. 对数据进行排序
const sortedData = Tools.sortData(data);
// 2. 构建查询字符串(自定义实现)
const queryString = Object.keys(sortedData)
.map(k => encodeURIComponent(k) + "=" + encodeURIComponent(sortedData[k]))
.join("&");
// 3. URL解码并拼接密钥
const decodedString = decodeURIComponent(queryString);
const str = decodedString + key;
// 4. 根据算法生成签名
let hash;
switch (encrypt.toLowerCase()) {
case 'sha1':
hash = CryptoJS.SHA1(str);
break;
case 'sha256':
default:
hash = CryptoJS.SHA256(str);
break;
}
// 5. 返回十六进制字符串
return Promise.resolve(hash.toString(CryptoJS.enc.Hex));
}
// 示例排序函数(你已有的话可以直接用)
public static sortData(data: Record<string, string>): Record<string, string> {
return Object.keys(data)
.sort()
.reduce((acc, key) => {
acc[key] = data[key];
return acc;
}, {} as Record<string, string>);
}
//#region 加密解密
/** 解析JWT令牌 */
public static parseJWT(token: string) {
try {
const parts = token.split('.');
if (parts.length !== 3) {
throw new Error('Invalid JWT token');
}
// 解码 payload 部分(第二部分)
const payload = JSON.parse(atob(parts[1]));
return payload;
} catch (error) {
console.error('Failed to parse JWT token:', error);
return null;
}
}
/**
* 解密 DES-ECB 模式加密的数据
* @param encryptedData base64编码的加密数据
* @param secretKey 8位密钥
* @returns 解密后的字符串
*/
static desEcbDecrypt(encryptedData: string, secretKey: string): string {
try {
// 确保密钥为8位 (PHP的openssl_encrypt会自动截取前8位)
const key = secretKey.length > 8 ? secretKey.substring(0, 8) : this.padKey(secretKey, 8);
// 创建CryptoJS格式的密钥
const keyWordArray = CryptoJS.enc.Utf8.parse(key);
// 解密
const decrypted = CryptoJS.DES.decrypt(
encryptedData,
keyWordArray,
{
mode: CryptoJS.mode.ECB,
padding: CryptoJS.pad.Pkcs7
}
);
return decrypted.toString(CryptoJS.enc.Utf8);
} catch (error) {
console.error('DES-ECB decryption failed:', error);
return '';
}
}
/**
* 加密 DES-ECB 模式数据
* @param data 待加密的数据
* @param secretKey 8位密钥
* @returns base64编码的加密数据
*/
static desEcbEncrypt(data: string, secretKey: string): string {
try {
// 确保密钥为8位
const key = secretKey.length > 8 ? secretKey.substring(0, 8) : this.padKey(secretKey, 8);
// 创建CryptoJS格式的密钥
const keyWordArray = CryptoJS.enc.Utf8.parse(key);
// 加密
const encrypted = CryptoJS.DES.encrypt(
data,
keyWordArray,
{
mode: CryptoJS.mode.ECB,
padding: CryptoJS.pad.Pkcs7
}
);
return encrypted.toString();
} catch (error) {
console.error('DES-ECB encryption failed:', error);
return '';
}
}
/**
* 补齐或截断密钥到指定长度
* @param key 原始密钥
* @param length 目标长度
*/
private static padKey(key: string, length: number): string {
if (key.length > length) {
return key.substring(0, length);
} else if (key.length < length) {
while (key.length < length) {
key += '\0'; // 用null字符补齐
}
return key;
}
return key;
}
/**
* 3DES-ECB 解密 (Triple DES)
* @param encryptedData base64编码的加密数据
* @param secretKey 24位密钥 (3DES需要24字节密钥)
* @returns 解密后的字符串
*/
static tripleDesEcbDecrypt(encryptedData: string, secretKey: string): string {
try {
// 确保密钥为24位
const key = this.padKey(secretKey, 24);
// 创建CryptoJS格式的密钥
const keyWordArray = CryptoJS.enc.Utf8.parse(key);
// 解密
const decrypted = CryptoJS.TripleDES.decrypt(
encryptedData,
keyWordArray,
{
mode: CryptoJS.mode.ECB,
padding: CryptoJS.pad.Pkcs7
}
);
return decrypted.toString(CryptoJS.enc.Utf8);
} catch (error) {
console.error('3DES-ECB decryption failed:', error);
return '';
}
}
/**
* 3DES-ECB 加密 (Triple DES)
* @param data 待加密的数据
* @param secretKey 24位密钥
* @returns base64编码的加密数据
*/
static tripleDesEcbEncrypt(data: string, secretKey: string): string {
try {
// 确保密钥为24位
const key = this.padKey(secretKey, 24);
// 创建CryptoJS格式的密钥
const keyWordArray = CryptoJS.enc.Utf8.parse(key);
// 加密
const encrypted = CryptoJS.TripleDES.encrypt(
data,
keyWordArray,
{
mode: CryptoJS.mode.ECB,
padding: CryptoJS.pad.Pkcs7
}
);
return encrypted.toString();
} catch (error) {
console.error('3DES-ECB encryption failed:', error);
return '';
}
}
//#endregion
}

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "20f5e370-8629-444b-85bb-ebe2ee037cff",
"files": [],
"subMetas": {},
"userData": {}
}