This commit is contained in:
2026-05-19 11:45:08 +08:00
parent 1aad6cd49f
commit 04ccca57ec
496 changed files with 78815 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: 58 KiB

View File

@@ -0,0 +1,138 @@
{
"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": 14.5,
"offsetY": -4.5,
"trimX": 29,
"trimY": 9,
"width": 485,
"height": 572,
"rawWidth": 514,
"rawHeight": 581,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-242.5,
-286,
0,
242.5,
-286,
0,
-242.5,
286,
0,
242.5,
286,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
29,
572,
514,
572,
29,
0,
514,
0
],
"nuv": [
0.05642023346303502,
0,
1,
0,
0.05642023346303502,
0.9845094664371773,
1,
0.9845094664371773
],
"minPos": [
-242.5,
-286,
0
],
"maxPos": [
242.5,
286,
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",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

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,501 @@
[
{
"__type__": "cc.Prefab",
"_name": "AppInit",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "AppInit",
"_objFlags": 512,
"__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__": "8c46b2c2-a6b6-48c0-89ab-b1f7bfd2c1b7@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": 485,
"height": 572
},
"_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": 1,
"_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",
"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 { Tools } from '../../res-native/tools/Tools';
import { USERDATA } from '../../res-native/data/UserData';
import { app } from '../../app/app';
import { LOGIN_TOKEN } from '../../res-native/network/HttpRequest';
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/broken"|"effect/hit"|"effect/win"
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": "de0e382e-fca3-40ef-bcbd-86242c29d4b2",
"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": "0fc10754-9d84-4a95-8ae4-5c562fe87a9d",
"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": "2ff85775-42d8-46f4-b3d1-7740f4011ec8",
"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": "d9129e39-f934-4761-85e6-5c59afa25d2f",
"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": "48cf4a85-c2da-4fb9-b230-4ec08fdce628",
"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,6951 @@
[
{
"__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__": 119
},
{
"__id__": 188
},
{
"__id__": 242
},
{
"__id__": 283
}
],
"_active": true,
"_components": [
{
"__id__": 291
},
{
"__id__": 293
},
{
"__id__": 295
}
],
"_prefab": {
"__id__": 297
},
"_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__": 38
},
{
"__id__": 44
},
{
"__id__": 66
},
{
"__id__": 90
},
{
"__id__": 98
}
],
"_active": true,
"_components": [
{
"__id__": 112
},
{
"__id__": 114
},
{
"__id__": 116
}
],
"_prefab": {
"__id__": 118
},
"_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": "btns",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 4
},
{
"__id__": 13
},
{
"__id__": 22
}
],
"_active": true,
"_components": [
{
"__id__": 31
},
{
"__id__": 33
},
{
"__id__": 35
}
],
"_prefab": {
"__id__": 37
},
"_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__": 3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 9
}
],
"_prefab": {
"__id__": 12
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 135,
"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__": 4
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_contentSize": {
"__type__": "cc.Size",
"width": 115,
"height": 119
},
"_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__": 4
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"_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__": 4
},
"_enabled": true,
"__prefab": {
"__id__": 10
},
"clickEvents": [
{
"__id__": 11
}
],
"_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__": 3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
},
{
"__id__": 16
},
{
"__id__": 18
}
],
"_prefab": {
"__id__": 21
},
"_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__": 13
},
"_enabled": true,
"__prefab": {
"__id__": 15
},
"_contentSize": {
"__type__": "cc.Size",
"width": 115,
"height": 119
},
"_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__": 13
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"_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__": 13
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"clickEvents": [
{
"__id__": 20
}
],
"_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__": 3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 23
},
{
"__id__": 25
},
{
"__id__": 27
}
],
"_prefab": {
"__id__": 30
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -135,
"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__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 24
},
"_contentSize": {
"__type__": "cc.Size",
"width": 115,
"height": 119
},
"_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__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 26
},
"_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__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 28
},
"clickEvents": [
{
"__id__": 29
}
],
"_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__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 32
},
"_contentSize": {
"__type__": "cc.Size",
"width": 385,
"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__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 34
},
"_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__": 3
},
"_enabled": true,
"__prefab": {
"__id__": 36
},
"_alignFlags": 33,
"_target": null,
"_left": 0,
"_right": 20,
"_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": "logo",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 39
},
{
"__id__": 41
}
],
"_prefab": {
"__id__": 43
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 735,
"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": 329,
"height": 358
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "571b+bhmROmo3PO8W0u6D/"
},
{
"__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": 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": "bcn5LtDgdC5oKHY+iH3m0n"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "ff37h1tD9HuLqRZregqnPr",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "title",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 45
},
{
"__id__": 51
}
],
"_active": true,
"_components": [
{
"__id__": 63
}
],
"_prefab": {
"__id__": 65
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 460,
"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_1",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 44
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 46
},
{
"__id__": 48
}
],
"_prefab": {
"__id__": 50
},
"_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__": 45
},
"_enabled": true,
"__prefab": {
"__id__": 47
},
"_contentSize": {
"__type__": "cc.Size",
"width": 935,
"height": 287
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c2BUrVl2JIsKrTQQuuFLG4"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 45
},
"_enabled": true,
"__prefab": {
"__id__": 49
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "1e4fb066-46f1-4bc1-b730-34525782fdc1@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": "ffHkz+8c5CroitruLkXieO"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "880I7mYzpEXKG/ag7TKT4S",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "title_2",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 44
},
"_children": [
{
"__id__": 52
}
],
"_active": true,
"_components": [
{
"__id__": 58
},
{
"__id__": 60
}
],
"_prefab": {
"__id__": 62
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -240,
"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__": 51
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 53
},
{
"__id__": 55
}
],
"_prefab": {
"__id__": 57
},
"_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__": 52
},
"_enabled": true,
"__prefab": {
"__id__": 54
},
"_contentSize": {
"__type__": "cc.Size",
"width": 520,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f4vc/f6ExAG4VAw1CQgKYf"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 52
},
"_enabled": true,
"__prefab": {
"__id__": 56
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 58,
"g": 16,
"b": 59,
"a": 255
},
"_string": "Smash for a Chance at Big Prizes!",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 32,
"_fontSize": 32,
"_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": "6czlBnXmxB4om9GzMwjHlP"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "17AylNx6VKjYG9TiEdwwVA",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 51
},
"_enabled": true,
"__prefab": {
"__id__": 59
},
"_contentSize": {
"__type__": "cc.Size",
"width": 878,
"height": 205
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e2fioH/ERFHpxJn5/ZBtXp"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 51
},
"_enabled": true,
"__prefab": {
"__id__": 61
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "1af1ce1e-4d8a-4cca-b354-9a77c42a26a9@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": "87lWAWe0JLYYlo1nbaVxb5"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "926JATCLhG9KcoS+6yDz9I",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 44
},
"_enabled": true,
"__prefab": {
"__id__": 64
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a4yTpF4gNLAJlqAasZf7/U"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d20OvYkmRGxJ7xcG416iOK",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "stars",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 67
},
{
"__id__": 73
},
{
"__id__": 79
}
],
"_active": true,
"_components": [
{
"__id__": 85
},
{
"__id__": 87
}
],
"_prefab": {
"__id__": 89
},
"_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": "star_1",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 66
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 68
},
{
"__id__": 70
}
],
"_prefab": {
"__id__": 72
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -425,
"y": -290,
"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__": 67
},
"_enabled": true,
"__prefab": {
"__id__": 69
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 199
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f8l0KDLblIxaK+hdZaWaqJ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 67
},
"_enabled": true,
"__prefab": {
"__id__": 71
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "3486b8b8-92e1-48c3-9d40-633342235530@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": "bcCl1q1xNO86zwYxrhcF5y"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "2aCxizjyJPhK5Az/qKKo2f",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "star_2",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 66
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 74
},
{
"__id__": 76
}
],
"_prefab": {
"__id__": 78
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 440,
"y": -215,
"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": 126,
"height": 160
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "93Kjm+HoRCTpF14XetFxRv"
},
{
"__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__": "95bb5fcd-e193-4438-afd4-eac4221c7a0a@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": "ccAh74qS9JMZE0fPNDB61y"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c4iGIi7ytKqrx8q1VlDk5V",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "star_3",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 66
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 80
},
{
"__id__": 82
}
],
"_prefab": {
"__id__": 84
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -5,
"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__": 79
},
"_enabled": true,
"__prefab": {
"__id__": 81
},
"_contentSize": {
"__type__": "cc.Size",
"width": 145,
"height": 118
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "bdfK59gGdLFbrCgQXxp+X5"
},
{
"__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__": "d3ddd90d-b5d2-4602-86d4-a0e3254c90f2@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": "3d0P/g/yNOAquL+6eP0Jvd"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "9agBnLvAJODKSVGeF1s/IA",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 66
},
"_enabled": true,
"__prefab": {
"__id__": 86
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7fahDRbNpKnIaMG5ED2i+9"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 66
},
"_enabled": true,
"__prefab": {
"__id__": 88
},
"playOnLoad": true,
"_clips": [
{
"__uuid__": "9ba7633f-46fd-4b7b-993a-49c310065853",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "9ba7633f-46fd-4b7b-993a-49c310065853",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a6cXEs0GZJFLiCTLMB9SIk"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "78PzSdtklCJp4iP+SqZA5u",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "eggs",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 91
},
{
"__id__": 93
},
{
"__id__": 95
}
],
"_prefab": {
"__id__": 97
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -612,
"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__": 90
},
"_enabled": true,
"__prefab": {
"__id__": 92
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 396
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "64+JKO7K9JKq+sPiwWU8L3"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 90
},
"_enabled": true,
"__prefab": {
"__id__": 94
},
"_alignFlags": 4,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 150,
"_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": "b6G2Lb9NdI36JUgcR/abWk"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 90
},
"_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__": "d29940cf-8c5b-4315-a6c9-a6bb01395597@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": "b9SLn/tzhHxZAfZEcN5l9h"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d7X+ZJXhNOyaiguX7GjYpE",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "btn_cracks",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 99
}
],
"_active": true,
"_components": [
{
"__id__": 105
},
{
"__id__": 107
},
{
"__id__": 109
}
],
"_prefab": {
"__id__": 111
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -840,
"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__": 98
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 100
},
{
"__id__": 102
}
],
"_prefab": {
"__id__": 104
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 10,
"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__": 99
},
"_enabled": true,
"__prefab": {
"__id__": 101
},
"_contentSize": {
"__type__": "cc.Size",
"width": 600,
"height": 81.6
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "fes1wRjyBNVIao1VSSMmOv"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 99
},
"_enabled": true,
"__prefab": {
"__id__": 103
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "Cracks Used:999",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 41,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 60,
"_overflow": 2,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 122,
"g": 40,
"b": 21,
"a": 255
},
"_outlineWidth": 3,
"_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": "0714yURttPgr9toY+AzAyc"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "cbOp7bUElNOoMPjTMA6NW0",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 98
},
"_enabled": true,
"__prefab": {
"__id__": 106
},
"_contentSize": {
"__type__": "cc.Size",
"width": 674,
"height": 140
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f7Ujd7JNZAWbAXQ0W+TC9i"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 98
},
"_enabled": true,
"__prefab": {
"__id__": 108
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "5747b5c5-d604-4444-98dc-5d834ee5e60a@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": "2b77i7EbVJIaQeQ4SspM8S"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 98
},
"_enabled": true,
"__prefab": {
"__id__": 110
},
"_alignFlags": 4,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 1729.0610000000001,
"_bottom": 50,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 140,
"_alignMode": 2,
"_lockFlags": 0,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8afsZ86KpMDIUxaYcePf+G"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "7fOtWGc4NFIKHbPhi4F6fi",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 113
},
"_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__": 115
},
"_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__": 117
},
"_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": "reward",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 120
},
{
"__id__": 130
}
],
"_active": false,
"_components": [
{
"__id__": 181
},
{
"__id__": 183
},
{
"__id__": 185
}
],
"_prefab": {
"__id__": 187
},
"_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__": 119
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 121
},
{
"__id__": 123
},
{
"__id__": 125
},
{
"__id__": 127
}
],
"_prefab": {
"__id__": 129
},
"_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__": 120
},
"_enabled": true,
"__prefab": {
"__id__": 122
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "00ez4GUglMVbVRAiIe/SmW"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 120
},
"_enabled": true,
"__prefab": {
"__id__": 124
},
"_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": "f3s1A6cV1KkpYNWfDYgYpi"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 120
},
"_enabled": true,
"__prefab": {
"__id__": 126
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 120
},
"_spriteFrame": {
"__uuid__": "3b5a4365-09ed-46db-bdb4-c1dc2d3b806b@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": "b33MvbENVLJp1Tpxr6J6EF"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 120
},
"_enabled": true,
"__prefab": {
"__id__": 128
},
"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": "d7MdGAx9dKxZfwh4gM1F49"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "63uOUC0k9ILogSMI8yld1U",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 119
},
"_children": [
{
"__id__": 131
},
{
"__id__": 137
},
{
"__id__": 155
},
{
"__id__": 161
}
],
"_active": true,
"_components": [
{
"__id__": 176
},
{
"__id__": 178
}
],
"_prefab": {
"__id__": 180
},
"_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": "title",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 130
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 132
},
{
"__id__": 134
}
],
"_prefab": {
"__id__": 136
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 185,
"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__": 131
},
"_enabled": true,
"__prefab": {
"__id__": 133
},
"_contentSize": {
"__type__": "cc.Size",
"width": 358,
"height": 66
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "60oi7W/OdFYKoiKnaDkn39"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 131
},
"_enabled": true,
"__prefab": {
"__id__": 135
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "f3c2dfc7-0e95-4ac1-95a3-34f3c1ad96b5@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": "6f5HCz08JIzarehYVh/q/5"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "d4ASqPyG1GkotYlmmpiPqz",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "reward_bg",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 130
},
"_children": [
{
"__id__": 138
},
{
"__id__": 144
}
],
"_active": true,
"_components": [
{
"__id__": 150
},
{
"__id__": 152
}
],
"_prefab": {
"__id__": 154
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -260,
"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_light_boom",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 137
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 139
},
{
"__id__": 141
}
],
"_prefab": {
"__id__": 143
},
"_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": 0.5,
"y": 0.5,
"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__": 138
},
"_enabled": true,
"__prefab": {
"__id__": 140
},
"_contentSize": {
"__type__": "cc.Size",
"width": 807,
"height": 807
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "6cfSuWi7tFu4cYg/CC1/3n"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 138
},
"_enabled": true,
"__prefab": {
"__id__": 142
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 245,
"g": 245,
"b": 245,
"a": 255
},
"_spriteFrame": {
"__uuid__": "2a3a0639-7518-40f9-b2a0-ec4e1af5ad13@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": "0e9r6T1sVBKZry8YkYY+8a"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "b7Dd7ECZlOHpX/NVOIJQGo",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "reward",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 137
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 145
},
{
"__id__": 147
}
],
"_prefab": {
"__id__": 149
},
"_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__": 144
},
"_enabled": true,
"__prefab": {
"__id__": 146
},
"_contentSize": {
"__type__": "cc.Size",
"width": 199,
"height": 159
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8b18BEgG5HtrwQFuTGUc1f"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 144
},
"_enabled": true,
"__prefab": {
"__id__": 148
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "63929f19-f734-43f7-aca6-31599b9eefc6@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": "88pfTi1tVFobUMXwz8hK8W"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "8cBdYd1j5O7pvzcxhW65Sm",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 137
},
"_enabled": true,
"__prefab": {
"__id__": 151
},
"_contentSize": {
"__type__": "cc.Size",
"width": 346,
"height": 346
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f8uoftAAtFV7ly8y6bBt7M"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 137
},
"_enabled": true,
"__prefab": {
"__id__": 153
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "c20de434-6289-4523-8a96-4c5fbd481090@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": "48SrA/43RJd4LgmtmktnLf"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "b2SHUEAixCtL2PfRa1v6sj",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "tips",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 130
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 156
},
{
"__id__": 158
}
],
"_prefab": {
"__id__": 160
},
"_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__": 155
},
"_enabled": true,
"__prefab": {
"__id__": 157
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 150
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7b0TU1YchIHY9BQ1qWtG3j"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 155
},
"_enabled": true,
"__prefab": {
"__id__": 159
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 135,
"g": 51,
"b": 179,
"a": 255
},
"_string": "You received 50 Credits",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 37,
"_fontSize": 36,
"_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": "b8rooywgVCr4boaM94aPKB"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "5b8C86t6BPH6VlwCX8GLdv",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "btn_sure",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 130
},
"_children": [
{
"__id__": 162
}
],
"_active": true,
"_components": [
{
"__id__": 168
},
{
"__id__": 170
},
{
"__id__": 172
}
],
"_prefab": {
"__id__": 175
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -620,
"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__": 161
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 163
},
{
"__id__": 165
}
],
"_prefab": {
"__id__": 167
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 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.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 162
},
"_enabled": true,
"__prefab": {
"__id__": 164
},
"_contentSize": {
"__type__": "cc.Size",
"width": 189.9609375,
"height": 100.8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "868MgByQ1JwrNlKkmJla6m"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 162
},
"_enabled": true,
"__prefab": {
"__id__": 166
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "CLAIM",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 60,
"_fontSize": 60,
"_fontFamily": "Arial",
"_lineHeight": 80,
"_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": "60SPzTMOBAGLikgQp3iQG3"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "b62aH68gxEc6CB5k2yRryH",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 161
},
"_enabled": true,
"__prefab": {
"__id__": 169
},
"_contentSize": {
"__type__": "cc.Size",
"width": 548,
"height": 154
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8229rciAhG67RE5pNwh1ks"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 161
},
"_enabled": true,
"__prefab": {
"__id__": 171
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "763495d1-c32e-4045-b908-fd90726edc5c@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": "60LYAlIVNMrrsKKdkODz9G"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 161
},
"_enabled": true,
"__prefab": {
"__id__": 173
},
"clickEvents": [
{
"__id__": 174
}
],
"_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": "77ap5RrslJloQfJmb8nxqO"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "5c1d6Gm/4FIG5IXQwohh/9Q",
"handler": "onClickRewardSure",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "becyHpwG1P5Y44p3x3L/k+",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 130
},
"_enabled": true,
"__prefab": {
"__id__": 177
},
"_contentSize": {
"__type__": "cc.Size",
"width": 918,
"height": 1015
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a28Db+vhFMpYtErlWGSgVv"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 130
},
"_enabled": true,
"__prefab": {
"__id__": 179
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "79d77599-588f-460d-8814-c14b560f1cee@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": "fbM9OeLP9IQJtb5TjajI5H"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "58XaQksjhEu7nVsz9OMuCF",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 119
},
"_enabled": true,
"__prefab": {
"__id__": 182
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "104fo0a4ZIZIsRY0SZv3wg"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 119
},
"_enabled": true,
"__prefab": {
"__id__": 184
},
"_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": "49a33OOztDRYTs4oHw9qhL"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 119
},
"_enabled": true,
"__prefab": {
"__id__": 186
},
"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": "f1xBBBCrVNMq7mleBcv/CU"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "35hZrU1tVHnIMXTgQYYyCM",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "noreward",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 189
},
{
"__id__": 199
}
],
"_active": false,
"_components": [
{
"__id__": 235
},
{
"__id__": 237
},
{
"__id__": 239
}
],
"_prefab": {
"__id__": 241
},
"_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__": 188
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 190
},
{
"__id__": 192
},
{
"__id__": 194
},
{
"__id__": 196
}
],
"_prefab": {
"__id__": 198
},
"_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__": 189
},
"_enabled": true,
"__prefab": {
"__id__": 191
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "05pevyWNlMBZK09uTT4oYp"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 189
},
"_enabled": true,
"__prefab": {
"__id__": 193
},
"_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": "6dreAIEUFDpqDQfMroW7Yb"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 189
},
"_enabled": true,
"__prefab": {
"__id__": 195
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 120
},
"_spriteFrame": {
"__uuid__": "3b5a4365-09ed-46db-bdb4-c1dc2d3b806b@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": "c8RAUxxnJCNoVnevW0y2Dc"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 189
},
"_enabled": true,
"__prefab": {
"__id__": 197
},
"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": "39w/es9TVKR6SVFkhG/3PM"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "549I22bgJE8Z8H4k4b30Hq",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 188
},
"_children": [
{
"__id__": 200
},
{
"__id__": 206
},
{
"__id__": 215
},
{
"__id__": 221
}
],
"_active": true,
"_components": [
{
"__id__": 230
},
{
"__id__": 232
}
],
"_prefab": {
"__id__": 234
},
"_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": "title",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 199
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 201
},
{
"__id__": 203
}
],
"_prefab": {
"__id__": 205
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 176,
"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__": 200
},
"_enabled": true,
"__prefab": {
"__id__": 202
},
"_contentSize": {
"__type__": "cc.Size",
"width": 591,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "0ci4HWYKZGNZqIa8E23FyU"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 200
},
"_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__": "060cc8b7-7a31-4875-be5b-13fc28ad8ea8@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": "113wCPFbNAPbheWTO4Gupf"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "07dm/h/R9Bo6kzY6zBumi7",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "btn_sure",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 199
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 207
},
{
"__id__": 209
},
{
"__id__": 211
}
],
"_prefab": {
"__id__": 214
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -620,
"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__": 206
},
"_enabled": true,
"__prefab": {
"__id__": 208
},
"_contentSize": {
"__type__": "cc.Size",
"width": 548,
"height": 182
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7d8FoRDn1Ewqk2kJuLOiLt"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 206
},
"_enabled": true,
"__prefab": {
"__id__": 210
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "bdad28d9-f7b8-4d16-8b17-817c29d65844@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": "84d6wvkixGbZ1SM+UxLqPv"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 206
},
"_enabled": true,
"__prefab": {
"__id__": 212
},
"clickEvents": [
{
"__id__": 213
}
],
"_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": "964G+VQy1N14ZCit7dgrV1"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "5c1d6Gm/4FIG5IXQwohh/9Q",
"handler": "onClickRewardSure",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "01WVtdrd9I4rsdSvuR7TIp",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "lab",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 199
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 216
},
{
"__id__": 218
}
],
"_prefab": {
"__id__": 220
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -15,
"y": -132,
"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__": 215
},
"_enabled": true,
"__prefab": {
"__id__": 217
},
"_contentSize": {
"__type__": "cc.Size",
"width": 579.736328125,
"height": 63
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "01ICj35TBNS7Ckebh2CSVn"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 215
},
"_enabled": true,
"__prefab": {
"__id__": 219
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 51,
"g": 84,
"b": 179,
"a": 255
},
"_string": "Sorry, no prize this time.",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 50,
"_fontSize": 50,
"_fontFamily": "Arial",
"_lineHeight": 50,
"_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": "f5txBNGN1F2IKU2Fzgxxfn"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "f9W89g7h5KQ455Tb9LU0Mh",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "btn_close",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 199
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 222
},
{
"__id__": 224
},
{
"__id__": 226
}
],
"_prefab": {
"__id__": 229
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 428,
"y": 155,
"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": 115,
"height": 119
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "6bnhs9+/ZOKZnG4Hd1EVLz"
},
{
"__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__": "80e22e69-ee07-4f7c-98b5-2c8680baeac7@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": "39hod/5CJKvb1Ms+5kvn8e"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 221
},
"_enabled": true,
"__prefab": {
"__id__": 227
},
"clickEvents": [
{
"__id__": 228
}
],
"_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": "72kwv6qIBBQZXldTJFMXGA"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "5c1d6Gm/4FIG5IXQwohh/9Q",
"handler": "onClickRewardSure",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "34VaLOFpZC+K2dqatwRPlM",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 199
},
"_enabled": true,
"__prefab": {
"__id__": 231
},
"_contentSize": {
"__type__": "cc.Size",
"width": 918,
"height": 1015
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a5di5Y3KNMR7DUNP4jYHcK"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 199
},
"_enabled": true,
"__prefab": {
"__id__": 233
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "cbca32d2-5b9a-49bd-a517-970bf2840791@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": "51rouMCoZLyaMYXrQV8YkG"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "0f6qpKbVhC+6QzYk+jPkRx",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 188
},
"_enabled": true,
"__prefab": {
"__id__": 236
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "95LmDZWXJOx6U+CHutg1Fs"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 188
},
"_enabled": true,
"__prefab": {
"__id__": 238
},
"_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": "c0BCzEP99BA48Kf9CbQSIQ"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 188
},
"_enabled": true,
"__prefab": {
"__id__": 240
},
"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": "740jmH6khAvrAl0xV38Xil"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c7S9p3ePpDJJcH7gSYWtaD",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "eggs_item",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 243
},
{
"__id__": 252
},
{
"__id__": 260
}
],
"_active": false,
"_components": [
{
"__id__": 278
},
{
"__id__": 280
}
],
"_prefab": {
"__id__": 282
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -262,
"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": "egg",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 242
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 244
},
{
"__id__": 246
},
{
"__id__": 248
}
],
"_prefab": {
"__id__": 251
},
"_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__": 243
},
"_enabled": true,
"__prefab": {
"__id__": 245
},
"_contentSize": {
"__type__": "cc.Size",
"width": 428,
"height": 541
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2dsbrZLp5LD7ZoCyyzVQoS"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 243
},
"_enabled": true,
"__prefab": {
"__id__": 247
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "baa0f006-7144-491a-83c8-855d45b8908e@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": "51oTTMS/FBw6L2ZuuyCcf/"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 243
},
"_enabled": true,
"__prefab": {
"__id__": 249
},
"clickEvents": [
{
"__id__": 250
}
],
"_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": {
"__id__": 242
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "4eZ76EuTpCJotMMbqkFwcp"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 1
},
"component": "",
"_componentId": "5c1d6Gm/4FIG5IXQwohh/9Q",
"handler": "onClickEgg",
"customEventData": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "5eC9U3OBRBPpwF3fgaa/XT",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "light",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 242
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 253
},
{
"__id__": 255
},
{
"__id__": 257
}
],
"_prefab": {
"__id__": 259
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 100,
"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__": 252
},
"_enabled": true,
"__prefab": {
"__id__": 254
},
"_contentSize": {
"__type__": "cc.Size",
"width": 807,
"height": 807
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "08l7yb1r1J7rT2SqXWzsYi"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 252
},
"_enabled": true,
"__prefab": {
"__id__": 256
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "2a3a0639-7518-40f9-b2a0-ec4e1af5ad13@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": "4dz9qS34BOj6yAdW8wIEQI"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 252
},
"_enabled": true,
"__prefab": {
"__id__": 258
},
"playOnLoad": true,
"_clips": [
{
"__uuid__": "702fa68f-2a62-42fa-aada-e55ded530583",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "702fa68f-2a62-42fa-aada-e55ded530583",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f1ecUfDIFNDJ7yOs8ay7/O"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "5dMedAHPxPHZ0zm/1ZLsJ8",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "egg_break",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 242
},
"_children": [
{
"__id__": 261
},
{
"__id__": 267
}
],
"_active": false,
"_components": [
{
"__id__": 273
},
{
"__id__": 275
}
],
"_prefab": {
"__id__": 277
},
"_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": "break_2",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 260
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 262
},
{
"__id__": 264
}
],
"_prefab": {
"__id__": 266
},
"_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__": 261
},
"_enabled": true,
"__prefab": {
"__id__": 263
},
"_contentSize": {
"__type__": "cc.Size",
"width": 485,
"height": 572
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "10rM5fINtGRK1v2NquFGNN"
},
{
"__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__": "db1a544d-3f30-47a3-924b-2b428ed21700@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": "e1lotRGGlLVrs7exxLTIKy"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "be0d/YKuVKfZ+v1GxEd8cG",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "break_1",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 260
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 268
},
{
"__id__": 270
}
],
"_prefab": {
"__id__": 272
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -8,
"y": 170,
"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__": 267
},
"_enabled": true,
"__prefab": {
"__id__": 269
},
"_contentSize": {
"__type__": "cc.Size",
"width": 442,
"height": 314
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "12jwTmychJo69P2wk0Dgou"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 267
},
"_enabled": true,
"__prefab": {
"__id__": 271
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "ff9a130e-0041-4555-b646-809711cc4dc8@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": "4eJVmnzG9K/oRN636af8aT"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "13tM4gOj9PhKWelN38rcYC",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 260
},
"_enabled": true,
"__prefab": {
"__id__": 274
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "35qdRHdGNHnr2knR8bqrmT"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 260
},
"_enabled": true,
"__prefab": {
"__id__": 276
},
"playOnLoad": false,
"_clips": [
{
"__uuid__": "71efad7f-f0ee-49cf-9024-52ed8545728f",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "71efad7f-f0ee-49cf-9024-52ed8545728f",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "71xFuNn+1Hr4rrDBUbabKa"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "efKmrAis1Ljpi62UMqAfi1",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 242
},
"_enabled": true,
"__prefab": {
"__id__": 279
},
"_contentSize": {
"__type__": "cc.Size",
"width": 428,
"height": 541
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "31DGRXNFNMOrAXr//5Jx+p"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 242
},
"_enabled": true,
"__prefab": {
"__id__": 281
},
"playOnLoad": false,
"_clips": [
{
"__uuid__": "aa01a925-cb11-41fc-8802-6116f79824a4",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "aa01a925-cb11-41fc-8802-6116f79824a4",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "5dFzIgyWJPE4skTaSwEOqi"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "90IRhRC9FLAJ2KF/LRpJ1K",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "hammer",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 284
},
{
"__id__": 286
},
{
"__id__": 288
}
],
"_prefab": {
"__id__": 290
},
"_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__": 283
},
"_enabled": true,
"__prefab": {
"__id__": 285
},
"_contentSize": {
"__type__": "cc.Size",
"width": 329,
"height": 358
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "9dWW8s4HZDQIpg2mJXmrhY"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 283
},
"_enabled": true,
"__prefab": {
"__id__": 287
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "41330fee-755f-4b96-87da-2c8d8f3c0ded@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": "7eMwUeQT1JX7zUQaoNpnLY"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 283
},
"_enabled": true,
"__prefab": {
"__id__": 289
},
"playOnLoad": false,
"_clips": [
{
"__uuid__": "96cd4242-dcde-4328-82f8-80f884a97e72",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "96cd4242-dcde-4328-82f8-80f884a97e72",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d9m7F7vEBJPpSXh3bqda0k"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "2aIMXX+FJAbbfL0ZMxh4ZU",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "5c1d6Gm/4FIG5IXQwohh/9Q",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 292
},
"_hideEvent": 1,
"_singleton": true,
"_captureFocus": true,
"_shade": false,
"_blockInput": true,
"_alwaysExist": true,
"title": {
"__id__": 44
},
"egg_item": {
"__id__": 242
},
"egg_bg": {
"__id__": 90
},
"reward_bg": {
"__id__": 119
},
"noreward_bg": {
"__id__": 188
},
"btn_music": {
"__id__": 4
},
"hammer": {
"__id__": 283
},
"lab_remain": {
"__id__": 102
},
"lab_rw": {
"__id__": 158
},
"icon_rw": {
"__id__": 147
},
"game_logo": {
"__id__": 41
},
"game_logo_bg": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "70ggeL6RdBvb3k6EFfOvBi"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 294
},
"_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__": 296
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 3.2862601528904634e-14,
"_bottom": -3.2862601528904634e-14,
"_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,301 @@
import { _decorator, Button, Node, Tween, tween, Vec3, Animation, Sprite, Asset, ImageAsset, SpriteFrame, Texture2D, UITransform, Label } from 'cc';
import BaseView from '../../../../../../extensions/app/assets/base/BaseView';
import { PageTips } from '../../tips/native/PageTips';
import { app } from 'db://assets/app/app';
import { Tools } from 'db://assets/res-native/tools/Tools';
import { PageRewardhistory } from '../../rewardhistory/native/PageRewardhistory';
import { USERDATA } from 'db://assets/res-native/data/UserData';
const { ccclass, property } = _decorator;
@ccclass('PageMain')
export class PageMain extends BaseView {
/** 标题 */
@property(Node)
title: Node = null!;
/** 鸡蛋 */
@property(Node)
egg_item: Node = null!;
/** 鸡蛋背景 */
@property(Node)
egg_bg: Node = null!;
/** 奖励 */
@property(Node)
reward_bg: Node = null!;
/** 奖励 */
@property(Node)
noreward_bg: Node = null!;
/** 音乐按钮 */
@property(Node)
btn_music: Node = null!;
/** 锤子 */
@property(Node)
hammer: Node = null!;
/** 剩余次数 */
@property(Label)
lab_remain: Label = null!;
/** 奖励文字 */
@property(Label)
lab_rw: Label = null!;
/** 奖励icon */
@property(Sprite)
icon_rw: Sprite = null!;
/** 奖励icon */
@property(Sprite)
game_logo: Sprite = null!;
/** 奖励icon */
@property(Sprite)
game_logo_bg: Sprite = null!;
/** 默认鸡蛋数量 */
private _eggs_num: number = 3;
/** 鸡蛋节点管理 */
private _egg_mgr : Node[] = null!;
/** 鸡蛋动画管理 */
private _egg_anim_mgr : Tween<Node>[] = [];
/** 此轮是否点击过鸡蛋 */
private _clickEgg: boolean = false;
// 初始化的相关逻辑写在这
onLoad() {}
// 界面打开时的相关逻辑写在这(onShow可被多次调用-它与onHide不成对)
onShow(params: any) {
this.titleAnimation();
this.creatEggs();
this.lab_remain.string = "Cracks Used : " + USERDATA.point.toString();
// 加载配置的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)
}
}
/** 生成鸡蛋 */
creatEggs(){
this._clickEgg = false
// 清理已有鸡蛋
for (let i = 0; i < this._egg_mgr?.length; i++) {
this._egg_mgr[i].destroy();
}
this._egg_mgr = [];
// 根据鸡蛋数量进行设定初始角度
const oneThirdCircle = 2 * Math.PI / this._eggs_num; //
for (let i = 0; i < this._eggs_num; i++) {
this._egg_mgr[i] = Tools.AddChild(this.egg_bg, this.egg_item);
Tools.GetChildComp(this._egg_mgr[i], "egg", Button).clickEvents[0].customEventData = i.toString();
this.eggsEllipseMotionPrecise(this._egg_mgr[i] , i * oneThirdCircle, i);
}
}
/** 标题动画 */
titleAnimation() {
const scaleDown = tween().to(0.6, { scale: new Vec3(0.96, 0.96, 1) });
const scaleUp = tween().to(0.6, { scale: new Vec3(1, 1, 1) });
tween(this.title)
.sequence(scaleDown, scaleUp) // 使用sequence串联动画
.repeatForever()
.start();
}
/** 更精确的鸡蛋椭圆运动动画 - 修复停顿问题 */
eggsEllipseMotionPrecise(egg: Node, startAngle: number = 0, index: number) {
// 椭圆参数
const centerX = 0;
const centerY = 350;
const a = 250; // 长半轴
const b = 60; // 短半轴
const duration = 5; // 一圈的时间
// 首先设置初始位置
const initialX = centerX + a * Math.cos(startAngle);
const initialY = centerY + b * Math.sin(startAngle);
egg.setPosition(new Vec3(initialX, initialY, 0));
// 创建多个关键帧实现更平滑的椭圆运动
const steps = 20;
const actions = [];
// 从指定起始角度开始创建动画序列
for (let i = 0; i < steps; i++) {
// 改变角度计算方式,使用负角度或调整角度递增方向
const nextAngle = startAngle - (2 * Math.PI * (i + 1)) / steps; // 从起始角度开始
const nextX = centerX + a * Math.cos(nextAngle);
const nextY = centerY + b * Math.sin(nextAngle);
actions.push(
tween().to(
duration/steps,
{ position: new Vec3(nextX, nextY, 0) },
{ easing: 'linear' }
)
);
}
this._egg_anim_mgr[index] = tween(egg)
.sequence(...actions)
.repeatForever()
.start();
egg.active = true;
}
// 界面关闭时的相关逻辑写在这(已经关闭的界面不会触发onHide)
onHide(result: undefined) {
// app.manager.ui.show<PageMain>({name: 'PageMain', onHide:(result) => { 接收到return的数据并且有类型提示 }})
return result;
}
protected update(dt: number): void {
// 比较三个鸡蛋的y位置并设置它们的前后顺序
if (this._egg_mgr.length > 0){
this.updateEggSorting();
}
}
/**
* 根据Y轴位置更新鸡蛋的层级顺序
* Y值越大越靠下的鸡蛋应该显示在前后
*/
private updateEggSorting() {
// 创建包含鸡蛋和Y位置的数组
const eggs = [];
for (let i = 0; i < this._egg_mgr.length; i++) {
eggs[i] = { node: this._egg_mgr[i], y: this._egg_mgr[i].position.y };
}
// 按照Y值从大到小排序Y值大的在后面
eggs.sort((a, b) => b.y - a.y);
// 设置层级顺序Y值大的显示在后面
for (let i = 0; i < eggs.length; i++) {
eggs[i].node.setSiblingIndex(i);
}
}
/** 点击鸡蛋 */
onClickEgg(event:any, eggIndex: string) {
if (this._clickEgg) return;
if (USERDATA.point <= 0) {
app.manager.ui.showToast(Tools.GetLocalized("no crack"));
return;
}
this._clickEgg = true;
// 停止所有鸡蛋的动画
for (let i = 0; i < this._egg_anim_mgr.length; i++) {
this._egg_anim_mgr[i].stop();
}
const index = parseInt(eggIndex);
// 在这里添加点击鸡蛋后的逻辑处理
let egg = this._egg_mgr[index]
// 创建锤子
let worldPos =event.touch.getUILocation();
worldPos = new Vec3(worldPos.x, worldPos.y, 0);
let localPos = this._egg_mgr[parseInt(eggIndex)].getComponent(UITransform).convertToNodeSpaceAR(worldPos);
let hammer = Tools.AddChild(egg, this.hammer)
hammer.setPosition(new Vec3(localPos.x + 80, localPos.y, 0))
hammer.active = true
hammer.getComponent(Animation).play()
app.manager.sound.playEffect({name: 'effect/hit'});
// 鸡蛋摇晃动画
this.scheduleOnce(() => {
hammer.destroy()
tween(egg)
.sequence(
tween().by(0.05, {position: new Vec3(20, 0, 0)}), // 向右
tween().by(0.1, {position: new Vec3(-40, 0, 0)}), // 向左
tween().by(0.05, {position: new Vec3(20, 0, 0)}) // 回到中心
)
.repeat(3)
.start()
}, 0.6);
// 破蛋动画
this.scheduleOnce(() => {
Tools.ActChild(egg, 'egg', false)
Tools.ActChild(egg, 'egg_break', true)
}, 1.3);
// 破蛋动画
this.scheduleOnce(() => {
egg.getChildByPath('egg_break').getComponent(Animation).play()
app.manager.sound.playEffect({name: 'effect/broken'});
}, 1.5);
this.scheduleOnce(() => {
Tools.ActChild(egg, 'light', true)
}, 1.6);
this.icon_rw.spriteFrame = null;
Tools.httpReq("lottery", {}, (res:any)=>{
USERDATA.point--
this.lab_remain.string = "Cracks Used : " + USERDATA.point.toString();
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.lab_rw.string = Tools.StringLFormat(res.message)
Tools.remoteLoadSprite(USERDATA.prize_list[n].pic, this.icon_rw)
// 展示奖励
this.scheduleOnce(() => {
app.manager.sound.playEffect({name: 'effect/win'});
this.reward_bg.active = res.prize_type != 3
this.noreward_bg.active = res.prize_type == 3
}, 2.5);
})
}
/** 点击奖励确定 */
onClickRewardSure(){
this.reward_bg.active = false
this.noreward_bg.active = false
this.creatEggs();
}
/** 点击提示 */
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'})
}
}

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: 26 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "41330fee-755f-4b96-87da-2c8d8f3c0ded",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "41330fee-755f-4b96-87da-2c8d8f3c0ded@6c48a",
"displayName": "main_ hammer",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "41330fee-755f-4b96-87da-2c8d8f3c0ded",
"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": "41330fee-755f-4b96-87da-2c8d8f3c0ded@f9941",
"displayName": "main_ hammer",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 329,
"height": 358,
"rawWidth": 329,
"rawHeight": 358,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-164.5,
-179,
0,
164.5,
-179,
0,
-164.5,
179,
0,
164.5,
179,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
358,
329,
358,
0,
0,
329,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-164.5,
-179,
0
],
"maxPos": [
164.5,
179,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "41330fee-755f-4b96-87da-2c8d8f3c0ded@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "41330fee-755f-4b96-87da-2c8d8f3c0ded@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 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": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 535 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "cbca32d2-5b9a-49bd-a517-970bf2840791",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "cbca32d2-5b9a-49bd-a517-970bf2840791@6c48a",
"displayName": "main_bg_nowreward",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "cbca32d2-5b9a-49bd-a517-970bf2840791",
"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": "cbca32d2-5b9a-49bd-a517-970bf2840791@f9941",
"displayName": "main_bg_nowreward",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 918,
"height": 1173,
"rawWidth": 918,
"rawHeight": 1173,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-459,
-586.5,
0,
459,
-586.5,
0,
-459,
586.5,
0,
459,
586.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
1173,
918,
1173,
0,
0,
918,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-459,
-586.5,
0
],
"maxPos": [
459,
586.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cbca32d2-5b9a-49bd-a517-970bf2840791@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "cbca32d2-5b9a-49bd-a517-970bf2840791@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "79d77599-588f-460d-8814-c14b560f1cee",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "79d77599-588f-460d-8814-c14b560f1cee@6c48a",
"displayName": "main_bg_reward",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "79d77599-588f-460d-8814-c14b560f1cee",
"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": "79d77599-588f-460d-8814-c14b560f1cee@f9941",
"displayName": "main_bg_reward",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 918,
"height": 1163,
"rawWidth": 918,
"rawHeight": 1163,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-459,
-581.5,
0,
459,
-581.5,
0,
-459,
581.5,
0,
459,
581.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
1163,
918,
1163,
0,
0,
918,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-459,
-581.5,
0
],
"maxPos": [
459,
581.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "79d77599-588f-460d-8814-c14b560f1cee@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "79d77599-588f-460d-8814-c14b560f1cee@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

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": "5747b5c5-d604-4444-98dc-5d834ee5e60a",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "5747b5c5-d604-4444-98dc-5d834ee5e60a@6c48a",
"displayName": "main_btn_cracks",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "5747b5c5-d604-4444-98dc-5d834ee5e60a",
"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": "5747b5c5-d604-4444-98dc-5d834ee5e60a@f9941",
"displayName": "main_btn_cracks",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 674,
"height": 140,
"rawWidth": 674,
"rawHeight": 140,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-337,
-70,
0,
337,
-70,
0,
-337,
70,
0,
337,
70,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
140,
674,
140,
0,
0,
674,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-337,
-70,
0
],
"maxPos": [
337,
70,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "5747b5c5-d604-4444-98dc-5d834ee5e60a@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "5747b5c5-d604-4444-98dc-5d834ee5e60a@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

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": "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": 115,
"height": 119,
"rawWidth": 115,
"rawHeight": 119,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-57.5,
-59.5,
0,
57.5,
-59.5,
0,
-57.5,
59.5,
0,
57.5,
59.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
119,
115,
119,
0,
0,
115,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-57.5,
-59.5,
0
],
"maxPos": [
57.5,
59.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": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "bdad28d9-f7b8-4d16-8b17-817c29d65844",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "bdad28d9-f7b8-4d16-8b17-817c29d65844@6c48a",
"displayName": "main_btn_reward_retry",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "bdad28d9-f7b8-4d16-8b17-817c29d65844",
"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": "bdad28d9-f7b8-4d16-8b17-817c29d65844@f9941",
"displayName": "main_btn_reward_retry",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 548,
"height": 182,
"rawWidth": 548,
"rawHeight": 182,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-274,
-91,
0,
274,
-91,
0,
-274,
91,
0,
274,
91,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
182,
548,
182,
0,
0,
548,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-274,
-91,
0
],
"maxPos": [
274,
91,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "bdad28d9-f7b8-4d16-8b17-817c29d65844@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "bdad28d9-f7b8-4d16-8b17-817c29d65844@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "763495d1-c32e-4045-b908-fd90726edc5c",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "763495d1-c32e-4045-b908-fd90726edc5c@6c48a",
"displayName": "main_btn_reward_sure",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "763495d1-c32e-4045-b908-fd90726edc5c",
"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": "763495d1-c32e-4045-b908-fd90726edc5c@f9941",
"displayName": "main_btn_reward_sure",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 548,
"height": 154,
"rawWidth": 548,
"rawHeight": 154,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-274,
-77,
0,
274,
-77,
0,
-274,
77,
0,
274,
77,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
154,
548,
154,
0,
0,
548,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-274,
-77,
0
],
"maxPos": [
274,
77,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "763495d1-c32e-4045-b908-fd90726edc5c@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "763495d1-c32e-4045-b908-fd90726edc5c@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 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": 115,
"height": 119,
"rawWidth": 115,
"rawHeight": 119,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-57.5,
-59.5,
0,
57.5,
-59.5,
0,
-57.5,
59.5,
0,
57.5,
59.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
119,
115,
119,
0,
0,
115,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-57.5,
-59.5,
0
],
"maxPos": [
57.5,
59.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": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 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": 115,
"height": 119,
"rawWidth": 115,
"rawHeight": 119,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-57.5,
-59.5,
0,
57.5,
-59.5,
0,
-57.5,
59.5,
0,
57.5,
59.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
119,
115,
119,
0,
0,
115,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-57.5,
-59.5,
0
],
"maxPos": [
57.5,
59.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": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 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": 115,
"height": 119,
"rawWidth": 115,
"rawHeight": 119,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-57.5,
-59.5,
0,
57.5,
-59.5,
0,
-57.5,
59.5,
0,
57.5,
59.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
119,
115,
119,
0,
0,
115,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-57.5,
-59.5,
0
],
"maxPos": [
57.5,
59.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": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "baa0f006-7144-491a-83c8-855d45b8908e",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "baa0f006-7144-491a-83c8-855d45b8908e@6c48a",
"displayName": "main_egg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "baa0f006-7144-491a-83c8-855d45b8908e",
"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": "baa0f006-7144-491a-83c8-855d45b8908e@f9941",
"displayName": "main_egg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 428,
"height": 541,
"rawWidth": 428,
"rawHeight": 541,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-214,
-270.5,
0,
214,
-270.5,
0,
-214,
270.5,
0,
214,
270.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
541,
428,
541,
0,
0,
428,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-214,
-270.5,
0
],
"maxPos": [
214,
270.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "baa0f006-7144-491a-83c8-855d45b8908e@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "baa0f006-7144-491a-83c8-855d45b8908e@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "ff9a130e-0041-4555-b646-809711cc4dc8",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ff9a130e-0041-4555-b646-809711cc4dc8@6c48a",
"displayName": "main_egg_break_1",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "ff9a130e-0041-4555-b646-809711cc4dc8",
"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": "ff9a130e-0041-4555-b646-809711cc4dc8@f9941",
"displayName": "main_egg_break_1",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 442,
"height": 314,
"rawWidth": 442,
"rawHeight": 314,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-221,
-157,
0,
221,
-157,
0,
-221,
157,
0,
221,
157,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
314,
442,
314,
0,
0,
442,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-221,
-157,
0
],
"maxPos": [
221,
157,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "ff9a130e-0041-4555-b646-809711cc4dc8@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "ff9a130e-0041-4555-b646-809711cc4dc8@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "db1a544d-3f30-47a3-924b-2b428ed21700",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "db1a544d-3f30-47a3-924b-2b428ed21700@6c48a",
"displayName": "main_egg_break_2",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "db1a544d-3f30-47a3-924b-2b428ed21700",
"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": "db1a544d-3f30-47a3-924b-2b428ed21700@f9941",
"displayName": "main_egg_break_2",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 14.5,
"offsetY": -4.5,
"trimX": 29,
"trimY": 9,
"width": 485,
"height": 572,
"rawWidth": 514,
"rawHeight": 581,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-242.5,
-286,
0,
242.5,
-286,
0,
-242.5,
286,
0,
242.5,
286,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
29,
572,
514,
572,
29,
0,
514,
0
],
"nuv": [
0.05642023346303502,
0,
1,
0,
0.05642023346303502,
0.9845094664371773,
1,
0.9845094664371773
],
"minPos": [
-242.5,
-286,
0
],
"maxPos": [
242.5,
286,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "db1a544d-3f30-47a3-924b-2b428ed21700@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "db1a544d-3f30-47a3-924b-2b428ed21700@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "d29940cf-8c5b-4315-a6c9-a6bb01395597",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "d29940cf-8c5b-4315-a6c9-a6bb01395597@6c48a",
"displayName": "main_egg_tp",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "d29940cf-8c5b-4315-a6c9-a6bb01395597",
"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": "d29940cf-8c5b-4315-a6c9-a6bb01395597@f9941",
"displayName": "main_egg_tp",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 2.5,
"trimX": 0,
"trimY": 0,
"width": 1080,
"height": 396,
"rawWidth": 1080,
"rawHeight": 401,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-540,
-198,
0,
540,
-198,
0,
-540,
198,
0,
540,
198,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
401,
1080,
401,
0,
5,
1080,
5
],
"nuv": [
0,
0.012468827930174564,
1,
0.012468827930174564,
0,
1,
1,
1
],
"minPos": [
-540,
-198,
0
],
"maxPos": [
540,
198,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "d29940cf-8c5b-4315-a6c9-a6bb01395597@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "d29940cf-8c5b-4315-a6c9-a6bb01395597@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "63929f19-f734-43f7-aca6-31599b9eefc6",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "63929f19-f734-43f7-aca6-31599b9eefc6@6c48a",
"displayName": "main_gold_1",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "63929f19-f734-43f7-aca6-31599b9eefc6",
"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": "63929f19-f734-43f7-aca6-31599b9eefc6@f9941",
"displayName": "main_gold_1",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 199,
"height": 159,
"rawWidth": 199,
"rawHeight": 159,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-99.5,
-79.5,
0,
99.5,
-79.5,
0,
-99.5,
79.5,
0,
99.5,
79.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
159,
199,
159,
0,
0,
199,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-99.5,
-79.5,
0
],
"maxPos": [
99.5,
79.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "63929f19-f734-43f7-aca6-31599b9eefc6@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "63929f19-f734-43f7-aca6-31599b9eefc6@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

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": "5293696d-8d37-4208-bfd1-b67f5830e89c",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "5293696d-8d37-4208-bfd1-b67f5830e89c@6c48a",
"displayName": "main_gold_2",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "5293696d-8d37-4208-bfd1-b67f5830e89c",
"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": "5293696d-8d37-4208-bfd1-b67f5830e89c@f9941",
"displayName": "main_gold_2",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 249,
"height": 182,
"rawWidth": 249,
"rawHeight": 182,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-124.5,
-91,
0,
124.5,
-91,
0,
-124.5,
91,
0,
124.5,
91,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
182,
249,
182,
0,
0,
249,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-124.5,
-91,
0
],
"maxPos": [
124.5,
91,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "5293696d-8d37-4208-bfd1-b67f5830e89c@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "5293696d-8d37-4208-bfd1-b67f5830e89c@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "bf5bc49c-fb49-42df-ac08-da1335a26156",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "bf5bc49c-fb49-42df-ac08-da1335a26156@6c48a",
"displayName": "main_gold_3",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "bf5bc49c-fb49-42df-ac08-da1335a26156",
"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": "bf5bc49c-fb49-42df-ac08-da1335a26156@f9941",
"displayName": "main_gold_3",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 0,
"trimX": 0,
"trimY": 1,
"width": 299,
"height": 199,
"rawWidth": 300,
"rawHeight": 201,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-149.5,
-99.5,
0,
149.5,
-99.5,
0,
-149.5,
99.5,
0,
149.5,
99.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
200,
299,
200,
0,
1,
299,
1
],
"nuv": [
0,
0.004975124378109453,
0.9966666666666667,
0.004975124378109453,
0,
0.9950248756218906,
0.9966666666666667,
0.9950248756218906
],
"minPos": [
-149.5,
-99.5,
0
],
"maxPos": [
149.5,
99.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "bf5bc49c-fb49-42df-ac08-da1335a26156@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "bf5bc49c-fb49-42df-ac08-da1335a26156@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

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": "0b8d6602-b51e-4162-bf10-d512efafb7bb",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "0b8d6602-b51e-4162-bf10-d512efafb7bb@6c48a",
"displayName": "main_gold_4",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "0b8d6602-b51e-4162-bf10-d512efafb7bb",
"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": "0b8d6602-b51e-4162-bf10-d512efafb7bb@f9941",
"displayName": "main_gold_4",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0.5,
"trimX": 0,
"trimY": 0,
"width": 315,
"height": 236,
"rawWidth": 315,
"rawHeight": 237,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-157.5,
-118,
0,
157.5,
-118,
0,
-157.5,
118,
0,
157.5,
118,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
237,
315,
237,
0,
1,
315,
1
],
"nuv": [
0,
0.004219409282700422,
1,
0.004219409282700422,
0,
1,
1,
1
],
"minPos": [
-157.5,
-118,
0
],
"maxPos": [
157.5,
118,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "0b8d6602-b51e-4162-bf10-d512efafb7bb@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "0b8d6602-b51e-4162-bf10-d512efafb7bb@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "412dacc6-a11d-4101-ac0e-e55acef428c6",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "412dacc6-a11d-4101-ac0e-e55acef428c6@6c48a",
"displayName": "main_gold_5",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "412dacc6-a11d-4101-ac0e-e55acef428c6",
"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": "412dacc6-a11d-4101-ac0e-e55acef428c6@f9941",
"displayName": "main_gold_5",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -0.5,
"trimX": 0,
"trimY": 1,
"width": 311,
"height": 187,
"rawWidth": 311,
"rawHeight": 188,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-155.5,
-93.5,
0,
155.5,
-93.5,
0,
-155.5,
93.5,
0,
155.5,
93.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
187,
311,
187,
0,
0,
311,
0
],
"nuv": [
0,
0,
1,
0,
0,
0.9946808510638298,
1,
0.9946808510638298
],
"minPos": [
-155.5,
-93.5,
0
],
"maxPos": [
155.5,
93.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "412dacc6-a11d-4101-ac0e-e55acef428c6@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "412dacc6-a11d-4101-ac0e-e55acef428c6@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "f3c2dfc7-0e95-4ac1-95a3-34f3c1ad96b5",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f3c2dfc7-0e95-4ac1-95a3-34f3c1ad96b5@6c48a",
"displayName": "main_lab_congrats",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "f3c2dfc7-0e95-4ac1-95a3-34f3c1ad96b5",
"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": "f3c2dfc7-0e95-4ac1-95a3-34f3c1ad96b5@f9941",
"displayName": "main_lab_congrats",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 358,
"height": 66,
"rawWidth": 358,
"rawHeight": 66,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-179,
-33,
0,
179,
-33,
0,
-179,
33,
0,
179,
33,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
66,
358,
66,
0,
0,
358,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-179,
-33,
0
],
"maxPos": [
179,
33,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "f3c2dfc7-0e95-4ac1-95a3-34f3c1ad96b5@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "f3c2dfc7-0e95-4ac1-95a3-34f3c1ad96b5@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 357 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "2a3a0639-7518-40f9-b2a0-ec4e1af5ad13",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "2a3a0639-7518-40f9-b2a0-ec4e1af5ad13@6c48a",
"displayName": "main_light_boom",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "2a3a0639-7518-40f9-b2a0-ec4e1af5ad13",
"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": "2a3a0639-7518-40f9-b2a0-ec4e1af5ad13@f9941",
"displayName": "main_light_boom",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 807,
"height": 807,
"rawWidth": 807,
"rawHeight": 807,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-403.5,
-403.5,
0,
403.5,
-403.5,
0,
-403.5,
403.5,
0,
403.5,
403.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
807,
807,
807,
0,
0,
807,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-403.5,
-403.5,
0
],
"maxPos": [
403.5,
403.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "2a3a0639-7518-40f9-b2a0-ec4e1af5ad13@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "2a3a0639-7518-40f9-b2a0-ec4e1af5ad13@6c48a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "80e22e69-ee07-4f7c-98b5-2c8680baeac7",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "80e22e69-ee07-4f7c-98b5-2c8680baeac7@6c48a",
"displayName": "main_norw_close",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "80e22e69-ee07-4f7c-98b5-2c8680baeac7",
"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": "80e22e69-ee07-4f7c-98b5-2c8680baeac7@f9941",
"displayName": "main_norw_close",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 115,
"height": 119,
"rawWidth": 115,
"rawHeight": 119,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-57.5,
-59.5,
0,
57.5,
-59.5,
0,
-57.5,
59.5,
0,
57.5,
59.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
119,
115,
119,
0,
0,
115,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-57.5,
-59.5,
0
],
"maxPos": [
57.5,
59.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "80e22e69-ee07-4f7c-98b5-2c8680baeac7@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "80e22e69-ee07-4f7c-98b5-2c8680baeac7@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

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": "060cc8b7-7a31-4875-be5b-13fc28ad8ea8",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "060cc8b7-7a31-4875-be5b-13fc28ad8ea8@6c48a",
"displayName": "main_nowrw_title",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "060cc8b7-7a31-4875-be5b-13fc28ad8ea8",
"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": "060cc8b7-7a31-4875-be5b-13fc28ad8ea8@f9941",
"displayName": "main_nowrw_title",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 591,
"height": 76,
"rawWidth": 591,
"rawHeight": 76,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-295.5,
-38,
0,
295.5,
-38,
0,
-295.5,
38,
0,
295.5,
38,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
76,
591,
76,
0,
0,
591,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-295.5,
-38,
0
],
"maxPos": [
295.5,
38,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "060cc8b7-7a31-4875-be5b-13fc28ad8ea8@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "060cc8b7-7a31-4875-be5b-13fc28ad8ea8@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "c20de434-6289-4523-8a96-4c5fbd481090",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "c20de434-6289-4523-8a96-4c5fbd481090@6c48a",
"displayName": "main_reward_bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "c20de434-6289-4523-8a96-4c5fbd481090",
"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": "c20de434-6289-4523-8a96-4c5fbd481090@f9941",
"displayName": "main_reward_bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 346,
"height": 346,
"rawWidth": 346,
"rawHeight": 346,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-173,
-173,
0,
173,
-173,
0,
-173,
173,
0,
173,
173,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
346,
346,
346,
0,
0,
346,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-173,
-173,
0
],
"maxPos": [
173,
173,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "c20de434-6289-4523-8a96-4c5fbd481090@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "c20de434-6289-4523-8a96-4c5fbd481090@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "3486b8b8-92e1-48c3-9d40-633342235530",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "3486b8b8-92e1-48c3-9d40-633342235530@6c48a",
"displayName": "main_star_1",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "3486b8b8-92e1-48c3-9d40-633342235530",
"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": "3486b8b8-92e1-48c3-9d40-633342235530@f9941",
"displayName": "main_star_1",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 150,
"height": 199,
"rawWidth": 150,
"rawHeight": 199,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-75,
-99.5,
0,
75,
-99.5,
0,
-75,
99.5,
0,
75,
99.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
199,
150,
199,
0,
0,
150,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-75,
-99.5,
0
],
"maxPos": [
75,
99.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "3486b8b8-92e1-48c3-9d40-633342235530@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "3486b8b8-92e1-48c3-9d40-633342235530@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

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": "95bb5fcd-e193-4438-afd4-eac4221c7a0a",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "95bb5fcd-e193-4438-afd4-eac4221c7a0a@6c48a",
"displayName": "main_star_2",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "95bb5fcd-e193-4438-afd4-eac4221c7a0a",
"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": "95bb5fcd-e193-4438-afd4-eac4221c7a0a@f9941",
"displayName": "main_star_2",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 126,
"height": 160,
"rawWidth": 126,
"rawHeight": 160,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-63,
-80,
0,
63,
-80,
0,
-63,
80,
0,
63,
80,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
160,
126,
160,
0,
0,
126,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-63,
-80,
0
],
"maxPos": [
63,
80,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "95bb5fcd-e193-4438-afd4-eac4221c7a0a@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "95bb5fcd-e193-4438-afd4-eac4221c7a0a@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "d3ddd90d-b5d2-4602-86d4-a0e3254c90f2",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "d3ddd90d-b5d2-4602-86d4-a0e3254c90f2@6c48a",
"displayName": "main_star_3",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "d3ddd90d-b5d2-4602-86d4-a0e3254c90f2",
"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": "d3ddd90d-b5d2-4602-86d4-a0e3254c90f2@f9941",
"displayName": "main_star_3",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 145,
"height": 118,
"rawWidth": 145,
"rawHeight": 118,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-72.5,
-59,
0,
72.5,
-59,
0,
-72.5,
59,
0,
72.5,
59,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
118,
145,
118,
0,
0,
145,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-72.5,
-59,
0
],
"maxPos": [
72.5,
59,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "d3ddd90d-b5d2-4602-86d4-a0e3254c90f2@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "d3ddd90d-b5d2-4602-86d4-a0e3254c90f2@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "1e4fb066-46f1-4bc1-b730-34525782fdc1",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "1e4fb066-46f1-4bc1-b730-34525782fdc1@6c48a",
"displayName": "main_title_1",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "1e4fb066-46f1-4bc1-b730-34525782fdc1",
"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": "1e4fb066-46f1-4bc1-b730-34525782fdc1@f9941",
"displayName": "main_title_1",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 0.5,
"trimX": 1,
"trimY": 0,
"width": 932,
"height": 286,
"rawWidth": 935,
"rawHeight": 287,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-466,
-143,
0,
466,
-143,
0,
-466,
143,
0,
466,
143,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
1,
287,
933,
287,
1,
1,
933,
1
],
"nuv": [
0.0010695187165775401,
0.003484320557491289,
0.9978609625668449,
0.003484320557491289,
0.0010695187165775401,
1,
0.9978609625668449,
1
],
"minPos": [
-466,
-143,
0
],
"maxPos": [
466,
143,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "1e4fb066-46f1-4bc1-b730-34525782fdc1@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "1e4fb066-46f1-4bc1-b730-34525782fdc1@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

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": "1af1ce1e-4d8a-4cca-b354-9a77c42a26a9",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "1af1ce1e-4d8a-4cca-b354-9a77c42a26a9@6c48a",
"displayName": "main_title_2",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "1af1ce1e-4d8a-4cca-b354-9a77c42a26a9",
"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": "1af1ce1e-4d8a-4cca-b354-9a77c42a26a9@f9941",
"displayName": "main_title_2",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 0,
"trimX": 0,
"trimY": 1,
"width": 877,
"height": 203,
"rawWidth": 878,
"rawHeight": 205,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-438.5,
-101.5,
0,
438.5,
-101.5,
0,
-438.5,
101.5,
0,
438.5,
101.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
204,
877,
204,
0,
1,
877,
1
],
"nuv": [
0,
0.004878048780487805,
0.9988610478359908,
0.004878048780487805,
0,
0.9951219512195122,
0.9988610478359908,
0.9951219512195122
],
"minPos": [
-438.5,
-101.5,
0
],
"maxPos": [
438.5,
101.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "1af1ce1e-4d8a-4cca-b354-9a77c42a26a9@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "1af1ce1e-4d8a-4cca-b354-9a77c42a26a9@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

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,1982 @@
[
{
"__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__": 81
},
{
"__id__": 83
},
{
"__id__": 85
}
],
"_prefab": {
"__id__": 87
},
"_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__": 22
},
{
"__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": "btn_close",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 10
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 12
},
{
"__id__": 14
},
{
"__id__": 16
},
{
"__id__": 18
}
],
"_prefab": {
"__id__": 21
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 425,
"y": 705,
"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": 115,
"height": 119
},
"_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__": 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__": "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__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"_alignFlags": 33,
"_target": null,
"_left": 0,
"_right": -23.5,
"_top": -43.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__": 11
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"clickEvents": [
{
"__id__": 20
}
],
"_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": "title",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 10
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 23
},
{
"__id__": 25
}
],
"_prefab": {
"__id__": 27
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 725,
"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__": 22
},
"_enabled": true,
"__prefab": {
"__id__": 24
},
"_contentSize": {
"__type__": "cc.Size",
"width": 511,
"height": 234
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "0con5gCCZDeI/dZheNMcCe"
},
{
"__type__": "cc.Sprite",
"_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
},
"_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": "80QBHZY+ZIkLUYcY9goAbu"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "30bifhXPBOuJJ8FQkKvzMw",
"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": -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.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": 758,
"height": 1192
},
"_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": 758,
"height": 1192
},
"_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": 150,
"_bottom": 100,
"_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": 918,
"height": 1442
},
"_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__": 64
},
{
"__id__": 70
}
],
"_active": false,
"_components": [
{
"__id__": 76
},
{
"__id__": 78
}
],
"_prefab": {
"__id__": 80
},
"_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": "icon",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 57
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 59
},
{
"__id__": 61
}
],
"_prefab": {
"__id__": 63
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -210,
"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__": 58
},
"_enabled": true,
"__prefab": {
"__id__": 60
},
"_contentSize": {
"__type__": "cc.Size",
"width": 311,
"height": 188
},
"_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__": 58
},
"_enabled": true,
"__prefab": {
"__id__": 62
},
"_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.Node",
"_name": "lab_time",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 57
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 65
},
{
"__id__": 67
}
],
"_prefab": {
"__id__": 69
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 150,
"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__": 64
},
"_enabled": true,
"__prefab": {
"__id__": 66
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "68yXRYR6tKjLomSWMi/Ltl"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 64
},
"_enabled": true,
"__prefab": {
"__id__": 68
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 139,
"g": 39,
"b": 190,
"a": 255
},
"_string": "label",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_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": "3eTBI9VzVCn7bERganRT8e"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "60wH7WTQdKXp6CoZ1OUbk+",
"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": 150,
"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__": 70
},
"_enabled": true,
"__prefab": {
"__id__": 72
},
"_contentSize": {
"__type__": "cc.Size",
"width": 400,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"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": 139,
"g": 39,
"b": 190,
"a": 255
},
"_string": "50 Credits",
"_horizontalAlign": 1,
"_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.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 57
},
"_enabled": true,
"__prefab": {
"__id__": 77
},
"_contentSize": {
"__type__": "cc.Size",
"width": 751,
"height": 260
},
"_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__": 79
},
"_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__": 82
},
"_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__": 84
},
"_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__": 86
},
"_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, "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: 116 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": 918,
"height": 1442,
"rawWidth": 918,
"rawHeight": 1442,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-459,
-721,
0,
459,
-721,
0,
-459,
721,
0,
459,
721,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
1442,
918,
1442,
0,
0,
918,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-459,
-721,
0
],
"maxPos": [
459,
721,
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": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 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": 115,
"height": 119,
"rawWidth": 115,
"rawHeight": 119,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-57.5,
-59.5,
0,
57.5,
-59.5,
0,
-57.5,
59.5,
0,
57.5,
59.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
119,
115,
119,
0,
0,
115,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-57.5,
-59.5,
0
],
"maxPos": [
57.5,
59.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": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "bd1e967f-bada-405e-ad72-6d2155e0fe91",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "bd1e967f-bada-405e-ad72-6d2155e0fe91@6c48a",
"displayName": "rehis_gold_1",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "bd1e967f-bada-405e-ad72-6d2155e0fe91",
"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": "bd1e967f-bada-405e-ad72-6d2155e0fe91@f9941",
"displayName": "rehis_gold_1",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 199,
"height": 159,
"rawWidth": 199,
"rawHeight": 159,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-99.5,
-79.5,
0,
99.5,
-79.5,
0,
-99.5,
79.5,
0,
99.5,
79.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
159,
199,
159,
0,
0,
199,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-99.5,
-79.5,
0
],
"maxPos": [
99.5,
79.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "bd1e967f-bada-405e-ad72-6d2155e0fe91@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "bd1e967f-bada-405e-ad72-6d2155e0fe91@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "f2c2d8cf-2f1c-4c7a-b72f-c488dac47958",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f2c2d8cf-2f1c-4c7a-b72f-c488dac47958@6c48a",
"displayName": "rehis_gold_2",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "f2c2d8cf-2f1c-4c7a-b72f-c488dac47958",
"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": "f2c2d8cf-2f1c-4c7a-b72f-c488dac47958@f9941",
"displayName": "rehis_gold_2",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 249,
"height": 182,
"rawWidth": 249,
"rawHeight": 182,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-124.5,
-91,
0,
124.5,
-91,
0,
-124.5,
91,
0,
124.5,
91,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
182,
249,
182,
0,
0,
249,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-124.5,
-91,
0
],
"maxPos": [
124.5,
91,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "f2c2d8cf-2f1c-4c7a-b72f-c488dac47958@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "f2c2d8cf-2f1c-4c7a-b72f-c488dac47958@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "cd0fac38-6494-4253-84f7-f6f8581e4c92",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "cd0fac38-6494-4253-84f7-f6f8581e4c92@6c48a",
"displayName": "rehis_gold_3",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "cd0fac38-6494-4253-84f7-f6f8581e4c92",
"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": "cd0fac38-6494-4253-84f7-f6f8581e4c92@f9941",
"displayName": "rehis_gold_3",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 300,
"height": 201,
"rawWidth": 300,
"rawHeight": 201,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-150,
-100.5,
0,
150,
-100.5,
0,
-150,
100.5,
0,
150,
100.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
201,
300,
201,
0,
0,
300,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-150,
-100.5,
0
],
"maxPos": [
150,
100.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "cd0fac38-6494-4253-84f7-f6f8581e4c92@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "cd0fac38-6494-4253-84f7-f6f8581e4c92@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "1c2b6f98-57ac-4a8a-b02b-1bbdfe8c0a36",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "1c2b6f98-57ac-4a8a-b02b-1bbdfe8c0a36@6c48a",
"displayName": "rehis_gold_4",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "1c2b6f98-57ac-4a8a-b02b-1bbdfe8c0a36",
"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": "1c2b6f98-57ac-4a8a-b02b-1bbdfe8c0a36@f9941",
"displayName": "rehis_gold_4",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 315,
"height": 237,
"rawWidth": 315,
"rawHeight": 237,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-157.5,
-118.5,
0,
157.5,
-118.5,
0,
-157.5,
118.5,
0,
157.5,
118.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
237,
315,
237,
0,
0,
315,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-157.5,
-118.5,
0
],
"maxPos": [
157.5,
118.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "1c2b6f98-57ac-4a8a-b02b-1bbdfe8c0a36@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "1c2b6f98-57ac-4a8a-b02b-1bbdfe8c0a36@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "f9bfa9c6-39b8-41ca-b51c-eecbc968fdb7",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f9bfa9c6-39b8-41ca-b51c-eecbc968fdb7@6c48a",
"displayName": "rehis_gold_5",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "f9bfa9c6-39b8-41ca-b51c-eecbc968fdb7",
"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": "f9bfa9c6-39b8-41ca-b51c-eecbc968fdb7@f9941",
"displayName": "rehis_gold_5",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 311,
"height": 188,
"rawWidth": 311,
"rawHeight": 188,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-155.5,
-94,
0,
155.5,
-94,
0,
-155.5,
94,
0,
155.5,
94,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
188,
311,
188,
0,
0,
311,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-155.5,
-94,
0
],
"maxPos": [
155.5,
94,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "f9bfa9c6-39b8-41ca-b51c-eecbc968fdb7@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "f9bfa9c6-39b8-41ca-b51c-eecbc968fdb7@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 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": 751,
"height": 260,
"rawWidth": 751,
"rawHeight": 260,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-375.5,
-130,
0,
375.5,
-130,
0,
-375.5,
130,
0,
375.5,
130,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
260,
751,
260,
0,
0,
751,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-375.5,
-130,
0
],
"maxPos": [
375.5,
130,
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": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 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": 511,
"height": 234,
"rawWidth": 511,
"rawHeight": 234,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-255.5,
-117,
0,
255.5,
-117,
0,
-255.5,
117,
0,
255.5,
117,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
234,
511,
234,
0,
0,
511,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-255.5,
-117,
0
],
"maxPos": [
255.5,
117,
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": "91wjVYb8RCI5mmdJn/64by"
}
}
}

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": "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"
}
}

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,1078 @@
[
{
"__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__": 41
},
{
"__id__": 43
},
{
"__id__": 45
}
],
"_prefab": {
"__id__": 47
},
"_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__": 17
},
{
"__id__": 28
}
],
"_active": true,
"_components": [
{
"__id__": 36
},
{
"__id__": 38
}
],
"_prefab": {
"__id__": 40
},
"_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": "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": 725,
"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": 534,
"height": 240
},
"_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__": 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__": "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.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": 425,
"y": 705,
"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": 115,
"height": 119
},
"_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__": 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__": "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__": 17
},
"_enabled": true,
"__prefab": {
"__id__": 23
},
"_alignFlags": 33,
"_target": null,
"_left": 0,
"_right": -23.5,
"_top": -43.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__": 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": "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__": 29
},
{
"__id__": 31
},
{
"__id__": 33
}
],
"_prefab": {
"__id__": 35
},
"_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__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 30
},
"_contentSize": {
"__type__": "cc.Size",
"width": 718,
"height": 1192
},
"_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__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 32
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 61,
"g": 15,
"b": 99,
"a": 255
},
"_string": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus elementum nulla eget metus aliquam blandit. Praesent ut turpis et neque interdum facilisis nec vel tortor. Fusce vel consequat est, ut fermentum lacus. Morbi et risus quam. Praesent pulvinar diam erat, sed congue orci facilisis nec.\nNunc eu condimentum odio. Nunc pharetra, tortor et fermentum viverra, magna urna porta orci, a facilisis augue eros at diam. Proin diam nibh, porta at pulvinar eu, molestie sed nis!. Quisque eu risus vulputate, convallis turpis vel, euismod magna. In ut euismod ipsum, ut congue sapien. Sed aliquet, sem eu fringilla euismod, eros enim tincidunt ex, eget volupat neque tortor nec dui.",
"_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__": 28
},
"_enabled": true,
"__prefab": {
"__id__": 34
},
"_alignFlags": 45,
"_target": null,
"_left": 100,
"_right": 100,
"_top": 150,
"_bottom": 100,
"_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__": 37
},
"_contentSize": {
"__type__": "cc.Size",
"width": 918,
"height": 1442
},
"_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__": 39
},
"_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__": 42
},
"_hideEvent": 2,
"_singleton": true,
"_captureFocus": true,
"_shade": false,
"_blockInput": true,
"_alwaysExist": false,
"lab_tips": {
"__id__": 31
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "61DG2Hhm9Lf7Z9V9XAwcZD"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 44
},
"_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__": 46
},
"_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, Node } 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: 116 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": 918,
"height": 1442,
"rawWidth": 918,
"rawHeight": 1442,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-459,
-721,
0,
459,
-721,
0,
-459,
721,
0,
459,
721,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
1442,
918,
1442,
0,
0,
918,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-459,
-721,
0
],
"maxPos": [
459,
721,
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": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 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": 115,
"height": 119,
"rawWidth": 115,
"rawHeight": 119,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-57.5,
-59.5,
0,
57.5,
-59.5,
0,
-57.5,
59.5,
0,
57.5,
59.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
119,
115,
119,
0,
0,
115,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-57.5,
-59.5,
0
],
"maxPos": [
57.5,
59.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": "91wjVYb8RCI5mmdJn/64by"
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 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": 534,
"height": 240,
"rawWidth": 534,
"rawHeight": 240,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-267,
-120,
0,
267,
-120,
0,
-267,
120,
0,
267,
120,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
240,
534,
240,
0,
0,
534,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-267,
-120,
0
],
"maxPos": [
267,
120,
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": "91wjVYb8RCI5mmdJn/64by"
}
}
}

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、不可删除此文件夹

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

@@ -0,0 +1,1145 @@
[
{
"__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__": 39
},
"_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__": 40
},
"_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__": 18
},
{
"__id__": 21
},
{
"__id__": 33
}
],
"_active": true,
"_components": [
{
"__id__": 36
},
{
"__id__": 37
},
{
"__id__": 38
}
],
"_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__": 16
},
{
"__id__": 17
}
],
"_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
}
],
"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__": "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__": 19
},
{
"__id__": 20
}
],
"_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__": 18
},
"_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__": 18
},
"_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__": 22
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 21
},
"asset": {
"__uuid__": "5e43bb09-848f-434a-b3a5-a6b6602e00af",
"__expectedType__": "cc.Prefab"
},
"fileId": "09f6AV8NhG8amoujtBeGc3",
"instance": {
"__id__": 23
},
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "6bff0rS6pG9K1dncpRrgk3",
"prefabRootNode": null,
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 24
},
{
"__id__": 26
},
{
"__id__": 27
},
{
"__id__": 28
},
{
"__id__": 29
},
{
"__id__": 31
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 25
},
"propertyPath": [
"_name"
],
"value": "MainManager"
},
{
"__type__": "cc.TargetInfo",
"localID": [
"09f6AV8NhG8amoujtBeGc3"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 25
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 25
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 25
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 30
},
"propertyPath": [
"_contentSize"
],
"value": {
"__type__": "cc.Size",
"width": 1080,
"height": 1920
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"bab8wNsgZHRICm9NXgLsKC"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 32
},
"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__": 34
},
{
"__id__": 35
}
],
"_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__": 33
},
"_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__": 33
},
"_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__": 21
}
]
},
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 41
},
"shadows": {
"__id__": 42
},
"_skybox": {
"__id__": 43
},
"fog": {
"__id__": 44
},
"octree": {
"__id__": 45
},
"skin": {
"__id__": 46
},
"lightProbeInfo": {
"__id__": 47
},
"postSettings": {
"__id__": 48
},
"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/hit', 'effect/broken', 'effect/win'];
// 默认音乐, 会在首屏流程后自动播放
SoundManager.setting.defaultMusicName = 'music/bgm';
// 默认音效, 会在Button被点击后播放
SoundManager.setting.defaultEffectName = '';

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.3333333333333333,
"_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.3333333333333333
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": -8,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": -8,
"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.3333333333333333
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 170,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": null
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 400,
"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.3333333333333333
],
"_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": 2,
"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,201 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "light",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 50,
"speed": 1,
"wrapMode": 2,
"enableTrsBlending": false,
"_duration": 2.4,
"_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,
2.4000000953674316
],
"_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__": 6
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
2.4000000953674316
],
"_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__": 8
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
2.4000000953674316
],
"_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": 360,
"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": [],
"_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": "702fa68f-2a62-42fa-aada-e55ded530583",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "light"
}
}

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": "b5b7b678-8d1c-4331-9e57-e3b9e95b4a4c",
"files": [],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 399 KiB

View File

@@ -0,0 +1,138 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "8c46b2c2-a6b6-48c0-89ab-b1f7bfd2c1b7",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "8c46b2c2-a6b6-48c0-89ab-b1f7bfd2c1b7@6c48a",
"displayName": "com_loading",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "8c46b2c2-a6b6-48c0-89ab-b1f7bfd2c1b7",
"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": "8c46b2c2-a6b6-48c0-89ab-b1f7bfd2c1b7@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": "8c46b2c2-a6b6-48c0-89ab-b1f7bfd2c1b7@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": false,
"fixAlphaTransparencyArtifacts": false,
"redirect": "8c46b2c2-a6b6-48c0-89ab-b1f7bfd2c1b7@6c48a",
"compressSettings": {
"useCompressTexture": true,
"presetId": "91wjVYb8RCI5mmdJn/64by"
}
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "c01d6341-eab8-473a-97da-88417e6b4cf2",
"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": "6472098d-dbe9-4ecf-bc15-d47756b9be20",
"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": "d1651113-c3f9-4834-acaa-7997fb90d9a7",
"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": "c1e551ce-e4da-42b1-b6e7-60cf4cf1f45c",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,629 @@
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;
console.log(str);
// 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": {}
}