Fixes for online map class to use updated character animations.

This commit is contained in:
genxium
2022-11-19 22:59:12 +08:00
parent 78dd9ecd85
commit 061aa449c9
7 changed files with 307 additions and 1540 deletions

View File

@@ -307,23 +307,11 @@
"canvasNode": {
"__id__": 2
},
"tiledAnimPrefab": {
"__uuid__": "1c02b0a0-859a-4467-86b3-ca39c30d1e19"
},
"player1Prefab": {
"__uuid__": "8a738d50-1dac-4b6e-99e1-d241f5ee7169"
},
"player2Prefab": {
"__uuid__": "1f479636-9eb8-4612-8f97-371964d6eae3"
},
"polygonBoundaryBarrierPrefab": {
"__uuid__": "4154eec0-d644-482f-a889-c00ae6b69958"
},
"keyboardInputControllerNode": {
"__id__": 8
"controlledCharacterPrefab": {
"__uuid__": "59bff7a2-23e1-4d69-bce7-afb37eae196a"
},
"joystickInputControllerNode": {
"__id__": 22
"__id__": 8
},
"confirmLogoutPrefab": {
"__uuid__": "8e8c1a65-623d-42ba-97a7-820ce518ea11"
@@ -335,7 +323,7 @@
"__id__": 17
},
"countdownLabel": {
"__id__": 30
"__id__": 26
},
"resultPanelPrefab": {
"__uuid__": "c4cfe3bd-c59e-4d5b-95cb-c933b120e184"
@@ -353,26 +341,24 @@
"__uuid__": "b4e519f4-e698-4403-9ff2-47b8dacb077e"
},
"forceBigEndianFloatingNumDecoding": false,
"backgroundMapTiledIns": {
"__id__": 4
},
"renderFrameIdLagTolerance": 4,
"teleportEps1D": 0.001,
"jigglingEps1D": 0.001,
"_id": "d12gkAmppNlIzqcRDELa91"
},
{
"__type__": "cc.Node",
"_name": "KeyboardControlsMount",
"_name": "JoystickContainer",
"_objFlags": 0,
"_parent": {
"__id__": 9
},
"_children": [],
"_children": [
{
"__id__": 27
}
],
"_active": true,
"_components": [
{
"__id__": 31
},
{
"__id__": 32
}
@@ -388,8 +374,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 50.4
"width": 1280,
"height": 640
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -400,8 +386,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-341.33333,
-640,
0,
-500,
0,
0,
0,
@@ -423,7 +409,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "e6nL+1zEhLmLSaT8R/9UgD"
"_id": "81iBXkC0lFt5FFUUD0k3xE"
},
{
"__type__": "cc.Node",
@@ -436,14 +422,14 @@
{
"__id__": 12
},
{
"__id__": 8
},
{
"__id__": 22
},
{
"__id__": 29
"__id__": 8
},
{
"__id__": 25
}
],
"_active": true,
@@ -539,7 +525,7 @@
"array": [
0,
0,
342.9460598986377,
210.4441731196186,
0,
0,
0,
@@ -1043,20 +1029,19 @@
},
{
"__type__": "cc.Node",
"_name": "JoystickContainer",
"_name": "KeyboardControlsMount",
"_objFlags": 0,
"_parent": {
"__id__": 9
},
"_children": [
{
"__id__": 23
}
],
"_children": [],
"_active": true,
"_components": [
{
"__id__": 28
"__id__": 23
},
{
"__id__": 24
}
],
"_prefab": null,
@@ -1070,8 +1055,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 640
"width": 0,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1082,8 +1067,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-500,
-341.33333,
-640,
0,
0,
0,
@@ -1105,145 +1090,14 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "81iBXkC0lFt5FFUUD0k3xE"
"_id": "e6nL+1zEhLmLSaT8R/9UgD"
},
{
"__type__": "cc.Node",
"_name": "JoystickBG",
"_objFlags": 0,
"_parent": {
"__id__": 22
},
"_children": [
{
"__id__": 24
}
],
"_active": true,
"_components": [
{
"__id__": 26
},
{
"__id__": 27
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 400,
"height": 400
},
"_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": "88u3wQvvdO8pbrNWhs3ifP"
},
{
"__type__": "cc.Node",
"_name": "Joystick",
"_objFlags": 0,
"_parent": {
"__id__": 23
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 25
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 150
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
0.8,
0.8,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "3eybpdW/JK3aDeXxdE86VD"
},
{
"__type__": "cc.Sprite",
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
"__id__": 22
},
"_enabled": true,
"_materials": [
@@ -1251,114 +1105,32 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "7d4baacd-294c-4a5d-9cd6-5d36e4394c9e"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "030d9286-e8a2-40cf-98f8-baf713f0b8c4"
},
"_id": "7dr8DOX01K7YFqWlRy1ATp"
"_useOriginalSize": false,
"_string": "",
"_N$string": "",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "9cS5BRd+NKJIvGQiojJtIs"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "447f7cfe-e678-4424-be03-0afdab8659de"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "030d9286-e8a2-40cf-98f8-baf713f0b8c4"
},
"_id": "b28Bh9ZcpM+7K3Bd3bmNf0"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 0,
"_left": 40,
"_right": 0,
"_top": 0,
"_bottom": 10,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "c0cEsj4LpMcZZEldELidxy"
},
{
"__type__": "cc.Widget",
"__type__": "4561aFzv9JPZLe6iIzODk2d",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 0,
"_left": 278,
"_right": 480.0000000000002,
"_top": 544,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 480,
"_originalHeight": 0,
"_id": "2cxYjEIwNO6rUtXX4WcfnV"
"_id": "5ahzSYC8pCCLVPCBYyCRfZ"
},
{
"__type__": "cc.Node",
@@ -1371,7 +1143,7 @@
"_active": true,
"_components": [
{
"__id__": 30
"__id__": 26
}
],
"_prefab": null,
@@ -1427,7 +1199,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
"__id__": 25
},
"_enabled": true,
"_materials": [
@@ -1453,11 +1225,142 @@
"_id": "dfxSFl+shLcY+0v45FJtGo"
},
{
"__type__": "cc.Label",
"__type__": "cc.Node",
"_name": "JoystickBG",
"_objFlags": 0,
"_parent": {
"__id__": 8
},
"_children": [
{
"__id__": 28
}
],
"_active": true,
"_components": [
{
"__id__": 30
},
{
"__id__": 31
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 400,
"height": 400
},
"_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": "88u3wQvvdO8pbrNWhs3ifP"
},
{
"__type__": "cc.Node",
"_name": "Joystick",
"_objFlags": 0,
"_parent": {
"__id__": 27
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 29
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 150,
"height": 150
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
0.8,
0.8,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "3eybpdW/JK3aDeXxdE86VD"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
"__id__": 28
},
"_enabled": true,
"_materials": [
@@ -1465,32 +1368,114 @@
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_useOriginalSize": false,
"_string": "",
"_N$string": "",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_batchAsBitmap": false,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "9cS5BRd+NKJIvGQiojJtIs"
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "7d4baacd-294c-4a5d-9cd6-5d36e4394c9e"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "030d9286-e8a2-40cf-98f8-baf713f0b8c4"
},
"_id": "7dr8DOX01K7YFqWlRy1ATp"
},
{
"__type__": "4561aFzv9JPZLe6iIzODk2d",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 27
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "447f7cfe-e678-4424-be03-0afdab8659de"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "030d9286-e8a2-40cf-98f8-baf713f0b8c4"
},
"_id": "b28Bh9ZcpM+7K3Bd3bmNf0"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 27
},
"_enabled": true,
"alignMode": 0,
"_target": null,
"_alignFlags": 0,
"_left": 40,
"_right": 0,
"_top": 0,
"_bottom": 10,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "c0cEsj4LpMcZZEldELidxy"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"_id": "5ahzSYC8pCCLVPCBYyCRfZ"
"alignMode": 0,
"_target": null,
"_alignFlags": 0,
"_left": 278,
"_right": 480.0000000000002,
"_top": 544,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 480,
"_originalHeight": 0,
"_id": "2cxYjEIwNO6rUtXX4WcfnV"
},
{
"__type__": "09e1b/tEy5K2qaPIpqHDbae",
@@ -1600,16 +1585,16 @@
},
"_enabled": true,
"translationListenerNode": {
"__id__": 22
"__id__": 8
},
"zoomingListenerNode": {
"__id__": 5
},
"stickhead": {
"__id__": 24
"__id__": 28
},
"base": {
"__id__": 23
"__id__": 27
},
"joyStickEps": 0.1,
"magicLeanLowerBound": 0.414,

View File

@@ -440,7 +440,7 @@
"array": [
0,
0,
209.57814771583418,
210.4441731196186,
0,
0,
0,