diff --git a/dist/shattered_sword_assets/images/snow_story1.png b/dist/shattered_sword_assets/images/snow_story1.png new file mode 100644 index 0000000..4310914 Binary files /dev/null and b/dist/shattered_sword_assets/images/snow_story1.png differ diff --git a/dist/shattered_sword_assets/jsons/level4story.json b/dist/shattered_sword_assets/jsons/level4story.json new file mode 100644 index 0000000..79d0670 --- /dev/null +++ b/dist/shattered_sword_assets/jsons/level4story.json @@ -0,0 +1,61 @@ +{ + "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": "We're now in a snow mountain. There're archers and slimes in the mountain.", + "actions": [ + { + "type": "hideSprite", + "key": "storymode" + }, + { + "type": "loadSprite", + "key": "enemies", + "path": "shattered_sword_assets/images/snow_story1.png", + "positon": [ + 300, + 150 + ], + "scale": [ + 3, + 3 + ] + } + ] + }, + { + "speaker": "", + "content": "Hint: jump when under attack!", + "actions": [] + }, + { + "speaker": "", + "content": "Good luck on your journey!", + "actions": [ + { + "type": "hideSprite", + "key": "enemies" + } + ] + } + ] +} \ No newline at end of file diff --git a/dist/shattered_sword_assets/jsons/porcelain_story1.png b/dist/shattered_sword_assets/jsons/porcelain_story1.png deleted file mode 100644 index 66ddd68..0000000 Binary files a/dist/shattered_sword_assets/jsons/porcelain_story1.png and /dev/null differ diff --git a/src/shattered_sword/Scenes/Snow.ts b/src/shattered_sword/Scenes/Snow.ts index 6db01f8..7cede16 100644 --- a/src/shattered_sword/Scenes/Snow.ts +++ b/src/shattered_sword/Scenes/Snow.ts @@ -50,7 +50,7 @@ export default class Snow 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/level4story.json"); this.startTimer(); } }