Commit bf51acc7 authored by haiyoucuv's avatar haiyoucuv

init

parent 4804bb09
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"d40d19f8-eda5-486f-9af3-e11806edcc3a","files":[],"subMetas":{},"userData":{"isBundle":true}}
This diff is collapsed.
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "b335eac1-a392-4aff-b25c-6c1294a6fcdc",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "UnlockPanel"
}
}
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"ccedc5b7-bad6-4c97-b91c-b655cde4301c","files":[],"subMetas":{},"userData":{}}
{"ver":"1.0.8","importer":"auto-atlas","imported":true,"uuid":"3ef6602e-d3de-43bd-baa1-34fe0a23c206","files":[".json"],"subMetas":{},"userData":{"maxWidth":2048,"maxHeight":2048,"padding":2,"allowRotation":true,"forceSquared":false,"powerOfTwo":false,"algorithm":"MaxRects","format":"png","quality":80,"contourBleed":true,"paddingBleed":true,"filterUnused":false,"removeTextureInBundle":true,"removeImageInBundle":true,"removeSpriteAtlasInBundle":true,"compressSettings":{},"textureSetting":{"wrapModeS":"repeat","wrapModeT":"repeat","minfilter":"linear","magfilter":"linear","mipfilter":"none","anisotropy":0}}}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "1af47d8a-9ed9-475e-a53c-c581bee309b7",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "1af47d8a-9ed9-475e-a53c-c581bee309b7@6c48a",
"displayName": "bg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "1af47d8a-9ed9-475e-a53c-c581bee309b7",
"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": "1af47d8a-9ed9-475e-a53c-c581bee309b7@f9941",
"displayName": "bg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 582,
"height": 639,
"rawWidth": 582,
"rawHeight": 639,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-291,
-319.5,
0,
291,
-319.5,
0,
-291,
319.5,
0,
291,
319.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
639,
582,
639,
0,
0,
582,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-291,
-319.5,
0
],
"maxPos": [
291,
319.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "1af47d8a-9ed9-475e-a53c-c581bee309b7@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "1af47d8a-9ed9-475e-a53c-c581bee309b7@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "78ebacf5-5777-4854-acaf-4b16960ea6ed",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "78ebacf5-5777-4854-acaf-4b16960ea6ed@6c48a",
"displayName": "光",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "78ebacf5-5777-4854-acaf-4b16960ea6ed",
"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": "78ebacf5-5777-4854-acaf-4b16960ea6ed@f9941",
"displayName": "光",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 750,
"height": 974,
"rawWidth": 750,
"rawHeight": 974,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-375,
-487,
0,
375,
-487,
0,
-375,
487,
0,
375,
487,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
974,
750,
974,
0,
0,
750,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-375,
-487,
0
],
"maxPos": [
375,
487,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "78ebacf5-5777-4854-acaf-4b16960ea6ed@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "78ebacf5-5777-4854-acaf-4b16960ea6ed@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "09964a76-6b3b-44ed-b6af-5a6879fb8539",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "09964a76-6b3b-44ed-b6af-5a6879fb8539@6c48a",
"displayName": "取消",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "09964a76-6b3b-44ed-b6af-5a6879fb8539",
"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": "09964a76-6b3b-44ed-b6af-5a6879fb8539@f9941",
"displayName": "取消",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 174,
"height": 77,
"rawWidth": 174,
"rawHeight": 77,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-87,
-38.5,
0,
87,
-38.5,
0,
-87,
38.5,
0,
87,
38.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
77,
174,
77,
0,
0,
174,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-87,
-38.5,
0
],
"maxPos": [
87,
38.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "09964a76-6b3b-44ed-b6af-5a6879fb8539@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "09964a76-6b3b-44ed-b6af-5a6879fb8539@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "07fa2f84-3ba4-48b4-b091-c039fa89b832",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "07fa2f84-3ba4-48b4-b091-c039fa89b832@6c48a",
"displayName": "确认消耗",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "07fa2f84-3ba4-48b4-b091-c039fa89b832",
"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": "07fa2f84-3ba4-48b4-b091-c039fa89b832@f9941",
"displayName": "确认消耗",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 234,
"height": 77,
"rawWidth": 234,
"rawHeight": 77,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-117,
-38.5,
0,
117,
-38.5,
0,
-117,
38.5,
0,
117,
38.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
77,
234,
77,
0,
0,
234,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-117,
-38.5,
0
],
"maxPos": [
117,
38.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "07fa2f84-3ba4-48b4-b091-c039fa89b832@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "07fa2f84-3ba4-48b4-b091-c039fa89b832@6c48a"
}
}
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "ccfa1794-4f7c-40ab-b14b-f8bfbccd54ed",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ccfa1794-4f7c-40ab-b14b-f8bfbccd54ed@6c48a",
"displayName": "立即分享",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "ccfa1794-4f7c-40ab-b14b-f8bfbccd54ed",
"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": "ccfa1794-4f7c-40ab-b14b-f8bfbccd54ed@f9941",
"displayName": "立即分享",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 234,
"height": 77,
"rawWidth": 234,
"rawHeight": 77,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-117,
-38.5,
0,
117,
-38.5,
0,
-117,
38.5,
0,
117,
38.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
77,
234,
77,
0,
0,
234,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-117,
-38.5,
0
],
"maxPos": [
117,
38.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "ccfa1794-4f7c-40ab-b14b-f8bfbccd54ed@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "ccfa1794-4f7c-40ab-b14b-f8bfbccd54ed@6c48a"
}
}
...@@ -19,6 +19,7 @@ import { CarCarColorsComponent } from '../Components/CarCarColorsComponent'; ...@@ -19,6 +19,7 @@ import { CarCarColorsComponent } from '../Components/CarCarColorsComponent';
import { AudioClipName, AudioMgr } from "db://assets/core/base/AudioMgr"; import { AudioClipName, AudioMgr } from "db://assets/core/base/AudioMgr";
import { showPanel } from "db://assets/core/Module/UIFast"; import { showPanel } from "db://assets/core/Module/UIFast";
import { RevivePage } from "db://assets/Scripts/Panels/RevivePage"; import { RevivePage } from "db://assets/Scripts/Panels/RevivePage";
import { ReviewPanel } from "db://assets/Scripts/Panels/ReviewPanel";
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
...@@ -218,7 +219,7 @@ export class RoleCarColorsSysterm extends Component { ...@@ -218,7 +219,7 @@ export class RoleCarColorsSysterm extends Component {
// 游戏结束判定 // 游戏结束判定
if (!isEmpty) { if (!isEmpty) {
this.isGaming = false this.isGaming = false
showPanel(RevivePage); showPanel(ReviewPanel);
} }
return return
} }
......
import { _decorator, Node, Sprite, SpriteFrame } from 'cc'; import { _decorator, Label, Node, Sprite, SpriteFrame } from 'cc';
import { CarColorsGlobalInstance } from 'db://assets/CarColorsGame/Scrips/CarColorsGlobalInstance'; import { CarColorsGlobalInstance } from 'db://assets/CarColorsGame/Scrips/CarColorsGlobalInstance';
import { AudioClipName, AudioMgr } from "db://assets/core/base/AudioMgr"; import { AudioClipName, AudioMgr } from "db://assets/core/base/AudioMgr";
import Panel from "db://assets/core/Module/Panel"; import Panel from "db://assets/core/Module/Panel";
...@@ -10,11 +10,12 @@ const { ccclass, property } = _decorator; ...@@ -10,11 +10,12 @@ const { ccclass, property } = _decorator;
@ccclass('UnlockPanel') @ccclass('UnlockPanel')
export class UnlockPanel extends Panel { export class UnlockPanel extends Panel {
static skin: string = "UnlockPanel"; static skin: string = "UnlockPanel";
static bundle: string = "UnlockPanel"; static bundle: string = "GamePanel";
@property(Node) okBtn: Node = null; @property(Node) okBtn: Node = null;
@property(Node) cancelBtn: Node = null; @property(Node) cancelBtn: Node = null;
@property(Node) closeBtn: Node = null; @property(Node) closeBtn: Node = null;
@property(Label) tip: Label = null;
@property(SpriteFrame) shareSf: SpriteFrame = null; @property(SpriteFrame) shareSf: SpriteFrame = null;
@property(SpriteFrame) exchangeSf: SpriteFrame = null; @property(SpriteFrame) exchangeSf: SpriteFrame = null;
...@@ -29,6 +30,10 @@ export class UnlockPanel extends Panel { ...@@ -29,6 +30,10 @@ export class UnlockPanel extends Panel {
start(): void { start(): void {
const { type } = this.data; const { type } = this.data;
this.okBtn.getComponent(Sprite).spriteFrame = type == "share" ? this.shareSf : this.exchangeSf; this.okBtn.getComponent(Sprite).spriteFrame = type == "share" ? this.shareSf : this.exchangeSf;
// 消耗x积分 即可解锁1个车位
// 消耗x青果 即可解锁1个车位
// 分享好友 即可解锁1个车位
} }
hidePanel() { hidePanel() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment