Improved start screen and made the animation optional in scenes since they aren't needed always.

This commit is contained in:
Zed A. Shaw 2026-04-02 12:15:51 -04:00
parent 903fad871f
commit 532366091b
13 changed files with 114 additions and 27 deletions

View file

@ -97,6 +97,39 @@
"open": [],
"close": []
}
},
"ag_bot": {
"sheet": {
"frames": 1,
"frame_width": 846,
"frame_height": 1022
},
"sequences": {
"idle": {"frames": [0], "durations": [50] }
},
"transforms": {
"basic": {
"min_x": 1.0,
"min_y": 1.0,
"max_x": 1.0,
"max_y": 1.0,
"flipped": false,
"scaled": true,
"toggled": false,
"looped": false,
"relative": false,
"easing": "none",
"motion": "move_none"
}
},
"forms": {
"idle": ["idle", "basic"]
},
"sounds": {
"idle": [],
"open": [],
"close": []
}
},
"hands_sword_attack": {
"sheet": {

View file

@ -12,6 +12,16 @@
"frame_width": 256,
"frame_height": 256
},
"ag_bot":
{"path": "assets/sprites/ag_bot.png",
"frame_width": 846,
"frame_height": 1022
},
"ag_bot_speech":
{"path": "assets/sprites/ag_bot_speech.png",
"frame_width": 424,
"frame_height": 358
},
"repair_kit":
{"path": "assets/items/repair_kit.png",
"frame_width": 256,

View file

@ -21,12 +21,36 @@
},
"STARTING": {
"layout": [
"[=text]"
"[_|*%(200, 200)ag_bot|_|*%(200,100)speech|_|_]",
"[_|_|_ |*%(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": [
{
"name": "ag_bot_speech",
"sprite": "ag_bot_speech",
"scale_x": 1.0,
"scale_y": 1.0,
"flipped": false,
"cell": "speech",
"x": 0,
"y": 0,
"at_mid": false,
"flipped": false
}
]
},
"WIN": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 623 B

Before After
Before After

BIN
assets/sprites/ag_bot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB