Build towers. Bend the elements. Defend your floor.
An augmented-reality tower defense game: anchor a diorama-sized battlefield on any floor, then build, branch and element-tune turrets across nine levels in three zones.
Point your phone at the floor and Goons TD finds it, shows a placement grid and drops a hand-built low-poly board where you tap. The main menu floats above the anchor; tap New Game and the first level unfolds on your carpet. Pinch with two fingers to scale it to your room, then walk around it, lean in, and play.
Each level is a path from a red gate to a blue one. Between waves you tap empty slots to buy turrets, push them up an upgrade tree that splits into Fast and Heavy branches, and give them an elemental affinity. Then you tap Start Next Wave and watch mushrooms, cacti, beholders and worse march past your defences. Every kill pays gold; every leak costs health. Clear a level's third wave and the next board takes its place.
Every slot starts empty (Base0). Ranges are in board units; fire rate is shots per second.
| Stage | Cost | Damage | Fire rate | Range | Targeting | Upgrades to |
|---|---|---|---|---|---|---|
| Base 1 | 5 | 2 | 1 | 1.25 | Furthest along the path | Base 2 |
| Base 2 | 5 | 3.5 | 1.5 | 1.5 | Furthest along the path | Base 3 · Heavy 1 · Fast 1 |
| Base 3 | 10 | 4 | 1.75 | 1.5 | Furthest along the path | Base 4 |
| Base 4 | 10 | 5.5 | 2 | 1.5 | Furthest along the path | Fast 3 · Heavy 3 |
| Fast 1 / 2 / 3 | 10 / 10 / 15 | 3 / 4 / 5 | 2 / 2.5 / 3 | 1.5 / 1.75 / 1.75 | Lock-on | next Fast tier |
| Heavy 1 / 2 / 3 | 10 / 10 / 15 | 4.5 / 6 / 7.5 | 1.25 / 1 / 0.5 | 1.5 / 1.25 / 1.25 | Furthest back on the path | next Heavy tier |
| Affinity (1 gold) | Effect |
|---|---|
| Neutral | Plain damage. |
| Fire | Bonus damage on every hit. |
| Ice | 10% chance to freeze the target for 2 s. |
| Electric | Splits damage between the target and its neighbours on the path. |
| Heal | 5% chance per hit to restore 10 health. |
| Gesture | Action |
|---|---|
| Tap the floor | Anchor the board where the placement grid is |
| Tap a menu item or button | New Game · Continue · Quit · Start Next Wave · Next Level |
| Tap a tower slot | Open its upgrade panel (tap a slot or an element to buy it) |
| Pinch with two fingers | Scale the board (up to 2×) |
| Long-press (0.8 s) | Pause / resume |
- AR placement.
ARPlacementManagerraycasts the screen centre against detected planes, shows a preview, and on tap creates anARAnchorthat becomes the game's origin; plane detection is then switched off. - Touch routing.
ARRaycastControllerturns taps into physics raycasts againstIRaycastHitReceiverobjects (menu items, tower slots), while world-space canvases receive the same touches through the EventSystem. - Data-driven content. Towers, enemies and waves are ScriptableObjects (
TowerModel,EnemyModel,WaveModel): 27 wave assets, 10 enemy models and one upgrade tree. - Pathing. Enemies follow Unity Splines (
SplineFollower), which also gives towers a "distance along the path" for furthest / nearest targeting. - Pause.
UnifiedPauseManagerstops physics simulation, animators, particles and audio, and scripted timers use a pause-aware wait. - Lighting.
HDRLightEstimationfeeds ARCore's light estimate into the main light so the board matches the room. - Save / continue.
SaveLoadManagerwrites level, wave, health, gold and every tower's stage and element to JSON when a wave starts and ends, after upgrades bought between waves, and on level change.
Gameplay scripts live in Assets/Scripts/: AR/ (placement, touch, pinch, light estimation), Core/ (game flow, menus, stats, pause), Tower/, Enemy/, Wave/ and Upgrade+Save UI/.
- Clone the repository and open it with Unity 6000.3.10f1 (URP, Android build target).
- Open
Assets/Scenes/SampleScene.unity, the game's only scene. - Build to an ARCore-supported Android device (File → Build Profiles → Android). AR runs on device; the editor has no AR provider configured.
All footage and screenshots were captured in-engine from the actual game.
- 🎬 Trailer and per-mechanic demo clips in
GameplayBreakdown/github/videos. Each clip also plays inline as an animated preview in the gameplay breakdown (previews/) - 🖼️ Store-style screenshots in
GameplayBreakdown/screenshots - 📖 A detailed design breakdown in
GameplayBreakdown/GAMEPLAY_BREAKDOWN.md
- Music (trailer): "It Takes A Hero" by Zane Little Music, OpenGameArt, CC0.
- Third-party art and asset packs (in
Assets/Imports/andAssets/GabrielAguiarProductions/): Polyart monster packs (RPG Monster DUO, RPG Monster Buddies, RPG Monster Partners, Monster Minion Survivor, Party Monster Duo), Pandazole Lowpoly Asset Bundle, PolitePenguin, ithappy, Oode Studios, Unvik 3D, Fatty Poly Turret Free, Low Poly Sci-Fi Turrets Demo, Low Poly Medieval Props Lite and Free Quick Effects Vol. 1 (Gabriel Aguiar). These belong to their respective authors and are covered by their own licences. - UI font: Nomenclatur Black.









