ShatteredSword/dist/shattered_sword_assets/jsons/samplestory.json

109 lines
2.9 KiB
JSON
Raw Normal View History

2022-04-02 21:44:53 -04:00
{
"bgm": [
2022-04-02 21:44:53 -04:00
{
"key": "test",
"path": "shattered_sword_assets/sounds/test.mp3"
2022-04-02 21:44:53 -04:00
}
],
"texts": [
2022-04-11 21:58:21 -04:00
{
"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": [
600,
250
],
"scale": [
8,
8
]
}
]
},
{
"speaker": "",
"content": "But the monster shatter it into 6 pieces",
"actions": [
{
"type": "hideSprite",
"key": "sword"
},
{
"type": "loadSprite",
"key": "sword_shattered",
"path": "shattered_sword_assets/images/story2.png",
"positon": [
600,
250
],
"scale": [
8,
8
]
}
]
},
2022-04-02 21:44:53 -04:00
{
"speaker": "Hiro",
"content": "Hello\r\n\nworld!",
"actions": [
{
"type": "loadSprite",
"key": "hiro",
"path": "shattered_sword_assets/images/Logo.png",
"positon": [
500,
500
],
"scale": [
1,
1
]
}
]
2022-04-02 21:44:53 -04:00
},
{
"speaker": "world",
"content": "Hello Hiro!",
"actions": [
{
"type": "moveSprite",
"key": "hiro",
"positon": [
100,
100
],
"scale": [
2,
2
]
}
]
},
{
"speaker": "",
"content": "this should hide the image",
"actions": [
{
"type": "hideSprite",
"key": "hiro"
}
]
},
{
"speaker": "",
"content": "this should show it again",
"actions": [
{
"type": "showSprite",
"key": "hiro"
}
]
2022-04-02 21:44:53 -04:00
}
]
}