Roguelike Home Run Derby

In short

A roguelike home run derby built in Unity 6 (6000.6.6f1). You pick a ballpark and a difficulty, then bat through 9 innings: hit home runs to reach each inning’s score goal before you make 3 outs. Batting plays like Mario Superstar Baseball: put the bat’s sweet spot on the ball, swing on time, and hold a direction (Batting Explained). Between innings you spend coins in a shop on upgrades that stack into synergies. Bosses pitch innings 3 and 6, and each park has its own final boss in inning 9. Runs earn meta points and XP that unlock batters, upgrades, cosmetics and the next map. Up to 4 friends can play co-op over Steam, taking turns at the plate while the others watch live.

How a run flows

flowchart LR
    Title["Title screen"] --> Map["Map select<br/>park + Normal / Medium / Hard"]
    Map --> Inning["Inning N<br/>at-bats until goal or 3 outs"]
    Inning -->|goal reached| Shop["Shop<br/>upgrades, rerolls"]
    Shop -->|next inning| Inning
    Inning -->|3 outs| Over["Run over<br/>points, XP, unlocks"]
    Inning -->|inning 9 cleared| Over
    Over --> Title

Details: Core Loop · Run Structure · At-Bat Loop

New to batting? Read Batting Explained, then Batting Feedback (how the game tells you a swing was good or bad).

Sections

SectionStart withWhat’s there
GameCore LoopHow it plays: runs, innings, batting, scoring, special balls, shop, progression
ContentBallparksCatalogs with every number: parks, pitchers, pitch types, batters, upgrades, synergies, cosmetics, stats
Co-opCo-op OverviewMultiplayer: lobby, turns, rules, spectating, network messages, Steam testing
EngineeringArchitectureHow the code works: boot, states, events, seeds, saves, UI, audio, rendering, tools, tests
How-ToAdd an UpgradeRecipes for adding upgrades, maps, special balls, pitchers, stats, screens, sounds…
WorkflowGit and PRsHow the team works: branches and PRs, Unity setup, testing, History of every PR, Known Issues

Lookups: All Notes (every note with a one-line summary) · Glossary (game and code terms) · Code Map (file → note)

About this wiki

  • Written from the game’s code on main. Every note lists the files it describes (sources) and the commit it was checked against (verified). If the code and a note disagree, the code is right and the note needs a sync.
  • Maintained locally by Claudio with Claude (/hrd-wiki).