Commit 2767d079 authored by Nguyễn Quang Sáng's avatar Nguyễn Quang Sáng

9/8/2023 commit

parent 7f8d940a
{
"__type__": "cc.AnimationClip",
"_name": "ButtonPlay",
"_objFlags": 0,
"_native": "",
"_duration": 0.16666666666666666,
"sample": 60,
"speed": 0.1,
"wrapMode": 2,
"curveData": {
"props": {
"scale": [
{
"frame": 0,
"value": {
"__type__": "cc.Vec3",
"x": 0.8,
"y": 0.8,
"z": 0.873
}
},
{
"frame": 0.08333333333333333,
"value": {
"__type__": "cc.Vec3",
"x": 0.7,
"y": 0.7,
"z": 0.873
}
},
{
"frame": 0.16666666666666666,
"value": {
"__type__": "cc.Vec3",
"x": 0.7900040000056462,
"y": 0.7900040000056462,
"z": 0.873
}
}
]
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.2",
"uuid": "cdd720b4-3c5b-4ab1-a256-4bb7dea5f6df",
"importer": "animation-clip",
"subMetas": {}
}
\ No newline at end of file
......@@ -3,7 +3,7 @@
"_name": "DogHurt",
"_objFlags": 0,
"_native": "",
"_duration": 1.5,
"_duration": 2.0166666666666666,
"sample": 60,
"speed": 1,
"wrapMode": 1,
......@@ -12,37 +12,37 @@
"cc.Sprite": {
"spriteFrame": [
{
"frame": 0,
"frame": -0.08333333333333333,
"value": {
"__uuid__": "4ff76bbf-c911-4902-91c9-ef49bf98c729"
}
},
{
"frame": 0.5166666666666667,
"frame": 0.7833333333333333,
"value": {
"__uuid__": "38c79659-6b2e-47c5-91bf-67ad64c2df64"
}
},
{
"frame": 0.7666666666666667,
"frame": 1.1333333333333333,
"value": {
"__uuid__": "fc34febd-017d-4959-824a-5ce4fec06ef7"
}
},
{
"frame": 1,
"frame": 1.4333333333333333,
"value": {
"__uuid__": "38c79659-6b2e-47c5-91bf-67ad64c2df64"
}
},
{
"frame": 1.2666666666666666,
"frame": 1.75,
"value": {
"__uuid__": "fc34febd-017d-4959-824a-5ce4fec06ef7"
}
},
{
"frame": 1.4833333333333334,
"frame": 2,
"value": {
"__uuid__": "38c79659-6b2e-47c5-91bf-67ad64c2df64"
}
......
{
"__type__": "cc.AnimationClip",
"_name": "DogRun",
"_objFlags": 0,
"_native": "",
"_duration": 6.833333333333333,
"sample": 60,
"speed": 1,
"wrapMode": 2,
"curveData": {
"props": {
"x": [
{
"frame": 0,
"value": -393
},
{
"frame": 0.26666666666666666,
"value": -320.306
},
{
"frame": 2.8833333333333333,
"value": 393
},
{
"frame": 3.1166666666666667,
"value": 393
},
{
"frame": 6.233333333333333,
"value": -393
}
],
"scaleX": [
{
"frame": 2.8833333333333333,
"value": -1.465
},
{
"frame": 3.1166666666666667,
"value": 1.465
}
],
"y": [
{
"frame": 0,
"value": 0
},
{
"frame": 0.26666666666666666,
"value": 30
},
{
"frame": 0.5,
"value": 0
},
{
"frame": 0.7333333333333333,
"value": 30
},
{
"frame": 0.9666666666666667,
"value": 0
},
{
"frame": 1.1666666666666667,
"value": 30
},
{
"frame": 1.3833333333333333,
"value": 0
},
{
"frame": 1.6166666666666667,
"value": 30
},
{
"frame": 1.8333333333333333,
"value": 0
},
{
"frame": 2.05,
"value": 30
},
{
"frame": 2.316666666666667,
"value": 0
},
{
"frame": 2.5833333333333335,
"value": 30
},
{
"frame": 2.8833333333333333,
"value": 0
},
{
"frame": 3.1333333333333333,
"value": 0
},
{
"frame": 3.433333333333333,
"value": 30
},
{
"frame": 3.6666666666666665,
"value": 0
},
{
"frame": 3.9,
"value": 30
},
{
"frame": 4.133333333333334,
"value": 0
},
{
"frame": 4.333333333333333,
"value": 30
},
{
"frame": 4.55,
"value": 0
},
{
"frame": 4.783333333333333,
"value": 30
},
{
"frame": 5,
"value": 0
},
{
"frame": 5.216666666666667,
"value": 30
},
{
"frame": 5.483333333333333,
"value": 0
},
{
"frame": 5.75,
"value": 30
},
{
"frame": 5.966666666666667,
"value": 0
}
]
},
"comps": {
"cc.Sprite": {
"spriteFrame": [
{
"frame": 0,
"value": {
"__uuid__": "2a754951-3650-498a-accc-d669476f80dc"
}
},
{
"frame": 0.2,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 0.38333333333333336,
"value": {
"__uuid__": "3540dbbf-d26c-4074-811c-052d7507479b"
}
},
{
"frame": 0.6333333333333333,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 0.8833333333333333,
"value": {
"__uuid__": "2a754951-3650-498a-accc-d669476f80dc"
}
},
{
"frame": 1.1333333333333333,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 1.3666666666666667,
"value": {
"__uuid__": "3540dbbf-d26c-4074-811c-052d7507479b"
}
},
{
"frame": 1.6,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 1.8333333333333333,
"value": {
"__uuid__": "2a754951-3650-498a-accc-d669476f80dc"
}
},
{
"frame": 2.1,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 2.3333333333333335,
"value": {
"__uuid__": "3540dbbf-d26c-4074-811c-052d7507479b"
}
},
{
"frame": 2.566666666666667,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 2.7666666666666666,
"value": {
"__uuid__": "2a754951-3650-498a-accc-d669476f80dc"
}
},
{
"frame": 2.9166666666666665,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 3.1166666666666667,
"value": {
"__uuid__": "3540dbbf-d26c-4074-811c-052d7507479b"
}
},
{
"frame": 3.3333333333333335,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 3.65,
"value": {
"__uuid__": "2a754951-3650-498a-accc-d669476f80dc"
}
},
{
"frame": 3.9166666666666665,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 4.2,
"value": {
"__uuid__": "3540dbbf-d26c-4074-811c-052d7507479b"
}
},
{
"frame": 4.433333333333334,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 4.666666666666667,
"value": {
"__uuid__": "2a754951-3650-498a-accc-d669476f80dc"
}
},
{
"frame": 4.933333333333334,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 5.166666666666667,
"value": {
"__uuid__": "3540dbbf-d26c-4074-811c-052d7507479b"
}
},
{
"frame": 5.4,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 5.6,
"value": {
"__uuid__": "2a754951-3650-498a-accc-d669476f80dc"
}
},
{
"frame": 5.75,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 5.95,
"value": {
"__uuid__": "3540dbbf-d26c-4074-811c-052d7507479b"
}
},
{
"frame": 6.166666666666667,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 6.483333333333333,
"value": {
"__uuid__": "2a754951-3650-498a-accc-d669476f80dc"
}
},
{
"frame": 6.816666666666666,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
}
]
}
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.2",
"uuid": "459e4cf2-5702-4b6b-8a19-c7afc487f0c1",
"importer": "animation-clip",
"subMetas": {}
}
\ No newline at end of file
......@@ -3,7 +3,7 @@
"_name": "DogScare",
"_objFlags": 0,
"_native": "",
"_duration": 1.9833333333333334,
"_duration": 2.816666666666667,
"sample": 60,
"speed": 1.5,
"wrapMode": 2,
......@@ -18,28 +18,46 @@
}
},
{
"frame": 0.5,
"frame": 0.4166666666666667,
"value": {
"__uuid__": "2a754951-3650-498a-accc-d669476f80dc"
}
},
{
"frame": 1,
"frame": 0.8166666666666667,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 1.25,
"value": {
"__uuid__": "3540dbbf-d26c-4074-811c-052d7507479b"
}
},
{
"frame": 1.5333333333333334,
"frame": 1.6666666666666667,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 2.066666666666667,
"value": {
"__uuid__": "2a754951-3650-498a-accc-d669476f80dc"
}
},
{
"frame": 1.9666666666666666,
"frame": 2.4166666666666665,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 2.8,
"value": {
"__uuid__": "3540dbbf-d26c-4074-811c-052d7507479b"
}
}
]
}
......
{
"__type__": "cc.AnimationClip",
"_name": "Logo",
"_objFlags": 0,
"_native": "",
"_duration": 0.16666666666666666,
"sample": 60,
"speed": 0.1,
"wrapMode": 2,
"curveData": {
"props": {
"scale": [
{
"frame": 0,
"value": {
"__type__": "cc.Vec3",
"x": 0.9,
"y": 0.9,
"z": 0.783
}
},
{
"frame": 0.08333333333333333,
"value": {
"__type__": "cc.Vec3",
"x": 0.7,
"y": 0.7,
"z": 0.783
}
},
{
"frame": 0.11666666666666667,
"value": {
"__type__": "cc.Vec3",
"x": 0.78,
"y": 0.78,
"z": 0.783
}
},
{
"frame": 0.16666666666666666,
"value": {
"__type__": "cc.Vec3",
"x": 0.9,
"y": 0.9,
"z": 0.783
}
}
]
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.2",
"uuid": "a8cfbcf2-dd40-41db-8f71-3ddac85f8f2d",
"importer": "animation-clip",
"subMetas": {}
}
\ No newline at end of file
{
"__type__": "cc.AnimationClip",
"_name": "ShopIcon",
"_objFlags": 0,
"_native": "",
"_duration": 0.1,
"sample": 60,
"speed": 0.1,
"wrapMode": 2,
"curveData": {
"props": {
"angle": [
{
"frame": 0,
"value": 0
},
{
"frame": 0.05,
"value": -15
},
{
"frame": 0.1,
"value": 0
}
]
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.2",
"uuid": "5a157f58-8286-4e29-8978-217f4af51fd2",
"importer": "animation-clip",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.3",
"uuid": "7908105f-6181-44c4-bb03-0886ad7df53b",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "0481a3d3-282a-499e-b2f1-c53edc40ac4c",
"importer": "ttf-font",
"subMetas": {}
}
\ No newline at end of file
......@@ -25,22 +25,16 @@
},
{
"__id__": 17
},
{
"__id__": 20
},
{
"__id__": 25
}
],
"_active": true,
"_components": [
{
"__id__": 28
"__id__": 30
}
],
"_prefab": {
"__id__": 29
"__id__": 31
},
"_opacity": 255,
"_color": {
......@@ -577,8 +571,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
171.706,
779.82,
131.228,
670.705,
0,
0,
0,
......@@ -784,20 +778,90 @@
},
{
"__type__": "cc.Node",
"_name": "Brick",
"_name": "Blocks",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 18
},
{
"__id__": 21
},
{
"__id__": 26
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 29
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
2.624,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "Line",
"_objFlags": 0,
"_parent": {
"__id__": 17
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 18
"__id__": 19
}
],
"_prefab": {
"__id__": 19
"__id__": 20
},
"_opacity": 255,
"_color": {
......@@ -810,7 +874,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 640,
"height": 200
"height": 5
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -821,8 +885,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
320.119,
100,
319.794,
218,
0,
0,
0,
......@@ -851,7 +915,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
"__id__": 18
},
"_enabled": true,
"_materials": [
......@@ -862,7 +926,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "38b773db-825e-473b-a2b7-df614b3f41e8"
"__uuid__": "b017deb0-3c65-4f98-b1ad-163c1241a359"
},
"_type": 0,
"_sizeMode": 0,
......@@ -886,7 +950,7 @@
"asset": {
"__id__": 0
},
"fileId": "92E5Uv7SBA4ay2i86CvRLj",
"fileId": "58y2eJnlJPb7kdeTjFQmQK",
"sync": false
},
{
......@@ -894,23 +958,23 @@
"_name": "Grass",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 17
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 21
},
{
"__id__": 22
},
{
"__id__": 23
},
{
"__id__": 24
}
],
"_prefab": {
"__id__": 24
"__id__": 25
},
"_opacity": 255,
"_color": {
......@@ -935,7 +999,7 @@
"ctor": "Float64Array",
"array": [
320.06,
209.063,
207,
0,
0,
0,
......@@ -964,7 +1028,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
"__id__": 21
},
"_enabled": true,
"_materials": [
......@@ -996,7 +1060,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
"__id__": 21
},
"_enabled": true,
"_type": 1,
......@@ -1021,7 +1085,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
"__id__": 21
},
"_enabled": true,
"tag": 0,
......@@ -1050,25 +1114,25 @@
"asset": {
"__id__": 0
},
"fileId": "cd3weXNZtET7JFturxifXF",
"fileId": "1bd4vhNzZGP5zqmpVcFgkZ",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "Line",
"_name": "Brick",
"_objFlags": 0,
"_parent": {
"__id__": 1
"__id__": 17
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 26
"__id__": 27
}
],
"_prefab": {
"__id__": 27
"__id__": 28
},
"_opacity": 255,
"_color": {
......@@ -1081,7 +1145,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 640,
"height": 5
"height": 200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -1092,8 +1156,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
319.794,
221.544,
320.119,
97,
0,
0,
0,
......@@ -1122,7 +1186,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 25
"__id__": 26
},
"_enabled": true,
"_materials": [
......@@ -1133,7 +1197,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b017deb0-3c65-4f98-b1ad-163c1241a359"
"__uuid__": "38b773db-825e-473b-a2b7-df614b3f41e8"
},
"_type": 0,
"_sizeMode": 0,
......@@ -1157,7 +1221,18 @@
"asset": {
"__id__": 0
},
"fileId": "c54zdQGrZNPYORmsGmD+S1",
"fileId": "35fK8JARlIsIH/A3C8VlGv",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "924xVC1U9AfqRqHoiSdHnV",
"sync": false
},
{
......
{
"ver": "2.3.7",
"uuid": "2f87cd92-1740-43ee-b0ef-a3b0aeddf4fe",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 468,
"height": 31,
"platformSettings": {},
"subMetas": {
"bar": {
"ver": "1.0.6",
"uuid": "f860ba05-7100-4977-843f-1c41d32f959f",
"importer": "sprite-frame",
"rawTextureUuid": "2f87cd92-1740-43ee-b0ef-a3b0aeddf4fe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 468,
"height": 31,
"rawWidth": 468,
"rawHeight": 31,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "cdabde03-368f-45eb-a2aa-659ec805f6ca",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 69,
"height": 68,
"platformSettings": {},
"subMetas": {
"button_back": {
"ver": "1.0.6",
"uuid": "ea32a087-fddd-437d-940f-9325a4483eb6",
"importer": "sprite-frame",
"rawTextureUuid": "cdabde03-368f-45eb-a2aa-659ec805f6ca",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 69,
"height": 68,
"rawWidth": 69,
"rawHeight": 68,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "ed2ae486-027b-404b-8efa-53c1e95903b9",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 121,
"height": 121,
"platformSettings": {},
"subMetas": {
"button_levels": {
"ver": "1.0.6",
"uuid": "d1a4b7ff-0d89-40fc-81f0-144e20516918",
"importer": "sprite-frame",
"rawTextureUuid": "ed2ae486-027b-404b-8efa-53c1e95903b9",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 121,
"height": 121,
"rawWidth": 121,
"rawHeight": 121,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "3bfb0e27-4c80-4927-9f4b-8875321b3e8b",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 273,
"height": 273,
"platformSettings": {},
"subMetas": {
"button_play": {
"ver": "1.0.6",
"uuid": "6c5ddeeb-d536-4c8b-8dd9-f4634c7afddb",
"importer": "sprite-frame",
"rawTextureUuid": "3bfb0e27-4c80-4927-9f4b-8875321b3e8b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 273,
"height": 273,
"rawWidth": 273,
"rawHeight": 273,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "5e90b39e-b7a1-4bd8-bda6-c98c7b6e256f",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 67,
"height": 68,
"platformSettings": {},
"subMetas": {
"button_replay": {
"ver": "1.0.6",
"uuid": "20c873f2-dd17-4b2e-ae08-782fd94b7ecc",
"importer": "sprite-frame",
"rawTextureUuid": "5e90b39e-b7a1-4bd8-bda6-c98c7b6e256f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 67,
"height": 68,
"rawWidth": 67,
"rawHeight": 68,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "28dca271-46d2-4c23-806d-3fc016372eb8",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 71,
"height": 70,
"platformSettings": {},
"subMetas": {
"coin": {
"ver": "1.0.6",
"uuid": "a842eb48-4afe-45c0-892a-92a4ebeabdd3",
"importer": "sprite-frame",
"rawTextureUuid": "28dca271-46d2-4c23-806d-3fc016372eb8",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 71,
"height": 70,
"rawWidth": 71,
"rawHeight": 70,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "8ece9176-5867-4721-b995-e37f08b75d5d",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 402,
"height": 84,
"platformSettings": {},
"subMetas": {
"limit_bar_1": {
"ver": "1.0.6",
"uuid": "cbffcf58-2926-4f06-b92d-2d1b8b8cb50c",
"importer": "sprite-frame",
"rawTextureUuid": "8ece9176-5867-4721-b995-e37f08b75d5d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 402,
"height": 84,
"rawWidth": 402,
"rawHeight": 84,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "2b15ebce-6040-4700-9757-17d8452fade3",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 402,
"height": 84,
"platformSettings": {},
"subMetas": {
"limit_bar_2": {
"ver": "1.0.6",
"uuid": "d629670c-4b1a-42a5-8f0c-5c4f041e6ba3",
"importer": "sprite-frame",
"rawTextureUuid": "2b15ebce-6040-4700-9757-17d8452fade3",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 402,
"height": 84,
"rawWidth": 402,
"rawHeight": 84,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "79475375-9e5e-4914-abb1-9932927d638c",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 402,
"height": 84,
"platformSettings": {},
"subMetas": {
"limit_bar_3": {
"ver": "1.0.6",
"uuid": "70ae1395-b255-41a4-8dff-b79be0a7b367",
"importer": "sprite-frame",
"rawTextureUuid": "79475375-9e5e-4914-abb1-9932927d638c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 402,
"height": 84,
"rawWidth": 402,
"rawHeight": 84,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "6021a2da-5cc9-4ce7-845f-e90bace7d709",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 679,
"height": 209,
"platformSettings": {},
"subMetas": {
"logo": {
"ver": "1.0.6",
"uuid": "a5348516-3a04-41ee-9069-927eb96625c9",
"importer": "sprite-frame",
"rawTextureUuid": "6021a2da-5cc9-4ce7-845f-e90bace7d709",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 679,
"height": 209,
"rawWidth": 679,
"rawHeight": 209,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "f317174d-c111-4dd5-8583-ce7dfd54bd8c",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 82,
"height": 80,
"platformSettings": {},
"subMetas": {
"shop_icon": {
"ver": "1.0.6",
"uuid": "aa059260-4532-4a37-8640-eaf38b454040",
"importer": "sprite-frame",
"rawTextureUuid": "f317174d-c111-4dd5-8583-ce7dfd54bd8c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 82,
"height": 80,
"rawWidth": 82,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "5cba4c53-4236-4091-8526-47a674a874ef",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 63,
"height": 125,
"platformSettings": {},
"subMetas": {
"shop_zone": {
"ver": "1.0.6",
"uuid": "37e91c24-1774-4125-a548-9ad70e10bf67",
"importer": "sprite-frame",
"rawTextureUuid": "5cba4c53-4236-4091-8526-47a674a874ef",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 125,
"height": 63,
"rawWidth": 125,
"rawHeight": 63,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "eced9c2a-3097-4b41-93a5-ae1eccaac0c8",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 120,
"height": 121,
"platformSettings": {},
"subMetas": {
"sound_off": {
"ver": "1.0.6",
"uuid": "d2abbacf-3959-4e3a-9fb7-5c1527a74dda",
"importer": "sprite-frame",
"rawTextureUuid": "eced9c2a-3097-4b41-93a5-ae1eccaac0c8",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 120,
"height": 121,
"rawWidth": 120,
"rawHeight": 121,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "26929fb9-17e1-462e-9107-2cb9e5e12154",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 120,
"height": 121,
"platformSettings": {},
"subMetas": {
"sound_on": {
"ver": "1.0.6",
"uuid": "65a2b7d8-d4e8-4571-aedb-766db7693820",
"importer": "sprite-frame",
"rawTextureUuid": "26929fb9-17e1-462e-9107-2cb9e5e12154",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 120,
"height": 121,
"rawWidth": 120,
"rawHeight": 121,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "91ad7b67-13a2-43a8-a943-c2f5d5d71818",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 61,
"height": 62,
"platformSettings": {},
"subMetas": {
"star": {
"ver": "1.0.6",
"uuid": "ac7a712d-6c9e-4e9f-b3f0-648b2264b024",
"importer": "sprite-frame",
"rawTextureUuid": "91ad7b67-13a2-43a8-a943-c2f5d5d71818",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 61,
"height": 62,
"rawWidth": 61,
"rawHeight": 62,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
......@@ -13,10 +13,10 @@ export default class Bee extends cc.Component {
velocity: cc.Vec2 = cc.v2(0, 0);
onBeginContact(contact, selfCollider, otherCollider) {
if (otherCollider.tag == 0) {
if (otherCollider.tag == 1 || otherCollider.tag == 0) {
this.node.getComponent(cc.RigidBody).linearVelocity = cc.v2(
this.velocity.x - 50,
this.velocity.y - 50
this.velocity.x,
this.velocity.y
);
this.timer = 0.3;
}
......
import Bee from "./Bee";
import Dog from "./Dog";
import Hole from "./Hole";
import LimitBar from "./LimitBar";
const { ccclass, property } = cc._decorator;
......@@ -41,15 +42,14 @@ export default class GamePlay extends cc.Component {
this.rb = this.draw.addComponent(cc.RigidBody);
this.rb.type = cc.RigidBodyType.Static;
this.chain = this.draw.addComponent(cc.PhysicsChainCollider);
this.chain.points = [event.getLocation()];
}
onTouchMove(event) {
if (this.isDrawing) {
this.chain.points.push(event.getLocation());
this.drawLine();
LimitBar.instance.fillTheBar();
}
}
......@@ -71,7 +71,7 @@ export default class GamePlay extends cc.Component {
lineComponent = this.draw.addComponent(cc.Graphics);
lineComponent.strokeColor = cc.Color.BLACK;
lineComponent.lineWidth = 10;
lineComponent.lineWidth = 13;
for (let i = 0; i < this.chain.points.length - 1; i++) {
let p1 = this.chain.points[i];
......
const { ccclass, property } = cc._decorator;
@ccclass
export default class LimitBar extends cc.Component {
@property(cc.Sprite) barSprite: cc.Sprite = null;
@property(cc.SpriteFrame) limitBarSprite1: cc.SpriteFrame = null;
@property(cc.SpriteFrame) limitBarSprite2: cc.SpriteFrame = null;
static instance: LimitBar;
progress: number;
protected onLoad(): void {
LimitBar.instance = this;
this.progress = 1;
this.barSprite.fillRange = this.progress;
}
fillTheBar() {
this.progress -= 0.004;
this.barSprite.fillRange = this.progress;
if (this.progress <= 0.6) {
this.getComponent(cc.Sprite).spriteFrame = this.limitBarSprite1;
}
if (this.progress <= 0.3) {
this.getComponent(cc.Sprite).spriteFrame = this.limitBarSprite2;
}
}
}
{
"ver": "1.1.0",
"uuid": "b26c69da-0f17-4079-ad68-8e3045834aea",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment