Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
op_input
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
op_input
Commits
6a67339f
Commit
6a67339f
authored
Sep 09, 2022
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改轮次标识
parent
03a45a60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
12 deletions
+33
-12
op_input.fire
assets/op_input/scene/op_input.fire
+31
-10
op_input.ts
assets/op_input/scene/op_input.ts
+2
-2
No files found.
assets/op_input/scene/op_input.fire
View file @
6a67339f
...
@@ -116,14 +116,14 @@
...
@@ -116,14 +116,14 @@
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
"__id__": 103
},
{
{
"__id__": 104
"__id__": 104
},
},
{
{
"__id__": 105
"__id__": 105
},
{
"__id__": 106
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4542,14 +4542,14 @@
...
@@ -4542,14 +4542,14 @@
],
],
"_active": true,
"_active": true,
"_components": [
"_components": [
{
"__id__": 100
},
{
{
"__id__": 101
"__id__": 101
},
},
{
{
"__id__": 102
"__id__": 102
},
{
"__id__": 103
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4739,6 +4739,9 @@
...
@@ -4739,6 +4739,9 @@
},
},
{
{
"__id__": 99
"__id__": 99
},
{
"__id__": 100
}
}
],
],
"_prefab": null,
"_prefab": null,
...
@@ -4752,7 +4755,7 @@
...
@@ -4752,7 +4755,7 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
34.75
,
"width":
94.52
,
"height": 31.5
"height": 31.5
},
},
"_anchorPoint": {
"_anchorPoint": {
...
@@ -4804,8 +4807,8 @@
...
@@ -4804,8 +4807,8 @@
],
],
"_srcBlendFactor": 770,
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_string": "
1/2
",
"_string": "
Round 1
",
"_N$string": "
1/2
",
"_N$string": "
Round 1
",
"_fontSize": 25,
"_fontSize": 25,
"_lineHeight": 25,
"_lineHeight": 25,
"_enableWrapText": true,
"_enableWrapText": true,
...
@@ -4834,7 +4837,7 @@
...
@@ -4834,7 +4837,7 @@
"_target": null,
"_target": null,
"_alignFlags": 32,
"_alignFlags": 32,
"_left": 0,
"_left": 0,
"_right": -
47.655000000000015
,
"_right": -
107.42500000000001
,
"_top": 0,
"_top": 0,
"_bottom": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_verticalCenter": 0,
...
@@ -4849,6 +4852,24 @@
...
@@ -4849,6 +4852,24 @@
"_originalHeight": 0,
"_originalHeight": 0,
"_id": "61nK2Ti3FBUIwnoeXuR13Q"
"_id": "61nK2Ti3FBUIwnoeXuR13Q"
},
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 97
},
"_enabled": false,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_width": 1,
"_id": "d3osy8ojFABaGzAkG855zf"
},
{
{
"__type__": "cc.Sprite",
"__type__": "cc.Sprite",
"_name": "",
"_name": "",
...
...
assets/op_input/scene/op_input.ts
View file @
6a67339f
...
@@ -152,12 +152,12 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
...
@@ -152,12 +152,12 @@ export default class PuzzleJigsaw extends MyCocosSceneComponent {
if
(
Game
.
getIns
().
roundCount
==
2
)
{
if
(
Game
.
getIns
().
roundCount
==
2
)
{
img
.
active
=
false
;
img
.
active
=
false
;
icon
.
active
=
true
;
icon
.
active
=
true
;
pro_label
.
getComponent
(
cc
.
Label
).
string
=
`
2/
2`
;
pro_label
.
getComponent
(
cc
.
Label
).
string
=
`
Round
2`
;
}
else
{
}
else
{
img
.
active
=
true
;
img
.
active
=
true
;
icon
.
active
=
false
;
icon
.
active
=
false
;
pg
.
view
.
setNetImg
(
img
,
data
.
image
,
{
w
:
110
,
h
:
110
});
pg
.
view
.
setNetImg
(
img
,
data
.
image
,
{
w
:
110
,
h
:
110
});
pro_label
.
getComponent
(
cc
.
Label
).
string
=
`
1/2
`
;
pro_label
.
getComponent
(
cc
.
Label
).
string
=
`
Round 1
`
;
}
}
}
}
...
...
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