The level number is now displayed on the next level screen.

This commit is contained in:
Zed A. Shaw 2026-04-04 15:32:42 -04:00
parent b5c2fc3b5f
commit bc0912e577
11 changed files with 84 additions and 46 deletions

View file

@ -83,8 +83,13 @@
"frame_width": 1920,
"frame_height": 1080
},
"test_story":
{"path": "assets/stories/test_storyboard.png",
"intro_story":
{"path": "assets/stories/intro_story.png",
"frame_width": 1280,
"frame_height": 720
},
"win_story":
{"path": "assets/stories/win_story.png",
"frame_width": 1280,
"frame_height": 720
}
@ -119,6 +124,6 @@
},
"game_play": {
"levels_to_win": 4,
"help_text": "WASD moves\nQE rotates\nSpace attacks\nESC close\nRight-Click to heal\nClick on Ladders\nDev Tools:\nP: Debug\nZ: Mind Reader\nN: Next Level\nK: Die\nH/F1: Help\nF5: Screenshot\nReach Level 5 to Win\nAttack to Get Gud\nGet Hit to Get Tuff"
"help_text": "WASD moves\nQE rotates\nSpace attacks\nESC close\nRight-Click to heal\nClick on Ladders\nDev Tools:\nP: Debug\nZ: Mind Reader\nN: Next Level\nK: Die\nH/F1: Help\nF5: Screenshot\nExit Level 5 to Win\nAttack to Get Gud\nGet Hit to Get Tuff"
}
}

View file

@ -24,8 +24,10 @@
},
"NEXT_LEVEL": {
"layout": [
"[_|_|_|_|_|_]",
"[_|_|_|*%(200,100)buttons|_|_]"
"[_]",
"[_|_|_|*%(200,100)text|_|_]",
"[_|_|_|*%(200,200)buttons|_|_]",
"[_]"
],
"background": "next_level_scene",
"actors": [
@ -47,22 +49,11 @@
},
"STARTING": {
"layout": [
"[_|*%(200, 200)ag_bot|_|=*%(200,100)speech|_|_]",
"[_|_|_ |*%(200,100)buttons|_|_]"
"[_|_|_|_|_|_]",
"[_|_|_|*%(200,100)buttons|_|_]"
],
"background": "starting_scene",
"actors": [
{
"name": "ag_bot",
"sprite": "ag_bot",
"cell": "ag_bot",
"scale_x": 0.65,
"scale_y": 0.65,
"x": -40,
"y": 70,
"at_mid": false,
"flipped": false
}
],
"fixtures": [
],
@ -70,7 +61,6 @@
"layout": [
"[_]",
"[_|=*%(300, 100)Start|_|_|_]",
"[_|=*%(300, 100)About|_|_|_]",
"[_|=*%(300, 100)Quit|_|_|_]",
"[_]"
],

View file

@ -1,7 +1,7 @@
{
"intro_story":
{"_type": "Storyboard",
"image": "test_story",
"image": "intro_story",
"audio": "test_story",
"layout": [
"[a|b|c1]",
@ -22,5 +22,19 @@
["00:13", "i","shake", "60"],
["00:14", "i","bounce", "60"]
]
},
"win_story":
{"_type": "Storyboard",
"image": "win_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"]
]
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB