This commit is contained in:
2024-08-06 16:42:03 +08:00
parent 57046f4800
commit 66f32a44ae
27 changed files with 2013 additions and 659 deletions

9
assets/res.meta Normal file
View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "a1d00e33-05dc-4af3-b63c-50e2c1bc29ff",
"files": [],
"subMetas": {},
"userData": {}
}

View File

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 444 KiB

After

Width:  |  Height:  |  Size: 444 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@@ -446,7 +446,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 309.596,
"y": 417.574,
"z": 0
},
"_lrot": {
@@ -707,7 +707,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -61.919,
"y": 46.059,
"z": 0
},
"_lrot": {
@@ -849,7 +849,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -498.303,
"y": -390.325,
"z": 0
},
"_lrot": {
@@ -1003,12 +1003,12 @@
"_offset": {
"__type__": "cc.Vec2",
"x": -1.1,
"y": -23.3
"y": -24.5
},
"_size": {
"__type__": "cc.Size",
"width": 1177.9,
"height": 838.2
"height": 835.9
},
"_id": ""
},
@@ -1053,7 +1053,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": -302.335,
"y": -98.022,
"y": 10.956,
"z": 0
},
"_lrot": {
@@ -1189,7 +1189,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 299.971,
"y": -98.022,
"y": 10.956,
"z": 0
},
"_lrot": {

View File

@@ -67,8 +67,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.9,
"y": 0.9,
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
@@ -260,8 +260,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.7,
"y": 0.7,
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
@@ -351,15 +351,15 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0.393,
"y": 57.214,
"x": 8.394,
"y": 8.436,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"z": -4.963083675318166e-24,
"w": 1
},
"_lscale": {
@@ -374,7 +374,7 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
"z": -5.687274959320158e-22
},
"_id": ""
},
@@ -392,19 +392,19 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 128,
"height": 128
"width": 79,
"height": 106
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
"y": 0
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "dcU5E7bLRFnbO/m/Ni5Sfj"
"fileId": "2aAnQbe5pLIKBvQzTJ0dq4"
},
{
"__type__": "cc.Sprite",
@@ -434,7 +434,7 @@
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
@@ -449,7 +449,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e7JFDGNTZMQIcBkDXfQ33g"
"fileId": "4auXsUr7ND3Zsk8ermdUY5"
},
{
"__type__": "cc.PrefabInfo",
@@ -459,7 +459,7 @@
"asset": {
"__id__": 0
},
"fileId": "58gGWhtitLVKR9TkMsdXHe",
"fileId": "7bxsCbRDxNwo1ZLTKjrgvA",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
@@ -473,7 +473,7 @@
"__id__": 9
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 17
@@ -656,12 +656,12 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 128,
"height": 134.2100067138672
"height": 160.740005
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.49101561307907104,
"y": 0.023023617909185595
"y": 0.08143585731770167
},
"_id": ""
},
@@ -1198,13 +1198,13 @@
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 2.2,
"y": 16
"x": 1.7,
"y": 30.5
},
"_size": {
"__type__": "cc.Size",
"width": 71.4,
"height": 85
"width": 70.4,
"height": 130
},
"_id": ""
},

File diff suppressed because it is too large Load Diff

View File

@@ -7,16 +7,20 @@
/** 碰撞分组 */
export enum BoxSet {
//物理碰撞tag
DEFAULT = 0,
MONSTER = 90,
HERO = 10,
MONSTER_SKILL = 91,
HERO_SKILL = 11,
BOX_WIDTH = 64,
BOX_HEIGHT = 64,
//地图边界
LETF_END = -400,
RIGHT_END = 400,
HERO_START = -309,
MONSTER_START = 309,
GAME_LINE = -60,
//游戏地平线
GAME_LINE = 30,
}

View File

@@ -45,7 +45,7 @@
"collisionMatrix": {
"0": 31,
"1": 23,
"2": 11,
"2": 15,
"3": 5,
"4": 3
}