Bring in basic placeholder assets for things like walls, souns, and font.
This commit is contained in:
parent
e742b8772d
commit
8073997eb3
28 changed files with 7 additions and 76 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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"]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue