From dd42cb06fe5727103c807b1bf54775dc037b32a7 Mon Sep 17 00:00:00 2001 From: Kelly Peng Date: Mon, 9 May 2022 16:11:25 -0400 Subject: [PATCH] combine stories together --- .../jsons/level1story.json | 117 ++++++++++++++++-- 1 file changed, 105 insertions(+), 12 deletions(-) diff --git a/dist/shattered_sword_assets/jsons/level1story.json b/dist/shattered_sword_assets/jsons/level1story.json index d308012..ff3147d 100644 --- a/dist/shattered_sword_assets/jsons/level1story.json +++ b/dist/shattered_sword_assets/jsons/level1story.json @@ -21,12 +21,114 @@ }, { "speaker": "", - "content": "Press A/LEFT to go LEFT and D/RIGHT to go right", + "content": "There was the legendary royal greatsword that would grant great power to its wielder", "actions": [ { "type": "hideSprite", "key": "storymode" }, + { + "type": "loadSprite", + "key": "sword", + "path": "shattered_sword_assets/images/story1.png", + "positon": [ + 300, + 150 + ], + "scale": [ + 4, + 4 + ] + } + ] + }, + { + "speaker": "", + "content": "But an evil monster shattered it into 6 pieces", + "actions": [ + { + "type": "hideSprite", + "key": "sword" + }, + { + "type": "loadSprite", + "key": "sword_shattered", + "path": "shattered_sword_assets/images/story2.png", + "positon": [ + 300, + 150 + ], + "scale": [ + 4, + 4 + ] + } + ] + }, + { + "speaker": "", + "content": "Hiro is the only surviving prince from the kingdom destroyed by the monster", + "actions": [ + { + "type": "hideSprite", + "key": "sword_shattered" + }, + { + "type": "loadSprite", + "key": "hiro_appear", + "path": "shattered_sword_assets/images/story3.png", + "positon": [ + 300, + 150 + ], + "scale": [ + 4, + 4 + ] + } + ] + }, + { + "speaker": "Hiro", + "content": "To bring prosperity back to the kingdom...", + "actions": [ + { + "type": "hideSprite", + "key": "hiro_appear" + }, + { + "type": "loadSprite", + "key": "hiro_sword", + "path": "shattered_sword_assets/images/story4.png", + "positon": [ + 300, + 150 + ], + "scale": [ + 4, + 4 + ] + } + ] + }, + { + "speaker": "Hiro", + "content": "I must go on the journey to collect the pieces of the sword... and kill the monster!", + "actions": [ + { + "type": "showSprite", + "key": "hiro_sword" + } + ] + }, + { + "speaker": "", + "content": "Press A/LEFT to go LEFT and D/RIGHT to go right", + "actions": [ + { + "type": "hideSprite", + "key": "hiro_sword" + }, { "type": "loadSprite", "key": "rightleft", @@ -191,17 +293,8 @@ "content": "Snakes can fall from the sky at any moment, and apply poison when they hit you.", "actions": [ { - "type": "loadSprite", - "key": "enemies", - "path": "shattered_sword_assets/images/forest_story1.png", - "positon": [ - 300, - 150 - ], - "scale": [ - 3, - 3 - ] + "type": "showSprite", + "key": "enemies" } ] },