Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RB_StrongestBrain_250520
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
SparkProjects
RB_StrongestBrain_250520
Commits
9c7d0d50
Commit
9c7d0d50
authored
May 23, 2025
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
ef6522e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
App.tsx
src/App.tsx
+3
-1
Game.ts
src/pages/GamePage/Game.ts
+2
-2
No files found.
src/App.tsx
View file @
9c7d0d50
...
...
@@ -26,7 +26,9 @@ import { domain, ensureDomain } from "@spark/dbdomain";
import
shareStore
from
'./store/share.js'
;
import
music
from
"../src/assets/audio/bgm.mp3"
;
import
*
as
eruda
from
"eruda"
;
eruda
.
init
({});
@
observer
class
App
extends
Component
{
...
...
@@ -37,7 +39,7 @@ class App extends Component {
myPrize
:
MyPrize
,
// TODO 举例子 新宿台奖品页
index
:
HomePage
,
sharepage
:
SharePage
,
}[
skinId
]
||
Ga
mePage
;
}[
skinId
]
||
Ho
mePage
;
PageCtrl
.
changePage
(
defaultPage
);
}
...
...
src/pages/GamePage/Game.ts
View file @
9c7d0d50
...
...
@@ -38,10 +38,10 @@ export class Game extends Base {
const
qsBg
=
this
.
addChild
(
new
Sprite
(
Assets
.
get
(
"问题.png"
)));
qsBg
.
position
.
set
(
49
,
316
);
this
.
level
=
this
.
addChild
(
new
Level5
());
//
this.level = this.addChild(new Level5());
globalEvent
.
on
(
GameEvent
.
NextLevel
,
this
.
nextLevel
,
this
);
//
this.nextLevel();
this
.
nextLevel
();
}
...
...
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