add level2 start story
This commit is contained in:
parent
5502255b7e
commit
7becd067f2
BIN
dist/shattered_sword_assets/images/porcelain_story1.png
vendored
Normal file
BIN
dist/shattered_sword_assets/images/porcelain_story1.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
BIN
dist/shattered_sword_assets/images/porcelain_story2.png
vendored
Normal file
BIN
dist/shattered_sword_assets/images/porcelain_story2.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
|
@ -30,7 +30,7 @@
|
|||
{
|
||||
"type": "loadSprite",
|
||||
"key": "enemies",
|
||||
"path": "shattered_sword_assets/images/forest_story1.png",
|
||||
"path": "shattered_sword_assets/images/porcelain_story1.png",
|
||||
"positon": [
|
||||
300,
|
||||
150
|
||||
|
@ -52,8 +52,8 @@
|
|||
},
|
||||
{
|
||||
"type": "loadSprite",
|
||||
"key": "gap",
|
||||
"path": "shattered_sword_assets/images/forest_story2.png",
|
||||
"key": "jump",
|
||||
"path": "shattered_sword_assets/images/porcelain_story2.png",
|
||||
"positon": [
|
||||
300,
|
||||
150
|
||||
|
@ -71,7 +71,7 @@
|
|||
"actions": [
|
||||
{
|
||||
"type": "hideSprite",
|
||||
"key": "gap"
|
||||
"key": "jump"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ export default class Porcelain extends GameLevel {
|
|||
protected playStartStory(): void {
|
||||
if (!this.touchedStartCheckPoint) {
|
||||
this.touchedStartCheckPoint = true;
|
||||
this.storyLoader("shattered_sword_assets/jsons/level1story.json");
|
||||
this.storyLoader("shattered_sword_assets/jsons/level2story.json");
|
||||
this.startTimer();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user