ShatteredSword/dist/shattered_sword_assets/jsons/samplestory.json

67 lines
1.6 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": [
{
"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": "world",
"content": "this should hide the image",
"actions": [
{
"type": "hideSprite",
"key": "hiro"
}
]
},
{
"speaker": "world",
"content": "this should show it again",
"actions": [
{
"type": "showSprite",
"key": "hiro"
}
]
2022-04-02 21:44:53 -04:00
}
]
}