Commit 50258d9c authored by Nguyễn Quang Sáng's avatar Nguyễn Quang Sáng

first commit

parents
Pipeline #1685 failed with stages
#/////////////////////////////////////////////////////////////////////////////
# Fireball Projects
#/////////////////////////////////////////////////////////////////////////////
/library/
/temp/
/local/
/build/
native
#/////////////////////////////////////////////////////////////////////////////
# npm files
#/////////////////////////////////////////////////////////////////////////////
npm-debug.log
node_modules/
#/////////////////////////////////////////////////////////////////////////////
# Logs and databases
#/////////////////////////////////////////////////////////////////////////////
*.log
*.sql
*.sqlite
#/////////////////////////////////////////////////////////////////////////////
# files for debugger
#/////////////////////////////////////////////////////////////////////////////
*.sln
*.csproj
*.pidb
*.unityproj
*.suo
#/////////////////////////////////////////////////////////////////////////////
# OS generated files
#/////////////////////////////////////////////////////////////////////////////
.DS_Store
ehthumbs.db
Thumbs.db
#/////////////////////////////////////////////////////////////////////////////
# WebStorm files
#/////////////////////////////////////////////////////////////////////////////
.idea/
#//////////////////////////
# VS Code files
#//////////////////////////
.vscode/
{
"ver": "1.1.3",
"uuid": "b8dc099f-cc27-4996-b10b-bde70d31b87e",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"__type__": "cc.AnimationClip",
"_name": "Bee",
"_objFlags": 0,
"_native": "",
"_duration": 2.8,
"sample": 60,
"speed": 10,
"wrapMode": 2,
"curveData": {
"comps": {
"cc.Sprite": {
"spriteFrame": [
{
"frame": 0.05,
"value": {
"__uuid__": "264c6bfd-3067-4b18-a163-8e00eb566c68"
}
},
{
"frame": 0.38333333333333336,
"value": {
"__uuid__": "bbc8fe64-103d-4831-870e-e756b857b070"
}
},
{
"frame": 0.43333333333333335,
"value": {
"__uuid__": "bbc8fe64-103d-4831-870e-e756b857b070"
}
},
{
"frame": 0.7333333333333333,
"value": {
"__uuid__": "9b359446-7bdd-4c2d-a737-6f62d5376fe2"
}
},
{
"frame": 1.0833333333333333,
"value": {
"__uuid__": "f5da1c50-88a5-4f34-9deb-3e927ffb26eb"
}
},
{
"frame": 1.4333333333333333,
"value": {
"__uuid__": "a24efe41-5d5b-4fcd-be33-9c6cc9fa19a9"
}
},
{
"frame": 1.7833333333333334,
"value": {
"__uuid__": "f5da1c50-88a5-4f34-9deb-3e927ffb26eb"
}
},
{
"frame": 2.1166666666666667,
"value": {
"__uuid__": "9b359446-7bdd-4c2d-a737-6f62d5376fe2"
}
},
{
"frame": 2.45,
"value": {
"__uuid__": "bbc8fe64-103d-4831-870e-e756b857b070"
}
},
{
"frame": 2.783333333333333,
"value": {
"__uuid__": "264c6bfd-3067-4b18-a163-8e00eb566c68"
}
}
]
}
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.2",
"uuid": "9210cdc7-bcf0-4f0c-bba1-7359ac324c0e",
"importer": "animation-clip",
"subMetas": {}
}
\ No newline at end of file
{
"__type__": "cc.AnimationClip",
"_name": "DogHurt",
"_objFlags": 0,
"_native": "",
"_duration": 1.95,
"sample": 60,
"speed": 1,
"wrapMode": 2,
"curveData": {
"comps": {
"cc.Sprite": {
"spriteFrame": [
{
"frame": 0,
"value": {
"__uuid__": "38c79659-6b2e-47c5-91bf-67ad64c2df64"
}
},
{
"frame": 0.4666666666666667,
"value": {
"__uuid__": "fc34febd-017d-4959-824a-5ce4fec06ef7"
}
},
{
"frame": 0.9833333333333333,
"value": {
"__uuid__": "38c79659-6b2e-47c5-91bf-67ad64c2df64"
}
},
{
"frame": 1.4833333333333334,
"value": {
"__uuid__": "fc34febd-017d-4959-824a-5ce4fec06ef7"
}
},
{
"frame": 1.9333333333333333,
"value": {
"__uuid__": "38c79659-6b2e-47c5-91bf-67ad64c2df64"
}
}
]
}
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.2",
"uuid": "e912ae40-0d1e-48f8-8d19-83f8d215dbd4",
"importer": "animation-clip",
"subMetas": {}
}
\ No newline at end of file
{
"__type__": "cc.AnimationClip",
"_name": "DogIdle",
"_objFlags": 0,
"_native": "",
"_duration": 0.9333333333333333,
"sample": 60,
"speed": 0.3,
"wrapMode": 2,
"curveData": {
"comps": {
"cc.Sprite": {
"spriteFrame": [
{
"frame": 0,
"value": {
"__uuid__": "fa88432e-2413-4fb7-8239-25cbf06c5dec"
}
},
{
"frame": 0.08333333333333333,
"value": {
"__uuid__": "a1adb1f7-eaed-408b-9b93-d3d06b3fe100"
}
},
{
"frame": 0.16666666666666666,
"value": {
"__uuid__": "5ee74866-9f76-408a-8a64-7bed6f2fc6b7"
}
},
{
"frame": 0.25,
"value": {
"__uuid__": "a834114f-c659-48ff-b688-dfb0056b810a"
}
},
{
"frame": 0.3333333333333333,
"value": {
"__uuid__": "02c8c456-56f8-440d-a5e0-9e2c4259090c"
}
},
{
"frame": 0.4166666666666667,
"value": {
"__uuid__": "a834114f-c659-48ff-b688-dfb0056b810a"
}
},
{
"frame": 0.5,
"value": {
"__uuid__": "5c21b6d2-5f4c-4b6c-bff5-94cd75a5b2da"
}
},
{
"frame": 0.5833333333333334,
"value": {
"__uuid__": "5ee74866-9f76-408a-8a64-7bed6f2fc6b7"
}
},
{
"frame": 0.6666666666666666,
"value": {
"__uuid__": "a1adb1f7-eaed-408b-9b93-d3d06b3fe100"
}
},
{
"frame": 0.75,
"value": {
"__uuid__": "fa88432e-2413-4fb7-8239-25cbf06c5dec"
}
},
{
"frame": 0.8333333333333334,
"value": {
"__uuid__": "02c8c456-56f8-440d-a5e0-9e2c4259090c"
}
},
{
"frame": 0.9166666666666666,
"value": {
"__uuid__": "a834114f-c659-48ff-b688-dfb0056b810a"
}
}
]
}
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.2",
"uuid": "290ab410-a8d5-48d8-823a-18a941908c17",
"importer": "animation-clip",
"subMetas": {}
}
\ No newline at end of file
{
"__type__": "cc.AnimationClip",
"_name": "DogScare",
"_objFlags": 0,
"_native": "",
"_duration": 1.9833333333333334,
"sample": 60,
"speed": 1.5,
"wrapMode": 2,
"curveData": {
"comps": {
"cc.Sprite": {
"spriteFrame": [
{
"frame": 0,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
},
{
"frame": 0.5,
"value": {
"__uuid__": "2a754951-3650-498a-accc-d669476f80dc"
}
},
{
"frame": 1,
"value": {
"__uuid__": "3540dbbf-d26c-4074-811c-052d7507479b"
}
},
{
"frame": 1.5333333333333334,
"value": {
"__uuid__": "2a754951-3650-498a-accc-d669476f80dc"
}
},
{
"frame": 1.9666666666666666,
"value": {
"__uuid__": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7"
}
}
]
}
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.2",
"uuid": "b8789b21-46a2-4096-b3f3-87e769faf7db",
"importer": "animation-clip",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.3",
"uuid": "a2bfcf27-5e86-46be-9cc6-c074e7856bfe",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.3",
"uuid": "7dfc3a90-bddd-45a0-9006-73d01d52fb8d",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.3.2",
"uuid": "798b0754-533c-46c4-a8e4-1c84c0820477",
"importer": "prefab",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.3",
"uuid": "b31e60b7-5228-4302-94f5-8b7477149332",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "ce21a6e0-518f-4846-be7e-f2072924b322",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 50,
"height": 40,
"platformSettings": {},
"subMetas": {
"bee_0": {
"ver": "1.0.6",
"uuid": "264c6bfd-3067-4b18-a163-8e00eb566c68",
"importer": "sprite-frame",
"rawTextureUuid": "ce21a6e0-518f-4846-be7e-f2072924b322",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 50,
"height": 40,
"rawWidth": 50,
"rawHeight": 40,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "9696d3dc-db23-487e-945c-8c200df4edb0",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 50,
"height": 33,
"platformSettings": {},
"subMetas": {
"bee_1": {
"ver": "1.0.6",
"uuid": "bbc8fe64-103d-4831-870e-e756b857b070",
"importer": "sprite-frame",
"rawTextureUuid": "9696d3dc-db23-487e-945c-8c200df4edb0",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 50,
"height": 33,
"rawWidth": 50,
"rawHeight": 33,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "5c0efb9a-4d17-4eed-b07f-981522c7583c",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 50,
"height": 29,
"platformSettings": {},
"subMetas": {
"bee_2": {
"ver": "1.0.6",
"uuid": "9b359446-7bdd-4c2d-a737-6f62d5376fe2",
"importer": "sprite-frame",
"rawTextureUuid": "5c0efb9a-4d17-4eed-b07f-981522c7583c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 50,
"height": 29,
"rawWidth": 50,
"rawHeight": 29,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "bcc0c21e-794d-4277-8251-e766602bac2c",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 50,
"height": 29,
"platformSettings": {},
"subMetas": {
"bee_3": {
"ver": "1.0.6",
"uuid": "f5da1c50-88a5-4f34-9deb-3e927ffb26eb",
"importer": "sprite-frame",
"rawTextureUuid": "bcc0c21e-794d-4277-8251-e766602bac2c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 50,
"height": 29,
"rawWidth": 50,
"rawHeight": 29,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "fa687d0a-e7e4-4ae9-b199-eed76354f0fa",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 50,
"height": 29,
"platformSettings": {},
"subMetas": {
"bee_4": {
"ver": "1.0.6",
"uuid": "a24efe41-5d5b-4fcd-be33-9c6cc9fa19a9",
"importer": "sprite-frame",
"rawTextureUuid": "fa687d0a-e7e4-4ae9-b199-eed76354f0fa",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 50,
"height": 29,
"rawWidth": 50,
"rawHeight": 29,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "9a56bce8-8eca-4c1e-835e-152dc01ec189",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 104,
"height": 66,
"platformSettings": {},
"subMetas": {
"brick": {
"ver": "1.0.6",
"uuid": "38b773db-825e-473b-a2b7-df614b3f41e8",
"importer": "sprite-frame",
"rawTextureUuid": "9a56bce8-8eca-4c1e-835e-152dc01ec189",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 104,
"height": 66,
"rawWidth": 104,
"rawHeight": 66,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "1b231867-98b6-4981-967f-20426c2843ce",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 98,
"height": 99,
"platformSettings": {},
"subMetas": {
"dog_1": {
"ver": "1.0.6",
"uuid": "4ff76bbf-c911-4902-91c9-ef49bf98c729",
"importer": "sprite-frame",
"rawTextureUuid": "1b231867-98b6-4981-967f-20426c2843ce",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 98,
"height": 99,
"rawWidth": 98,
"rawHeight": 99,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "266a3d6a-c1be-43a6-99c4-032473fe00c0",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 98,
"height": 103,
"platformSettings": {},
"subMetas": {
"dog_10": {
"ver": "1.0.6",
"uuid": "4b0a89d3-ec70-4aa1-9be8-1c156b6dc2d7",
"importer": "sprite-frame",
"rawTextureUuid": "266a3d6a-c1be-43a6-99c4-032473fe00c0",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 98,
"height": 103,
"rawWidth": 98,
"rawHeight": 103,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "053278ed-d155-478d-9828-8535953b7d61",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 98,
"height": 101,
"platformSettings": {},
"subMetas": {
"dog_11": {
"ver": "1.0.6",
"uuid": "2a754951-3650-498a-accc-d669476f80dc",
"importer": "sprite-frame",
"rawTextureUuid": "053278ed-d155-478d-9828-8535953b7d61",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 98,
"height": 101,
"rawWidth": 98,
"rawHeight": 101,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "6540fae5-f085-4f81-b14a-02fd655438b7",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 98,
"height": 98,
"platformSettings": {},
"subMetas": {
"dog_12": {
"ver": "1.0.6",
"uuid": "3540dbbf-d26c-4074-811c-052d7507479b",
"importer": "sprite-frame",
"rawTextureUuid": "6540fae5-f085-4f81-b14a-02fd655438b7",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 98,
"height": 101,
"rawWidth": 98,
"rawHeight": 101,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "cb337c4e-f833-4edd-9d77-f806bba00419",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 98,
"height": 99,
"platformSettings": {},
"subMetas": {
"dog_2": {
"ver": "1.0.6",
"uuid": "02c8c456-56f8-440d-a5e0-9e2c4259090c",
"importer": "sprite-frame",
"rawTextureUuid": "cb337c4e-f833-4edd-9d77-f806bba00419",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 98,
"height": 99,
"rawWidth": 98,
"rawHeight": 99,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "51eed79c-89f1-4364-a9b1-59aeef15edba",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 98,
"height": 99,
"platformSettings": {},
"subMetas": {
"dog_3": {
"ver": "1.0.6",
"uuid": "fa88432e-2413-4fb7-8239-25cbf06c5dec",
"importer": "sprite-frame",
"rawTextureUuid": "51eed79c-89f1-4364-a9b1-59aeef15edba",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 98,
"height": 99,
"rawWidth": 98,
"rawHeight": 99,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "dbeaf71d-32da-4698-8b3f-44928330966d",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 98,
"height": 99,
"platformSettings": {},
"subMetas": {
"dog_4": {
"ver": "1.0.6",
"uuid": "5ee74866-9f76-408a-8a64-7bed6f2fc6b7",
"importer": "sprite-frame",
"rawTextureUuid": "dbeaf71d-32da-4698-8b3f-44928330966d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 98,
"height": 99,
"rawWidth": 98,
"rawHeight": 99,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "5e21ed0f-8826-4ef3-826b-24c8f36a197e",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 98,
"height": 99,
"platformSettings": {},
"subMetas": {
"dog_5": {
"ver": "1.0.6",
"uuid": "a1adb1f7-eaed-408b-9b93-d3d06b3fe100",
"importer": "sprite-frame",
"rawTextureUuid": "5e21ed0f-8826-4ef3-826b-24c8f36a197e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 98,
"height": 99,
"rawWidth": 98,
"rawHeight": 99,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "53dda95a-3090-4fe9-87fa-d69e1cd5261b",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 98,
"height": 99,
"platformSettings": {},
"subMetas": {
"dog_6": {
"ver": "1.0.6",
"uuid": "5c21b6d2-5f4c-4b6c-bff5-94cd75a5b2da",
"importer": "sprite-frame",
"rawTextureUuid": "53dda95a-3090-4fe9-87fa-d69e1cd5261b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 98,
"height": 99,
"rawWidth": 98,
"rawHeight": 99,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "7968f08a-58b5-4962-8600-c26907167f6e",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 98,
"height": 99,
"platformSettings": {},
"subMetas": {
"dog_7": {
"ver": "1.0.6",
"uuid": "a834114f-c659-48ff-b688-dfb0056b810a",
"importer": "sprite-frame",
"rawTextureUuid": "7968f08a-58b5-4962-8600-c26907167f6e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 98,
"height": 99,
"rawWidth": 98,
"rawHeight": 99,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "31c2e4b8-6cad-4dab-98ee-93b613e39c51",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 100,
"height": 99,
"platformSettings": {},
"subMetas": {
"dog_8": {
"ver": "1.0.6",
"uuid": "38c79659-6b2e-47c5-91bf-67ad64c2df64",
"importer": "sprite-frame",
"rawTextureUuid": "31c2e4b8-6cad-4dab-98ee-93b613e39c51",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 100,
"height": 99,
"rawWidth": 100,
"rawHeight": 99,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "bff61ba8-ef1a-4f32-ae4c-0aa71cf33acb",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 100,
"height": 99,
"platformSettings": {},
"subMetas": {
"dog_9": {
"ver": "1.0.6",
"uuid": "fc34febd-017d-4959-824a-5ce4fec06ef7",
"importer": "sprite-frame",
"rawTextureUuid": "bff61ba8-ef1a-4f32-ae4c-0aa71cf33acb",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 100,
"height": 99,
"rawWidth": 100,
"rawHeight": 99,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "c3047e27-00a0-48c9-a137-e1d4c1c236c1",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 20,
"height": 20,
"platformSettings": {},
"subMetas": {
"grass": {
"ver": "1.0.6",
"uuid": "af891a65-5ee9-4e83-9e82-e0dac2d3f807",
"importer": "sprite-frame",
"rawTextureUuid": "c3047e27-00a0-48c9-a137-e1d4c1c236c1",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 20,
"height": 20,
"rawWidth": 20,
"rawHeight": 20,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "04af7690-13ef-463e-92c8-9fb211a8acd9",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 133,
"height": 151,
"platformSettings": {},
"subMetas": {
"hive": {
"ver": "1.0.6",
"uuid": "677a6e35-952e-4c3c-8410-bcd8c1fecb87",
"importer": "sprite-frame",
"rawTextureUuid": "04af7690-13ef-463e-92c8-9fb211a8acd9",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 133,
"height": 151,
"rawWidth": 133,
"rawHeight": 151,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "b14edd7b-d4cd-429c-8a35-f5b422c8f188",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 49,
"height": 66,
"platformSettings": {},
"subMetas": {
"hole": {
"ver": "1.0.6",
"uuid": "68bcaa96-7935-4af2-aeb9-05232c356393",
"importer": "sprite-frame",
"rawTextureUuid": "b14edd7b-d4cd-429c-8a35-f5b422c8f188",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 49,
"height": 66,
"rawWidth": 49,
"rawHeight": 66,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.7",
"uuid": "a76ca7a8-bbb3-474c-86e0-9a83f05ce853",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 20,
"height": 20,
"platformSettings": {},
"subMetas": {
"line": {
"ver": "1.0.6",
"uuid": "b017deb0-3c65-4f98-b1ad-163c1241a359",
"importer": "sprite-frame",
"rawTextureUuid": "a76ca7a8-bbb3-474c-86e0-9a83f05ce853",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 20,
"height": 20,
"rawWidth": 20,
"rawHeight": 20,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.3",
"uuid": "d77edd13-b3b4-41aa-9fd8-57362c54dc7a",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.3.2",
"uuid": "8307daee-fa71-40cc-b489-9fa97339a1ac",
"importer": "scene",
"asyncLoadAssets": false,
"autoReleaseAssets": false,
"subMetas": {}
}
\ No newline at end of file
[
{
"__type__": "cc.SceneAsset",
"_name": "",
"_objFlags": 0,
"_native": "",
"scene": {
"__id__": 1
}
},
{
"__type__": "cc.Scene",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_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,
"y": 0
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_is3DNode": true,
"_groupIndex": 0,
"groupIndex": 0,
"autoReleaseAssets": false,
"_id": "1bU0BfQd5M3bgTfyTs19PQ"
},
{
"__type__": "cc.Node",
"_name": "Canvas",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
}
],
"_active": true,
"_components": [
{
"__id__": 5
},
{
"__id__": 6
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 640,
"height": 960
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
320,
480,
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": "d6qn9i8zNB8oDoNY9P3WJ7"
},
{
"__type__": "cc.Node",
"_name": "Main Camera",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
}
],
"_prefab": null,
"_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,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d6O34mzXRA571+jL2LeGUC"
},
{
"__type__": "cc.Camera",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
},
"_enabled": true,
"_cullingMask": 4294967295,
"_clearFlags": 7,
"_backgroundColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_depth": -1,
"_zoomRatio": 1,
"_targetTexture": null,
"_fov": 60,
"_orthoSize": 10,
"_nearClip": 1,
"_farClip": 4096,
"_ortho": true,
"_rect": {
"__type__": "cc.Rect",
"x": 0,
"y": 0,
"width": 1,
"height": 1
},
"_renderStages": 1,
"_alignWithScreen": true,
"_id": "02Qai4a85F+5dH3P7IYXpp"
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_designResolution": {
"__type__": "cc.Size",
"width": 640,
"height": 960
},
"_fitWidth": false,
"_fitHeight": true,
"_id": "cd6rEi0+BPrrlsHVZqT8UX"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "16w9eq929AqqXyW/JMSETB"
}
]
\ No newline at end of file
{
"ver": "1.3.2",
"uuid": "73089584-bdb3-4639-abbf-bb4f569866a9",
"importer": "scene",
"asyncLoadAssets": false,
"autoReleaseAssets": false,
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.3.2",
"uuid": "ab9ff3b9-bb1b-4071-a8f3-4d7af592620b",
"importer": "scene",
"asyncLoadAssets": false,
"autoReleaseAssets": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.3",
"uuid": "a8e4afd6-9344-4fe5-9f10-3b7780169c45",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
const { ccclass, property } = cc._decorator;
@ccclass
export default class Bee extends cc.Component {
static instance: Bee;
flySpeed: number = 100;
targetPosition: cc.Vec3 = null;
protected onLoad(): void {
Bee.instance = this;
this.node.setPosition(this.node.parent.position);
this.targetPosition =
this.node.parent.parent.getChildByName("Dog").position;
}
onHunting() {}
protected update(dt: number): void {}
}
{
"ver": "1.1.0",
"uuid": "81c43ad2-a541-4a5d-a961-70d4b1175222",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
const { ccclass, property } = cc._decorator;
@ccclass
export default class Dog extends cc.Component {
static instance: Dog;
protected onLoad(): void {
Dog.instance = this;
}
}
{
"ver": "1.1.0",
"uuid": "66c0d4f4-fb85-43ae-bf49-76234cb2a41f",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
import Bee from "./Bee";
import Dog from "./Dog";
const { ccclass, property } = cc._decorator;
@ccclass
export default class GamePlay extends cc.Component {
@property(cc.Prefab) prefabToLoad: cc.Prefab = null;
@property(cc.Node) gameRegion: cc.Node = null;
@property(cc.Graphics) graphic: cc.Graphics = null;
isDrawing: boolean = true;
points: any;
draw: cc.Node = null;
rb = null;
chain = null;
protected onLoad(): void {
cc.director.getPhysicsManager().enabled = true;
cc.director.getCollisionManager().enabled = true;
// cc.director.getPhysicsManager().debugDrawFlags = 1;
this.loadPrefab();
this.points = [];
this.gameRegion.on(cc.Node.EventType.TOUCH_START, this.onTouchDown, this);
this.gameRegion.on(cc.Node.EventType.TOUCH_MOVE, this.onTouchMove, this);
this.gameRegion.on(cc.Node.EventType.TOUCH_END, this.onTouchUp, this);
this.gameRegion.on(cc.Node.EventType.TOUCH_CANCEL, this.onTouchUp, this);
}
loadPrefab() {
const newNode = cc.instantiate(this.prefabToLoad);
this.node.addChild(newNode);
}
onTouchDown(event) {
this.points.push(event.getLocation());
this.draw = new cc.Node();
this.draw.parent = this.node;
this.draw.addComponent(cc.Graphics);
this.rb = this.draw.addComponent(cc.RigidBody);
this.rb.type = cc.RigidBodyType.Static;
this.chain = this.draw.addComponent(cc.PhysicsChainCollider);
this.chain.points = [];
}
onTouchMove(event) {
if (this.isDrawing) {
this.points.push(event.getLocation());
this.chain.points.push(event.getLocation());
this.drawLine();
}
}
onTouchUp(event) {
// this.isDrawing = false;
this.points = [];
this.rb.type = cc.RigidBodyType.Dynamic;
Dog.instance.getComponent(cc.Animation).play("DogScare");
}
drawLine() {
if (this.points.length <= 1) return;
let lineComponent = this.draw.getComponent(cc.Graphics);
if (lineComponent == null)
lineComponent = this.draw.addComponent(cc.Graphics);
lineComponent.strokeColor = cc.Color.BLACK;
lineComponent.lineWidth = 10;
for (let i = 0; i < this.points.length - 1; i++) {
let p1 = this.points[i];
let p2 = this.points[i + 1];
let p1InLocal = this.node.convertToNodeSpaceAR(p1);
let p2InLocal = this.node.convertToNodeSpaceAR(p2);
lineComponent.moveTo(p1InLocal.x, p1InLocal.y);
lineComponent.lineTo(p2InLocal.x, p2InLocal.y);
lineComponent.stroke();
}
this.chain.apply();
}
}
{
"ver": "1.1.0",
"uuid": "696e4351-1406-4c38-bfb2-d835fc2bb574",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
const { ccclass, property } = cc._decorator;
@ccclass
export default class Hive extends cc.Component {
static instance: Hive;
protected onLoad(): void {
Hive.instance = this;
}
}
{
"ver": "1.1.0",
"uuid": "13cff100-c33a-4ecb-8057-683c998a7bb6",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
// Learn TypeScript:
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/life-cycle-callbacks.html
const { ccclass, property } = cc._decorator;
@ccclass
export default class NewClass extends cc.Component {
protected onLoad(): void {
cc.director.getPhysicsManager().enabled = true;
cc.director.getCollisionManager().enabled = true;
}
}
{
"ver": "1.1.0",
"uuid": "7aacc452-1e54-4320-9742-808841fef72a",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"experimentalDecorators": true
},
"exclude": [
"node_modules",
".vscode",
"library",
"local",
"settings",
"temp"
]
}
\ No newline at end of file
{
"engine": "cocos-creator-js",
"packages": "packages",
"name": "SaveTheDoge",
"id": "7f7e5c43-9c24-4bb4-be6e-c702b701d3ee",
"version": "2.4.11",
"isNew": false
}
\ No newline at end of file
{
"start-scene": "current"
}
{
"game": {
"name": "UNKNOW GAME",
"appid": "UNKNOW"
}
}
\ No newline at end of file
{
"compilerOptions": {
"module": "commonjs",
"lib": [ "es2015", "es2017", "dom" ],
"target": "es5",
"experimentalDecorators": true,
"skipLibCheck": true,
"outDir": "temp/vscode-dist",
"forceConsistentCasingInFileNames": true
},
"exclude": [
"node_modules",
"library",
"local",
"temp",
"build",
"settings"
]
}
\ 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