first commit
BIN
assets/res-native/.DS_Store
vendored
Normal file
5
assets/res-native/.res-native.md
Normal file
@@ -0,0 +1,5 @@
|
||||
存储静态资源的文件夹
|
||||
1、非公共脚本资源,尽量不放到主包内
|
||||
3、图片、字体等非脚本类公共资源,尽量不放到主包内(因为构建后这些资源会被拷贝到其它Bundle中)
|
||||
2、如果公共脚本资源体积较大,可以考虑放到Bundle内,保证首屏体积尽量小
|
||||
4、如不再需要,可以直接删除此文件夹
|
||||
9
assets/res-native/animation.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "769a05ac-21c9-496a-8982-371919a27245",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
BIN
assets/res-native/animation/.DS_Store
vendored
Normal file
83
assets/res-native/animation/CaiShen
Normal file
@@ -0,0 +1,83 @@
|
||||
|
||||
CaiShen.png
|
||||
size: 635,289
|
||||
format: RGBA8888
|
||||
filter: Linear,Linear
|
||||
repeat: none
|
||||
hz
|
||||
rotate: true
|
||||
xy: 79, 69
|
||||
size: 218, 212
|
||||
orig: 220, 214
|
||||
offset: 1, 1
|
||||
index: -1
|
||||
mzy
|
||||
rotate: false
|
||||
xy: 221, 23
|
||||
size: 85, 44
|
||||
orig: 87, 46
|
||||
offset: 1, 1
|
||||
index: -1
|
||||
mzz
|
||||
rotate: true
|
||||
xy: 79, 3
|
||||
size: 64, 45
|
||||
orig: 66, 47
|
||||
offset: 1, 1
|
||||
index: -1
|
||||
st
|
||||
rotate: false
|
||||
xy: 472, 118
|
||||
size: 143, 169
|
||||
orig: 145, 171
|
||||
offset: 1, 1
|
||||
index: -1
|
||||
t
|
||||
rotate: false
|
||||
xy: 293, 97
|
||||
size: 177, 190
|
||||
orig: 177, 190
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
ydb
|
||||
rotate: false
|
||||
xy: 422, 5
|
||||
size: 110, 90
|
||||
orig: 113, 92
|
||||
offset: 1, 1
|
||||
index: -1
|
||||
yj
|
||||
rotate: false
|
||||
xy: 180, 15
|
||||
size: 39, 52
|
||||
orig: 41, 54
|
||||
offset: 1, 1
|
||||
index: -1
|
||||
yxb
|
||||
rotate: true
|
||||
xy: 534, 10
|
||||
size: 106, 99
|
||||
orig: 109, 103
|
||||
offset: 1, 2
|
||||
index: -1
|
||||
yz
|
||||
rotate: true
|
||||
xy: 2, 12
|
||||
size: 275, 75
|
||||
orig: 282, 81
|
||||
offset: 4, 3
|
||||
index: -1
|
||||
zj
|
||||
rotate: true
|
||||
xy: 126, 14
|
||||
size: 53, 52
|
||||
orig: 55, 54
|
||||
offset: 1, 1
|
||||
index: -1
|
||||
zs
|
||||
rotate: true
|
||||
xy: 308, 2
|
||||
size: 93, 112
|
||||
orig: 95, 114
|
||||
offset: 1, 1
|
||||
index: -1
|
||||
156
assets/res-native/animation/CaiShen.json
Normal file
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"skeleton": {
|
||||
"hash": "IcaMek/qUOTRdc5slKOWFqXut4w",
|
||||
"spine": "3.8.75",
|
||||
"x": -162,
|
||||
"y": -35,
|
||||
"width": 352,
|
||||
"height": 376,
|
||||
"images": "./images/"
|
||||
},
|
||||
"bones": [
|
||||
{ "name": "root" },
|
||||
{ "name": "bone", "parent": "root", "length": 109.95, "rotation": 104.69, "x": 21.41, "y": 82.3 },
|
||||
{ "name": "bone2", "parent": "bone", "length": 152.4, "rotation": 2.31, "x": 108.56, "y": 0.68 },
|
||||
{ "name": "bone3", "parent": "bone", "length": 59.07, "rotation": 153.77, "x": 112.44, "y": 64.5 },
|
||||
{ "name": "bone4", "parent": "bone3", "length": 67.04, "rotation": 89.01, "x": 57.82, "y": 0.05 },
|
||||
{ "name": "bone5", "parent": "bone4", "x": 65.07, "y": 0.49 },
|
||||
{ "name": "bone6", "parent": "bone5", "length": 156.41, "rotation": 100.97, "x": 109.64, "y": -46.41 },
|
||||
{ "name": "bone7", "parent": "root", "length": 57.5, "rotation": -95.14, "x": -38.59, "y": 70.48 },
|
||||
{ "name": "bone8", "parent": "root", "length": 58.05, "rotation": -94.49, "x": 23.83, "y": 78.36 },
|
||||
{ "name": "bone9", "parent": "bone2", "length": 120.6, "rotation": 73.44, "x": 75.08, "y": 10.32 },
|
||||
{ "name": "bone10", "parent": "bone2", "length": 60.13, "rotation": -71.22, "x": 65.2, "y": -54.14 },
|
||||
{ "name": "bone11", "parent": "bone", "length": 225.74, "rotation": -105.15, "x": -43.48, "y": 125.73 }
|
||||
],
|
||||
"slots": [
|
||||
{ "name": "yz", "bone": "bone11", "attachment": "yz" },
|
||||
{ "name": "zj", "bone": "bone8", "attachment": "zj" },
|
||||
{ "name": "yj", "bone": "bone7", "attachment": "yj" },
|
||||
{ "name": "st", "bone": "bone", "attachment": "st" },
|
||||
{ "name": "mzz", "bone": "bone10", "attachment": "mzz" },
|
||||
{ "name": "mzy", "bone": "bone9", "attachment": "mzy" },
|
||||
{ "name": "t2", "bone": "bone2", "attachment": "t" },
|
||||
{ "name": "t", "bone": "bone2" },
|
||||
{ "name": "zs", "bone": "root", "attachment": "zs" },
|
||||
{ "name": "hz", "bone": "bone6", "attachment": "hz" },
|
||||
{ "name": "ydb", "bone": "bone3", "attachment": "ydb" },
|
||||
{ "name": "yxb", "bone": "bone4", "attachment": "yxb" }
|
||||
],
|
||||
"skins": [
|
||||
{
|
||||
"name": "default",
|
||||
"attachments": {
|
||||
"yj": {
|
||||
"yj": { "x": 44.47, "y": 2.08, "rotation": 95.14, "width": 41, "height": 54 }
|
||||
},
|
||||
"hz": {
|
||||
"hz": { "x": 62.65, "y": 1.28, "rotation": -88.45, "width": 220, "height": 214 }
|
||||
},
|
||||
"st": {
|
||||
"st": { "x": 38.78, "y": 24.89, "rotation": -104.69, "width": 145, "height": 171 }
|
||||
},
|
||||
"yz": {
|
||||
"yz": { "x": 111.21, "y": -1.97, "rotation": 0.46, "width": 282, "height": 81 }
|
||||
},
|
||||
"yxb": {
|
||||
"yxb": { "x": 46.6, "y": -13.77, "rotation": 12.53, "width": 109, "height": 103 }
|
||||
},
|
||||
"mzy": {
|
||||
"mzy": { "x": 79.94, "y": 3.31, "rotation": 179.57, "width": 87, "height": 46 }
|
||||
},
|
||||
"mzz": {
|
||||
"mzz": { "x": 29.1, "y": 2.68, "rotation": -35.77, "width": 66, "height": 47 }
|
||||
},
|
||||
"zj": {
|
||||
"zj": { "x": 43.94, "y": 7.13, "rotation": 94.49, "width": 55, "height": 54 }
|
||||
},
|
||||
"ydb": {
|
||||
"ydb": { "x": 36.05, "y": 36.95, "rotation": 101.54, "width": 113, "height": 92 }
|
||||
},
|
||||
"zs": {
|
||||
"zs": { "x": 65.5, "y": 127, "width": 95, "height": 114 }
|
||||
},
|
||||
"t2": {
|
||||
"t": {
|
||||
"type": "mesh",
|
||||
"uvs": [ 1, 1, 0, 1, 0, 0, 1, 0 ],
|
||||
"triangles": [ 1, 2, 3, 1, 3, 0 ],
|
||||
"vertices": [ -54.66, -55.21, -2.93, 114.07, 178.78, 58.53, 127.05, -110.74 ],
|
||||
"hull": 4,
|
||||
"edges": [ 0, 2, 2, 4, 4, 6, 0, 6 ],
|
||||
"width": 177,
|
||||
"height": 190
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"animations": {
|
||||
"animation": {
|
||||
"bones": {
|
||||
"bone9": {
|
||||
"rotate": [
|
||||
{},
|
||||
{ "time": 0.1667, "angle": 29.05 },
|
||||
{ "time": 0.3333, "angle": -2.41 },
|
||||
{ "time": 0.3667, "angle": -4.12 },
|
||||
{ "time": 0.5, "angle": 19.74 },
|
||||
{ "time": 0.5667, "angle": 25.9 },
|
||||
{ "time": 0.6667 }
|
||||
]
|
||||
},
|
||||
"bone10": {
|
||||
"rotate": [
|
||||
{},
|
||||
{ "time": 0.1, "angle": -44.61 },
|
||||
{ "time": 0.3333, "angle": -4.48 },
|
||||
{ "time": 0.5667, "angle": -41.37 },
|
||||
{ "time": 0.6667 }
|
||||
]
|
||||
},
|
||||
"bone7": {
|
||||
"translate": [
|
||||
{},
|
||||
{ "time": 0.1667, "x": -5.32, "y": 9.88 },
|
||||
{ "time": 0.3333 },
|
||||
{ "time": 0.5, "x": -5.32, "y": 9.88 },
|
||||
{ "time": 0.6667 }
|
||||
]
|
||||
},
|
||||
"bone8": {
|
||||
"translate": [
|
||||
{ "x": 1.35, "y": 8.1 },
|
||||
{ "time": 0.1667 },
|
||||
{ "time": 0.3333, "x": 1.35, "y": 8.1 },
|
||||
{ "time": 0.5 },
|
||||
{ "time": 0.6667, "x": 1.35, "y": 8.1 }
|
||||
]
|
||||
},
|
||||
"bone4": {
|
||||
"rotate": [
|
||||
{},
|
||||
{ "time": 0.2, "angle": 0.22 },
|
||||
{ "time": 0.6667 }
|
||||
]
|
||||
},
|
||||
"bone": {
|
||||
"translate": [
|
||||
{},
|
||||
{ "time": 0.1, "x": -0.54, "y": -0.67 },
|
||||
{ "time": 0.3333, "x": -0.48, "y": 1.84 },
|
||||
{ "time": 0.5, "x": -0.48, "y": -0.8 },
|
||||
{ "time": 0.6667 }
|
||||
]
|
||||
},
|
||||
"bone2": {
|
||||
"rotate": [
|
||||
{},
|
||||
{ "time": 0.1667, "angle": 1.45 },
|
||||
{ "time": 0.5, "angle": -2.52 },
|
||||
{ "time": 0.6667 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
11
assets/res-native/animation/CaiShen.json.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "1.2.6",
|
||||
"importer": "spine-data",
|
||||
"imported": true,
|
||||
"uuid": "61221429-2c67-4cd9-9a18-db1fa05e4ef1",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
12
assets/res-native/animation/CaiShen.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"ver": "1.0.0",
|
||||
"importer": "*",
|
||||
"imported": true,
|
||||
"uuid": "1eed777c-f0af-4f8f-b952-b2bc5ec51b6f",
|
||||
"files": [
|
||||
"",
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
BIN
assets/res-native/animation/CaiShen.png
Normal file
|
After Width: | Height: | Size: 322 KiB |
138
assets/res-native/animation/CaiShen.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "494893fc-6fa0-4f68-b4f5-4a9cedc955be",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "494893fc-6fa0-4f68-b4f5-4a9cedc955be@6c48a",
|
||||
"displayName": "CaiShen",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "494893fc-6fa0-4f68-b4f5-4a9cedc955be",
|
||||
"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": "494893fc-6fa0-4f68-b4f5-4a9cedc955be@f9941",
|
||||
"displayName": "CaiShen",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 2,
|
||||
"trimY": 2,
|
||||
"width": 631,
|
||||
"height": 285,
|
||||
"rawWidth": 635,
|
||||
"rawHeight": 289,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-315.5,
|
||||
-142.5,
|
||||
0,
|
||||
315.5,
|
||||
-142.5,
|
||||
0,
|
||||
-315.5,
|
||||
142.5,
|
||||
0,
|
||||
315.5,
|
||||
142.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
2,
|
||||
287,
|
||||
633,
|
||||
287,
|
||||
2,
|
||||
2,
|
||||
633,
|
||||
2
|
||||
],
|
||||
"nuv": [
|
||||
0.0031496062992125984,
|
||||
0.006920415224913495,
|
||||
0.9968503937007874,
|
||||
0.006920415224913495,
|
||||
0.0031496062992125984,
|
||||
0.9930795847750865,
|
||||
0.9968503937007874,
|
||||
0.9930795847750865
|
||||
],
|
||||
"minPos": [
|
||||
-315.5,
|
||||
-142.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
315.5,
|
||||
142.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "494893fc-6fa0-4f68-b4f5-4a9cedc955be@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "494893fc-6fa0-4f68-b4f5-4a9cedc955be@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
348
assets/res-native/animation/antern.anim
Normal file
@@ -0,0 +1,348 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.AnimationClip",
|
||||
"_name": "antern",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {
|
||||
"embeddedPlayerGroups": []
|
||||
},
|
||||
"_native": "",
|
||||
"sample": 20,
|
||||
"speed": 1,
|
||||
"wrapMode": 2,
|
||||
"enableTrsBlending": false,
|
||||
"_duration": 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,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"_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
|
||||
}
|
||||
},
|
||||
{
|
||||
"__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
|
||||
}
|
||||
},
|
||||
{
|
||||
"__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,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"_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
|
||||
}
|
||||
},
|
||||
{
|
||||
"__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
|
||||
}
|
||||
},
|
||||
{
|
||||
"__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,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
],
|
||||
"_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": 10,
|
||||
"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
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.RealKeyframeValue",
|
||||
"interpolationMode": 0,
|
||||
"tangentWeightMode": 0,
|
||||
"value": -10,
|
||||
"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__": 10
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.RealCurve",
|
||||
"_times": [],
|
||||
"_values": [],
|
||||
"preExtrapolation": 1,
|
||||
"postExtrapolation": 1
|
||||
},
|
||||
{
|
||||
"__type__": "cc.AnimationClipAdditiveSettings",
|
||||
"enabled": false,
|
||||
"refClip": null
|
||||
}
|
||||
]
|
||||
13
assets/res-native/animation/antern.anim.meta
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"ver": "2.0.3",
|
||||
"importer": "animation-clip",
|
||||
"imported": true,
|
||||
"uuid": "8b8507aa-f3cd-4a29-8457-6e209eba8523",
|
||||
"files": [
|
||||
".cconb"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"name": "antern"
|
||||
}
|
||||
}
|
||||
318
assets/res-native/animation/music.anim
Normal file
@@ -0,0 +1,318 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.AnimationClip",
|
||||
"_name": "music",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {
|
||||
"embeddedPlayerGroups": []
|
||||
},
|
||||
"_native": "",
|
||||
"sample": 30,
|
||||
"speed": 1,
|
||||
"wrapMode": 2,
|
||||
"enableTrsBlending": false,
|
||||
"_duration": 1.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": [
|
||||
"position"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "cc.animation.Channel",
|
||||
"_curve": {
|
||||
"__id__": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.RealCurve",
|
||||
"_times": [
|
||||
0,
|
||||
0.3333333333333333,
|
||||
0.6666666666666666,
|
||||
1,
|
||||
1.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": 5,
|
||||
"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
|
||||
},
|
||||
{
|
||||
"__type__": "cc.RealKeyframeValue",
|
||||
"interpolationMode": 0,
|
||||
"tangentWeightMode": 0,
|
||||
"value": -5,
|
||||
"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,
|
||||
0.3333333333333333,
|
||||
0.6666666666666666,
|
||||
1,
|
||||
1.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
|
||||
},
|
||||
{
|
||||
"__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
|
||||
},
|
||||
{
|
||||
"__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,
|
||||
0.3333333333333333,
|
||||
0.6666666666666666,
|
||||
1,
|
||||
1.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
|
||||
},
|
||||
{
|
||||
"__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
|
||||
},
|
||||
{
|
||||
"__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__": 10
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.RealCurve",
|
||||
"_times": [],
|
||||
"_values": [],
|
||||
"preExtrapolation": 1,
|
||||
"postExtrapolation": 1
|
||||
},
|
||||
{
|
||||
"__type__": "cc.AnimationClipAdditiveSettings",
|
||||
"enabled": false,
|
||||
"refClip": null
|
||||
}
|
||||
]
|
||||
13
assets/res-native/animation/music.anim.meta
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"ver": "2.0.3",
|
||||
"importer": "animation-clip",
|
||||
"imported": true,
|
||||
"uuid": "2bdb6fc5-8e5a-4c56-ba7f-7222a0f071bc",
|
||||
"files": [
|
||||
".cconb"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"name": "music"
|
||||
}
|
||||
}
|
||||
148
assets/res-native/animation/redPacket.anim
Normal file
@@ -0,0 +1,148 @@
|
||||
[
|
||||
{
|
||||
"__type__": "cc.AnimationClip",
|
||||
"_name": "redPacket",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {
|
||||
"embeddedPlayerGroups": []
|
||||
},
|
||||
"_native": "",
|
||||
"sample": 22,
|
||||
"speed": 1,
|
||||
"wrapMode": 2,
|
||||
"enableTrsBlending": false,
|
||||
"_duration": 1.3181818181818181,
|
||||
"_hash": 500763545,
|
||||
"_tracks": [
|
||||
{
|
||||
"__id__": 1
|
||||
}
|
||||
],
|
||||
"_exoticAnimation": null,
|
||||
"_events": [],
|
||||
"_embeddedPlayers": [],
|
||||
"_additiveSettings": {
|
||||
"__id__": 6
|
||||
},
|
||||
"_auxiliaryCurveEntries": []
|
||||
},
|
||||
{
|
||||
"__type__": "cc.animation.ObjectTrack",
|
||||
"_binding": {
|
||||
"__type__": "cc.animation.TrackBinding",
|
||||
"path": {
|
||||
"__id__": 2
|
||||
},
|
||||
"proxy": null
|
||||
},
|
||||
"_channel": {
|
||||
"__id__": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.animation.TrackPath",
|
||||
"_paths": [
|
||||
{
|
||||
"__id__": 3
|
||||
},
|
||||
"spriteFrame"
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "cc.animation.ComponentPath",
|
||||
"component": "cc.Sprite"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.animation.Channel",
|
||||
"_curve": {
|
||||
"__id__": 5
|
||||
}
|
||||
},
|
||||
{
|
||||
"__type__": "cc.ObjectCurve",
|
||||
"_times": [
|
||||
0,
|
||||
0.09090909090909091,
|
||||
0.18181818181818182,
|
||||
0.2727272727272727,
|
||||
0.36363636363636365,
|
||||
0.45454545454545453,
|
||||
0.5454545454545454,
|
||||
0.6363636363636364,
|
||||
0.7272727272727273,
|
||||
0.8181818181818182,
|
||||
0.9090909090909091,
|
||||
1,
|
||||
1.0909090909090908,
|
||||
1.1818181818181819,
|
||||
1.2727272727272727
|
||||
],
|
||||
"_values": [
|
||||
{
|
||||
"__uuid__": "06f47121-b022-47f2-b856-38201d544192@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "7826e879-2e17-4021-83f7-e6b79d07f0fb@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "e68f1926-125d-4a45-b33d-fa6909ac58e1@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "5bf29801-9f4a-4acb-8905-993309321758@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "9624c310-7783-4b16-943e-1597d1b8e7dc@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "d91ad01a-94e8-430b-b321-5074b8034ae4@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "bb854283-1110-42fd-962e-20afc5074833@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "40bfbdd4-3779-44da-b710-9785c9045c0c@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "af48d169-84f9-431d-89a0-3b2966bf0d74@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "c42dade5-89e5-457d-9940-6183b7ce5367@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "753ef375-f1dc-4768-b49f-31b83ee59471@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "13f25986-184f-45f8-8f49-4c9645c53e92@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "76cd0a17-62c3-4669-88d3-00ad252f15bf@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "1ec188c3-3dc3-483f-9502-975447684c37@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
{
|
||||
"__uuid__": "2d799151-e928-49a6-912a-a0e43a4c82f6@f9941",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"__type__": "cc.AnimationClipAdditiveSettings",
|
||||
"enabled": false,
|
||||
"refClip": null
|
||||
}
|
||||
]
|
||||
13
assets/res-native/animation/redPacket.anim.meta
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"ver": "2.0.3",
|
||||
"importer": "animation-clip",
|
||||
"imported": true,
|
||||
"uuid": "7df77db0-26ce-419b-8314-af36a8d86f38",
|
||||
"files": [
|
||||
".cconb"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"name": "redPacket"
|
||||
}
|
||||
}
|
||||
9
assets/res-native/animation/redPacket.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "cb9bca53-afc2-4e4a-80c7-a109449e3070",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
BIN
assets/res-native/animation/redPacket/ani_red_01.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
138
assets/res-native/animation/redPacket/ani_red_01.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "06f47121-b022-47f2-b856-38201d544192",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "06f47121-b022-47f2-b856-38201d544192@6c48a",
|
||||
"displayName": "ani_red_01",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "06f47121-b022-47f2-b856-38201d544192",
|
||||
"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": "06f47121-b022-47f2-b856-38201d544192@f9941",
|
||||
"displayName": "ani_red_01",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0.5,
|
||||
"trimX": 0,
|
||||
"trimY": 1,
|
||||
"width": 107,
|
||||
"height": 141,
|
||||
"rawWidth": 107,
|
||||
"rawHeight": 144,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-53.5,
|
||||
-70.5,
|
||||
0,
|
||||
53.5,
|
||||
-70.5,
|
||||
0,
|
||||
-53.5,
|
||||
70.5,
|
||||
0,
|
||||
53.5,
|
||||
70.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
0,
|
||||
143,
|
||||
107,
|
||||
143,
|
||||
0,
|
||||
2,
|
||||
107,
|
||||
2
|
||||
],
|
||||
"nuv": [
|
||||
0,
|
||||
0.013888888888888888,
|
||||
1,
|
||||
0.013888888888888888,
|
||||
0,
|
||||
0.9930555555555556,
|
||||
1,
|
||||
0.9930555555555556
|
||||
],
|
||||
"minPos": [
|
||||
-53.5,
|
||||
-70.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
53.5,
|
||||
70.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "06f47121-b022-47f2-b856-38201d544192@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "06f47121-b022-47f2-b856-38201d544192@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/animation/redPacket/ani_red_02.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
138
assets/res-native/animation/redPacket/ani_red_02.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "7826e879-2e17-4021-83f7-e6b79d07f0fb",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "7826e879-2e17-4021-83f7-e6b79d07f0fb@6c48a",
|
||||
"displayName": "ani_red_02",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "7826e879-2e17-4021-83f7-e6b79d07f0fb",
|
||||
"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": "7826e879-2e17-4021-83f7-e6b79d07f0fb@f9941",
|
||||
"displayName": "ani_red_02",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0.5,
|
||||
"trimX": 10,
|
||||
"trimY": 0,
|
||||
"width": 87,
|
||||
"height": 143,
|
||||
"rawWidth": 107,
|
||||
"rawHeight": 144,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-43.5,
|
||||
-71.5,
|
||||
0,
|
||||
43.5,
|
||||
-71.5,
|
||||
0,
|
||||
-43.5,
|
||||
71.5,
|
||||
0,
|
||||
43.5,
|
||||
71.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
10,
|
||||
144,
|
||||
97,
|
||||
144,
|
||||
10,
|
||||
1,
|
||||
97,
|
||||
1
|
||||
],
|
||||
"nuv": [
|
||||
0.09345794392523364,
|
||||
0.006944444444444444,
|
||||
0.9065420560747663,
|
||||
0.006944444444444444,
|
||||
0.09345794392523364,
|
||||
1,
|
||||
0.9065420560747663,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-43.5,
|
||||
-71.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
43.5,
|
||||
71.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "7826e879-2e17-4021-83f7-e6b79d07f0fb@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "7826e879-2e17-4021-83f7-e6b79d07f0fb@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/animation/redPacket/ani_red_03.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
138
assets/res-native/animation/redPacket/ani_red_03.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "e68f1926-125d-4a45-b33d-fa6909ac58e1",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "e68f1926-125d-4a45-b33d-fa6909ac58e1@6c48a",
|
||||
"displayName": "ani_red_03",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "e68f1926-125d-4a45-b33d-fa6909ac58e1",
|
||||
"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": "e68f1926-125d-4a45-b33d-fa6909ac58e1@f9941",
|
||||
"displayName": "ani_red_03",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -0.5,
|
||||
"offsetY": 0,
|
||||
"trimX": 16,
|
||||
"trimY": 0,
|
||||
"width": 74,
|
||||
"height": 144,
|
||||
"rawWidth": 107,
|
||||
"rawHeight": 144,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-37,
|
||||
-72,
|
||||
0,
|
||||
37,
|
||||
-72,
|
||||
0,
|
||||
-37,
|
||||
72,
|
||||
0,
|
||||
37,
|
||||
72,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
16,
|
||||
144,
|
||||
90,
|
||||
144,
|
||||
16,
|
||||
0,
|
||||
90,
|
||||
0
|
||||
],
|
||||
"nuv": [
|
||||
0.14953271028037382,
|
||||
0,
|
||||
0.8411214953271028,
|
||||
0,
|
||||
0.14953271028037382,
|
||||
1,
|
||||
0.8411214953271028,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-37,
|
||||
-72,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
37,
|
||||
72,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "e68f1926-125d-4a45-b33d-fa6909ac58e1@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "e68f1926-125d-4a45-b33d-fa6909ac58e1@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/animation/redPacket/ani_red_04.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
138
assets/res-native/animation/redPacket/ani_red_04.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "5bf29801-9f4a-4acb-8905-993309321758",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "5bf29801-9f4a-4acb-8905-993309321758@6c48a",
|
||||
"displayName": "ani_red_04",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "5bf29801-9f4a-4acb-8905-993309321758",
|
||||
"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": "5bf29801-9f4a-4acb-8905-993309321758@f9941",
|
||||
"displayName": "ani_red_04",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0.5,
|
||||
"trimX": 26,
|
||||
"trimY": 0,
|
||||
"width": 55,
|
||||
"height": 143,
|
||||
"rawWidth": 107,
|
||||
"rawHeight": 144,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-27.5,
|
||||
-71.5,
|
||||
0,
|
||||
27.5,
|
||||
-71.5,
|
||||
0,
|
||||
-27.5,
|
||||
71.5,
|
||||
0,
|
||||
27.5,
|
||||
71.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
26,
|
||||
144,
|
||||
81,
|
||||
144,
|
||||
26,
|
||||
1,
|
||||
81,
|
||||
1
|
||||
],
|
||||
"nuv": [
|
||||
0.24299065420560748,
|
||||
0.006944444444444444,
|
||||
0.7570093457943925,
|
||||
0.006944444444444444,
|
||||
0.24299065420560748,
|
||||
1,
|
||||
0.7570093457943925,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-27.5,
|
||||
-71.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
27.5,
|
||||
71.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "5bf29801-9f4a-4acb-8905-993309321758@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "5bf29801-9f4a-4acb-8905-993309321758@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/animation/redPacket/ani_red_05.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
138
assets/res-native/animation/redPacket/ani_red_05.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "9624c310-7783-4b16-943e-1597d1b8e7dc",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "9624c310-7783-4b16-943e-1597d1b8e7dc@6c48a",
|
||||
"displayName": "ani_red_05",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "9624c310-7783-4b16-943e-1597d1b8e7dc",
|
||||
"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": "9624c310-7783-4b16-943e-1597d1b8e7dc@f9941",
|
||||
"displayName": "ani_red_05",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0.5,
|
||||
"trimX": 43,
|
||||
"trimY": 0,
|
||||
"width": 21,
|
||||
"height": 143,
|
||||
"rawWidth": 107,
|
||||
"rawHeight": 144,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-10.5,
|
||||
-71.5,
|
||||
0,
|
||||
10.5,
|
||||
-71.5,
|
||||
0,
|
||||
-10.5,
|
||||
71.5,
|
||||
0,
|
||||
10.5,
|
||||
71.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
43,
|
||||
144,
|
||||
64,
|
||||
144,
|
||||
43,
|
||||
1,
|
||||
64,
|
||||
1
|
||||
],
|
||||
"nuv": [
|
||||
0.40186915887850466,
|
||||
0.006944444444444444,
|
||||
0.5981308411214953,
|
||||
0.006944444444444444,
|
||||
0.40186915887850466,
|
||||
1,
|
||||
0.5981308411214953,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-10.5,
|
||||
-71.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
10.5,
|
||||
71.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "9624c310-7783-4b16-943e-1597d1b8e7dc@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "9624c310-7783-4b16-943e-1597d1b8e7dc@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/animation/redPacket/ani_red_06.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
138
assets/res-native/animation/redPacket/ani_red_06.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "d91ad01a-94e8-430b-b321-5074b8034ae4",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "d91ad01a-94e8-430b-b321-5074b8034ae4@6c48a",
|
||||
"displayName": "ani_red_06",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "d91ad01a-94e8-430b-b321-5074b8034ae4",
|
||||
"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": "d91ad01a-94e8-430b-b321-5074b8034ae4@f9941",
|
||||
"displayName": "ani_red_06",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -0.5,
|
||||
"offsetY": 0.5,
|
||||
"trimX": 27,
|
||||
"trimY": 0,
|
||||
"width": 52,
|
||||
"height": 143,
|
||||
"rawWidth": 107,
|
||||
"rawHeight": 144,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-26,
|
||||
-71.5,
|
||||
0,
|
||||
26,
|
||||
-71.5,
|
||||
0,
|
||||
-26,
|
||||
71.5,
|
||||
0,
|
||||
26,
|
||||
71.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
27,
|
||||
144,
|
||||
79,
|
||||
144,
|
||||
27,
|
||||
1,
|
||||
79,
|
||||
1
|
||||
],
|
||||
"nuv": [
|
||||
0.2523364485981308,
|
||||
0.006944444444444444,
|
||||
0.7383177570093458,
|
||||
0.006944444444444444,
|
||||
0.2523364485981308,
|
||||
1,
|
||||
0.7383177570093458,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-26,
|
||||
-71.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
26,
|
||||
71.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "d91ad01a-94e8-430b-b321-5074b8034ae4@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "d91ad01a-94e8-430b-b321-5074b8034ae4@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/animation/redPacket/ani_red_07.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
138
assets/res-native/animation/redPacket/ani_red_07.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "bb854283-1110-42fd-962e-20afc5074833",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "bb854283-1110-42fd-962e-20afc5074833@6c48a",
|
||||
"displayName": "ani_red_07",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "bb854283-1110-42fd-962e-20afc5074833",
|
||||
"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": "bb854283-1110-42fd-962e-20afc5074833@f9941",
|
||||
"displayName": "ani_red_07",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -0.5,
|
||||
"offsetY": 0,
|
||||
"trimX": 18,
|
||||
"trimY": 1,
|
||||
"width": 70,
|
||||
"height": 142,
|
||||
"rawWidth": 107,
|
||||
"rawHeight": 144,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-35,
|
||||
-71,
|
||||
0,
|
||||
35,
|
||||
-71,
|
||||
0,
|
||||
-35,
|
||||
71,
|
||||
0,
|
||||
35,
|
||||
71,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
18,
|
||||
143,
|
||||
88,
|
||||
143,
|
||||
18,
|
||||
1,
|
||||
88,
|
||||
1
|
||||
],
|
||||
"nuv": [
|
||||
0.16822429906542055,
|
||||
0.006944444444444444,
|
||||
0.822429906542056,
|
||||
0.006944444444444444,
|
||||
0.16822429906542055,
|
||||
0.9930555555555556,
|
||||
0.822429906542056,
|
||||
0.9930555555555556
|
||||
],
|
||||
"minPos": [
|
||||
-35,
|
||||
-71,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
35,
|
||||
71,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "bb854283-1110-42fd-962e-20afc5074833@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "bb854283-1110-42fd-962e-20afc5074833@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/animation/redPacket/ani_red_08.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
138
assets/res-native/animation/redPacket/ani_red_08.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "40bfbdd4-3779-44da-b710-9785c9045c0c",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "40bfbdd4-3779-44da-b710-9785c9045c0c@6c48a",
|
||||
"displayName": "ani_red_08",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "40bfbdd4-3779-44da-b710-9785c9045c0c",
|
||||
"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": "40bfbdd4-3779-44da-b710-9785c9045c0c@f9941",
|
||||
"displayName": "ani_red_08",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -0.5,
|
||||
"offsetY": 0,
|
||||
"trimX": 11,
|
||||
"trimY": 1,
|
||||
"width": 84,
|
||||
"height": 142,
|
||||
"rawWidth": 107,
|
||||
"rawHeight": 144,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-42,
|
||||
-71,
|
||||
0,
|
||||
42,
|
||||
-71,
|
||||
0,
|
||||
-42,
|
||||
71,
|
||||
0,
|
||||
42,
|
||||
71,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
11,
|
||||
143,
|
||||
95,
|
||||
143,
|
||||
11,
|
||||
1,
|
||||
95,
|
||||
1
|
||||
],
|
||||
"nuv": [
|
||||
0.102803738317757,
|
||||
0.006944444444444444,
|
||||
0.8878504672897196,
|
||||
0.006944444444444444,
|
||||
0.102803738317757,
|
||||
0.9930555555555556,
|
||||
0.8878504672897196,
|
||||
0.9930555555555556
|
||||
],
|
||||
"minPos": [
|
||||
-42,
|
||||
-71,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
42,
|
||||
71,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "40bfbdd4-3779-44da-b710-9785c9045c0c@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "40bfbdd4-3779-44da-b710-9785c9045c0c@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/animation/redPacket/ani_red_09.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
138
assets/res-native/animation/redPacket/ani_red_09.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "af48d169-84f9-431d-89a0-3b2966bf0d74",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "af48d169-84f9-431d-89a0-3b2966bf0d74@6c48a",
|
||||
"displayName": "ani_red_09",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "af48d169-84f9-431d-89a0-3b2966bf0d74",
|
||||
"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": "af48d169-84f9-431d-89a0-3b2966bf0d74@f9941",
|
||||
"displayName": "ani_red_09",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 1,
|
||||
"trimY": 1,
|
||||
"width": 105,
|
||||
"height": 142,
|
||||
"rawWidth": 107,
|
||||
"rawHeight": 144,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-52.5,
|
||||
-71,
|
||||
0,
|
||||
52.5,
|
||||
-71,
|
||||
0,
|
||||
-52.5,
|
||||
71,
|
||||
0,
|
||||
52.5,
|
||||
71,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
1,
|
||||
143,
|
||||
106,
|
||||
143,
|
||||
1,
|
||||
1,
|
||||
106,
|
||||
1
|
||||
],
|
||||
"nuv": [
|
||||
0.009345794392523364,
|
||||
0.006944444444444444,
|
||||
0.9906542056074766,
|
||||
0.006944444444444444,
|
||||
0.009345794392523364,
|
||||
0.9930555555555556,
|
||||
0.9906542056074766,
|
||||
0.9930555555555556
|
||||
],
|
||||
"minPos": [
|
||||
-52.5,
|
||||
-71,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
52.5,
|
||||
71,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "af48d169-84f9-431d-89a0-3b2966bf0d74@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "af48d169-84f9-431d-89a0-3b2966bf0d74@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/animation/redPacket/ani_red_10.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
138
assets/res-native/animation/redPacket/ani_red_10.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "c42dade5-89e5-457d-9940-6183b7ce5367",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "c42dade5-89e5-457d-9940-6183b7ce5367@6c48a",
|
||||
"displayName": "ani_red_10",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "c42dade5-89e5-457d-9940-6183b7ce5367",
|
||||
"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": "c42dade5-89e5-457d-9940-6183b7ce5367@f9941",
|
||||
"displayName": "ani_red_10",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -0.5,
|
||||
"offsetY": 0,
|
||||
"trimX": 11,
|
||||
"trimY": 1,
|
||||
"width": 84,
|
||||
"height": 142,
|
||||
"rawWidth": 107,
|
||||
"rawHeight": 144,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-42,
|
||||
-71,
|
||||
0,
|
||||
42,
|
||||
-71,
|
||||
0,
|
||||
-42,
|
||||
71,
|
||||
0,
|
||||
42,
|
||||
71,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
11,
|
||||
143,
|
||||
95,
|
||||
143,
|
||||
11,
|
||||
1,
|
||||
95,
|
||||
1
|
||||
],
|
||||
"nuv": [
|
||||
0.102803738317757,
|
||||
0.006944444444444444,
|
||||
0.8878504672897196,
|
||||
0.006944444444444444,
|
||||
0.102803738317757,
|
||||
0.9930555555555556,
|
||||
0.8878504672897196,
|
||||
0.9930555555555556
|
||||
],
|
||||
"minPos": [
|
||||
-42,
|
||||
-71,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
42,
|
||||
71,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "c42dade5-89e5-457d-9940-6183b7ce5367@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "c42dade5-89e5-457d-9940-6183b7ce5367@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/animation/redPacket/ani_red_11.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
138
assets/res-native/animation/redPacket/ani_red_11.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "753ef375-f1dc-4768-b49f-31b83ee59471",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "753ef375-f1dc-4768-b49f-31b83ee59471@6c48a",
|
||||
"displayName": "ani_red_11",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "753ef375-f1dc-4768-b49f-31b83ee59471",
|
||||
"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": "753ef375-f1dc-4768-b49f-31b83ee59471@f9941",
|
||||
"displayName": "ani_red_11",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -0.5,
|
||||
"offsetY": 0,
|
||||
"trimX": 18,
|
||||
"trimY": 1,
|
||||
"width": 70,
|
||||
"height": 142,
|
||||
"rawWidth": 107,
|
||||
"rawHeight": 144,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-35,
|
||||
-71,
|
||||
0,
|
||||
35,
|
||||
-71,
|
||||
0,
|
||||
-35,
|
||||
71,
|
||||
0,
|
||||
35,
|
||||
71,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
18,
|
||||
143,
|
||||
88,
|
||||
143,
|
||||
18,
|
||||
1,
|
||||
88,
|
||||
1
|
||||
],
|
||||
"nuv": [
|
||||
0.16822429906542055,
|
||||
0.006944444444444444,
|
||||
0.822429906542056,
|
||||
0.006944444444444444,
|
||||
0.16822429906542055,
|
||||
0.9930555555555556,
|
||||
0.822429906542056,
|
||||
0.9930555555555556
|
||||
],
|
||||
"minPos": [
|
||||
-35,
|
||||
-71,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
35,
|
||||
71,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "753ef375-f1dc-4768-b49f-31b83ee59471@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "753ef375-f1dc-4768-b49f-31b83ee59471@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/animation/redPacket/ani_red_12.png
Normal file
|
After Width: | Height: | Size: 7.5 KiB |
138
assets/res-native/animation/redPacket/ani_red_12.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "13f25986-184f-45f8-8f49-4c9645c53e92",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "13f25986-184f-45f8-8f49-4c9645c53e92@6c48a",
|
||||
"displayName": "ani_red_12",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "13f25986-184f-45f8-8f49-4c9645c53e92",
|
||||
"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": "13f25986-184f-45f8-8f49-4c9645c53e92@f9941",
|
||||
"displayName": "ani_red_12",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0.5,
|
||||
"trimX": 43,
|
||||
"trimY": 0,
|
||||
"width": 21,
|
||||
"height": 143,
|
||||
"rawWidth": 107,
|
||||
"rawHeight": 144,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-10.5,
|
||||
-71.5,
|
||||
0,
|
||||
10.5,
|
||||
-71.5,
|
||||
0,
|
||||
-10.5,
|
||||
71.5,
|
||||
0,
|
||||
10.5,
|
||||
71.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
43,
|
||||
144,
|
||||
64,
|
||||
144,
|
||||
43,
|
||||
1,
|
||||
64,
|
||||
1
|
||||
],
|
||||
"nuv": [
|
||||
0.40186915887850466,
|
||||
0.006944444444444444,
|
||||
0.5981308411214953,
|
||||
0.006944444444444444,
|
||||
0.40186915887850466,
|
||||
1,
|
||||
0.5981308411214953,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-10.5,
|
||||
-71.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
10.5,
|
||||
71.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "13f25986-184f-45f8-8f49-4c9645c53e92@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "13f25986-184f-45f8-8f49-4c9645c53e92@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/animation/redPacket/ani_red_13.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
138
assets/res-native/animation/redPacket/ani_red_13.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "76cd0a17-62c3-4669-88d3-00ad252f15bf",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "76cd0a17-62c3-4669-88d3-00ad252f15bf@6c48a",
|
||||
"displayName": "ani_red_13",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "76cd0a17-62c3-4669-88d3-00ad252f15bf",
|
||||
"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": "76cd0a17-62c3-4669-88d3-00ad252f15bf@f9941",
|
||||
"displayName": "ani_red_13",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -0.5,
|
||||
"offsetY": 0,
|
||||
"trimX": 32,
|
||||
"trimY": 0,
|
||||
"width": 42,
|
||||
"height": 144,
|
||||
"rawWidth": 107,
|
||||
"rawHeight": 144,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-21,
|
||||
-72,
|
||||
0,
|
||||
21,
|
||||
-72,
|
||||
0,
|
||||
-21,
|
||||
72,
|
||||
0,
|
||||
21,
|
||||
72,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
32,
|
||||
144,
|
||||
74,
|
||||
144,
|
||||
32,
|
||||
0,
|
||||
74,
|
||||
0
|
||||
],
|
||||
"nuv": [
|
||||
0.29906542056074764,
|
||||
0,
|
||||
0.6915887850467289,
|
||||
0,
|
||||
0.29906542056074764,
|
||||
1,
|
||||
0.6915887850467289,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-21,
|
||||
-72,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
21,
|
||||
72,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "76cd0a17-62c3-4669-88d3-00ad252f15bf@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "76cd0a17-62c3-4669-88d3-00ad252f15bf@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/animation/redPacket/ani_red_14.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
138
assets/res-native/animation/redPacket/ani_red_14.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "1ec188c3-3dc3-483f-9502-975447684c37",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "1ec188c3-3dc3-483f-9502-975447684c37@6c48a",
|
||||
"displayName": "ani_red_14",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "1ec188c3-3dc3-483f-9502-975447684c37",
|
||||
"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": "1ec188c3-3dc3-483f-9502-975447684c37@f9941",
|
||||
"displayName": "ani_red_14",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 16,
|
||||
"trimY": 0,
|
||||
"width": 75,
|
||||
"height": 144,
|
||||
"rawWidth": 107,
|
||||
"rawHeight": 144,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-37.5,
|
||||
-72,
|
||||
0,
|
||||
37.5,
|
||||
-72,
|
||||
0,
|
||||
-37.5,
|
||||
72,
|
||||
0,
|
||||
37.5,
|
||||
72,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
16,
|
||||
144,
|
||||
91,
|
||||
144,
|
||||
16,
|
||||
0,
|
||||
91,
|
||||
0
|
||||
],
|
||||
"nuv": [
|
||||
0.14953271028037382,
|
||||
0,
|
||||
0.8504672897196262,
|
||||
0,
|
||||
0.14953271028037382,
|
||||
1,
|
||||
0.8504672897196262,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-37.5,
|
||||
-72,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
37.5,
|
||||
72,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "1ec188c3-3dc3-483f-9502-975447684c37@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "1ec188c3-3dc3-483f-9502-975447684c37@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/animation/redPacket/ani_red_15.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
138
assets/res-native/animation/redPacket/ani_red_15.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "2d799151-e928-49a6-912a-a0e43a4c82f6",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "2d799151-e928-49a6-912a-a0e43a4c82f6@6c48a",
|
||||
"displayName": "ani_red_15",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "2d799151-e928-49a6-912a-a0e43a4c82f6",
|
||||
"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": "2d799151-e928-49a6-912a-a0e43a4c82f6@f9941",
|
||||
"displayName": "ani_red_15",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0.5,
|
||||
"trimX": 10,
|
||||
"trimY": 0,
|
||||
"width": 87,
|
||||
"height": 143,
|
||||
"rawWidth": 107,
|
||||
"rawHeight": 144,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-43.5,
|
||||
-71.5,
|
||||
0,
|
||||
43.5,
|
||||
-71.5,
|
||||
0,
|
||||
-43.5,
|
||||
71.5,
|
||||
0,
|
||||
43.5,
|
||||
71.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
10,
|
||||
144,
|
||||
97,
|
||||
144,
|
||||
10,
|
||||
1,
|
||||
97,
|
||||
1
|
||||
],
|
||||
"nuv": [
|
||||
0.09345794392523364,
|
||||
0.006944444444444444,
|
||||
0.9065420560747663,
|
||||
0.006944444444444444,
|
||||
0.09345794392523364,
|
||||
1,
|
||||
0.9065420560747663,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-43.5,
|
||||
-71.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
43.5,
|
||||
71.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "2d799151-e928-49a6-912a-a0e43a4c82f6@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "2d799151-e928-49a6-912a-a0e43a4c82f6@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
9
assets/res-native/com.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "66b2ee49-44d4-4069-aa94-f92f9a4e0a1c",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
BIN
assets/res-native/com/com_bg.png
Normal file
|
After Width: | Height: | Size: 169 KiB |
138
assets/res-native/com/com_bg.png.meta
Normal 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": "com_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": "com_bg",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": -1.5,
|
||||
"trimX": 0,
|
||||
"trimY": 3,
|
||||
"width": 1049,
|
||||
"height": 1526,
|
||||
"rawWidth": 1049,
|
||||
"rawHeight": 1529,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-524.5,
|
||||
-763,
|
||||
0,
|
||||
524.5,
|
||||
-763,
|
||||
0,
|
||||
-524.5,
|
||||
763,
|
||||
0,
|
||||
524.5,
|
||||
763,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
0,
|
||||
1526,
|
||||
1049,
|
||||
1526,
|
||||
0,
|
||||
0,
|
||||
1049,
|
||||
0
|
||||
],
|
||||
"nuv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
0.9980379332897319,
|
||||
1,
|
||||
0.9980379332897319
|
||||
],
|
||||
"minPos": [
|
||||
-524.5,
|
||||
-763,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
524.5,
|
||||
763,
|
||||
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": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/com/com_btn_close.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
138
assets/res-native/com/com_btn_close.png.meta
Normal 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": "com_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": "com_btn_close",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 118,
|
||||
"height": 130,
|
||||
"rawWidth": 118,
|
||||
"rawHeight": 130,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-59,
|
||||
-65,
|
||||
0,
|
||||
59,
|
||||
-65,
|
||||
0,
|
||||
-59,
|
||||
65,
|
||||
0,
|
||||
59,
|
||||
65,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
0,
|
||||
130,
|
||||
118,
|
||||
130,
|
||||
0,
|
||||
0,
|
||||
118,
|
||||
0
|
||||
],
|
||||
"nuv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-59,
|
||||
-65,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
59,
|
||||
65,
|
||||
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": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/com/com_coin_1.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
138
assets/res-native/com/com_coin_1.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "6e91d6cf-019e-43be-bc1a-3183f62cefa2",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "6e91d6cf-019e-43be-bc1a-3183f62cefa2@6c48a",
|
||||
"displayName": "com_coin_1",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "6e91d6cf-019e-43be-bc1a-3183f62cefa2",
|
||||
"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": "6e91d6cf-019e-43be-bc1a-3183f62cefa2@f9941",
|
||||
"displayName": "com_coin_1",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 99,
|
||||
"height": 101,
|
||||
"rawWidth": 99,
|
||||
"rawHeight": 101,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-49.5,
|
||||
-50.5,
|
||||
0,
|
||||
49.5,
|
||||
-50.5,
|
||||
0,
|
||||
-49.5,
|
||||
50.5,
|
||||
0,
|
||||
49.5,
|
||||
50.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
0,
|
||||
101,
|
||||
99,
|
||||
101,
|
||||
0,
|
||||
0,
|
||||
99,
|
||||
0
|
||||
],
|
||||
"nuv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-49.5,
|
||||
-50.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
49.5,
|
||||
50.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6e91d6cf-019e-43be-bc1a-3183f62cefa2@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "6e91d6cf-019e-43be-bc1a-3183f62cefa2@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/com/com_loading.png
Normal file
|
After Width: | Height: | Size: 60 KiB |
138
assets/res-native/com/com_loading.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "e9d91e97-574a-4fc4-925f-14bf8dd2d82c",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "e9d91e97-574a-4fc4-925f-14bf8dd2d82c@6c48a",
|
||||
"displayName": "com_loading",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "e9d91e97-574a-4fc4-925f-14bf8dd2d82c",
|
||||
"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": "e9d91e97-574a-4fc4-925f-14bf8dd2d82c@f9941",
|
||||
"displayName": "com_loading",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 68,
|
||||
"height": 2160,
|
||||
"rawWidth": 68,
|
||||
"rawHeight": 2160,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 10,
|
||||
"borderRight": 10,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-34,
|
||||
-1080,
|
||||
0,
|
||||
34,
|
||||
-1080,
|
||||
0,
|
||||
-34,
|
||||
1080,
|
||||
0,
|
||||
34,
|
||||
1080,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
0,
|
||||
2160,
|
||||
68,
|
||||
2160,
|
||||
0,
|
||||
0,
|
||||
68,
|
||||
0
|
||||
],
|
||||
"nuv": [
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-34,
|
||||
-1080,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
34,
|
||||
1080,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "e9d91e97-574a-4fc4-925f-14bf8dd2d82c@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "e9d91e97-574a-4fc4-925f-14bf8dd2d82c@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/com/com_logo.png
Normal file
|
After Width: | Height: | Size: 9.5 KiB |
138
assets/res-native/com/com_logo.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "394fc689-df81-4cbc-b5de-8dc9e148afc2",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "394fc689-df81-4cbc-b5de-8dc9e148afc2@6c48a",
|
||||
"displayName": "com_logo",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "394fc689-df81-4cbc-b5de-8dc9e148afc2",
|
||||
"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": "394fc689-df81-4cbc-b5de-8dc9e148afc2@f9941",
|
||||
"displayName": "com_logo",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 7,
|
||||
"trimY": 6,
|
||||
"width": 302,
|
||||
"height": 80,
|
||||
"rawWidth": 316,
|
||||
"rawHeight": 92,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-151,
|
||||
-40,
|
||||
0,
|
||||
151,
|
||||
-40,
|
||||
0,
|
||||
-151,
|
||||
40,
|
||||
0,
|
||||
151,
|
||||
40,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
7,
|
||||
86,
|
||||
309,
|
||||
86,
|
||||
7,
|
||||
6,
|
||||
309,
|
||||
6
|
||||
],
|
||||
"nuv": [
|
||||
0.022151898734177215,
|
||||
0.06521739130434782,
|
||||
0.9778481012658228,
|
||||
0.06521739130434782,
|
||||
0.022151898734177215,
|
||||
0.9347826086956522,
|
||||
0.9778481012658228,
|
||||
0.9347826086956522
|
||||
],
|
||||
"minPos": [
|
||||
-151,
|
||||
-40,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
151,
|
||||
40,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "394fc689-df81-4cbc-b5de-8dc9e148afc2@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "394fc689-df81-4cbc-b5de-8dc9e148afc2@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
9
assets/res-native/data.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "da6dc13a-ba14-40ce-a8ee-791a814c21d7",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
BIN
assets/res-native/data/.DS_Store
vendored
Normal file
81
assets/res-native/data/ChannelData.ts
Normal 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;
|
||||
9
assets/res-native/data/ChannelData.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.24",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "c2e6b946-cc1f-4b8a-b626-42968399e30d",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
36
assets/res-native/data/UserData.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
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 = "";
|
||||
|
||||
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;
|
||||
9
assets/res-native/data/UserData.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.24",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "29d17a77-7796-4df7-a0ed-7e0ececeae54",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
9
assets/res-native/font.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "de081f76-1f73-4320-818b-8031f901c6b6",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
14
assets/res-native/font/colddown.fnt
Normal file
@@ -0,0 +1,14 @@
|
||||
info face="face" size=93
|
||||
common lineHeight=93 scaleW=345 scaleH=188 pages=1
|
||||
page id=0 file="colddown.png"
|
||||
chars count=10
|
||||
char id=51 x=0 y=0 width=68 height=93 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15
|
||||
char id=52 x=69 y=0 width=68 height=93 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15
|
||||
char id=50 x=138 y=0 width=68 height=93 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15
|
||||
char id=57 x=0 y=94 width=68 height=93 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15
|
||||
char id=55 x=69 y=94 width=68 height=93 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15
|
||||
char id=54 x=138 y=94 width=68 height=93 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15
|
||||
char id=49 x=207 y=0 width=68 height=93 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15
|
||||
char id=48 x=207 y=94 width=68 height=93 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15
|
||||
char id=53 x=276 y=0 width=68 height=93 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15
|
||||
char id=56 x=276 y=94 width=68 height=93 xoffset=0 yoffset=0 xadvance=68 page=0 chnl=15
|
||||
132
assets/res-native/font/colddown.fnt.meta
Normal file
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"ver": "1.0.6",
|
||||
"importer": "bitmap-font",
|
||||
"imported": true,
|
||||
"uuid": "65f380fa-b2f6-40d5-873e-123d27efe491",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"_fntConfig": {
|
||||
"commonHeight": 93,
|
||||
"fontSize": 93,
|
||||
"atlasName": "colddown.png",
|
||||
"fontDefDictionary": {
|
||||
"48": {
|
||||
"rect": {
|
||||
"x": 207,
|
||||
"y": 94,
|
||||
"width": 68,
|
||||
"height": 93
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 68
|
||||
},
|
||||
"49": {
|
||||
"rect": {
|
||||
"x": 207,
|
||||
"y": 0,
|
||||
"width": 68,
|
||||
"height": 93
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 68
|
||||
},
|
||||
"50": {
|
||||
"rect": {
|
||||
"x": 138,
|
||||
"y": 0,
|
||||
"width": 68,
|
||||
"height": 93
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 68
|
||||
},
|
||||
"51": {
|
||||
"rect": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 68,
|
||||
"height": 93
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 68
|
||||
},
|
||||
"52": {
|
||||
"rect": {
|
||||
"x": 69,
|
||||
"y": 0,
|
||||
"width": 68,
|
||||
"height": 93
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 68
|
||||
},
|
||||
"53": {
|
||||
"rect": {
|
||||
"x": 276,
|
||||
"y": 0,
|
||||
"width": 68,
|
||||
"height": 93
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 68
|
||||
},
|
||||
"54": {
|
||||
"rect": {
|
||||
"x": 138,
|
||||
"y": 94,
|
||||
"width": 68,
|
||||
"height": 93
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 68
|
||||
},
|
||||
"55": {
|
||||
"rect": {
|
||||
"x": 69,
|
||||
"y": 94,
|
||||
"width": 68,
|
||||
"height": 93
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 68
|
||||
},
|
||||
"56": {
|
||||
"rect": {
|
||||
"x": 276,
|
||||
"y": 94,
|
||||
"width": 68,
|
||||
"height": 93
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 68
|
||||
},
|
||||
"57": {
|
||||
"rect": {
|
||||
"x": 0,
|
||||
"y": 94,
|
||||
"width": 68,
|
||||
"height": 93
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 68
|
||||
}
|
||||
},
|
||||
"kerningDict": {}
|
||||
},
|
||||
"fontSize": 93,
|
||||
"textureUuid": "974846c1-8c2d-4efc-8541-d67f63a5b1e9"
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/font/colddown.png
Normal file
|
After Width: | Height: | Size: 66 KiB |
138
assets/res-native/font/colddown.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "974846c1-8c2d-4efc-8541-d67f63a5b1e9",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "974846c1-8c2d-4efc-8541-d67f63a5b1e9@6c48a",
|
||||
"displayName": "colddown",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "974846c1-8c2d-4efc-8541-d67f63a5b1e9",
|
||||
"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": "974846c1-8c2d-4efc-8541-d67f63a5b1e9@f9941",
|
||||
"displayName": "colddown",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0.5,
|
||||
"offsetY": 0.5,
|
||||
"trimX": 2,
|
||||
"trimY": 0,
|
||||
"width": 342,
|
||||
"height": 187,
|
||||
"rawWidth": 345,
|
||||
"rawHeight": 188,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-171,
|
||||
-93.5,
|
||||
0,
|
||||
171,
|
||||
-93.5,
|
||||
0,
|
||||
-171,
|
||||
93.5,
|
||||
0,
|
||||
171,
|
||||
93.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
2,
|
||||
188,
|
||||
344,
|
||||
188,
|
||||
2,
|
||||
1,
|
||||
344,
|
||||
1
|
||||
],
|
||||
"nuv": [
|
||||
0.005797101449275362,
|
||||
0.005319148936170213,
|
||||
0.9971014492753624,
|
||||
0.005319148936170213,
|
||||
0.005797101449275362,
|
||||
1,
|
||||
0.9971014492753624,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-171,
|
||||
-93.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
171,
|
||||
93.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "974846c1-8c2d-4efc-8541-d67f63a5b1e9@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "974846c1-8c2d-4efc-8541-d67f63a5b1e9@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
16
assets/res-native/font/get.fnt
Normal file
@@ -0,0 +1,16 @@
|
||||
info face="face" size=76
|
||||
common lineHeight=76 scaleW=252 scaleH=231 pages=1
|
||||
page id=0 file="get.png"
|
||||
chars count=12
|
||||
char id=57 x=0 y=0 width=62 height=76 xoffset=0 yoffset=0 xadvance=62 page=0 chnl=15
|
||||
char id=43 x=63 y=0 width=62 height=76 xoffset=0 yoffset=0 xadvance=62 page=0 chnl=15
|
||||
char id=46 x=126 y=0 width=62 height=76 xoffset=0 yoffset=0 xadvance=62 page=0 chnl=15
|
||||
char id=50 x=0 y=77 width=62 height=76 xoffset=0 yoffset=0 xadvance=62 page=0 chnl=15
|
||||
char id=53 x=63 y=77 width=62 height=76 xoffset=0 yoffset=0 xadvance=62 page=0 chnl=15
|
||||
char id=48 x=126 y=77 width=62 height=76 xoffset=0 yoffset=0 xadvance=62 page=0 chnl=15
|
||||
char id=49 x=189 y=0 width=62 height=76 xoffset=0 yoffset=0 xadvance=62 page=0 chnl=15
|
||||
char id=54 x=189 y=77 width=62 height=76 xoffset=0 yoffset=0 xadvance=62 page=0 chnl=15
|
||||
char id=51 x=0 y=154 width=62 height=76 xoffset=0 yoffset=0 xadvance=62 page=0 chnl=15
|
||||
char id=52 x=63 y=154 width=62 height=76 xoffset=0 yoffset=0 xadvance=62 page=0 chnl=15
|
||||
char id=56 x=126 y=154 width=62 height=76 xoffset=0 yoffset=0 xadvance=62 page=0 chnl=15
|
||||
char id=55 x=189 y=154 width=62 height=76 xoffset=0 yoffset=0 xadvance=62 page=0 chnl=15
|
||||
154
assets/res-native/font/get.fnt.meta
Normal file
@@ -0,0 +1,154 @@
|
||||
{
|
||||
"ver": "1.0.6",
|
||||
"importer": "bitmap-font",
|
||||
"imported": true,
|
||||
"uuid": "acdb03e8-b0f2-46f2-a667-6584623adb22",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"_fntConfig": {
|
||||
"commonHeight": 76,
|
||||
"fontSize": 76,
|
||||
"atlasName": "get.png",
|
||||
"fontDefDictionary": {
|
||||
"43": {
|
||||
"rect": {
|
||||
"x": 63,
|
||||
"y": 0,
|
||||
"width": 62,
|
||||
"height": 76
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 62
|
||||
},
|
||||
"46": {
|
||||
"rect": {
|
||||
"x": 126,
|
||||
"y": 0,
|
||||
"width": 62,
|
||||
"height": 76
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 62
|
||||
},
|
||||
"48": {
|
||||
"rect": {
|
||||
"x": 126,
|
||||
"y": 77,
|
||||
"width": 62,
|
||||
"height": 76
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 62
|
||||
},
|
||||
"49": {
|
||||
"rect": {
|
||||
"x": 189,
|
||||
"y": 0,
|
||||
"width": 62,
|
||||
"height": 76
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 62
|
||||
},
|
||||
"50": {
|
||||
"rect": {
|
||||
"x": 0,
|
||||
"y": 77,
|
||||
"width": 62,
|
||||
"height": 76
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 62
|
||||
},
|
||||
"51": {
|
||||
"rect": {
|
||||
"x": 0,
|
||||
"y": 154,
|
||||
"width": 62,
|
||||
"height": 76
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 62
|
||||
},
|
||||
"52": {
|
||||
"rect": {
|
||||
"x": 63,
|
||||
"y": 154,
|
||||
"width": 62,
|
||||
"height": 76
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 62
|
||||
},
|
||||
"53": {
|
||||
"rect": {
|
||||
"x": 63,
|
||||
"y": 77,
|
||||
"width": 62,
|
||||
"height": 76
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 62
|
||||
},
|
||||
"54": {
|
||||
"rect": {
|
||||
"x": 189,
|
||||
"y": 77,
|
||||
"width": 62,
|
||||
"height": 76
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 62
|
||||
},
|
||||
"55": {
|
||||
"rect": {
|
||||
"x": 189,
|
||||
"y": 154,
|
||||
"width": 62,
|
||||
"height": 76
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 62
|
||||
},
|
||||
"56": {
|
||||
"rect": {
|
||||
"x": 126,
|
||||
"y": 154,
|
||||
"width": 62,
|
||||
"height": 76
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 62
|
||||
},
|
||||
"57": {
|
||||
"rect": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 62,
|
||||
"height": 76
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 62
|
||||
}
|
||||
},
|
||||
"kerningDict": {}
|
||||
},
|
||||
"fontSize": 76,
|
||||
"textureUuid": "6503a502-8b0a-45a3-a578-48bb84f7bf95"
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/font/get.png
Normal file
|
After Width: | Height: | Size: 75 KiB |
138
assets/res-native/font/get.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "6503a502-8b0a-45a3-a578-48bb84f7bf95",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "6503a502-8b0a-45a3-a578-48bb84f7bf95@6c48a",
|
||||
"displayName": "get",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "6503a502-8b0a-45a3-a578-48bb84f7bf95",
|
||||
"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": "6503a502-8b0a-45a3-a578-48bb84f7bf95@f9941",
|
||||
"displayName": "get",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -1.5,
|
||||
"offsetY": 0,
|
||||
"trimX": 3,
|
||||
"trimY": 1,
|
||||
"width": 243,
|
||||
"height": 229,
|
||||
"rawWidth": 252,
|
||||
"rawHeight": 231,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-121.5,
|
||||
-114.5,
|
||||
0,
|
||||
121.5,
|
||||
-114.5,
|
||||
0,
|
||||
-121.5,
|
||||
114.5,
|
||||
0,
|
||||
121.5,
|
||||
114.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
3,
|
||||
230,
|
||||
246,
|
||||
230,
|
||||
3,
|
||||
1,
|
||||
246,
|
||||
1
|
||||
],
|
||||
"nuv": [
|
||||
0.011904761904761904,
|
||||
0.004329004329004329,
|
||||
0.9761904761904762,
|
||||
0.004329004329004329,
|
||||
0.011904761904761904,
|
||||
0.9956709956709957,
|
||||
0.9761904761904762,
|
||||
0.9956709956709957
|
||||
],
|
||||
"minPos": [
|
||||
-121.5,
|
||||
-114.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
121.5,
|
||||
114.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "6503a502-8b0a-45a3-a578-48bb84f7bf95@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "6503a502-8b0a-45a3-a578-48bb84f7bf95@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
15
assets/res-native/font/red.fnt
Normal file
@@ -0,0 +1,15 @@
|
||||
info face="face" size=55
|
||||
common lineHeight=55 scaleW=184 scaleH=168 pages=1
|
||||
page id=0 file="red.png"
|
||||
chars count=11
|
||||
char id=51 x=0 y=0 width=45 height=55 xoffset=0 yoffset=0 xadvance=45 page=0 chnl=15
|
||||
char id=56 x=46 y=0 width=45 height=55 xoffset=0 yoffset=0 xadvance=45 page=0 chnl=15
|
||||
char id=54 x=92 y=0 width=45 height=55 xoffset=0 yoffset=0 xadvance=45 page=0 chnl=15
|
||||
char id=55 x=0 y=56 width=45 height=55 xoffset=0 yoffset=0 xadvance=45 page=0 chnl=15
|
||||
char id=49 x=46 y=56 width=45 height=55 xoffset=0 yoffset=0 xadvance=45 page=0 chnl=15
|
||||
char id=46 x=92 y=56 width=45 height=55 xoffset=0 yoffset=0 xadvance=45 page=0 chnl=15
|
||||
char id=48 x=138 y=0 width=45 height=55 xoffset=0 yoffset=0 xadvance=45 page=0 chnl=15
|
||||
char id=57 x=138 y=56 width=45 height=55 xoffset=0 yoffset=0 xadvance=45 page=0 chnl=15
|
||||
char id=50 x=0 y=112 width=45 height=55 xoffset=0 yoffset=0 xadvance=45 page=0 chnl=15
|
||||
char id=52 x=46 y=112 width=45 height=55 xoffset=0 yoffset=0 xadvance=45 page=0 chnl=15
|
||||
char id=53 x=92 y=112 width=45 height=55 xoffset=0 yoffset=0 xadvance=45 page=0 chnl=15
|
||||
143
assets/res-native/font/red.fnt.meta
Normal file
@@ -0,0 +1,143 @@
|
||||
{
|
||||
"ver": "1.0.6",
|
||||
"importer": "bitmap-font",
|
||||
"imported": true,
|
||||
"uuid": "279a59c8-79cd-4c39-a044-3ec13f0c0e04",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"_fntConfig": {
|
||||
"commonHeight": 55,
|
||||
"fontSize": 55,
|
||||
"atlasName": "red.png",
|
||||
"fontDefDictionary": {
|
||||
"46": {
|
||||
"rect": {
|
||||
"x": 92,
|
||||
"y": 56,
|
||||
"width": 45,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 45
|
||||
},
|
||||
"48": {
|
||||
"rect": {
|
||||
"x": 138,
|
||||
"y": 0,
|
||||
"width": 45,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 45
|
||||
},
|
||||
"49": {
|
||||
"rect": {
|
||||
"x": 46,
|
||||
"y": 56,
|
||||
"width": 45,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 45
|
||||
},
|
||||
"50": {
|
||||
"rect": {
|
||||
"x": 0,
|
||||
"y": 112,
|
||||
"width": 45,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 45
|
||||
},
|
||||
"51": {
|
||||
"rect": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 45,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 45
|
||||
},
|
||||
"52": {
|
||||
"rect": {
|
||||
"x": 46,
|
||||
"y": 112,
|
||||
"width": 45,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 45
|
||||
},
|
||||
"53": {
|
||||
"rect": {
|
||||
"x": 92,
|
||||
"y": 112,
|
||||
"width": 45,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 45
|
||||
},
|
||||
"54": {
|
||||
"rect": {
|
||||
"x": 92,
|
||||
"y": 0,
|
||||
"width": 45,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 45
|
||||
},
|
||||
"55": {
|
||||
"rect": {
|
||||
"x": 0,
|
||||
"y": 56,
|
||||
"width": 45,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 45
|
||||
},
|
||||
"56": {
|
||||
"rect": {
|
||||
"x": 46,
|
||||
"y": 0,
|
||||
"width": 45,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 45
|
||||
},
|
||||
"57": {
|
||||
"rect": {
|
||||
"x": 138,
|
||||
"y": 56,
|
||||
"width": 45,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 45
|
||||
}
|
||||
},
|
||||
"kerningDict": {}
|
||||
},
|
||||
"fontSize": 55,
|
||||
"textureUuid": "ddd2fd4f-468d-435a-b3d0-3628f9002a3c"
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/font/red.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
138
assets/res-native/font/red.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "ddd2fd4f-468d-435a-b3d0-3628f9002a3c",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "ddd2fd4f-468d-435a-b3d0-3628f9002a3c@6c48a",
|
||||
"displayName": "red",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "ddd2fd4f-468d-435a-b3d0-3628f9002a3c",
|
||||
"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": "ddd2fd4f-468d-435a-b3d0-3628f9002a3c@f9941",
|
||||
"displayName": "red",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -0.5,
|
||||
"offsetY": 0.5,
|
||||
"trimX": 2,
|
||||
"trimY": 0,
|
||||
"width": 179,
|
||||
"height": 167,
|
||||
"rawWidth": 184,
|
||||
"rawHeight": 168,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-89.5,
|
||||
-83.5,
|
||||
0,
|
||||
89.5,
|
||||
-83.5,
|
||||
0,
|
||||
-89.5,
|
||||
83.5,
|
||||
0,
|
||||
89.5,
|
||||
83.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
2,
|
||||
168,
|
||||
181,
|
||||
168,
|
||||
2,
|
||||
1,
|
||||
181,
|
||||
1
|
||||
],
|
||||
"nuv": [
|
||||
0.010869565217391304,
|
||||
0.005952380952380952,
|
||||
0.9836956521739131,
|
||||
0.005952380952380952,
|
||||
0.010869565217391304,
|
||||
1,
|
||||
0.9836956521739131,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-89.5,
|
||||
-83.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
89.5,
|
||||
83.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "ddd2fd4f-468d-435a-b3d0-3628f9002a3c@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "ddd2fd4f-468d-435a-b3d0-3628f9002a3c@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
14
assets/res-native/font/save.fnt
Normal file
@@ -0,0 +1,14 @@
|
||||
info face="face" size=78
|
||||
common lineHeight=78 scaleW=248 scaleH=237 pages=1
|
||||
page id=0 file="save.png"
|
||||
chars count=10
|
||||
char id=56 x=0 y=0 width=61 height=78 xoffset=0 yoffset=0 xadvance=61 page=0 chnl=15
|
||||
char id=55 x=62 y=0 width=61 height=78 xoffset=0 yoffset=0 xadvance=61 page=0 chnl=15
|
||||
char id=53 x=124 y=0 width=61 height=78 xoffset=0 yoffset=0 xadvance=61 page=0 chnl=15
|
||||
char id=52 x=0 y=79 width=61 height=78 xoffset=0 yoffset=0 xadvance=61 page=0 chnl=15
|
||||
char id=50 x=62 y=79 width=61 height=78 xoffset=0 yoffset=0 xadvance=61 page=0 chnl=15
|
||||
char id=51 x=124 y=79 width=61 height=78 xoffset=0 yoffset=0 xadvance=61 page=0 chnl=15
|
||||
char id=48 x=186 y=0 width=61 height=78 xoffset=0 yoffset=0 xadvance=61 page=0 chnl=15
|
||||
char id=54 x=186 y=79 width=61 height=78 xoffset=0 yoffset=0 xadvance=61 page=0 chnl=15
|
||||
char id=57 x=0 y=158 width=61 height=78 xoffset=0 yoffset=0 xadvance=61 page=0 chnl=15
|
||||
char id=49 x=62 y=158 width=61 height=78 xoffset=0 yoffset=0 xadvance=61 page=0 chnl=15
|
||||
132
assets/res-native/font/save.fnt.meta
Normal file
@@ -0,0 +1,132 @@
|
||||
{
|
||||
"ver": "1.0.6",
|
||||
"importer": "bitmap-font",
|
||||
"imported": true,
|
||||
"uuid": "76380f0b-432a-4665-9ae4-464217b9f4e8",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"_fntConfig": {
|
||||
"commonHeight": 78,
|
||||
"fontSize": 78,
|
||||
"atlasName": "save.png",
|
||||
"fontDefDictionary": {
|
||||
"48": {
|
||||
"rect": {
|
||||
"x": 186,
|
||||
"y": 0,
|
||||
"width": 61,
|
||||
"height": 78
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 61
|
||||
},
|
||||
"49": {
|
||||
"rect": {
|
||||
"x": 62,
|
||||
"y": 158,
|
||||
"width": 61,
|
||||
"height": 78
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 61
|
||||
},
|
||||
"50": {
|
||||
"rect": {
|
||||
"x": 62,
|
||||
"y": 79,
|
||||
"width": 61,
|
||||
"height": 78
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 61
|
||||
},
|
||||
"51": {
|
||||
"rect": {
|
||||
"x": 124,
|
||||
"y": 79,
|
||||
"width": 61,
|
||||
"height": 78
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 61
|
||||
},
|
||||
"52": {
|
||||
"rect": {
|
||||
"x": 0,
|
||||
"y": 79,
|
||||
"width": 61,
|
||||
"height": 78
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 61
|
||||
},
|
||||
"53": {
|
||||
"rect": {
|
||||
"x": 124,
|
||||
"y": 0,
|
||||
"width": 61,
|
||||
"height": 78
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 61
|
||||
},
|
||||
"54": {
|
||||
"rect": {
|
||||
"x": 186,
|
||||
"y": 79,
|
||||
"width": 61,
|
||||
"height": 78
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 61
|
||||
},
|
||||
"55": {
|
||||
"rect": {
|
||||
"x": 62,
|
||||
"y": 0,
|
||||
"width": 61,
|
||||
"height": 78
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 61
|
||||
},
|
||||
"56": {
|
||||
"rect": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 61,
|
||||
"height": 78
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 61
|
||||
},
|
||||
"57": {
|
||||
"rect": {
|
||||
"x": 0,
|
||||
"y": 158,
|
||||
"width": 61,
|
||||
"height": 78
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 61
|
||||
}
|
||||
},
|
||||
"kerningDict": {}
|
||||
},
|
||||
"fontSize": 78,
|
||||
"textureUuid": "e8cc6fa1-9c06-4b81-9035-dc8bbfd4e269"
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/font/save.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
138
assets/res-native/font/save.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "e8cc6fa1-9c06-4b81-9035-dc8bbfd4e269",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "e8cc6fa1-9c06-4b81-9035-dc8bbfd4e269@6c48a",
|
||||
"displayName": "save",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "e8cc6fa1-9c06-4b81-9035-dc8bbfd4e269",
|
||||
"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": "e8cc6fa1-9c06-4b81-9035-dc8bbfd4e269@f9941",
|
||||
"displayName": "save",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -1,
|
||||
"offsetY": 1,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 246,
|
||||
"height": 235,
|
||||
"rawWidth": 248,
|
||||
"rawHeight": 237,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-123,
|
||||
-117.5,
|
||||
0,
|
||||
123,
|
||||
-117.5,
|
||||
0,
|
||||
-123,
|
||||
117.5,
|
||||
0,
|
||||
123,
|
||||
117.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
0,
|
||||
237,
|
||||
246,
|
||||
237,
|
||||
0,
|
||||
2,
|
||||
246,
|
||||
2
|
||||
],
|
||||
"nuv": [
|
||||
0,
|
||||
0.008438818565400843,
|
||||
0.9919354838709677,
|
||||
0.008438818565400843,
|
||||
0,
|
||||
1,
|
||||
0.9919354838709677,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-123,
|
||||
-117.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
123,
|
||||
117.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "e8cc6fa1-9c06-4b81-9035-dc8bbfd4e269@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "e8cc6fa1-9c06-4b81-9035-dc8bbfd4e269@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
15
assets/res-native/font/time.fnt
Normal file
@@ -0,0 +1,15 @@
|
||||
info face="face" size=55
|
||||
common lineHeight=55 scaleW=216 scaleH=168 pages=1
|
||||
page id=0 file="time.png"
|
||||
chars count=11
|
||||
char id=50 x=0 y=0 width=53 height=55 xoffset=0 yoffset=0 xadvance=53 page=0 chnl=15
|
||||
char id=55 x=54 y=0 width=53 height=55 xoffset=0 yoffset=0 xadvance=53 page=0 chnl=15
|
||||
char id=54 x=108 y=0 width=53 height=55 xoffset=0 yoffset=0 xadvance=53 page=0 chnl=15
|
||||
char id=48 x=0 y=56 width=53 height=55 xoffset=0 yoffset=0 xadvance=53 page=0 chnl=15
|
||||
char id=57 x=54 y=56 width=53 height=55 xoffset=0 yoffset=0 xadvance=53 page=0 chnl=15
|
||||
char id=53 x=108 y=56 width=53 height=55 xoffset=0 yoffset=0 xadvance=53 page=0 chnl=15
|
||||
char id=56 x=162 y=0 width=53 height=55 xoffset=0 yoffset=0 xadvance=53 page=0 chnl=15
|
||||
char id=52 x=162 y=56 width=53 height=55 xoffset=0 yoffset=0 xadvance=53 page=0 chnl=15
|
||||
char id=49 x=0 y=112 width=53 height=55 xoffset=0 yoffset=0 xadvance=53 page=0 chnl=15
|
||||
char id=115 x=54 y=112 width=53 height=55 xoffset=0 yoffset=0 xadvance=53 page=0 chnl=15
|
||||
char id=51 x=108 y=112 width=53 height=55 xoffset=0 yoffset=0 xadvance=53 page=0 chnl=15
|
||||
143
assets/res-native/font/time.fnt.meta
Normal file
@@ -0,0 +1,143 @@
|
||||
{
|
||||
"ver": "1.0.6",
|
||||
"importer": "bitmap-font",
|
||||
"imported": true,
|
||||
"uuid": "bc19bf8b-60d5-418b-915b-1184dd07d1b1",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {
|
||||
"_fntConfig": {
|
||||
"commonHeight": 55,
|
||||
"fontSize": 55,
|
||||
"atlasName": "time.png",
|
||||
"fontDefDictionary": {
|
||||
"48": {
|
||||
"rect": {
|
||||
"x": 0,
|
||||
"y": 56,
|
||||
"width": 53,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 53
|
||||
},
|
||||
"49": {
|
||||
"rect": {
|
||||
"x": 0,
|
||||
"y": 112,
|
||||
"width": 53,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 53
|
||||
},
|
||||
"50": {
|
||||
"rect": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"width": 53,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 53
|
||||
},
|
||||
"51": {
|
||||
"rect": {
|
||||
"x": 108,
|
||||
"y": 112,
|
||||
"width": 53,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 53
|
||||
},
|
||||
"52": {
|
||||
"rect": {
|
||||
"x": 162,
|
||||
"y": 56,
|
||||
"width": 53,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 53
|
||||
},
|
||||
"53": {
|
||||
"rect": {
|
||||
"x": 108,
|
||||
"y": 56,
|
||||
"width": 53,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 53
|
||||
},
|
||||
"54": {
|
||||
"rect": {
|
||||
"x": 108,
|
||||
"y": 0,
|
||||
"width": 53,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 53
|
||||
},
|
||||
"55": {
|
||||
"rect": {
|
||||
"x": 54,
|
||||
"y": 0,
|
||||
"width": 53,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 53
|
||||
},
|
||||
"56": {
|
||||
"rect": {
|
||||
"x": 162,
|
||||
"y": 0,
|
||||
"width": 53,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 53
|
||||
},
|
||||
"57": {
|
||||
"rect": {
|
||||
"x": 54,
|
||||
"y": 56,
|
||||
"width": 53,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 53
|
||||
},
|
||||
"115": {
|
||||
"rect": {
|
||||
"x": 54,
|
||||
"y": 112,
|
||||
"width": 53,
|
||||
"height": 55
|
||||
},
|
||||
"xOffset": 0,
|
||||
"yOffset": 0,
|
||||
"xAdvance": 53
|
||||
}
|
||||
},
|
||||
"kerningDict": {}
|
||||
},
|
||||
"fontSize": 55,
|
||||
"textureUuid": "34eb7a7a-d980-42f8-a51c-4db03841a783"
|
||||
}
|
||||
}
|
||||
BIN
assets/res-native/font/time.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
138
assets/res-native/font/time.png.meta
Normal file
@@ -0,0 +1,138 @@
|
||||
{
|
||||
"ver": "1.0.27",
|
||||
"importer": "image",
|
||||
"imported": true,
|
||||
"uuid": "34eb7a7a-d980-42f8-a51c-4db03841a783",
|
||||
"files": [
|
||||
".json",
|
||||
".png"
|
||||
],
|
||||
"subMetas": {
|
||||
"6c48a": {
|
||||
"importer": "texture",
|
||||
"uuid": "34eb7a7a-d980-42f8-a51c-4db03841a783@6c48a",
|
||||
"displayName": "time",
|
||||
"id": "6c48a",
|
||||
"name": "texture",
|
||||
"userData": {
|
||||
"wrapModeS": "clamp-to-edge",
|
||||
"wrapModeT": "clamp-to-edge",
|
||||
"imageUuidOrDatabaseUri": "34eb7a7a-d980-42f8-a51c-4db03841a783",
|
||||
"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": "34eb7a7a-d980-42f8-a51c-4db03841a783@f9941",
|
||||
"displayName": "time",
|
||||
"id": "f9941",
|
||||
"name": "spriteFrame",
|
||||
"userData": {
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 1,
|
||||
"offsetY": 0.5,
|
||||
"trimX": 6,
|
||||
"trimY": 0,
|
||||
"width": 206,
|
||||
"height": 167,
|
||||
"rawWidth": 216,
|
||||
"rawHeight": 168,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
"pivotY": 0.5,
|
||||
"meshType": 0,
|
||||
"vertices": {
|
||||
"rawPosition": [
|
||||
-103,
|
||||
-83.5,
|
||||
0,
|
||||
103,
|
||||
-83.5,
|
||||
0,
|
||||
-103,
|
||||
83.5,
|
||||
0,
|
||||
103,
|
||||
83.5,
|
||||
0
|
||||
],
|
||||
"indexes": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
2,
|
||||
1,
|
||||
3
|
||||
],
|
||||
"uv": [
|
||||
6,
|
||||
168,
|
||||
212,
|
||||
168,
|
||||
6,
|
||||
1,
|
||||
212,
|
||||
1
|
||||
],
|
||||
"nuv": [
|
||||
0.027777777777777776,
|
||||
0.005952380952380952,
|
||||
0.9814814814814815,
|
||||
0.005952380952380952,
|
||||
0.027777777777777776,
|
||||
1,
|
||||
0.9814814814814815,
|
||||
1
|
||||
],
|
||||
"minPos": [
|
||||
-103,
|
||||
-83.5,
|
||||
0
|
||||
],
|
||||
"maxPos": [
|
||||
103,
|
||||
83.5,
|
||||
0
|
||||
]
|
||||
},
|
||||
"isUuid": true,
|
||||
"imageUuidOrDatabaseUri": "34eb7a7a-d980-42f8-a51c-4db03841a783@6c48a",
|
||||
"atlasUuid": ""
|
||||
},
|
||||
"ver": "1.0.12",
|
||||
"imported": true,
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {}
|
||||
}
|
||||
},
|
||||
"userData": {
|
||||
"type": "sprite-frame",
|
||||
"hasAlpha": true,
|
||||
"fixAlphaTransparencyArtifacts": false,
|
||||
"redirect": "34eb7a7a-d980-42f8-a51c-4db03841a783@6c48a",
|
||||
"compressSettings": {
|
||||
"useCompressTexture": true,
|
||||
"presetId": "b1rRMHaV9Gz5HhQd3Z8obg"
|
||||
}
|
||||
}
|
||||
}
|
||||
9
assets/res-native/network.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "baf2ef12-30f7-46ec-af55-620c096bef72",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
311
assets/res-native/network/HttpRequest.ts
Normal file
@@ -0,0 +1,311 @@
|
||||
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";
|
||||
import { EDITOR } from "cc/env";
|
||||
|
||||
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);
|
||||
xhr.setRequestHeader("X-Domain", LOGIN_TOKEN.appId);
|
||||
xhr.setRequestHeader("X-Locale", LOGIN_TOKEN.appKey);
|
||||
|
||||
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);
|
||||
if (resp.status === "success") {
|
||||
const isDevelopment = EDITOR || (typeof window !== 'undefined' && (window.location.hostname.includes('localhost') || window.location.hostname.includes('127.0.0.1')));
|
||||
if (isDevelopment) {
|
||||
console.log("data:", resp.data);
|
||||
}
|
||||
completeCallback(resp.data);
|
||||
} else {
|
||||
app.manager.ui.showToast(Tools.GetLocalized(resp.msg));
|
||||
if (errorCallback) errorCallback(resp.data);
|
||||
}
|
||||
// if (Number(resp.code) === 200 || Number(resp.code) === 406) {
|
||||
// const isDevelopment = EDITOR || (typeof window !== 'undefined' && (window.location.hostname.includes('localhost') || window.location.hostname.includes('127.0.0.1')));
|
||||
// if (isDevelopment) {
|
||||
// console.log("data:", resp.data);
|
||||
// }
|
||||
// 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()
|
||||
9
assets/res-native/network/HttpRequest.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.24",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "58832863-cdb2-4696-85ed-027e9449985d",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
9
assets/res-native/setting.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "c3f3b179-7966-4963-a10d-f690739ee781",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
34
assets/res-native/setting/ServerConfig.ts
Normal 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://test.mjsbo.com/projects/staging/tab66-admin/public"
|
||||
/** 通用版本 */
|
||||
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"];
|
||||
9
assets/res-native/setting/ServerConfig.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.24",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "29ef329c-fd90-4d8a-a91a-95ab0b17eace",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
9
assets/res-native/tools.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "1.2.0",
|
||||
"importer": "directory",
|
||||
"imported": true,
|
||||
"uuid": "c1e551ce-e4da-42b1-b6e7-60cf4cf1f45c",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||
631
assets/res-native/tools/Tools.ts
Normal file
@@ -0,0 +1,631 @@
|
||||
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("/api/" + str, param, callback, failCallBack)
|
||||
}
|
||||
|
||||
static httpGetReq(str:string, callback:Function, failCallBack:Function = null) {
|
||||
httpRequest.get("/api/" + str, callback, failCallBack)
|
||||
}
|
||||
//#endregion
|
||||
|
||||
|
||||
//#region Node 相关
|
||||
/** 添加子节点 */
|
||||
static AddChild(node:Node, prefab:Node|Prefab, name:string = null):Node {
|
||||
var n = instantiate(prefab as Node)
|
||||
node.addChild(n)
|
||||
if (name) n.name = name
|
||||
return n
|
||||
}
|
||||
|
||||
/** 设置子节点显示 */
|
||||
static ActChild(node:Node, path:string, act:boolean)
|
||||
{
|
||||
let n = node.getChildByPath(path)
|
||||
if (n) n.active = act
|
||||
}
|
||||
|
||||
/** 获取子节点组件 */
|
||||
static GetChildComp<T extends Component>(node: Node, path: string, compClass: ConstructorOf<T>): T {
|
||||
return node.getChildByPath(path)?.getComponent(compClass);
|
||||
}
|
||||
|
||||
//#endregion
|
||||
|
||||
|
||||
//#region Text 相关
|
||||
/** 设置子节点文字 */
|
||||
static SetText(node:Node, str:string) {
|
||||
str = String(str)
|
||||
node.getComponent(Label).string = str
|
||||
}
|
||||
/** 设置子节点文字 */
|
||||
static SetChildText(node:Node, path:string, str:string) {
|
||||
str = String(str)
|
||||
let n = node.getChildByPath(path)
|
||||
n.getComponent(Label).string = str
|
||||
}
|
||||
/** 设置子节点文字 */
|
||||
static SetChildRichText(node:Node, path:string, str:string) {
|
||||
str = String(str)
|
||||
let n = node.getChildByPath(path)
|
||||
n.getComponent(RichText).string = str
|
||||
}
|
||||
/** 设置节点文字颜色 */
|
||||
static SetLabColor(node:Node, str:string) {
|
||||
node.getComponent(Label).color = Color.fromHEX(new Color(), str)
|
||||
}
|
||||
/** 设置子节点字体颜色 */
|
||||
static SetChildLabColor(node:Node, path:string, str:string) {
|
||||
let n = node.getChildByPath(path)
|
||||
n.getComponent(Label).color = Color.fromHEX(new Color(), str)
|
||||
}
|
||||
|
||||
/** 设置节点大小 */
|
||||
static SetSize(node:Node, size:Size) {
|
||||
node.getComponent(UITransform).setContentSize(size);
|
||||
}
|
||||
|
||||
/** 设置节点触摸事件 */
|
||||
static SetTouchEndEvt(node:Node, func:Function) {
|
||||
node.off(Node.EventType.TOUCH_END)
|
||||
node.on(Node.EventType.TOUCH_END, func)
|
||||
}
|
||||
|
||||
/** 设置子节点触摸事件 */
|
||||
static SetChildTouchEndEvt(node:Node, path:string, func:Function) {
|
||||
let n = node.getChildByPath(path)
|
||||
if (n) this.SetTouchEndEvt(n, func)
|
||||
}
|
||||
//#endregion
|
||||
|
||||
|
||||
//#region 字符串操作
|
||||
/**
|
||||
** 替换占位符{0},{1}....
|
||||
** 例子: const message = Tools.stringFormat("My name is {0} and I am {1} years old.", name, age);
|
||||
*/
|
||||
static StringFormat(format: string, ...args: any[]): string {
|
||||
return format.replace(/{(\d+)}/g, (match, index) => {
|
||||
return typeof args[index] !== "undefined" ? args[index] : match;
|
||||
});
|
||||
}
|
||||
|
||||
static StringLFormat(format: string, ...args: any[]): string {
|
||||
format = this.GetLocalized(format)
|
||||
return this.StringFormat(format, ...args)
|
||||
}
|
||||
//#endregion
|
||||
|
||||
|
||||
//#region 其他
|
||||
/** 本地化 */
|
||||
static GetLocalized(str : string) {
|
||||
return str
|
||||
//return LabelConfig[str] ? LabelConfig[str][LocalizadManager.getInstance().getLanauge()-1] : str
|
||||
}
|
||||
/** 压缩上传图片成base64 */
|
||||
static CompressImageToBase64(param:any, callback:Function = null){
|
||||
var fileList = param.files[0];
|
||||
var reader = new FileReader();
|
||||
reader.readAsDataURL(fileList);
|
||||
reader.onload = (event) => {
|
||||
let image = new Image() //新建一个img标签(还没嵌入DOM节点)
|
||||
var dataImg = event.target.result;
|
||||
var num = 1;
|
||||
//@ts-ignore
|
||||
image.src = event.target.result
|
||||
image.onload = () => {
|
||||
//由于不能将太多Base64字符给服务端发过于,咱们压缩一下
|
||||
//如果想支持更大图片,请继续加判断,增加除数
|
||||
// 检查文件大小是否超过20M
|
||||
if (fileList.size > 20000000) {
|
||||
console.log("文件大小不能大于20M!");
|
||||
param.value = '';
|
||||
return;
|
||||
}
|
||||
// 根据文件大小设置num值
|
||||
for (const threshold of sizeThresholds) {
|
||||
if (fileList.size > threshold.size) {
|
||||
num = threshold.num;
|
||||
break;
|
||||
}
|
||||
}
|
||||
let canvas = document.createElement('canvas');
|
||||
let context = canvas.getContext('2d');
|
||||
let imageWidth = image.width / num; //压缩后图片的大小
|
||||
let imageHeight = image.height / num;
|
||||
const minSize = 640; // 设置最小尺寸
|
||||
if (imageWidth < minSize || imageHeight < minSize) {
|
||||
const scaleFactor = Math.max(minSize / imageWidth, minSize / imageHeight);
|
||||
imageWidth *= scaleFactor;
|
||||
imageHeight *= scaleFactor;
|
||||
}
|
||||
canvas.width = imageWidth;
|
||||
canvas.height = imageHeight;
|
||||
context.drawImage(image, 0, 0, imageWidth, imageHeight);
|
||||
dataImg = canvas.toDataURL('image/png');
|
||||
//此时的dataImg就是你要上传给服务器的字符
|
||||
param.value = '';
|
||||
if (callback) callback(dataImg)
|
||||
return dataImg;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
/** 生成二维码 */
|
||||
// static SetQRCode(text: string, item : Node){
|
||||
// const qr = QRCode(0, 'M');
|
||||
// qr.addData(text);
|
||||
// qr.make();
|
||||
// const dataUrl = qr.createDataURL(4, 4);
|
||||
// const img = new Image();
|
||||
// img.src = dataUrl;
|
||||
|
||||
// assetManager.loadRemote(dataUrl, {ext : '.png'}, (err, imgAsset: ImageAsset) => {
|
||||
// if (err) {
|
||||
// console.error(err.message || err);
|
||||
// return;
|
||||
// }
|
||||
// const sp = new SpriteFrame()
|
||||
// const tx = new Texture2D()
|
||||
// tx.image = imgAsset
|
||||
// sp.texture = tx
|
||||
// item.getComponent(Sprite).spriteFrame = sp
|
||||
// })
|
||||
// }
|
||||
|
||||
/** 通过base64字符串设置图片 */
|
||||
static SetBase64Pic(src: string, node: Node): void {
|
||||
let image = new Image()
|
||||
image.src = src // base 64是string,看后端返回是二进制,是否带头data:image/png;base64, 不带要手动添加
|
||||
image.onload = () => {
|
||||
let texture = new Texture2D()
|
||||
texture.image = new ImageAsset(image)
|
||||
let _frame = new SpriteFrame()
|
||||
_frame.texture = texture
|
||||
// 获取节点的容器
|
||||
let c = node.getComponent(Sprite)
|
||||
if (c) c.spriteFrame = _frame
|
||||
}
|
||||
}
|
||||
|
||||
/** 复制到剪切板 */
|
||||
static CopyToClipboard(str:string) {
|
||||
var input = str + '';
|
||||
const el = document.createElement('textarea');
|
||||
el.value = input;
|
||||
el.setAttribute('readonly', '');
|
||||
el.style.contain = 'strict';
|
||||
el.style.position = 'absolute';
|
||||
el.style.left = '-9999px';
|
||||
el.style.fontSize = '12pt'; // Prevent zooming on iOS
|
||||
|
||||
const selection = getSelection();
|
||||
var originalRange = null;
|
||||
if (selection.rangeCount > 0) {
|
||||
originalRange = selection.getRangeAt(0);
|
||||
}
|
||||
document.body.appendChild(el);
|
||||
el.select();
|
||||
el.selectionStart = 0;
|
||||
el.selectionEnd = input.length;
|
||||
|
||||
var success = false;
|
||||
try {
|
||||
success = document.execCommand('copy');
|
||||
} catch (err) {}
|
||||
|
||||
document.body.removeChild(el);
|
||||
|
||||
if (originalRange) {
|
||||
selection.removeAllRanges();
|
||||
selection.addRange(originalRange);
|
||||
}
|
||||
app.manager.ui.showToast("复制成功")
|
||||
return success;
|
||||
}
|
||||
|
||||
/** 获取代理等级本地化 */
|
||||
static GetAgentLvLocalized(agentLv:string, lv :number) {
|
||||
return this.StringFormat(this.GetLocalized(agentLv), lv)
|
||||
}
|
||||
|
||||
/** 设置代理等级图标 */
|
||||
// static SetAgentLvIcon(item:Node, agentLv:string, lv :number) {
|
||||
// if (!AGENT_LV_TO_PIC[agentLv]) return
|
||||
// var icon = "icon" + AGENT_LV_TO_PIC[agentLv] + this.Return2LengthNumber(lv)
|
||||
// this.SetSpriteFrame(item, icon, "Lobby/ui/allagent/icon")
|
||||
// }
|
||||
|
||||
/** 设置子节点代理等级图标 */
|
||||
// static SetChildAgentLvIcon(item:Node, path :string, agentLv:string, lv :number) {
|
||||
// let n = item.getChildByPath(path)
|
||||
// this.SetAgentLvIcon(n, agentLv, lv)
|
||||
// }
|
||||
|
||||
/** 返回两位数 */
|
||||
static Return2LengthNumber(n : number) {
|
||||
return n < 10 ? "0" + n : n.toString()
|
||||
}
|
||||
|
||||
//#endregion
|
||||
|
||||
|
||||
//#region 数学算法
|
||||
static MathClampZeroToOne(value: number): number {
|
||||
return Math.max(0, Math.min(1, value));
|
||||
}
|
||||
|
||||
static MathClamp(value: number, min: number, max: number): number {
|
||||
return Math.max(min, Math.min(max, value));
|
||||
}
|
||||
//#endregion
|
||||
|
||||
|
||||
static OpenWeb(url:string) {
|
||||
const link = document.createElement('a');
|
||||
link.href = url;
|
||||
link.target = '_blank';
|
||||
document.body.appendChild(link);
|
||||
link.click();
|
||||
document.body.removeChild(link);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取指定长度随机字符串
|
||||
*/
|
||||
public static getRandomStr (len:number) {
|
||||
let chars =
|
||||
'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz'
|
||||
let maxPos = chars.length
|
||||
let pwd = ''
|
||||
for (let i = 0; i < len; i++) {
|
||||
pwd += chars.charAt(Math.floor(Math.random() * maxPos))
|
||||
}
|
||||
return pwd
|
||||
}
|
||||
|
||||
/**
|
||||
* 使用 crypto-js 生成签名
|
||||
* @param data - 要签名的数据
|
||||
* @param key - 签名密钥
|
||||
* @param encrypt - 加密算法 (sha1, sha256)
|
||||
* @returns Promise<string> 签名结果
|
||||
*/
|
||||
public static generateSignNative(
|
||||
data: Record<string, string>,
|
||||
key: string,
|
||||
encrypt: string = 'sha256'
|
||||
): Promise<string> {
|
||||
// 1. 对数据进行排序
|
||||
const sortedData = Tools.sortData(data);
|
||||
|
||||
// 2. 构建查询字符串(自定义实现)
|
||||
const queryString = Object.keys(sortedData)
|
||||
.map(k => encodeURIComponent(k) + "=" + encodeURIComponent(sortedData[k]))
|
||||
.join("&");
|
||||
|
||||
// 3. URL解码并拼接密钥
|
||||
const decodedString = decodeURIComponent(queryString);
|
||||
const str = decodedString + key;
|
||||
|
||||
// 4. 根据算法生成签名
|
||||
let hash;
|
||||
switch (encrypt.toLowerCase()) {
|
||||
case 'sha1':
|
||||
hash = CryptoJS.SHA1(str);
|
||||
break;
|
||||
case 'sha256':
|
||||
default:
|
||||
hash = CryptoJS.SHA256(str);
|
||||
break;
|
||||
}
|
||||
|
||||
// 5. 返回十六进制字符串
|
||||
return Promise.resolve(hash.toString(CryptoJS.enc.Hex));
|
||||
}
|
||||
|
||||
// 示例排序函数(你已有的话可以直接用)
|
||||
public static sortData(data: Record<string, string>): Record<string, string> {
|
||||
return Object.keys(data)
|
||||
.sort()
|
||||
.reduce((acc, key) => {
|
||||
acc[key] = data[key];
|
||||
return acc;
|
||||
}, {} as Record<string, string>);
|
||||
}
|
||||
|
||||
|
||||
|
||||
//#region 加密解密
|
||||
/** 解析JWT令牌 */
|
||||
public static parseJWT(token: string) {
|
||||
try {
|
||||
const parts = token.split('.');
|
||||
if (parts.length !== 3) {
|
||||
throw new Error('Invalid JWT token');
|
||||
}
|
||||
|
||||
// 解码 payload 部分(第二部分)
|
||||
const payload = JSON.parse(atob(parts[1]));
|
||||
return payload;
|
||||
} catch (error) {
|
||||
console.error('Failed to parse JWT token:', error);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 解密 DES-ECB 模式加密的数据
|
||||
* @param encryptedData base64编码的加密数据
|
||||
* @param secretKey 8位密钥
|
||||
* @returns 解密后的字符串
|
||||
*/
|
||||
static desEcbDecrypt(encryptedData: string, secretKey: string): string {
|
||||
try {
|
||||
// 确保密钥为8位 (PHP的openssl_encrypt会自动截取前8位)
|
||||
const key = secretKey.length > 8 ? secretKey.substring(0, 8) : this.padKey(secretKey, 8);
|
||||
|
||||
// 创建CryptoJS格式的密钥
|
||||
const keyWordArray = CryptoJS.enc.Utf8.parse(key);
|
||||
|
||||
// 解密
|
||||
const decrypted = CryptoJS.DES.decrypt(
|
||||
encryptedData,
|
||||
keyWordArray,
|
||||
{
|
||||
mode: CryptoJS.mode.ECB,
|
||||
padding: CryptoJS.pad.Pkcs7
|
||||
}
|
||||
);
|
||||
|
||||
return decrypted.toString(CryptoJS.enc.Utf8);
|
||||
} catch (error) {
|
||||
console.error('DES-ECB decryption failed:', error);
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 加密 DES-ECB 模式数据
|
||||
* @param data 待加密的数据
|
||||
* @param secretKey 8位密钥
|
||||
* @returns base64编码的加密数据
|
||||
*/
|
||||
static desEcbEncrypt(data: string, secretKey: string): string {
|
||||
try {
|
||||
// 确保密钥为8位
|
||||
const key = secretKey.length > 8 ? secretKey.substring(0, 8) : this.padKey(secretKey, 8);
|
||||
|
||||
// 创建CryptoJS格式的密钥
|
||||
const keyWordArray = CryptoJS.enc.Utf8.parse(key);
|
||||
|
||||
// 加密
|
||||
const encrypted = CryptoJS.DES.encrypt(
|
||||
data,
|
||||
keyWordArray,
|
||||
{
|
||||
mode: CryptoJS.mode.ECB,
|
||||
padding: CryptoJS.pad.Pkcs7
|
||||
}
|
||||
);
|
||||
|
||||
return encrypted.toString();
|
||||
} catch (error) {
|
||||
console.error('DES-ECB encryption failed:', error);
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 补齐或截断密钥到指定长度
|
||||
* @param key 原始密钥
|
||||
* @param length 目标长度
|
||||
*/
|
||||
private static padKey(key: string, length: number): string {
|
||||
if (key.length > length) {
|
||||
return key.substring(0, length);
|
||||
} else if (key.length < length) {
|
||||
while (key.length < length) {
|
||||
key += '\0'; // 用null字符补齐
|
||||
}
|
||||
return key;
|
||||
}
|
||||
return key;
|
||||
}
|
||||
|
||||
/**
|
||||
* 3DES-ECB 解密 (Triple DES)
|
||||
* @param encryptedData base64编码的加密数据
|
||||
* @param secretKey 24位密钥 (3DES需要24字节密钥)
|
||||
* @returns 解密后的字符串
|
||||
*/
|
||||
static tripleDesEcbDecrypt(encryptedData: string, secretKey: string): string {
|
||||
try {
|
||||
// 确保密钥为24位
|
||||
const key = this.padKey(secretKey, 24);
|
||||
|
||||
// 创建CryptoJS格式的密钥
|
||||
const keyWordArray = CryptoJS.enc.Utf8.parse(key);
|
||||
|
||||
// 解密
|
||||
const decrypted = CryptoJS.TripleDES.decrypt(
|
||||
encryptedData,
|
||||
keyWordArray,
|
||||
{
|
||||
mode: CryptoJS.mode.ECB,
|
||||
padding: CryptoJS.pad.Pkcs7
|
||||
}
|
||||
);
|
||||
|
||||
return decrypted.toString(CryptoJS.enc.Utf8);
|
||||
} catch (error) {
|
||||
console.error('3DES-ECB decryption failed:', error);
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 3DES-ECB 加密 (Triple DES)
|
||||
* @param data 待加密的数据
|
||||
* @param secretKey 24位密钥
|
||||
* @returns base64编码的加密数据
|
||||
*/
|
||||
static tripleDesEcbEncrypt(data: string, secretKey: string): string {
|
||||
try {
|
||||
// 确保密钥为24位
|
||||
const key = this.padKey(secretKey, 24);
|
||||
|
||||
// 创建CryptoJS格式的密钥
|
||||
const keyWordArray = CryptoJS.enc.Utf8.parse(key);
|
||||
|
||||
// 加密
|
||||
const encrypted = CryptoJS.TripleDES.encrypt(
|
||||
data,
|
||||
keyWordArray,
|
||||
{
|
||||
mode: CryptoJS.mode.ECB,
|
||||
padding: CryptoJS.pad.Pkcs7
|
||||
}
|
||||
);
|
||||
|
||||
return encrypted.toString();
|
||||
} catch (error) {
|
||||
console.error('3DES-ECB encryption failed:', error);
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
//#endregion
|
||||
}
|
||||
9
assets/res-native/tools/Tools.ts.meta
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.24",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "20f5e370-8629-444b-85bb-ebe2ee037cff",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
||||