Skip to content
wall-hackerPublic

About

An AR tower-defense game for Android: place a low-poly battlefield on your floor, build and upgrade elemental turrets, and defend 3 unique worlds across 9 handcrafted, exhilarating levels.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Goons TD key art: a low-poly meadow board with a river, anchored on a living-room carpet

GOONS TD

Build towers. Bend the elements. Defend your floor.

Unity Render pipeline AR Language Platform

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.

Gameplay teaser: click to watch the full trailer

▶️ Watch the full trailer (67 s) · 📖 Full gameplay breakdown


About

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.

Core loop: between waves you build and upgrade turrets, start the next wave, hold the path, and earn gold per kill to spend on more upgrades

Features

Main menu floating above the placement grid on a carpet Turret upgrade panel above a tower slot
Any floor is a battlefield. AR Foundation plane detection and anchors pin the board to the real world, so it stays put while you move around it. Build your defence. Tap an empty slot and a world-space upgrade panel opens right above it. A first turret costs 5 of your starting 10 gold.
A fire-affinity turret and the elemental affinity row A Heavy turret with ice affinity and its range circle
Bend the elements. For 1 gold, any upgraded turret takes on Fire, Ice, Electric or Heal, each changing what its shots do and how it looks. Fast or Heavy? After the second tier the tree branches: rapid-fire Fast turrets lock on to one target, hard-hitting Heavy turrets go after the enemy furthest back on the path.
The Inferno board mid-wave, paused The Proceed to Next Level button on a lava board
Touch-first controls. Tap to build, pinch to resize the board, long-press to freeze the whole battle: enemies, projectiles, animations and particles. Nine levels, three zones. Three waves per level and ten enemy types. Progress is saved between waves and can be resumed with Continue.

Worlds

The Meadows The Wastelands The Inferno
The Meadows The Wastelands The Inferno
Levels 1-3. Rivers, bridges and campfires, guarded by mushrooms and salamanders. Levels 4-6. Canyons and cacti, and turtles that soak up damage. Levels 7-9. Lava, ash and the densest waves: beholders, chests and slimes.

Turrets

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.

Controls

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

Under the hood

  • AR placement. ARPlacementManager raycasts the screen centre against detected planes, shows a preview, and on tap creates an ARAnchor that becomes the game's origin; plane detection is then switched off.
  • Touch routing. ARRaycastController turns taps into physics raycasts against IRaycastHitReceiver objects (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. UnifiedPauseManager stops physics simulation, animators, particles and audio, and scripted timers use a pause-aware wait.
  • Lighting. HDRLightEstimation feeds ARCore's light estimate into the main light so the board matches the room.
  • Save / continue. SaveLoadManager writes 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/.

Getting started

  1. Clone the repository and open it with Unity 6000.3.10f1 (URP, Android build target).
  2. Open Assets/Scenes/SampleScene.unity, the game's only scene.
  3. Build to an ARCore-supported Android device (File → Build Profiles → Android). AR runs on device; the editor has no AR provider configured.

Media

All footage and screenshots were captured in-engine from the actual game.

Credits

  • Music (trailer): "It Takes A Hero" by Zane Little Music, OpenGameArt, CC0.
  • Third-party art and asset packs (in Assets/Imports/ and Assets/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.

About

An AR tower-defense game for Android: place a low-poly battlefield on your floor, build and upgrade elemental turrets, and defend 3 unique worlds across 9 handcrafted, exhilarating levels.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages