Commit graph

9 commits

Author SHA1 Message Date
4892d7253d First pass at full refactor to 2.0 design
Restructures the game around the cyclical run loop from Game Design Doc V2:
5 waves = a cycle, 3 cycles = a phase, each phase ends in a boss.

- New TD.Gameplay.Waves: WaveGroup / PhaseDefinition / RunDefinition author the
  run as draggable weighted pools; RunState owns phase/cycle position, the drawn
  wave slots, and the per-slot enemy buff sets. WaveManager's flat wave array is
  gone -- it now only runs the encounter RunState points at.
- New TD.Gameplay.EnemyUpgrades: the post-wave enemy-buff vote, with public
  live-replicated ballots so the HUD can show who voted for what.
- Inter-wave flow is now strictly sequential: draft -> vote -> build, each stage
  ending early once every player has acted.
- Enemy abilities inverted from per-instance random rolls to deterministic,
  stacking per-wave-slot sets. Six cards ship: Split (reworked), Flight, Blink,
  No Bounty, Gold Theft, Double Up.
- Tower upgrades are a two-step tree: a draft pick unlocks a node, gold converts
  an already-placed tower in place.
- Boss encounters flag their enemies and drive a boss HP bar.
- Player cap reduced to 3 via MatchRules.MaxPlayers.
- GoldConfig is now keyed by global encounter number rather than wave index.

Compiles clean; NOT yet verified in-engine. Editor wiring still required --
see Docs/2.0_Setup_Checklist.md.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-30 17:45:11 -07:00
Ben Calegari
4f57499e40 Seige tower 2026-06-23 23:12:48 -07:00
fec4433691 Removing huge package for characters, removing unused Mixamo folder, and submitting changes to 9Player level and new wave definition 2026-06-02 23:14:41 -07:00
3dcc0e7edd Updating HUD, Gold Config, and finishing off Play flow for 9player map. 2026-05-22 12:18:23 -07:00
a7be12fa9b Adding 9 Player level 2026-05-21 23:36:19 -07:00
66f84652dc Everything related to chat functionality, and updating the projectile prefab to rotate properly 2026-05-15 13:40:13 -07:00
56dc775c68 More major updates to tools, added map area volume, made gold manager network managed per player. 2026-05-01 15:18:44 -07:00
b44eeaeeff Major changes to editor tools, and adding new layer for buildable towers 2026-05-01 10:50:03 -07:00
a4e28bc93f Adding big batch of structural code provided by Claude to start designing levels 2026-04-27 22:55:23 -07:00