Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dfzx_ac2
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
dfzx_ac2
Commits
baf8ff8a
Commit
baf8ff8a
authored
Mar 24, 2021
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resize lion
parent
16d4dc43
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
Scene.fire
play/assets/tmpGame/scene/Scene.fire
+4
-4
GameLogic.js
play/assets/tmpGame/script/GameLogic.js
+4
-4
No files found.
play/assets/tmpGame/scene/Scene.fire
View file @
baf8ff8a
...
...
@@ -210,7 +210,7 @@
"array": [
0,
0,
497.96460717605225
,
265.839111539906
,
0,
0,
0,
...
...
@@ -463,14 +463,14 @@
"ctor": "Float64Array",
"array": [
482.232,
-
174.13
9,
-
260.56
9,
0,
0,
0,
0,
1,
2
,
2
,
1
,
1
,
1
]
},
...
...
play/assets/tmpGame/script/GameLogic.js
View file @
baf8ff8a
...
...
@@ -101,8 +101,8 @@ export default class GameLogic {
// }})
node
=
this
.
g_cartoon
.
getNodeByPath
(
`Canvas/lion`
)
node
.
x
=
cc
.
winSize
.
width
/
2
-
1
50
node
.
y
=
-
cc
.
winSize
.
height
/
2
+
1
70
node
.
x
=
cc
.
winSize
.
width
/
2
-
1
15
node
.
y
=
-
cc
.
winSize
.
height
/
2
+
1
35
this
.
m_bubblesAll
.
push
({
node
:
node
,
move
:
{
r
:
90
,
x
:
node
.
x
,
y
:
node
.
y
,
vX
:
0
,
vY
:
0
,
enable
:
true
,
fix
:
true
,
scale
:
1
,
id
:
997
,
lastId
:
null
}})
...
...
@@ -587,8 +587,8 @@ export default class GameLogic {
]
let
scaleIndex
=
this
.
m_bubblesAll
.
length
<=
15
?
0
:
1
;
let
startx
=
cc
.
winSize
.
width
/
2
-
22
0
let
starty
=
-
cc
.
winSize
.
height
/
2
+
200
let
startx
=
cc
.
winSize
.
width
/
2
-
11
0
let
starty
=
-
cc
.
winSize
.
height
/
2
+
138
const
vArr
=
[
{
vX
:
-
0.5
,
vY
:
0.5
},
{
vX
:
0.5
,
vY
:
-
0.5
},
{
vX
:
-
0.5
,
vY
:
-
0.5
},
{
vX
:
0.5
,
vY
:
0.5
}
]
...
...
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