Bring in basic placeholder assets for things like walls, souns, and font.

This commit is contained in:
Zed A. Shaw 2026-03-26 23:25:40 -04:00
parent e742b8772d
commit 8073997eb3
28 changed files with 7 additions and 76 deletions

View file

@ -199,12 +199,7 @@ void WorldBuilder::place_stairs(DinkyECS::World& world, GameConfig& config) {
void WorldBuilder::configure_starting_items(DinkyECS::World &world) {
auto& player = world.get_the<Player>();
auto torch_id = System::spawn_item(world, "TORCH_BAD");
auto &inventory = world.get<inventory::Model>(player.entity);
inventory.add("hand_r", torch_id);
world.make_constant(torch_id);
auto healing = System::spawn_item(world, "POTION_HEALING_SMALL");
inventory.add("pocket_l", healing);

View file

@ -17,7 +17,6 @@ namespace gui {
$window.setFramerateLimit(FRAME_LIMIT);
auto config = settings::get("config");
$hand = textures::get_sprite(config["player"]["hands"]);
$hand_anim = animation::load("assets/animation.json", config["player"]["hands"]);
}