ShatteredSword/dist/shattered_sword_assets/jsons/story.json
2022-04-25 20:05:55 -04:00

135 lines
3.8 KiB
JSON

{
"texts": [
{
"speaker": "",
"content": "There's a the legendary royal greatsword that is the only weapon powerful enough to slay the monster",
"actions": [
{
"type": "loadSprite",
"key": "sword",
"path": "shattered_sword_assets/images/story1.png",
"positon": [
300,
150
],
"scale": [
4,
4
]
}
]
},
{
"speaker": "",
"content": "But the 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 prince from the kingdom",
"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 should go on the journey to collect the pieces of the sword... and kill the monster!",
"actions": [
{
"type": "showSprite",
"key": "hiro_sword"
}
]
},
{
"speaker": "",
"content": "",
"actions": [
{
"type": "hideSprite",
"key": "hiro_sword"
},
{
"type": "loadSprite",
"key": "logo",
"path": "shattered_sword_assets/images/Logo.png",
"positon": [
330,
150
],
"scale": [
0.5,
0.5
]
}
]
},
{
"speaker": "",
"content": "",
"actions": [
{
"type": "hideSprite",
"key": "logo"
}
]
}
]
}