Brought over the storyboard thing from my other game for the intro sequence.

This commit is contained in:
Zed A. Shaw 2026-04-03 00:05:37 -04:00
parent 279faf6dd5
commit 0df63ea074
10 changed files with 204 additions and 3 deletions

View file

@ -4,7 +4,8 @@
"pickup": "assets/sounds/pickup.ogg",
"ui_click": "assets/sounds/ui_click.ogg",
"ui_hover": "assets/sounds/ui_hover.ogg",
"walk": "assets/sounds/walk.ogg"
"walk": "assets/sounds/walk.ogg",
"test_story": "assets/sounds/test_story.ogg"
},
"sprites": {
"spider_bot":
@ -81,6 +82,11 @@
{"path": "assets/scenes/win_scene.png",
"frame_width": 1920,
"frame_height": 1080
},
"test_story":
{"path": "assets/stories/test_storyboard.png",
"frame_width": 1280,
"frame_height": 720
}
},
"worldgen": {

Binary file not shown.

26
assets/stories.json Normal file
View file

@ -0,0 +1,26 @@
{
"intro_story":
{"_type": "Storyboard",
"image": "test_story",
"audio": "test_story",
"layout": [
"[a|b|c1]",
"[d|e|c2]",
"[g|h|i]"
],
"beats": [
["00:00", "a","pan", "60"],
["00:01", "b","shake", "30"],
["00:5", "g","pan", "60"],
["00:6", "h","pan", "60"],
["00:7", "h","bounce", "60"],
["00:8", "c1","pan", "60"],
["00:9", "c2","pan", "60"],
["00:10", "d","bounce", "60"],
["00:11", "e","shake", "60"],
["00:12", "i","pan", "60"],
["00:13", "i","shake", "60"],
["00:14", "i","bounce", "60"]
]
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB