From 71fe013c80c83bc722954a1f16fec32799e32acd Mon Sep 17 00:00:00 2001 From: max Date: Tue, 8 Sep 2026 23:40:33 +0200 Subject: [PATCH] feat(config): add physics and window platforming parameters --- catser/config.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/catser/config.py b/catser/config.py index 146130a..1178f35 100644 --- a/catser/config.py +++ b/catser/config.py @@ -137,6 +137,12 @@ class Config: sound_enabled: bool = True cooldown_after_close_sec: float = 4.0 + # Physics & Platforming parameters + gravity_px_s2: float = 1600.0 # Gravitational acceleration (px/s^2) + jump_velocity_px_s: float = 650.0 # Vertical launch velocity for jumps (px/s) + platform_jump_chance: float = 0.20 # Autonomous chance to jump onto a window platform + enable_window_platforms: bool = True # Treat open windows as walkable ledges + @property def cat_height(self) -> int: """Calculates cat height proportionally based on aspect ratio 121.2 / 92.4."""