Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
l2_boardgame4_double
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
l2_boardgame4_double
Commits
ff2da478
Commit
ff2da478
authored
Aug 02, 2022
by
yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文件名
parent
2300e32b
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
63 additions
and
55 deletions
+63
-55
LoadingLayer_double.prefab
...me4_double/prefab/LoadingLayer/LoadingLayer_double.prefab
+19
-19
LoadingLayer_double.prefab.meta
...ouble/prefab/LoadingLayer/LoadingLayer_double.prefab.meta
+1
-1
BoardGame2_PlayerOffLineLayer_double.js
...layerOffLineLayer/BoardGame2_PlayerOffLineLayer_double.js
+0
-0
BoardGame2_PlayerOffLineLayer_double.js.meta
...OffLineLayer/BoardGame2_PlayerOffLineLayer_double.js.meta
+1
-1
PlayerOffLineLayer_double.prefab
...refab/PlayerOffLineLayer/PlayerOffLineLayer_double.prefab
+6
-6
PlayerOffLineLayer_double.prefab.meta
.../PlayerOffLineLayer/PlayerOffLineLayer_double.prefab.meta
+8
-0
l2_boardgame4_double.fire
assets/l2_boardgame4_double/scene/l2_boardgame4_double.fire
+25
-25
l2_boardgame4_double.ts
assets/l2_boardgame4_double/scene/l2_boardgame4_double.ts
+2
-2
BoardGame4_double_LoadingLayer.ts.meta
...ame4_double/script/BoardGame4_double_LoadingLayer.ts.meta
+1
-1
No files found.
assets/l2_boardgame4_double/prefab/LoadingLayer/LoadingLayer.prefab
→
assets/l2_boardgame4_double/prefab/LoadingLayer/LoadingLayer
_double
.prefab
View file @
ff2da478
...
...
@@ -307,7 +307,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "a1GjpGzJdD65Biy/y88Sq8",
"sync": false
...
...
@@ -444,7 +444,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "afaLDsGNdF8rTS2GfZ3h3s",
"sync": false
...
...
@@ -546,7 +546,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "24ejo0WoZJxpoRK40tkCN+",
"sync": false
...
...
@@ -648,7 +648,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "42DCsVISJGIKgyDyhKrDpv",
"sync": false
...
...
@@ -793,7 +793,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "4cZmgdmo1Az6QuveaZ6W/3",
"sync": false
...
...
@@ -933,7 +933,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "8bJSQRyJRA0Jkcc+8GY5Do",
"sync": false
...
...
@@ -1144,7 +1144,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "1coIwLNVZGEZEzF3dItpuK",
"sync": false
...
...
@@ -1231,7 +1231,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "55nJZ9Uk5CArtjDKXyL9xa",
"sync": false
...
...
@@ -1414,7 +1414,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "eauguU1wtOrbhO0xPWGhAt",
"sync": false
...
...
@@ -1589,7 +1589,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "60BI1U1b9OoZRIDunWHW0a",
"sync": false
...
...
@@ -1622,7 +1622,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "5cd2Jos1dOS46NiARvN6qg",
"sync": false
...
...
@@ -1729,7 +1729,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "8aSOlD3bNAYbWZEGUBpU7X",
"sync": false
...
...
@@ -1836,7 +1836,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "ddBCn3FshPQ4V9KDNSlBfr",
"sync": false
...
...
@@ -1946,7 +1946,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "6anh4wjaRPMqyS2LhXSx4j",
"sync": false
...
...
@@ -1957,7 +1957,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "f9qrJyDh5P1oErn3FfsNL7",
"sync": false
...
...
@@ -2115,7 +2115,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "24pM39t0xAcpeV3Rbf7iK5",
"sync": false
...
...
@@ -2126,7 +2126,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "28B+az6rRACpZT/KUohVaz",
"sync": false
...
...
@@ -2159,7 +2159,7 @@
"_id": ""
},
{
"__type__": "
1e740onK1VFs6ALF02ZnDGc
",
"__type__": "
3b2b8s3A+1BU5dzznhzJj6m
",
"_name": "",
"_objFlags": 0,
"node": {
...
...
@@ -2174,7 +2174,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"fileId": "",
"sync": false
...
...
assets/l2_boardgame4_double/prefab/
PlayerOffLineLayer/PlayerOffLineLayer
.prefab.meta
→
assets/l2_boardgame4_double/prefab/
LoadingLayer/LoadingLayer_double
.prefab.meta
View file @
ff2da478
{
"ver": "1.2.9",
"uuid": "
6ba10056-887d-4b25-9499-10207e5a20f7
",
"uuid": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
...
...
assets/l2_boardgame4_double/prefab/PlayerOffLineLayer/BoardGame2_PlayerOffLineLayer.js
→
assets/l2_boardgame4_double/prefab/PlayerOffLineLayer/BoardGame2_PlayerOffLineLayer
_double
.js
View file @
ff2da478
File moved
assets/l2_boardgame4_double/prefab/PlayerOffLineLayer/BoardGame2_PlayerOffLineLayer.js.meta
→
assets/l2_boardgame4_double/prefab/PlayerOffLineLayer/BoardGame2_PlayerOffLineLayer
_double
.js.meta
View file @
ff2da478
{
"ver": "1.0.8",
"uuid": "
e2c4e3ac-a22b-4d17-8184-382d66137ec6
",
"uuid": "
18cae3f9-5ce5-48e1-96f0-9e725272f9d2
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/l2_boardgame4_double/prefab/PlayerOffLineLayer/PlayerOffLineLayer.prefab
→
assets/l2_boardgame4_double/prefab/PlayerOffLineLayer/PlayerOffLineLayer
_double
.prefab
View file @
ff2da478
...
...
@@ -286,7 +286,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
6ba10056-887d-4b25-9499-10207e5a20f7
"
"__uuid__": "
e82fcb36-e5b7-40dd-adb3-986f1097b049
"
},
"fileId": "a2lcBX6axJcYgWizPAwXJQ",
"sync": false
...
...
@@ -565,7 +565,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
6ba10056-887d-4b25-9499-10207e5a20f7
"
"__uuid__": "
e82fcb36-e5b7-40dd-adb3-986f1097b049
"
},
"fileId": "2dFg2BRxNDIbzNQUJzInwD",
"sync": false
...
...
@@ -773,7 +773,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
6ba10056-887d-4b25-9499-10207e5a20f7
"
"__uuid__": "
e82fcb36-e5b7-40dd-adb3-986f1097b049
"
},
"fileId": "426YGeaQ1GSqxAl0es/FZ5",
"sync": false
...
...
@@ -816,7 +816,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
6ba10056-887d-4b25-9499-10207e5a20f7
"
"__uuid__": "
e82fcb36-e5b7-40dd-adb3-986f1097b049
"
},
"fileId": "1bsWjap9JK84XN2hkYfXDb",
"sync": false
...
...
@@ -849,7 +849,7 @@
"_id": ""
},
{
"__type__": "
e2c4eOsoitNF4GEOC1mE37G
",
"__type__": "
18caeP5XOVI4ZbwnnJScvnS
",
"_name": "",
"_objFlags": 0,
"node": {
...
...
@@ -864,7 +864,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "
6ba10056-887d-4b25-9499-10207e5a20f7
"
"__uuid__": "
e82fcb36-e5b7-40dd-adb3-986f1097b049
"
},
"fileId": "",
"sync": false
...
...
assets/l2_boardgame4_double/prefab/
LoadingLayer/LoadingLayer
.prefab.meta
→
assets/l2_boardgame4_double/prefab/
PlayerOffLineLayer/PlayerOffLineLayer_double
.prefab.meta
View file @
ff2da478
{
"ver": "1.2.9",
"uuid": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
",
"optimizationPolicy": "
SINGLE_INSTANCE
",
"uuid": "
e82fcb36-e5b7-40dd-adb3-986f1097b049
",
"optimizationPolicy": "
AUTO
",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
...
...
assets/l2_boardgame4_double/scene/l2_boardgame4_double.fire
View file @
ff2da478
...
...
@@ -8867,7 +8867,7 @@
},
{
"__type__": "cc.Node",
"_name": "PlayerOffLineLayer",
"_name": "PlayerOffLineLayer
_double
",
"_objFlags": 0,
"_parent": {
"__id__": 21
...
...
@@ -8937,7 +8937,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
72C22cBvpIHJeqbjpKzYUv
"
"_id": "
62tqZBNi5IMIAlgrb4Em6a
"
},
{
"__type__": "cc.Node",
...
...
@@ -9007,7 +9007,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
e87Ggqo85HkoLdm5YqONNO
"
"_id": "
13lr17zhRCd6ga8YxzfDn2
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -9039,7 +9039,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
eaVBC2+oNLK7smnTHCJQm
m"
"_id": "
85QRGazHlNKqycgkTB0vd
m"
},
{
"__type__": "cc.Widget",
...
...
@@ -9066,7 +9066,7 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 100,
"_originalHeight": 100,
"_id": "
54tjHRt6dF45WVrMw/Qldi
"
"_id": "
3b8VXIzU5Pd4+2AeS+sm0f
"
},
{
"__type__": "cc.Button",
...
...
@@ -9134,7 +9134,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "
5cBZCA0pFLK7Bicx5tDTT1
"
"_id": "
67fMpsuRZPL5rzh0aAVsJ/
"
},
{
"__type__": "cc.PrefabInfo",
...
...
@@ -9142,7 +9142,7 @@
"__id__": 180
},
"asset": {
"__uuid__": "
6ba10056-887d-4b25-9499-10207e5a20f7
"
"__uuid__": "
e82fcb36-e5b7-40dd-adb3-986f1097b049
"
},
"fileId": "a2lcBX6axJcYgWizPAwXJQ",
"sync": false
...
...
@@ -9216,7 +9216,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
2cy2QB+3pPB4QGS4ogoSdK
"
"_id": "
5d5SLPHn1AVqpcYmBO3QoL
"
},
{
"__type__": "cc.Node",
...
...
@@ -9286,7 +9286,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "
b4CTFGOgRJSJo+8wK+XNh1
"
"_id": "
6f/Sy3nF5HeYOjk6xD5I/H
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -9318,7 +9318,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
59/v/1cspLOrYiZ3YMzI5j
"
"_id": "
af8AG6qKNLpJai/SVY/Hki
"
},
{
"__type__": "cc.Widget",
...
...
@@ -9345,7 +9345,7 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "
35t8Q1fENODJWin601idcm
"
"_id": "
4bdwagLrdAhJXqktDH1ISi
"
},
{
"__type__": "cc.Button",
...
...
@@ -9413,7 +9413,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "
f0GF8UWp5JzZAMhMP8GaLW
"
"_id": "
3fM/RzdXRN4qFdTYXYzn68
"
},
{
"__type__": "cc.PrefabInfo",
...
...
@@ -9421,7 +9421,7 @@
"__id__": 180
},
"asset": {
"__uuid__": "
6ba10056-887d-4b25-9499-10207e5a20f7
"
"__uuid__": "
e82fcb36-e5b7-40dd-adb3-986f1097b049
"
},
"fileId": "2dFg2BRxNDIbzNQUJzInwD",
"sync": false
...
...
@@ -9494,7 +9494,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "e
4/Kq8kFNAcpEjxeRpbQGZ
"
"_id": "e
67O/LLYRCaaYJ9kYoj0cg
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -9526,7 +9526,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
afP8CaOwFFXJeOp8+gydyD
"
"_id": "
12JUd6/8RNlYVBl8LSn/Wh
"
},
{
"__type__": "cc.Widget",
...
...
@@ -9553,7 +9553,7 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "
afR8KNFx1HVK6YbXQyCx0/
"
"_id": "
bbro/x/ulDDaJZl6+kQETT
"
},
{
"__type__": "cc.Button",
...
...
@@ -9621,7 +9621,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "
01Gq4VRMtH54x5d/qNjCD6
"
"_id": "
c9M3zSPVVOxa46p14/G9yW
"
},
{
"__type__": "cc.PrefabInfo",
...
...
@@ -9629,7 +9629,7 @@
"__id__": 180
},
"asset": {
"__uuid__": "
6ba10056-887d-4b25-9499-10207e5a20f7
"
"__uuid__": "
e82fcb36-e5b7-40dd-adb3-986f1097b049
"
},
"fileId": "426YGeaQ1GSqxAl0es/FZ5",
"sync": false
...
...
@@ -9664,7 +9664,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "
231CoouRtOa4FNyUstpYl4
"
"_id": "
4fAS7Fu25FnJzDf/9Mc6xe
"
},
{
"__type__": "cc.PrefabInfo",
...
...
@@ -9672,7 +9672,7 @@
"__id__": 180
},
"asset": {
"__uuid__": "
6ba10056-887d-4b25-9499-10207e5a20f7
"
"__uuid__": "
e82fcb36-e5b7-40dd-adb3-986f1097b049
"
},
"fileId": "1bsWjap9JK84XN2hkYfXDb",
"sync": false
...
...
@@ -9702,17 +9702,17 @@
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "
0bRMt2vnZPnpd9xunK+k1T
"
"_id": "
dfQYx2l29MAbcbwt6EL/j8
"
},
{
"__type__": "
e2c4eOsoitNF4GEOC1mE37G
",
"__type__": "
18caeP5XOVI4ZbwnnJScvnS
",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 180
},
"_enabled": true,
"_id": "
f1HtC+YZ9Jq7qaM4EidkGP
"
"_id": "
69aiJsiB1AsbnwUBtnobnA
"
},
{
"__type__": "cc.PrefabInfo",
...
...
@@ -9720,7 +9720,7 @@
"__id__": 180
},
"asset": {
"__uuid__": "
6ba10056-887d-4b25-9499-10207e5a20f7
"
"__uuid__": "
e82fcb36-e5b7-40dd-adb3-986f1097b049
"
},
"fileId": "",
"sync": false
...
...
@@ -10475,7 +10475,7 @@
},
"_enabled": true,
"loadingLayerPrefab": {
"__uuid__": "
0a3d1bdc-4314-4083-a508-2145a43ff43d
"
"__uuid__": "
a1103f94-fb62-4ae8-a5b1-20b285c6e8db
"
},
"_id": "eaTVUpqahPfZeO9+sUI7RP"
},
...
...
assets/l2_boardgame4_double/scene/l2_boardgame4_double.ts
View file @
ff2da478
...
...
@@ -809,11 +809,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
});
this
.
networkHelper
.
on
(
"
playerLeave
"
,
(
event
)
=>
{
cc
.
log
(
"
playerLeave
"
+
JSON
.
stringify
(
event
));
cc
.
find
(
"
Canvas/bg/PlayerOffLineLayer
"
).
active
=
true
;
cc
.
find
(
"
Canvas/bg/PlayerOffLineLayer
_double
"
).
active
=
true
;
this
.
networkHelper
.
leaveRoom
();
});
this
.
networkHelper
.
on
(
"
playerOffLine
"
,
(
event
)
=>
{
cc
.
find
(
"
Canvas/bg/PlayerOffLineLayer
"
).
active
=
true
;
cc
.
find
(
"
Canvas/bg/PlayerOffLineLayer
_double
"
).
active
=
true
;
this
.
networkHelper
.
leaveRoom
();
this
.
log
(
"
playerOffLine
"
+
JSON
.
stringify
(
event
));
});
...
...
assets/l2_boardgame4_double/script/BoardGame4_double_LoadingLayer.ts.meta
View file @
ff2da478
{
"ver": "1.0.8",
"uuid": "
1e740a27-2b55-45b3-a00b-174d999c319c
",
"uuid": "
3b2b8b37-03ed-4153-9773-ce7873263ea6
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment