From 21428dbe296fb3339af3c93d90ef03b6f9ab68a0 Mon Sep 17 00:00:00 2001 From: Ulysse Cura Date: Tue, 11 Aug 2026 11:38:22 +0200 Subject: [PATCH] Fix some hitbox values and makefile messages. --- assets/Makefile | 1 + src/game.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/assets/Makefile b/assets/Makefile index 0a9ddca..1d4f0f5 100644 --- a/assets/Makefile +++ b/assets/Makefile @@ -21,6 +21,7 @@ setup_asset: @echo "Building $(notdir $(ASSET_OUTPUT))" $(ASSET_OUTPUT): $(ASSET_BUILDER_OUTPUT) $(ASSETS) + @echo -e "[100%] $(YELLOW)Building $(notdir $(ASSET_OUTPUT))$(RESET)" $(Q)$(ASSET_BUILDER_OUTPUT) $@ $(ASSETS) asset_end: $(ASSET_OUTPUT) diff --git a/src/game.c b/src/game.c index 8b30ae9..2f1143d 100644 --- a/src/game.c +++ b/src/game.c @@ -101,7 +101,7 @@ int game_init(void) ((hitbox_component_data_t *)component->data)->scale = (fvector2d_t) { .x = 1.0f / 3.0f, - .y = 1.0f / 3.0f + .y = 0.3f }; component = entity_new_component(lever_entity, INTERACT_COMPONENT); @@ -109,12 +109,12 @@ int game_init(void) ((interact_component_data_t *)component->data)->position = (fvector2d_t) { .x = 0.5f, - .y = 2.0f + .y = 1.9f }; ((interact_component_data_t *)component->data)->scale = (fvector2d_t) { .x = 2.0f / 3.0f, - .y = 5.0f / 6.0f + .y = 0.8f }; if(!entity_new_component(lever_entity, LEVER_COMPONENT)) return EXIT_FAILURE;