mirror of
https://github.com/ifengzp/cocos-awesome.git
synced 2024-12-25 11:19:16 +00:00
换装
This commit is contained in:
parent
a33418eba9
commit
907046b5e8
7
assets/Scene/Change_clothes.meta
Normal file
7
assets/Scene/Change_clothes.meta
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"ver": "1.0.1",
|
||||
"uuid": "a6dac459-c33a-4f03-b647-56b0c59d85ca",
|
||||
"isSubpackage": false,
|
||||
"subpackageName": "",
|
||||
"subMetas": {}
|
||||
}
|
2367
assets/Scene/Change_clothes/Change_clothes.fire
Normal file
2367
assets/Scene/Change_clothes/Change_clothes.fire
Normal file
File diff suppressed because it is too large
Load Diff
7
assets/Scene/Change_clothes/Change_clothes.fire.meta
Normal file
7
assets/Scene/Change_clothes/Change_clothes.fire.meta
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"ver": "1.2.6",
|
||||
"uuid": "c4df9fcd-77b0-4ec2-aed0-a6012e6bbe5d",
|
||||
"asyncLoadAssets": false,
|
||||
"autoReleaseAssets": false,
|
||||
"subMetas": {}
|
||||
}
|
35
assets/Scene/Change_clothes/Change_clothes.ts
Normal file
35
assets/Scene/Change_clothes/Change_clothes.ts
Normal file
@ -0,0 +1,35 @@
|
||||
const { ccclass, property } = cc._decorator;
|
||||
|
||||
@ccclass
|
||||
export default class Change_clothes extends cc.Component {
|
||||
@property(cc.SpriteAtlas)
|
||||
npcAtlas: cc.SpriteAtlas = null;
|
||||
|
||||
@property(cc.Sprite)
|
||||
hair: cc.Sprite = null;
|
||||
@property(cc.Sprite)
|
||||
clothes: cc.Sprite = null;
|
||||
@property(cc.Sprite)
|
||||
sleeve: cc.Sprite = null;
|
||||
@property(cc.Sprite)
|
||||
shoe: cc.Sprite = null;
|
||||
|
||||
changeClothes(evn, type: string) {
|
||||
let hairType = this.hair.spriteFrame.name == 'hair_1';
|
||||
let clothesType = this.clothes.spriteFrame.name == 'clothes_1';
|
||||
let shoeType = this.shoe.spriteFrame.name == 'shoe_1';
|
||||
|
||||
switch (type) {
|
||||
case 'hair':
|
||||
this.hair.spriteFrame = this.npcAtlas.getSpriteFrame(hairType ? 'hair_2' : 'hair_1');
|
||||
break;
|
||||
case 'clothes':
|
||||
this.clothes.spriteFrame = this.npcAtlas.getSpriteFrame(clothesType ? 'clothes_2' : 'clothes_1');
|
||||
this.sleeve.spriteFrame = this.npcAtlas.getSpriteFrame(clothesType ? 'sleeve_2' : 'sleeve_1');
|
||||
break;
|
||||
case 'shoe':
|
||||
this.shoe.spriteFrame = this.npcAtlas.getSpriteFrame(shoeType ? 'shoe_2' : 'shoe_1');
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
9
assets/Scene/Change_clothes/Change_clothes.ts.meta
Normal file
9
assets/Scene/Change_clothes/Change_clothes.ts.meta
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.0.5",
|
||||
"uuid": "2bc1fe49-a1db-4811-9161-c1b52e775574",
|
||||
"isPlugin": false,
|
||||
"loadPluginInWeb": true,
|
||||
"loadPluginInNative": true,
|
||||
"loadPluginInEditor": false,
|
||||
"subMetas": {}
|
||||
}
|
7
assets/Scene/Change_clothes/Texture.meta
Normal file
7
assets/Scene/Change_clothes/Texture.meta
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"ver": "1.0.1",
|
||||
"uuid": "c79f08da-06e4-4b34-9a30-400cf5d243a4",
|
||||
"isSubpackage": false,
|
||||
"subpackageName": "",
|
||||
"subMetas": {}
|
||||
}
|
191
assets/Scene/Change_clothes/Texture/npc.plist
Normal file
191
assets/Scene/Change_clothes/Texture/npc.plist
Normal file
@ -0,0 +1,191 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>frames</key>
|
||||
<dict>
|
||||
<key>body.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{92,312}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{92,312}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{0,0},{92,312}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>clothes_1.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{90,227}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{90,227}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{92,0},{90,227}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>clothes_2.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{90,227}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{90,227}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{182,0},{90,227}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>hair_1.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{76,84}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{76,84}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{272,0},{76,84}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>hair_2.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{76,84}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{76,84}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{348,0},{76,84}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>hair_3.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{63,63}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{63,63}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{0,312},{63,63}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>hand.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{78,74}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{78,74}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{63,312},{78,74}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>shoe_1.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{47,37}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{47,37}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{141,312},{47,37}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>shoe_2.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{47,37}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{47,37}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{188,312},{47,37}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>sleeve_1.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{78,74}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{78,74}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{235,312},{78,74}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>sleeve_2.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{78,74}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{78,74}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{313,312},{78,74}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>metadata</key>
|
||||
<dict>
|
||||
<key>format</key>
|
||||
<integer>3</integer>
|
||||
<key>pixelFormat</key>
|
||||
<string>RGBA8888</string>
|
||||
<key>premultiplyAlpha</key>
|
||||
<false/>
|
||||
<key>realTextureFileName</key>
|
||||
<string>npc.png</string>
|
||||
<key>size</key>
|
||||
<string>{424,386}</string>
|
||||
<key>smartupdate</key>
|
||||
<string>$TexturePacker:SmartUpdate:cef21886e2271f7e0451b5b9668dcb98:be2e04fd83b88e89a172d9ae823edcd9:0b760b9359d5dddae5dab0980cb73d8a$</string>
|
||||
<key>textureFileName</key>
|
||||
<string>npc.png</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
254
assets/Scene/Change_clothes/Texture/npc.plist.meta
Normal file
254
assets/Scene/Change_clothes/Texture/npc.plist.meta
Normal file
@ -0,0 +1,254 @@
|
||||
{
|
||||
"ver": "1.2.4",
|
||||
"uuid": "9c086bbc-22f5-4e67-a406-275f72a6ec8d",
|
||||
"rawTextureUuid": "21ea33ab-5d19-4eab-a6c6-33292fa1b747",
|
||||
"size": {
|
||||
"width": 424,
|
||||
"height": 386
|
||||
},
|
||||
"type": "Texture Packer",
|
||||
"subMetas": {
|
||||
"body.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "cc02c745-b6f9-4d19-b048-c06154385769",
|
||||
"rawTextureUuid": "21ea33ab-5d19-4eab-a6c6-33292fa1b747",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 92,
|
||||
"height": 312,
|
||||
"rawWidth": 92,
|
||||
"rawHeight": 312,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"clothes_1.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "3c1d2537-c7d4-4262-897d-935091f87db7",
|
||||
"rawTextureUuid": "21ea33ab-5d19-4eab-a6c6-33292fa1b747",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 92,
|
||||
"trimY": 0,
|
||||
"width": 90,
|
||||
"height": 227,
|
||||
"rawWidth": 90,
|
||||
"rawHeight": 227,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"clothes_2.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "a0c3925b-ee55-4cc5-8ab5-acd4bc7ab70e",
|
||||
"rawTextureUuid": "21ea33ab-5d19-4eab-a6c6-33292fa1b747",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 182,
|
||||
"trimY": 0,
|
||||
"width": 90,
|
||||
"height": 227,
|
||||
"rawWidth": 90,
|
||||
"rawHeight": 227,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"hair_1.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "e9f3c10f-4801-41a4-8663-3fd896d18eef",
|
||||
"rawTextureUuid": "21ea33ab-5d19-4eab-a6c6-33292fa1b747",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 272,
|
||||
"trimY": 0,
|
||||
"width": 76,
|
||||
"height": 84,
|
||||
"rawWidth": 76,
|
||||
"rawHeight": 84,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"hair_2.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "2df09bb5-82de-49ae-9fae-57267ac94230",
|
||||
"rawTextureUuid": "21ea33ab-5d19-4eab-a6c6-33292fa1b747",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 348,
|
||||
"trimY": 0,
|
||||
"width": 76,
|
||||
"height": 84,
|
||||
"rawWidth": 76,
|
||||
"rawHeight": 84,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"hair_3.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "8f7541e4-f656-43c5-b078-a476afbfa091",
|
||||
"rawTextureUuid": "21ea33ab-5d19-4eab-a6c6-33292fa1b747",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 312,
|
||||
"width": 63,
|
||||
"height": 63,
|
||||
"rawWidth": 63,
|
||||
"rawHeight": 63,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"hand.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "361aeeb3-a1af-48aa-874a-53d09f17eb71",
|
||||
"rawTextureUuid": "21ea33ab-5d19-4eab-a6c6-33292fa1b747",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 63,
|
||||
"trimY": 312,
|
||||
"width": 78,
|
||||
"height": 74,
|
||||
"rawWidth": 78,
|
||||
"rawHeight": 74,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"shoe_1.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "fe9f4bf5-0e7c-41e0-8b83-be6b449cffb4",
|
||||
"rawTextureUuid": "21ea33ab-5d19-4eab-a6c6-33292fa1b747",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 141,
|
||||
"trimY": 312,
|
||||
"width": 47,
|
||||
"height": 37,
|
||||
"rawWidth": 47,
|
||||
"rawHeight": 37,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"shoe_2.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "f0994c5d-414c-462f-8d53-897a5a4c1603",
|
||||
"rawTextureUuid": "21ea33ab-5d19-4eab-a6c6-33292fa1b747",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 188,
|
||||
"trimY": 312,
|
||||
"width": 47,
|
||||
"height": 37,
|
||||
"rawWidth": 47,
|
||||
"rawHeight": 37,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"sleeve_1.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "160dce43-46b9-46f2-8812-704e6cfcba44",
|
||||
"rawTextureUuid": "21ea33ab-5d19-4eab-a6c6-33292fa1b747",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 235,
|
||||
"trimY": 312,
|
||||
"width": 78,
|
||||
"height": 74,
|
||||
"rawWidth": 78,
|
||||
"rawHeight": 74,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"sleeve_2.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "d76cbca5-a184-4da9-baea-06176ac21645",
|
||||
"rawTextureUuid": "21ea33ab-5d19-4eab-a6c6-33292fa1b747",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 313,
|
||||
"trimY": 312,
|
||||
"width": 78,
|
||||
"height": 74,
|
||||
"rawWidth": 78,
|
||||
"rawHeight": 74,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
}
|
||||
}
|
||||
}
|
BIN
assets/Scene/Change_clothes/Texture/npc.png
Executable file
BIN
assets/Scene/Change_clothes/Texture/npc.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
14
assets/Scene/Change_clothes/Texture/npc.png.meta
Normal file
14
assets/Scene/Change_clothes/Texture/npc.png.meta
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"ver": "2.3.4",
|
||||
"uuid": "21ea33ab-5d19-4eab-a6c6-33292fa1b747",
|
||||
"type": "raw",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"width": 424,
|
||||
"height": 386,
|
||||
"platformSettings": {},
|
||||
"subMetas": {}
|
||||
}
|
BIN
assets/Scene/Change_clothes/Texture/single_color.png
Normal file
BIN
assets/Scene/Change_clothes/Texture/single_color.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 82 B |
36
assets/Scene/Change_clothes/Texture/single_color.png.meta
Normal file
36
assets/Scene/Change_clothes/Texture/single_color.png.meta
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
"ver": "2.3.4",
|
||||
"uuid": "1f9eac43-49fa-4640-9525-751efe1a1148",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"single_color": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "18f35f36-3709-4100-9ac0-404717b8bf02",
|
||||
"rawTextureUuid": "1f9eac43-49fa-4640-9525-751efe1a1148",
|
||||
"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,
|
||||
"subMetas": {}
|
||||
}
|
||||
}
|
||||
}
|
@ -17,7 +17,7 @@
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 46
|
||||
"__id__": 48
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
@ -81,25 +81,25 @@
|
||||
"__id__": 8
|
||||
},
|
||||
{
|
||||
"__id__": 22
|
||||
"__id__": 24
|
||||
},
|
||||
{
|
||||
"__id__": 25
|
||||
"__id__": 27
|
||||
},
|
||||
{
|
||||
"__id__": 28
|
||||
"__id__": 30
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 43
|
||||
},
|
||||
{
|
||||
"__id__": 44
|
||||
},
|
||||
{
|
||||
"__id__": 45
|
||||
},
|
||||
{
|
||||
"__id__": 46
|
||||
},
|
||||
{
|
||||
"__id__": 47
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@ -189,7 +189,7 @@
|
||||
"array": [
|
||||
0,
|
||||
0,
|
||||
443.4050067376326,
|
||||
452.93128617926146,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
@ -385,18 +385,21 @@
|
||||
},
|
||||
{
|
||||
"__id__": 15
|
||||
},
|
||||
{
|
||||
"__id__": 20
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 20
|
||||
"__id__": 22
|
||||
},
|
||||
{
|
||||
"__id__": 13
|
||||
},
|
||||
{
|
||||
"__id__": 21
|
||||
"__id__": 23
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@ -411,7 +414,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 800,
|
||||
"height": 600
|
||||
"height": 620
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@ -483,7 +486,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 12,
|
||||
"height": 600
|
||||
"height": 620
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@ -646,7 +649,7 @@
|
||||
"vertical": true,
|
||||
"inertia": true,
|
||||
"brake": 0.75,
|
||||
"elastic": true,
|
||||
"elastic": false,
|
||||
"bounceDuration": 0.23,
|
||||
"scrollEvents": [],
|
||||
"cancelInnerEvents": true,
|
||||
@ -754,7 +757,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 800,
|
||||
"height": 600
|
||||
"height": 620
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@ -902,6 +905,100 @@
|
||||
"_atlas": null,
|
||||
"_id": "a2KVIXb6lFMqDCT+OA+W3G"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "label",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 8
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 21
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
"_opacity": 204,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 234.67,
|
||||
"height": 20.16
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
281.955,
|
||||
-326.011,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": "ec9BB8jvFPbolBytU4cxG/"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Label",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 20
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_useOriginalSize": false,
|
||||
"_string": "* 实现原理请关注左侧公众号查看",
|
||||
"_N$string": "* 实现原理请关注左侧公众号查看",
|
||||
"_fontSize": 16,
|
||||
"_lineHeight": 16,
|
||||
"_enableWrapText": true,
|
||||
"_N$file": null,
|
||||
"_isSystemFontUsed": true,
|
||||
"_spacingX": 0,
|
||||
"_batchAsBitmap": false,
|
||||
"_styleFlags": 0,
|
||||
"_underlineHeight": 0,
|
||||
"_N$horizontalAlign": 2,
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 1,
|
||||
"_id": "c6Sr6fVYdMebyPV+CVAi6L"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
@ -972,10 +1069,10 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 23
|
||||
"__id__": 25
|
||||
},
|
||||
{
|
||||
"__id__": 24
|
||||
"__id__": 26
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@ -1031,7 +1128,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 22
|
||||
"__id__": 24
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
@ -1063,7 +1160,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 22
|
||||
"__id__": 24
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
@ -1096,10 +1193,10 @@
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 26
|
||||
"__id__": 28
|
||||
},
|
||||
{
|
||||
"__id__": 27
|
||||
"__id__": 29
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@ -1155,7 +1252,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 25
|
||||
"__id__": 27
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
@ -1179,7 +1276,7 @@
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 0,
|
||||
"_N$cacheMode": 1,
|
||||
"_id": "7bNe62jc9BnYCtWdSGdBwN"
|
||||
},
|
||||
{
|
||||
@ -1187,7 +1284,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 25
|
||||
"__id__": 27
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
@ -1218,22 +1315,22 @@
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 29
|
||||
"__id__": 31
|
||||
},
|
||||
{
|
||||
"__id__": 32
|
||||
"__id__": 34
|
||||
},
|
||||
{
|
||||
"__id__": 35
|
||||
"__id__": 37
|
||||
}
|
||||
],
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 41
|
||||
"__id__": 43
|
||||
},
|
||||
{
|
||||
"__id__": 42
|
||||
"__id__": 44
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@ -1289,16 +1386,16 @@
|
||||
"_name": "avatar",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 28
|
||||
"__id__": 30
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 30
|
||||
"__id__": 32
|
||||
},
|
||||
{
|
||||
"__id__": 31
|
||||
"__id__": 33
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@ -1354,7 +1451,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 29
|
||||
"__id__": 31
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
@ -1386,7 +1483,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 29
|
||||
"__id__": 31
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
@ -1413,16 +1510,16 @@
|
||||
"_name": "slogan",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 28
|
||||
"__id__": 30
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 33
|
||||
"__id__": 35
|
||||
},
|
||||
{
|
||||
"__id__": 34
|
||||
"__id__": 36
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@ -1478,7 +1575,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 32
|
||||
"__id__": 34
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
@ -1502,7 +1599,7 @@
|
||||
"_N$verticalAlign": 1,
|
||||
"_N$fontFamily": "Arial",
|
||||
"_N$overflow": 0,
|
||||
"_N$cacheMode": 0,
|
||||
"_N$cacheMode": 1,
|
||||
"_id": "97ZJ3W+stEQJHYx1lnl08n"
|
||||
},
|
||||
{
|
||||
@ -1510,7 +1607,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 32
|
||||
"__id__": 34
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
@ -1537,23 +1634,23 @@
|
||||
"_name": "progressBar",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 28
|
||||
"__id__": 30
|
||||
},
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 36
|
||||
"__id__": 38
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 38
|
||||
},
|
||||
{
|
||||
"__id__": 39
|
||||
},
|
||||
{
|
||||
"__id__": 40
|
||||
},
|
||||
{
|
||||
"__id__": 41
|
||||
},
|
||||
{
|
||||
"__id__": 42
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@ -1609,13 +1706,13 @@
|
||||
"_name": "bar",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 35
|
||||
"__id__": 37
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 37
|
||||
"__id__": 39
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@ -1671,7 +1768,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 36
|
||||
"__id__": 38
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
@ -1703,7 +1800,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 35
|
||||
"__id__": 37
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
@ -1735,12 +1832,12 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 35
|
||||
"__id__": 37
|
||||
},
|
||||
"_enabled": true,
|
||||
"_N$totalLength": 700,
|
||||
"_N$barSprite": {
|
||||
"__id__": 37
|
||||
"__id__": 39
|
||||
},
|
||||
"_N$mode": 0,
|
||||
"_N$progress": 0,
|
||||
@ -1752,7 +1849,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 35
|
||||
"__id__": 37
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
@ -1779,7 +1876,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 28
|
||||
"__id__": 30
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
@ -1806,7 +1903,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 28
|
||||
"__id__": 30
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
@ -1886,10 +1983,10 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"loadingNode": {
|
||||
"__id__": 28
|
||||
"__id__": 30
|
||||
},
|
||||
"loadingProgress": {
|
||||
"__id__": 39
|
||||
"__id__": 41
|
||||
},
|
||||
"scrollContent": {
|
||||
"__id__": 14
|
||||
@ -1909,17 +2006,17 @@
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 47
|
||||
},
|
||||
{
|
||||
"__id__": 48
|
||||
},
|
||||
{
|
||||
"__id__": 49
|
||||
},
|
||||
{
|
||||
"__id__": 50
|
||||
},
|
||||
{
|
||||
"__id__": 51
|
||||
},
|
||||
{
|
||||
"__id__": 53
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
@ -1975,7 +2072,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 46
|
||||
"__id__": 48
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
@ -2007,7 +2104,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 46
|
||||
"__id__": 48
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
@ -2034,7 +2131,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 46
|
||||
"__id__": 48
|
||||
},
|
||||
"_enabled": true,
|
||||
"_normalMaterial": {
|
||||
@ -2045,7 +2142,7 @@
|
||||
"zoomScale": 1.1,
|
||||
"clickEvents": [
|
||||
{
|
||||
"__id__": 50
|
||||
"__id__": 52
|
||||
}
|
||||
],
|
||||
"_N$interactable": true,
|
||||
@ -2106,7 +2203,7 @@
|
||||
{
|
||||
"__type__": "cc.ClickEvent",
|
||||
"target": {
|
||||
"__id__": 46
|
||||
"__id__": 48
|
||||
},
|
||||
"component": "",
|
||||
"_componentId": "f673bb9HWxERKP4rUNhzg42",
|
||||
@ -2118,7 +2215,7 @@
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 46
|
||||
"__id__": 48
|
||||
},
|
||||
"_enabled": true,
|
||||
"_id": "f1IGHg+lpP16AlzNEKM60q"
|
||||
|
@ -5,7 +5,8 @@ enum sceneList {
|
||||
'Infinite_bg_scroll' = '背景无限滚动',
|
||||
'Joystick' = '遥控杆',
|
||||
'Coin_fly_to_wallet' = '金币落袋',
|
||||
'Magnifying_mirror' = '放大镜'
|
||||
'Magnifying_mirror' = '放大镜',
|
||||
'Change_clothes' = '换装'
|
||||
}
|
||||
|
||||
@ccclass
|
||||
|
Loading…
Reference in New Issue
Block a user