From 4a435b8fe98c5db1ecd95619997af10146135e85 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Thu, 9 Jan 2025 17:33:00 +0100 Subject: improve player responsiveness --- game/EngineConfig.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 game/EngineConfig.h (limited to 'game/EngineConfig.h') diff --git a/game/EngineConfig.h b/game/EngineConfig.h new file mode 100644 index 0000000..6a03a14 --- /dev/null +++ b/game/EngineConfig.h @@ -0,0 +1,19 @@ +#pragma once + +#include "Config.h" + +#include + +static const crepe::Config ENGINE_CONFIG { + .log { + .level = crepe::Log::Level::DEBUG, + }, + .physics { + // this division factor is now the amount of seconds it approximately takes to naturally + // fall from the ceiling to floor + .gravity = HALLWAY_HEIGHT / 0.5, + }, + .window_settings { + .window_title = "Jetpack joyride clone", + }, +}; -- cgit v1.2.3