Commit graph

15 commits

Author SHA1 Message Date
ab8e597889 player: start with Gear 2026-01-24 12:46:25 +13:00
3e23bd4841 gear: make basis properties overridable by child classes 2026-01-22 23:26:25 +13:00
1112a9f6da player: add Gear.unequip() API 2026-01-22 22:28:28 +13:00
d5275c13fd gears: remove redundant gear_id() 2026-01-22 21:40:17 +13:00
42de0ed122 player: organise code 2026-01-22 21:25:16 +13:00
e6cbaba0fa player: add health callbacks
Allows us to update the HUD on health change
2026-01-22 21:25:16 +13:00
47aa5ac9aa player: display health in HUD 2026-01-22 21:25:16 +13:00
df449af0f3 player: rename BackpackUI to HUD 2026-01-22 21:25:16 +13:00
e616fc4cbb gears: make balls despawn after 5 seconds
Add timer to the ball, which allows the ball to despawn after a certain amount of time.
Co-authored-by: Simon Ward <sww.couldbe@gmail.com>
Co-committed-by: Simon Ward <sww.couldbe@gmail.com>
2026-01-22 20:42:01 +13:00
545102a139 player: clamp camera rotation 2026-01-22 17:57:55 +13:00
9b229e5d8f player: handle gears on respawn
Use a preloaded scene to give the player the starting gear rather than
making a duplicate of the gear on spawn, and strip any gears from the
backpack on death.

Remove Gear from the editor scene tree and add it on respawn().
2026-01-22 14:29:59 +13:00
d395bb6f26 player: make spawn @onready, make gear_slots const 2026-01-22 14:28:40 +13:00
2067317a09 player: remove ui_backpack keybind 2026-01-22 14:27:00 +13:00
51da541c30 models: add hammer.glb import file
The hammer must be imported at scale 10.
2026-01-21 21:53:58 +13:00
79951d8075 initial commit 2026-01-21 20:50:41 +13:00