mirror of
https://github.com/ifengzp/cocos-awesome.git
synced 2025-10-09 08:36:03 +00:00
金币落袋
This commit is contained in:
7
assets/Scene/Coin_fly_to_wallet/Anim.meta
Normal file
7
assets/Scene/Coin_fly_to_wallet/Anim.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"ver": "1.0.1",
|
||||
"uuid": "2fe09b25-f8d3-4224-be15-24be6c15c6cd",
|
||||
"isSubpackage": false,
|
||||
"subpackageName": "",
|
||||
"subMetas": {}
|
||||
}
|
55
assets/Scene/Coin_fly_to_wallet/Anim/coin.anim
Normal file
55
assets/Scene/Coin_fly_to_wallet/Anim/coin.anim
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"__type__": "cc.AnimationClip",
|
||||
"_name": "coin",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"_duration": 1,
|
||||
"sample": 6,
|
||||
"speed": 1,
|
||||
"wrapMode": 2,
|
||||
"curveData": {
|
||||
"comps": {
|
||||
"cc.Sprite": {
|
||||
"spriteFrame": [
|
||||
{
|
||||
"frame": 0,
|
||||
"value": {
|
||||
"__uuid__": "28bb2e6a-615d-49b8-a336-b9da8d2a2171"
|
||||
}
|
||||
},
|
||||
{
|
||||
"frame": 0.16666666666666666,
|
||||
"value": {
|
||||
"__uuid__": "a2f151c4-4849-46a2-8de3-cf3daf82786d"
|
||||
}
|
||||
},
|
||||
{
|
||||
"frame": 0.3333333333333333,
|
||||
"value": {
|
||||
"__uuid__": "7c516296-1a47-4557-967b-cb755c885c0b"
|
||||
}
|
||||
},
|
||||
{
|
||||
"frame": 0.5,
|
||||
"value": {
|
||||
"__uuid__": "3b00549c-9d1c-479f-9a4a-3c5a65d8dd19"
|
||||
}
|
||||
},
|
||||
{
|
||||
"frame": 0.6666666666666666,
|
||||
"value": {
|
||||
"__uuid__": "101f2e9d-800b-4a4a-b470-ac3b9a7f343b"
|
||||
}
|
||||
},
|
||||
{
|
||||
"frame": 0.8333333333333334,
|
||||
"value": {
|
||||
"__uuid__": "61a9a149-e55f-4fc5-8368-1f809db4d86a"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"events": []
|
||||
}
|
5
assets/Scene/Coin_fly_to_wallet/Anim/coin.anim.meta
Normal file
5
assets/Scene/Coin_fly_to_wallet/Anim/coin.anim.meta
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"ver": "2.1.0",
|
||||
"uuid": "c05a7266-2da0-4fc5-95fe-6fc1eea52cd0",
|
||||
"subMetas": {}
|
||||
}
|
1326
assets/Scene/Coin_fly_to_wallet/Coin_fly_to_wallet.fire
Normal file
1326
assets/Scene/Coin_fly_to_wallet/Coin_fly_to_wallet.fire
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"ver": "1.2.6",
|
||||
"uuid": "e59f7c21-d36e-47ba-82ef-810c834009a2",
|
||||
"asyncLoadAssets": false,
|
||||
"autoReleaseAssets": false,
|
||||
"subMetas": {}
|
||||
}
|
93
assets/Scene/Coin_fly_to_wallet/Coin_fly_to_wallet.ts
Normal file
93
assets/Scene/Coin_fly_to_wallet/Coin_fly_to_wallet.ts
Normal file
@@ -0,0 +1,93 @@
|
||||
const { ccclass, property } = cc._decorator;
|
||||
|
||||
@ccclass
|
||||
export default class Coin_fly_to_wallet extends cc.Component {
|
||||
@property(cc.Node)
|
||||
startPoint: cc.Node = null;
|
||||
@property(cc.Node)
|
||||
endPoint: cc.Node = null;
|
||||
@property(cc.Prefab)
|
||||
coinPrefab: cc.Prefab = null;
|
||||
|
||||
coinPool: cc.NodePool = null;
|
||||
|
||||
onLoad() {
|
||||
this.coinPool = new cc.NodePool();
|
||||
this.initCoinPool();
|
||||
}
|
||||
|
||||
initCoinPool(count: number = 20) {
|
||||
for (let i = 0; i < count; i++) {
|
||||
let coin = cc.instantiate(this.coinPrefab);
|
||||
this.coinPool.put(coin);
|
||||
}
|
||||
}
|
||||
|
||||
playAnim() {
|
||||
let randomCount = Math.random() * 15 + 10;
|
||||
let stPos = this.startPoint.getPosition();
|
||||
let edPos = this.endPoint.getPosition();
|
||||
this.playCoinFlyAnim(randomCount, stPos, edPos);
|
||||
}
|
||||
|
||||
playCoinFlyAnim(count: number, stPos: cc.Vec2, edPos: cc.Vec2, r: number = 130) {
|
||||
// 确保当前节点池有足够的金币
|
||||
const poolSize = this.coinPool.size();
|
||||
const reCreateCoinCount = poolSize > count ? 0 : count - poolSize;
|
||||
this.initCoinPool(reCreateCoinCount);
|
||||
|
||||
// 生成圆,并且对圆上的点进行排序
|
||||
let points = this.getCirclePoints(r, stPos, count);
|
||||
let coinNodeList = points.map(pos => {
|
||||
let coin = this.coinPool.get();
|
||||
coin.setPosition(stPos);
|
||||
this.node.addChild(coin);
|
||||
return {
|
||||
node: coin,
|
||||
stPos: stPos,
|
||||
mdPos: pos,
|
||||
edPos: edPos,
|
||||
dis: (pos as any).sub(edPos).mag()
|
||||
};
|
||||
});
|
||||
coinNodeList = coinNodeList.sort((a, b) => {
|
||||
if (a.dis - b.dis > 0) return 1;
|
||||
if (a.dis - b.dis < 0) return -1;
|
||||
return 0;
|
||||
});
|
||||
|
||||
// 执行金币落袋的动画
|
||||
coinNodeList.forEach((item, idx) => {
|
||||
item.node.runAction(
|
||||
cc.sequence(
|
||||
cc.moveTo(0.3, item.mdPos),
|
||||
cc.delayTime(idx * 0.01),
|
||||
cc.moveTo(0.5, item.edPos),
|
||||
cc.callFunc(() => {
|
||||
this.coinPool.put(item.node);
|
||||
})
|
||||
)
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 以某点为圆心,生成圆周上等分点的坐标
|
||||
*
|
||||
* @param {number} r 半径
|
||||
* @param {cc.Vec2} pos 圆心坐标
|
||||
* @param {number} count 等分点数量
|
||||
* @param {number} [randomScope=80] 等分点的随机波动范围
|
||||
* @returns {cc.Vec2[]} 返回等分点坐标
|
||||
*/
|
||||
getCirclePoints(r: number, pos: cc.Vec2, count: number, randomScope: number = 60): cc.Vec2[] {
|
||||
let points = [];
|
||||
let radians = (Math.PI / 180) * Math.round(360 / count);
|
||||
for (let i = 0; i < count; i++) {
|
||||
let x = pos.x + r * Math.sin(radians * i);
|
||||
let y = pos.y + r * Math.cos(radians * i);
|
||||
points.unshift(cc.v3(x + Math.random() * randomScope, y + Math.random() * randomScope, 0));
|
||||
}
|
||||
return points;
|
||||
}
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.0.5",
|
||||
"uuid": "e54af7d4-17b3-4679-9cad-3457302e139d",
|
||||
"isPlugin": false,
|
||||
"loadPluginInWeb": true,
|
||||
"loadPluginInNative": true,
|
||||
"loadPluginInEditor": false,
|
||||
"subMetas": {}
|
||||
}
|
7
assets/Scene/Coin_fly_to_wallet/Prefab.meta
Normal file
7
assets/Scene/Coin_fly_to_wallet/Prefab.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"ver": "1.0.1",
|
||||
"uuid": "aef1340b-5d54-4592-9d0d-283220ebf9cb",
|
||||
"isSubpackage": false,
|
||||
"subpackageName": "",
|
||||
"subMetas": {}
|
||||
}
|
143
assets/Scene/Coin_fly_to_wallet/Prefab/coin.prefab
Normal file
143
assets/Scene/Coin_fly_to_wallet/Prefab/coin.prefab
Normal file
@@ -0,0 +1,143 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.Prefab",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"data": {
|
||||
"__id__": 1
|
||||
},
|
||||
"optimizationPolicy": 0,
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "coin",
|
||||
"_objFlags": 0,
|
||||
"_parent": null,
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 3
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 60,
|
||||
"height": 60
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
0,
|
||||
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": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "28bb2e6a-615d-49b8-a336-b9da8d2a2171"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 1,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": {
|
||||
"__uuid__": "1a062e1b-0e93-4cff-be58-9517555b09f5"
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Animation",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"_defaultClip": {
|
||||
"__uuid__": "c05a7266-2da0-4fc5-95fe-6fc1eea52cd0"
|
||||
},
|
||||
"_clips": [
|
||||
{
|
||||
"__uuid__": "c05a7266-2da0-4fc5-95fe-6fc1eea52cd0"
|
||||
}
|
||||
],
|
||||
"playOnLoad": true,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__uuid__": "fca82ecc-ae07-410f-8658-ce7fc8e9d2d3"
|
||||
},
|
||||
"fileId": "f9P6h6OM9Glbsc4bkBmFtn",
|
||||
"sync": false
|
||||
}
|
||||
]
|
8
assets/Scene/Coin_fly_to_wallet/Prefab/coin.prefab.meta
Normal file
8
assets/Scene/Coin_fly_to_wallet/Prefab/coin.prefab.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"ver": "1.2.6",
|
||||
"uuid": "fca82ecc-ae07-410f-8658-ce7fc8e9d2d3",
|
||||
"optimizationPolicy": "AUTO",
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false,
|
||||
"subMetas": {}
|
||||
}
|
7
assets/Scene/Coin_fly_to_wallet/Texture.meta
Normal file
7
assets/Scene/Coin_fly_to_wallet/Texture.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"ver": "1.0.1",
|
||||
"uuid": "07c3b8ca-280e-4457-9def-57ef7e082777",
|
||||
"isSubpackage": false,
|
||||
"subpackageName": "",
|
||||
"subMetas": {}
|
||||
}
|
100
assets/Scene/Coin_fly_to_wallet/Texture/goldAnim.plist
Normal file
100
assets/Scene/Coin_fly_to_wallet/Texture/goldAnim.plist
Normal file
@@ -0,0 +1,100 @@
|
||||
<?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>jb1.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{2,2},{60,60}}</string>
|
||||
<key>offset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>rotated</key>
|
||||
<false/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{0,0},{60,60}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{60,60}</string>
|
||||
</dict>
|
||||
<key>jb2.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{64,60},{56,60}}</string>
|
||||
<key>offset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>rotated</key>
|
||||
<true/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{0,0},{56,60}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{56,60}</string>
|
||||
</dict>
|
||||
<key>jb3.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{2,102},{36,60}}</string>
|
||||
<key>offset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>rotated</key>
|
||||
<true/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{0,0},{36,60}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{36,60}</string>
|
||||
</dict>
|
||||
<key>jb4.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{64,118},{13,60}}</string>
|
||||
<key>offset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>rotated</key>
|
||||
<true/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{0,0},{13,60}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{13,60}</string>
|
||||
</dict>
|
||||
<key>jb5.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{2,64},{36,60}}</string>
|
||||
<key>offset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>rotated</key>
|
||||
<true/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{0,0},{36,60}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{36,60}</string>
|
||||
</dict>
|
||||
<key>jb6.png</key>
|
||||
<dict>
|
||||
<key>frame</key>
|
||||
<string>{{64,2},{56,60}}</string>
|
||||
<key>offset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>rotated</key>
|
||||
<true/>
|
||||
<key>sourceColorRect</key>
|
||||
<string>{{0,0},{56,60}}</string>
|
||||
<key>sourceSize</key>
|
||||
<string>{56,60}</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>metadata</key>
|
||||
<dict>
|
||||
<key>format</key>
|
||||
<integer>2</integer>
|
||||
<key>realTextureFileName</key>
|
||||
<string>goldAnim.png</string>
|
||||
<key>size</key>
|
||||
<string>{128,256}</string>
|
||||
<key>smartupdate</key>
|
||||
<string>$TexturePacker:SmartUpdate:174c3bcf2102596fc16f1743450236e8$</string>
|
||||
<key>textureFileName</key>
|
||||
<string>goldAnim.png</string>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
144
assets/Scene/Coin_fly_to_wallet/Texture/goldAnim.plist.meta
Normal file
144
assets/Scene/Coin_fly_to_wallet/Texture/goldAnim.plist.meta
Normal file
@@ -0,0 +1,144 @@
|
||||
{
|
||||
"ver": "1.2.4",
|
||||
"uuid": "1a062e1b-0e93-4cff-be58-9517555b09f5",
|
||||
"rawTextureUuid": "61b6bf8b-4ce9-412a-bce2-58ed9971db4f",
|
||||
"size": {
|
||||
"width": 128,
|
||||
"height": 256
|
||||
},
|
||||
"type": "Texture Packer",
|
||||
"subMetas": {
|
||||
"jb1.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "28bb2e6a-615d-49b8-a336-b9da8d2a2171",
|
||||
"rawTextureUuid": "61b6bf8b-4ce9-412a-bce2-58ed9971db4f",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 2,
|
||||
"trimY": 2,
|
||||
"width": 60,
|
||||
"height": 60,
|
||||
"rawWidth": 60,
|
||||
"rawHeight": 60,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"jb2.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "61a9a149-e55f-4fc5-8368-1f809db4d86a",
|
||||
"rawTextureUuid": "61b6bf8b-4ce9-412a-bce2-58ed9971db4f",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": true,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 64,
|
||||
"trimY": 60,
|
||||
"width": 56,
|
||||
"height": 60,
|
||||
"rawWidth": 56,
|
||||
"rawHeight": 60,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"jb3.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "101f2e9d-800b-4a4a-b470-ac3b9a7f343b",
|
||||
"rawTextureUuid": "61b6bf8b-4ce9-412a-bce2-58ed9971db4f",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": true,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 2,
|
||||
"trimY": 102,
|
||||
"width": 36,
|
||||
"height": 60,
|
||||
"rawWidth": 36,
|
||||
"rawHeight": 60,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"jb4.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "3b00549c-9d1c-479f-9a4a-3c5a65d8dd19",
|
||||
"rawTextureUuid": "61b6bf8b-4ce9-412a-bce2-58ed9971db4f",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": true,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 64,
|
||||
"trimY": 118,
|
||||
"width": 13,
|
||||
"height": 60,
|
||||
"rawWidth": 13,
|
||||
"rawHeight": 60,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"jb5.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "7c516296-1a47-4557-967b-cb755c885c0b",
|
||||
"rawTextureUuid": "61b6bf8b-4ce9-412a-bce2-58ed9971db4f",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": true,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 2,
|
||||
"trimY": 64,
|
||||
"width": 36,
|
||||
"height": 60,
|
||||
"rawWidth": 36,
|
||||
"rawHeight": 60,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
},
|
||||
"jb6.png": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "a2f151c4-4849-46a2-8de3-cf3daf82786d",
|
||||
"rawTextureUuid": "61b6bf8b-4ce9-412a-bce2-58ed9971db4f",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": true,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 64,
|
||||
"trimY": 2,
|
||||
"width": 56,
|
||||
"height": 60,
|
||||
"rawWidth": 56,
|
||||
"rawHeight": 60,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"spriteType": "normal",
|
||||
"subMetas": {}
|
||||
}
|
||||
}
|
||||
}
|
BIN
assets/Scene/Coin_fly_to_wallet/Texture/goldAnim.png
Normal file
BIN
assets/Scene/Coin_fly_to_wallet/Texture/goldAnim.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
14
assets/Scene/Coin_fly_to_wallet/Texture/goldAnim.png.meta
Normal file
14
assets/Scene/Coin_fly_to_wallet/Texture/goldAnim.png.meta
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"ver": "2.3.4",
|
||||
"uuid": "61b6bf8b-4ce9-412a-bce2-58ed9971db4f",
|
||||
"type": "raw",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"width": 128,
|
||||
"height": 256,
|
||||
"platformSettings": {},
|
||||
"subMetas": {}
|
||||
}
|
BIN
assets/Scene/Coin_fly_to_wallet/Texture/singleColor.png
Normal file
BIN
assets/Scene/Coin_fly_to_wallet/Texture/singleColor.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 82 B |
36
assets/Scene/Coin_fly_to_wallet/Texture/singleColor.png.meta
Executable file
36
assets/Scene/Coin_fly_to_wallet/Texture/singleColor.png.meta
Executable file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"ver": "2.3.4",
|
||||
"uuid": "a8027877-d8d6-4645-97a0-52d4a0123dba",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"singleColor": {
|
||||
"ver": "1.0.4",
|
||||
"uuid": "410fb916-8721-4663-bab8-34397391ace7",
|
||||
"rawTextureUuid": "a8027877-d8d6-4645-97a0-52d4a0123dba",
|
||||
"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": {}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user