Commit Graph
9 Commits
Author SHA1 Message Date
Scottlg 1562b37563 Gladiator arena: gold economy, outfitting shop, permadeath runs
Turns the sandbox into a survival roguelike loop: outfit your gladiator
with banked gold, enter the arena, earn gold from kills and wave clears,
die, keep 10% of your total value (floored at the 500 fresh-start).

Economy (GameState autoload):
- banked_gold, owned items, and loadout persist to user://save.cfg
- Kill gold (basic 10g, armed 25g) credited server-side to the killer
- Wave-clear bonus (25 + 5/wave) for all players; wave synced to peers
- Death settlement liquidates gear, guarded against double-fire

Character creation / shop:
- Menu reframed: armory shop + live Character Sheet loadout preview
- Character Sheet gains preview mode (renders from loadout, no player)
- Buy/Equip with hand rules; two-handers and off-hands displace each
  other symmetrically (shop and in-game pickups)
- Chosen loadout auto-equips on spawn via existing RPC path

Combat feel:
- Attacks snap to camera facing and lock direction for the swing
- Dash commits to its direction for the full duration
- Weapon slots show name text when no icon is set
- Hitbox/hurtbox debug meshes hidden by default (H toggles)

Death is final: players no longer respawn; a results screen shows waves,
time, kills, and the settlement, then returns to camp. Armed enemies no
longer respawn (were an infinite gold farm and respawned invisible).
2026-07-01 23:38:59 +01:00
Scottlg 97ebbb1618 Made more enemies, easier to kill, more slashy. You get passive health regen, health orbs. Little key bindings tooltip. 2026-06-30 22:57:11 +01:00
Twirpytherobot 10cc8720b7 Hithurtboxes 2025-11-21 23:53:28 +00:00
Scottlg 15865dd15f Add comprehensive UI system with action bar, unit frame, and character sheet
- Created UI system in level/ui/ folder
  - Action bar with 12 ability slots (Attack, Block, Dash, Jump + 8 expansion slots)
  - Unit frame showing player portrait with health bar
  - Character sheet/spellbook (toggle with Tab) displaying stats, weapons, and abilities
  - Tab hint indicator showing how to open character sheet
  - Custom theme with golden borders and dark backgrounds

- UI Components:
  - HUD Manager autoload handles all UI initialization and player connections
  - Ability buttons with cooldown overlay and keybind display
  - Real-time health and cooldown tracking via signals
  - Scrollable character sheet with two-page layout

- Player Integration:
  - Added UI signals: dash_cooldown_updated, attack_cooldown_updated, weapon_equipped_changed
  - Mouse capture system (Escape to toggle, click to recapture)
  - Synced attack cooldown from weapons to player for UI tracking

- Updated level.gd to connect local player to HUD Manager
- Updated CLAUDE.md with git commit guidelines
2025-11-16 22:48:50 +00:00
Twirpytherobot 61446a0bcd Block maybe 2025-11-15 17:07:28 +00:00
Twirpytherobot 86db6865b7 Base Weapons
Place in world, pick up and drop working on multiplayer
2025-11-15 16:03:38 +00:00
Scottifermcg e2d9a529aa Redo some of the git ignore, and add a dash function 2025-11-12 23:30:04 +00:00
Twirpytherobot bc30cfd6ca Health and attacks! 2025-11-12 19:18:36 +00:00
Twirpytherobot 1d63abc581 First Commit
Base multiplayer example with obster
2025-11-12 18:41:45 +00:00