Action-Puzzle Breakout Roguelite • Unity C# Devlog & Post-Mortem

REBOUND RUINS

Dribble a gravity-driven relic orb through collapsing temple chambers. Only a fast impact makes it bounce—build momentum, charge your Power Slam, clear floor spike pits, solve spatial switch puzzles, and restore the ruined courtyard hub.

Steam Page Under Construction — Get Launch Alert
View Full Studio & Game Design Portfolio →

Role: Solo Game Designer & Unity Programmer (C#) •
Engine: Unity 2D (Custom Deterministic Bounce Math & Seeded Chamber Generator) •
Target Platform: PC (Steam) •
Core Pillars: Impact-Threshold Gravity Physics, Hold-to-Charge Power Slam, Skill Spike Pits & 6 Seeded Chamber Rules
Rebound Ruins Room 1 Seeded Masonry & Locked Exit
1. Room 1/6 (Overgrown Gate): The grounded paddle dribbles the violet relic orb into a seeded masonry cluster while the right-side exit altar remains locked (crimson) until all bricks shatter.
Chamber Cleared & Exit Unlocked
2. Chamber Cleared & Exit Altar Unlocked: Once the last seeded brick shatters, the right-hand exit door unlocks (turning bright violet/emerald) so the paddle can advance.
Between-Room Relic Upgrade Selection
3. Stackable Roguelite Build-Crafting: Clearing a chamber pauses the run and deals 1 of 3 stackable Relic Upgrades (Relic Shard Magnet, Kinetic Surge, Resonant Echo) that alter physics and economy rules across the 6-room run.
Room 2 Floor Switch Activated & Crimson Spike Pit
4. Room 2/6 (Sealed Hall — Floor Switch & Spike Pit): The recessed floor switch turns bright green after a high-momentum orb impact opens the purple barrier gate, while a crimson floor spike pit (bridged by a dark-violet paddle-only grate) punishes missed juggles.

1. The Brief & Task at Hand

Classic brick-breakers give the ball infinite weightless energy, while narrative pinball adventures like Yoku’s Island Express require years of hand-crafted metroidvania world-building. My task was to design a commercial PC game for Steam that a solo developer can build in the evenings while delivering immediate physical game-feel mastery and Brotato-style 10–15 minute run replayability.

2. Core Design Decisions & Game Feel

  • Momentum Is Your Weapon (The Bounce Threshold Rule): The relic orb obeys gravity and only bounces when its impact speed exceeds BounceThreshold. Below that speed, kinetic energy bleeds off and the ball comes to rest. If the orb rests for 3 seconds, it shatters and costs the player 1 HP.
  • Strictly Grounded Paddle + Charged Power Slam: Early prototypes allowed the paddle to jump, which made ball positioning chaotic. I removed paddle jumping completely and replaced it with a Hold-Space Charged Power Slam: holding Space makes the paddle squat down, glow bright violet, cradle a nearby orb toward its center, and launch a high-velocity shot (up to 1.85x speed) on release.
  • Easy to Learn, Hard to Master (Spike Pits & 4 Distinct Puzzle Chambers):
    • Floor Spike Pits with Paddle-Only Grates: Rooms 2–6 carve recessed spike pits into the stone floor. A thin dark-violet grate lets the player’s paddle slide safely across the gap, but ignores collision with the ball—so if you fail to keep the ball airborne as you cross, it drops through the grate and pops on the crimson spikes (-1 HP).
    • Escalating Puzzle Rules Across Variable-Sized Chambers: Chambers dynamically resize from compact 24×12 rooms up to sprawling 42×17 spires with smooth camera tracking, introducing Classic Floor Switches (Room 2), High Vault Ledge Switches requiring a Charged Power Slam (Room 3), Dual-Lock Sanctum Gates (Room 4), 9-Second Timed Twin Switches (Room 5), and the Awakened Obelisk Boss (Room 6).

3. How I Implemented It (Unity C# Architecture)

  • Deterministic Bounce Resolver (Ball.cs): Zeroed out Unity’s built-in PhysicsMaterial2D bounciness and computed normal/tangent reflection vectors manually from pre-step velocity (prevVelocity) so bounce thresholds, paddle velocity inheritance, and directional aim offsets behave predictably at any framerate.
  • Seeded Chamber & Masonry Generator (RoomDirector.cs & BrickGenerator.cs): Uses a deterministic Fisher-Yates shuffle (System.Random(seed)) with optional left-right symmetry mirroring to generate repeatable brick formations, dynamically segmenting the stone floor around spike pits and positioning walls and exits per room type.
  • Live Playtest Tuning Panel (DebugPanel.cs): Pressing F1 opens a real-time scrollable tuning overlay with 18 physics sliders, instant feel presets (Readable, Snappy, Floaty), seed steppers, and quick room-skip buttons for rapid playtest iteration.

4. Playtesting, Friction & Problems Encountered (Post-Mortem)

  • Problem 1 — Disconnected Knock-Up Feel: Setting the ball’s upward velocity on a single frame when Space was pressed felt weak and looked like the paddle never touched the ball.

    Playtest Fix: Converted the knock-up into a 0.15s active swing window with a child-sprite upward lunge animation, 0.04s hit-stop freeze, camera shake, and horizontal aim control based on where the ball meets the paddle.
  • Problem 2 — Floor Switches Blocking the Paddle & Missing High-Speed Hits: Raised floor switches physically snagged the grounded paddle as it slid left and right. Worse, when Ball.OnCollisionEnter2D fired before PressurePlate.OnCollisionEnter2D, bounce damping reduced relativeVelocity before the switch read it—turning the switch colour without opening the gate.

    Playtest Fix: Applied Physics2D.IgnoreCollision between the paddle and all floor switches so the paddle glides smoothly over them, and updated PressurePlate to check Mathf.Max(c.relativeVelocity.magnitude, ball.LastImpact) so the pre-bounce impact speed is never lost.
  • Problem 3 — Dynamic Room Widths Burying the Exit Doorway: When Room 1 was narrowed to a compact 24-unit chamber, the dynamically spawned right wall overlapped the static exit door at x = 11.5, preventing players from leaving the room after clearing all bricks.

    Playtest Fix: Updated RoomDirector to auto-resolve scene references at startup and position the exit altar relative to the active room width (halfW - 1.35f) with foreground sorting.

5. Outcome & Next Roadmap Milestones

Rebound Ruins now plays through a complete 6-chamber vertical slice—from tutorial masonry and floor-switch spike pits to floating Wisp Sentinels, diving Gargoyles, stackable upgrade cards, the Ruined Altar Shop, Courtyard Hub meta-upgrades, and the Awakened Obelisk Boss. Current evening milestones focus on replacing box placeholders with custom stone-and-violet Krita/URP 2D sprites and preparing the public Steam Next Fest demo.

← Back to Studio & Game Design Portfolio
Play Earlier Prototypes on Itch.io →