Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RB-studyChina-20250617
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-studyChina-20250617
Commits
2be3dd9f
Commit
2be3dd9f
authored
May 23, 2025
by
cc
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab2.dui88.com/sparkprojects/rb_strongestbrain_250520
parents
f70d0f3f
5bd854f3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
App.tsx
src/App.tsx
+2
-0
Game.ts
src/pages/GamePage/Game.ts
+2
-2
LevelConfig.ts
src/pages/GamePage/Level/LevelConfig.ts
+2
-1
No files found.
src/App.tsx
View file @
2be3dd9f
...
@@ -26,7 +26,9 @@ import { domain, ensureDomain } from "@spark/dbdomain";
...
@@ -26,7 +26,9 @@ import { domain, ensureDomain } from "@spark/dbdomain";
import
shareStore
from
'./store/share.js'
;
import
shareStore
from
'./store/share.js'
;
import
music
from
"../src/assets/audio/bgm.mp3"
;
import
music
from
"../src/assets/audio/bgm.mp3"
;
import
*
as
eruda
from
"eruda"
;
eruda
.
init
({});
@
observer
@
observer
class
App
extends
Component
{
class
App
extends
Component
{
...
...
src/pages/GamePage/Game.ts
View file @
2be3dd9f
...
@@ -39,10 +39,10 @@ export class Game extends Base {
...
@@ -39,10 +39,10 @@ export class Game extends Base {
const
qsBg
=
this
.
addChild
(
new
Sprite
(
Assets
.
get
(
"问题.png"
)));
const
qsBg
=
this
.
addChild
(
new
Sprite
(
Assets
.
get
(
"问题.png"
)));
qsBg
.
position
.
set
(
49
,
316
);
qsBg
.
position
.
set
(
49
,
316
);
this
.
level
=
this
.
addChild
(
new
Level16
());
// this.level = this.addChild(new Level5
());
globalEvent
.
on
(
GameEvent
.
NextLevel
,
this
.
nextLevel
,
this
);
globalEvent
.
on
(
GameEvent
.
NextLevel
,
this
.
nextLevel
,
this
);
//
this.nextLevel();
this
.
nextLevel
();
}
}
...
...
src/pages/GamePage/Level/LevelConfig.ts
View file @
2be3dd9f
...
@@ -13,6 +13,7 @@ import { Level12 } from "@/pages/GamePage/Level/Level12.ts";
...
@@ -13,6 +13,7 @@ import { Level12 } from "@/pages/GamePage/Level/Level12.ts";
import
{
Level13
}
from
"@/pages/GamePage/Level/Level13.ts"
;
import
{
Level13
}
from
"@/pages/GamePage/Level/Level13.ts"
;
import
{
Level14
}
from
"@/pages/GamePage/Level/Level14.ts"
;
import
{
Level14
}
from
"@/pages/GamePage/Level/Level14.ts"
;
import
{
Level15
}
from
"@/pages/GamePage/Level/Level15.ts"
;
import
{
Level15
}
from
"@/pages/GamePage/Level/Level15.ts"
;
import
{
Level16
}
from
"@/pages/GamePage/Level/Level16.ts"
;
import
{
Level18
}
from
"@/pages/GamePage/Level/Level18.ts"
;
import
{
Level18
}
from
"@/pages/GamePage/Level/Level18.ts"
;
import
{
Level19
}
from
"@/pages/GamePage/Level/Level19.ts"
;
import
{
Level19
}
from
"@/pages/GamePage/Level/Level19.ts"
;
import
{
Level20
}
from
"@/pages/GamePage/Level/Level20.ts"
;
import
{
Level20
}
from
"@/pages/GamePage/Level/Level20.ts"
;
...
@@ -38,7 +39,7 @@ export const LevelArr = [
...
@@ -38,7 +39,7 @@ export const LevelArr = [
{
cls
:
Level13
,
tip
:
`打开盖子看看`
},
{
cls
:
Level13
,
tip
:
`打开盖子看看`
},
{
cls
:
Level14
,
tip
:
`将香蕉移动到牛奶中<br/>变成香蕉牛奶`
},
{
cls
:
Level14
,
tip
:
`将香蕉移动到牛奶中<br/>变成香蕉牛奶`
},
{
cls
:
Level15
,
tip
:
`猫吃老鼠`
},
{
cls
:
Level15
,
tip
:
`猫吃老鼠`
},
{
cls
:
Level1
4
,
tip
:
`移动笼子罩住小鸭子`
},
// 16
{
cls
:
Level1
6
,
tip
:
`移动笼子罩住小鸭子`
},
// 16
{
cls
:
Level14
,
tip
:
`别忘了,人是高等动物哦`
},
// 17
{
cls
:
Level14
,
tip
:
`别忘了,人是高等动物哦`
},
// 17
{
cls
:
Level18
,
tip
:
`移开乌云露出太阳<br/>让冰块融化`
},
{
cls
:
Level18
,
tip
:
`移开乌云露出太阳<br/>让冰块融化`
},
{
cls
:
Level19
,
tip
:
`将冰箱放大至能够装下长颈鹿`
},
{
cls
:
Level19
,
tip
:
`将冰箱放大至能够装下长颈鹿`
},
...
...
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