diff --git a/dist/shattered_sword_assets/images/wall_story1.png b/dist/shattered_sword_assets/images/wall_story1.png new file mode 100644 index 0000000..5a76d83 Binary files /dev/null and b/dist/shattered_sword_assets/images/wall_story1.png differ diff --git a/dist/shattered_sword_assets/jsons/level3story.json b/dist/shattered_sword_assets/jsons/level3story.json new file mode 100644 index 0000000..d6bd411 --- /dev/null +++ b/dist/shattered_sword_assets/jsons/level3story.json @@ -0,0 +1,56 @@ +{ + "texts": [ + { + "speaker": "", + "content": "Press enter or space or J or X to continue", + "actions": [ + { + "type": "loadSprite", + "key": "storymode", + "path": "shattered_sword_assets/images/guide0.png", + "positon": [ + 300, + 150 + ], + "scale": [ + 3, + 3 + ] + } + ] + }, + { + "speaker": "", + "content": "There're bulls and slimes in the great wall. Hint: the bull will dash when attack.", + "actions": [ + { + "type": "hideSprite", + "key": "storymode" + }, + { + "type": "loadSprite", + "key": "enemies", + "path": "shattered_sword_assets/images/wall_story1.png", + "positon": [ + 300, + 150 + ], + "scale": [ + 3, + 3 + ] + } + ] + }, + { + "speaker": "", + "content": "Good luck on your journey!", + "actions": [ + { + "type": "hideSprite", + "key": "enemies" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/shattered_sword/Scenes/Greatwall.ts b/src/shattered_sword/Scenes/Greatwall.ts index 2da2795..a0c9ea3 100644 --- a/src/shattered_sword/Scenes/Greatwall.ts +++ b/src/shattered_sword/Scenes/Greatwall.ts @@ -45,7 +45,7 @@ export default class Greatwall 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/level3story.json"); this.startTimer(); } }