First commit that disconnects this game from the game framework so it can be its own thing.

This commit is contained in:
Zed A. Shaw 2026-03-29 11:02:02 -04:00
parent 8073997eb3
commit db60f75bd9
29 changed files with 37 additions and 36 deletions

View file

@ -65,7 +65,7 @@
"close": []
}
},
"rat_with_sword": {
"spider_bot": {
"sheet": {
"frames": 1,
"frame_width": 256,
@ -101,11 +101,11 @@
"hands_sword_attack": {
"sheet": {
"frames": 3,
"frame_width": 900,
"frame_height": 600
"frame_width": 512,
"frame_height": 341
},
"sequences": {
"idle": {"frames": [0, 1, 2], "durations": [10, 10, 20] }
"idle": {"frames": [0, 1, 2], "durations": [5, 10, 20] }
},
"transforms": {
"basic": {
@ -115,7 +115,7 @@
"max_y": 1.0,
"flipped": false,
"scaled": false,
"toggled": true,
"toggled": false,
"looped": false,
"relative": false,
"easing": "none",

View file

@ -7,18 +7,18 @@
"walk": "assets/sounds/walk.ogg"
},
"sprites": {
"rat_with_sword":
{"path": "assets/sprites/rat_with_sword.png",
"spider_bot":
{"path": "assets/sprites/spider_bot.png",
"frame_width": 256,
"frame_height": 256
},
"healing_potion_small":
{"path": "assets/items/healing_potion_small.png",
"repair_kit":
{"path": "assets/items/repair_kit.png",
"frame_width": 256,
"frame_height": 256
},
"well_down":
{"path": "assets/sprites/well_down.png",
"ladder_down":
{"path": "assets/sprites/ladder_down.png",
"frame_width": 256,
"frame_height": 256
},

View file

@ -14,7 +14,7 @@
{"_type": "Device",
"config": {},
"events": ["STAIRS_DOWN"]},
{"_type": "Sprite", "name": "well_down", "width": 256, "height": 256, "scale": 1.0}
{"_type": "Sprite", "name": "ladder_down", "width": 256, "height": 256, "scale": 1.0}
]
},
"DEAD_BODY_LOOTABLE": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Before After
Before After

View file

@ -14,7 +14,7 @@
{"_type": "LightSource", "strength": 35, "radius": 2.0}
]
},
"RAT_GIANT": {
"SPIDER_BOT": {
"components": [
{"_type": "Tile", "display": 2220,
"foreground": "enemies/fg:rat_giant",
@ -25,8 +25,7 @@
{"_type": "Motion", "dx": 0, "dy": 0, "random": false},
{"_type": "EnemyConfig", "ai_script": "Enemy::actions", "ai_start_name": "Enemy::initial_state", "ai_goal_name": "Enemy::final_state"},
{"_type": "Personality", "hearing_distance": 5, "tough": false},
{"_type": "Sprite", "name": "rat_with_sword", "scale": 1.0},
{"_type": "Sound", "attack": "Small_Rat", "death": "Creature_Death_1"}
{"_type": "Sprite", "name": "spider_bot", "scale": 1.0}
]
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Before After
Before After

View file

@ -1,6 +1,6 @@
{
"healing_potion_small":
{"path": "assets/icons/healing_potion_small.png",
"repair_kit":
{"path": "assets/icons/repair_kit.png",
"frame_width": 96,
"frame_height": 96
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

BIN
assets/icons/repair_kit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 B

View file

@ -1,8 +1,8 @@
{
"POTION_HEALING_SMALL": {
"id": "POTION_HEALING_SMALL",
"name": "Small Healing Potion",
"description": "A small healing potion.",
"REPAIR_KIT": {
"id": "REPAIR_KIT",
"name": "Robot Repair Kit",
"description": "A healing item for robots.",
"inventory_count": 1,
"components": [
{"_type": "Tile", "display": 1003,
@ -10,7 +10,7 @@
"background": "color:transparent"
},
{"_type": "Curative", "hp": 20},
{"_type": "Sprite", "name": "healing_potion_small", "width": 256, "height": 256, "scale": 1.0},
{"_type": "Sprite", "name": "repair_kit", "width": 256, "height": 256, "scale": 1.0},
{"_type": "Sound", "attack": "pickup", "death": "blank"}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

BIN
assets/items/repair_kit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before After
Before After