diff --git a/dist/shattered_sword_assets/images/market_story1.png b/dist/shattered_sword_assets/images/market_story1.png new file mode 100644 index 0000000..3e926c5 Binary files /dev/null and b/dist/shattered_sword_assets/images/market_story1.png differ diff --git a/dist/shattered_sword_assets/images/market_story2.png b/dist/shattered_sword_assets/images/market_story2.png new file mode 100644 index 0000000..a8eb279 Binary files /dev/null and b/dist/shattered_sword_assets/images/market_story2.png differ diff --git a/dist/shattered_sword_assets/images/market_story3.png b/dist/shattered_sword_assets/images/market_story3.png new file mode 100644 index 0000000..d792faf Binary files /dev/null and b/dist/shattered_sword_assets/images/market_story3.png differ diff --git a/dist/shattered_sword_assets/jsons/level5story.json b/dist/shattered_sword_assets/jsons/level5story.json new file mode 100644 index 0000000..02a9dda --- /dev/null +++ b/dist/shattered_sword_assets/jsons/level5story.json @@ -0,0 +1,102 @@ +{ + "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": "Hiro is now in a multi-level store. There're monsters and slimes in the store.", + "actions": [ + { + "type": "hideSprite", + "key": "storymode" + }, + { + "type": "loadSprite", + "key": "enemies", + "path": "shattered_sword_assets/images/market_story1.png", + "positon": [ + 300, + 150 + ], + "scale": [ + 3, + 3 + ] + } + ] + }, + { + "speaker": "", + "content": "Hint: the monster camouflaged into walls!", + "actions": [ + { + "type": "hideSprite", + "key": "enemies" + }, + { + "type": "loadSprite", + "key": "camouflage", + "path": "shattered_sword_assets/images/market_story2.png", + "positon": [ + 300, + 150 + ], + "scale": [ + 2, + 2 + ] + } + ] + }, + { + "speaker": "", + "content": "Hiro can only walk on the tiles. Be careful not to fall off the building.", + "actions": [ + { + "type": "hideSprite", + "key": "camouflage" + }, + { + "type": "loadSprite", + "key": "tiles", + "path": "shattered_sword_assets/images/market_story3.png", + "positon": [ + 300, + 150 + ], + "scale": [ + 2, + 2 + ] + } + ] + }, + { + "speaker": "", + "content": "Good luck on your journey!", + "actions": [ + { + "type": "hideSprite", + "key": "tiles" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/shattered_sword/Scenes/Market.ts b/src/shattered_sword/Scenes/Market.ts index 39b2b6f..a101eef 100644 --- a/src/shattered_sword/Scenes/Market.ts +++ b/src/shattered_sword/Scenes/Market.ts @@ -49,7 +49,7 @@ export default class Market 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/level5story.json"); this.startTimer(); } }