Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
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
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
崔立强
db-game-template
Commits
11c3d433
Commit
11c3d433
authored
Sep 04, 2019
by
lujinlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'1'
parent
877581ed
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
Main.ts
egret/src/Main.ts
+2
-0
PlayScene.ts
egret/src/playScene/PlayScene.ts
+1
-1
StartScene.ts
egret/src/startScene/StartScene.ts
+3
-0
No files found.
egret/src/Main.ts
View file @
11c3d433
...
...
@@ -12,6 +12,8 @@ class Main extends MainBase {
}
window
[
'Main'
]
=
Main
;
egret
.
runEgret
({
renderMode
:
"webgl"
,
audioType
:
0
,
calculateCanvasScaleFactor
:
(
context
:
any
)
=>
{
...
...
egret/src/playScene/PlayScene.ts
View file @
11c3d433
...
...
@@ -14,7 +14,7 @@ export default class PlayScene extends PlaySceneBase {
system
:
GravityParticleSystem
;
async
start
(
data
?)
{
super
.
start
();
console
.
log
(
"招行"
);
await
Promise
.
all
([
RES
.
getResAsync
(
"newParticle_png"
),
RES
.
getResAsync
(
"newParticle_json"
),
...
...
egret/src/startScene/StartScene.ts
View file @
11c3d433
...
...
@@ -12,6 +12,9 @@ export default class StartScene extends StartSceneBase {
RES
.
getResAsync
(
"firePot_png"
)
]);
const
bg
=
new
egret
.
Bitmap
();
bg
.
texture
=
RES
.
getRes
(
"firePot_png"
);
this
.
addChild
(
bg
);
...
...
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