• v0.2.5 c5b6b05801

    v0.2.5 Stable

    shawn released this 2026-07-04 02:35:04 +00:00 | 4 commits to main since this release

    v0.2.5 — OS-Level Window Focus Fix

    Problem: Keyboard input (WASD, weapon keys, Escape) stopped working after the connection UI was dismissed. Mouse look still worked. The root cause was the game window not holding keyboard focus on Windows GUI exports.

    Fix: Replaced get_window().grab_focus() with:

    • OS.move_to_foreground() — OS-level window activation
    • Input.set_mouse_mode(CAPTURED) — ensures mouse capture + focus
    • Deferred retries via call_deferred() — handles race conditions

    The same fix is applied in all paths: join(), on_client_start, and on_server_start.

    Also included:

    • v0.2.4: Fixed WeaponManager compile error (duplicate function broke all weapons)
    • v0.2.3: Removed is_predicting() gate + client-side loadout init
    • v0.2.2: Initial window focus attempt
    • v0.2.1: Blaster type annotation fix
    Downloads