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
98e20ada
Commit
98e20ada
authored
Jul 26, 2022
by
yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7.26调整
parent
f6c25c32
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
123 additions
and
123 deletions
+123
-123
l2_boardgame4_double.fire
assets/l2_boardgame4_double/scene/l2_boardgame4_double.fire
+115
-115
l2_boardgame4_double.ts
assets/l2_boardgame4_double/scene/l2_boardgame4_double.ts
+8
-8
No files found.
assets/l2_boardgame4_double/scene/l2_boardgame4_double.fire
View file @
98e20ada
...
...
@@ -1163,7 +1163,7 @@
"ctor": "Float64Array",
"array": [
1057,
402.63
9,
144.87
9,
0,
0,
0,
...
...
@@ -1562,7 +1562,7 @@
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter":
402.63
9,
"_verticalCenter":
144.87
9,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
...
...
@@ -1680,7 +1680,7 @@
"__id__": 34
},
{
"__id__":
44
"__id__":
36
},
{
"__id__": 46
...
...
@@ -1747,23 +1747,117 @@
},
{
"__type__": "cc.Node",
"_name": "
diceB
g",
"_name": "
b
g",
"_objFlags": 0,
"_parent": {
"__id__": 33
},
"_children": [
"_children": [],
"_active": true,
"_components": [
{
"__id__": 35
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1914,
"height": 1920
},
"_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": "1fuGgBlyVP7aErMAlqsuGK"
},
{
"__id__": 38
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 34
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e6bbf393-7172-42e0-8154-ef2c869502f4"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "6fuXQAhcdIhImxZLU4QpjY"
},
{
"__type__": "cc.Node",
"_name": "diceBg",
"_objFlags": 0,
"_parent": {
"__id__": 33
},
"_children": [
{
"__id__": 37
},
{
"__id__": 40
},
{
"__id__": 42
},
{
"__id__": 44
}
],
"_active": true,
...
...
@@ -1821,16 +1915,16 @@
"_name": "dice",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
6
"__id__": 3
8
},
{
"__id__": 3
7
"__id__": 3
9
}
],
"_prefab": null,
...
...
@@ -1886,7 +1980,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
5
"__id__": 3
7
},
"_enabled": true,
"_materials": [
...
...
@@ -1918,7 +2012,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
5
"__id__": 3
7
},
"_enabled": true,
"_normalMaterial": null,
...
...
@@ -1986,13 +2080,13 @@
"_name": "point",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
39
"__id__":
41
}
],
"_prefab": null,
...
...
@@ -2048,7 +2142,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
38
"__id__":
40
},
"_enabled": true,
"_materials": [
...
...
@@ -2080,13 +2174,13 @@
"_name": "hat",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
1
"__id__": 4
3
}
],
"_prefab": null,
...
...
@@ -2142,7 +2236,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
0
"__id__": 4
2
},
"_enabled": true,
"_materials": [
...
...
@@ -2174,13 +2268,13 @@
"_name": "hatBlink",
"_objFlags": 0,
"_parent": {
"__id__": 3
4
"__id__": 3
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
3
"__id__": 4
5
}
],
"_prefab": null,
...
...
@@ -2236,7 +2330,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
2
"__id__": 4
4
},
"_enabled": true,
"_materials": [
...
...
@@ -2263,100 +2357,6 @@
"_atlas": null,
"_id": "eb6vqvJLlIZLmARGnJkoYq"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 33
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 45
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1914,
"height": 1920
},
"_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": "1fuGgBlyVP7aErMAlqsuGK"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e6bbf393-7172-42e0-8154-ef2c869502f4"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "6fuXQAhcdIhImxZLU4QpjY"
},
{
"__type__": "cc.Node",
"_name": "boardItems",
...
...
assets/l2_boardgame4_double/scene/l2_boardgame4_double.ts
View file @
98e20ada
...
...
@@ -1324,14 +1324,14 @@ export default class SceneComponent extends MyCocosSceneComponent {
dice
[
"
cantRoll
"
]
=
true
;
cc
.
tween
(
dice
)
.
by
(
3
,
{
angle
:
360
},
{
easing
:
"
cubicIn
"
})
.
to
(
time
,
{
angle
:
targetAngle
})
.
by
(
1
,
{
angle
:
360
})
.
by
(
1
,
{
angle
:
360
})
.
by
(
1
,
{
angle
:
360
})
.
by
(
1
,
{
angle
:
360
})
.
by
((
1
/
6
)
*
num
,
{
angle
:
60
*
num
})
.
by
(
3
,
{
angle
:
360
},
{
easing
:
"
cubicOut
"
})
.
by
(
1.5
,
{
angle
:
360
},
{
easing
:
"
cubicIn
"
})
.
to
(
time
/
2
,
{
angle
:
targetAngle
})
.
by
(
0.5
,
{
angle
:
360
})
.
by
(
0.5
,
{
angle
:
360
})
.
by
(
0.5
,
{
angle
:
360
})
.
by
(
0.5
,
{
angle
:
360
})
.
by
((
1
/
6
)
*
num
/
2
,
{
angle
:
60
*
num
})
.
by
(
1.5
,
{
angle
:
360
},
{
easing
:
"
cubicOut
"
})
.
call
(()
=>
{
dice
[
"
cantRoll
"
]
=
false
;
resolve
(
null
);
...
...
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