Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
game-stydy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
谌继荃
game-stydy
Commits
a2446fdf
Commit
a2446fdf
authored
Mar 10, 2021
by
邱旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
09.FlppyBird-节点树
parent
c962604a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
09.FlppyBird-节点树.html
09.FlppyBird-节点树/09.FlppyBird-节点树.html
+2
-3
09.FlppyBird-节点树.md
09.FlppyBird-节点树/09.FlppyBird-节点树.md
+2
-3
No files found.
09.FlppyBird-节点树/09.FlppyBird-节点树.html
View file @
a2446fdf
...
@@ -125,9 +125,8 @@
...
@@ -125,9 +125,8 @@
const
path
=
"../images/bird/"
;
const
path
=
"../images/bird/"
;
const
promises
=
[
const
promises
=
[
"bird_01.png"
,
"bird_02.png"
,
"bird_03.png"
,
"bird_01.png"
,
"bird_02.png"
,
"bird_03.png"
,
"pie.png"
,
"land.png"
,
"pie_down.png"
,
"pie_up.png"
,
"land.png"
,
"background.png"
,
"start_button.png"
"background.png"
,
"start_button.png"
].
map
((
v
)
=>
{
].
map
((
v
)
=>
{
return
loadImgAsync
(
`
${
path
}${
v
}
`
);
return
loadImgAsync
(
`
${
path
}${
v
}
`
);
});
});
...
...
09.FlppyBird-节点树/09.FlppyBird-节点树.md
View file @
a2446fdf
...
@@ -274,9 +274,8 @@ class FlppyBird extends GameStage {
...
@@ -274,9 +274,8 @@ class FlppyBird extends GameStage {
const
path
=
"../images/bird/"
;
const
path
=
"../images/bird/"
;
const
promises
=
[
const
promises
=
[
"bird_01.png"
,
"bird_02.png"
,
"bird_03.png"
,
"bird_01.png"
,
"bird_02.png"
,
"bird_03.png"
,
"pie.png"
,
"land.png"
,
"pie_down.png"
,
"pie_up.png"
,
"land.png"
,
"background.png"
,
"start_button.png"
"background.png"
,
"start_button.png"
].
map
((
v
)
=>
{
].
map
((
v
)
=>
{
return
loadImgAsync
(
`
${
path
}${
v
}
`
);
return
loadImgAsync
(
`
${
path
}${
v
}
`
);
});
});
...
...
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