Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dg18_tianci
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
dg18_tianci
Commits
02517c6b
Commit
02517c6b
authored
Jan 03, 2024
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
ba3576ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
dg18_tianci.fire
assets/dg18_tianci/scene/dg18_tianci.fire
+3
-3
dg18_tianci.ts
assets/dg18_tianci/scene/dg18_tianci.ts
+2
-3
No files found.
assets/dg18_tianci/scene/dg18_tianci.fire
View file @
02517c6b
...
@@ -2881,7 +2881,7 @@
...
@@ -2881,7 +2881,7 @@
"_enabled": true,
"_enabled": true,
"alignMode": 2,
"alignMode": 2,
"_target": null,
"_target": null,
"_alignFlags":
8
,
"_alignFlags":
0
,
"_left": 0,
"_left": 0,
"_right": 39.384000000000015,
"_right": 39.384000000000015,
"_top": 140,
"_top": 140,
...
@@ -2970,7 +2970,7 @@
...
@@ -2970,7 +2970,7 @@
"_enabled": true,
"_enabled": true,
"alignMode": 2,
"alignMode": 2,
"_target": null,
"_target": null,
"_alignFlags":
32
,
"_alignFlags":
0
,
"_left": 19.285999999999945,
"_left": 19.285999999999945,
"_right": 0,
"_right": 0,
"_top": 140,
"_top": 140,
...
@@ -3578,7 +3578,7 @@
...
@@ -3578,7 +3578,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-
1638.806
,
-
810.962
,
280,
280,
0,
0,
0,
0,
...
...
assets/dg18_tianci/scene/dg18_tianci.ts
View file @
02517c6b
...
@@ -168,7 +168,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -168,7 +168,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
}
if
(
data
.
itemType
==
'
text
'
)
{
if
(
data
.
itemType
==
'
text
'
)
{
data
.
text
+=
'
aaa bbb cc dd
'
;
let
item
=
pg
.
view
.
clone
(
this
.
item_battery_text
)
let
item
=
pg
.
view
.
clone
(
this
.
item_battery_text
)
item
.
active
=
true
;
item
.
active
=
true
;
item
.
x
=
0
;
item
.
x
=
0
;
...
@@ -188,7 +187,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -188,7 +187,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 左侧
// 左侧
let
sid
=
(
i
+
1
)
%
4
+
1
let
sid
=
(
i
+
1
)
%
4
+
1
pg
.
view
.
visible
(
pg
.
view
.
find
(
item
,
'
bg/img_battery
'
+
sid
),
true
)
pg
.
view
.
visible
(
pg
.
view
.
find
(
item
,
'
bg/img_battery
'
+
sid
),
true
)
item
.
x
=
-
4
00
;
item
.
x
=
-
6
00
;
if
(
this
.
current
==
0
)
{
if
(
this
.
current
==
0
)
{
cc
.
tween
(
item
).
delay
(
delayTime
).
to
(
0.5
,
{
x
:
0
}).
start
();
cc
.
tween
(
item
).
delay
(
delayTime
).
to
(
0.5
,
{
x
:
0
}).
start
();
...
@@ -200,7 +199,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -200,7 +199,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
let
sid
=
(
i
+
1
-
lineNum
)
%
2
+
5
let
sid
=
(
i
+
1
-
lineNum
)
%
2
+
5
pg
.
view
.
visible
(
pg
.
view
.
find
(
item
,
'
bg/img_battery
'
+
sid
),
true
)
pg
.
view
.
visible
(
pg
.
view
.
find
(
item
,
'
bg/img_battery
'
+
sid
),
true
)
item_text
.
x
=
10
item_text
.
x
=
10
item
.
x
=
4
00
;
item
.
x
=
6
00
;
if
(
this
.
current
==
0
)
{
if
(
this
.
current
==
0
)
{
cc
.
tween
(
item
).
delay
(
delayTime
).
to
(
0.5
,
{
x
:
0
}).
start
();
cc
.
tween
(
item
).
delay
(
delayTime
).
to
(
0.5
,
{
x
:
0
}).
start
();
}
else
{
}
else
{
...
...
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