Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP33_PLUS
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
OP33_PLUS
Commits
cd75fd0d
Commit
cd75fd0d
authored
Mar 22, 2022
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
汽车效果
parent
d28793cd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
OP33_PLUS.fire
assets/OP33_PLUS/scene/OP33_PLUS.fire
+2
-2
OP33_PLUS.js
assets/OP33_PLUS/scene/OP33_PLUS.js
+2
-2
No files found.
assets/OP33_PLUS/scene/OP33_PLUS.fire
View file @
cd75fd0d
...
@@ -588,8 +588,8 @@
...
@@ -588,8 +588,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
6
00,
"width":
14
00,
"height":
4
00
"height":
6
00
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
...
assets/OP33_PLUS/scene/OP33_PLUS.js
View file @
cd75fd0d
...
@@ -520,13 +520,13 @@ cc.Class({
...
@@ -520,13 +520,13 @@ cc.Class({
const
car3
=
cc
.
find
(
'
Canvas/bg/car_3
'
);
const
car3
=
cc
.
find
(
'
Canvas/bg/car_3
'
);
car1
.
x
=
pos1
.
x
;
car1
.
x
=
pos1
.
x
;
car1
.
y
=
pos2
.
y
;
car1
.
y
=
pos2
.
y
;
cc
.
tween
(
car1
).
to
(
1
,
{
x
:
pos3
.
x
}
).
start
();
cc
.
tween
(
car1
).
by
(
0.2
,
{
x
:
-
60
}).
by
(
0.2
,
{
x
:
-
100
}).
by
(
0.2
,
{
x
:
-
120
}).
by
(
0.2
,
{
x
:
-
140
}).
by
(
0.2
,
{
x
:
-
180
}).
to
(
1
,
{
x
:
pos3
.
x
},
cc
.
easing
.
quadIn
).
start
();
if
(
this
.
status
.
currentQuestionIdx
+
1
<
this
.
data
.
question_arr
.
length
)
{
if
(
this
.
status
.
currentQuestionIdx
+
1
<
this
.
data
.
question_arr
.
length
)
{
car2
.
x
=
pos2
.
x
;
car2
.
x
=
pos2
.
x
;
car2
.
y
=
pos2
.
y
;
car2
.
y
=
pos2
.
y
;
cc
.
tween
(
car2
).
to
(
1
,
{
x
:
pos1
.
x
}).
start
();
cc
.
tween
(
car2
).
delay
(
1
).
to
(
1
,
{
x
:
pos1
.
x
}).
start
();
}
}
this
.
optionNodes
.
forEach
(
optionNode
=>
{
this
.
optionNodes
.
forEach
(
optionNode
=>
{
...
...
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