AR Tower Defence is an augmented-reality mobile game made with Unity that delivers a sample experience where AR is a core mechanic, not an optional feature.
I developed this app as the final project of the Augmented Reality class of the University of Milan.
Software adopted:
- Unity 2018.4.0f1 (game development)
- Blender 2.82 (object modeling, external renderer)
- GIMP 2.10 (sprite/texture editing)
- Audacity 2.3.2 (audio clip editing)
Download the game for free (requires Android 7.0+ with AR Core support).
Video (click to open in YouTube):
Screenshots:
Players start by building a Command Post, which must defend from waves of incoming enemies, and then deploy turrets that attack enemies at sight. There's a 30-second intermission before each next wave, during which players can deploy more turrets and repair/upgrade existing ones, using currency earned while playing.
There's a total of 25 waves. Every 5th wave is a Boss Wave, and every 3rd consecutive wave is a Bonus Wave. Boss Waves include a randomised Boss amongst other enemies, Bonus Waves reward players if they accomplish the bonus objective.
Every feat in the game awards experience points and this let players progress through 40 different ranks. Spending money during the game makes unit types progress as well, unlocking new upgrade levels.
Players can earn and spend credits only while playing, since the game doesn't include IAP (In-App-Purchases), and money resets every time a new game starts.
Players can earn medals while playing if they meet the right conditions. There's a total of 9 unique medals.
The players' profile includes a detailed report of all feats performed while playing, such as total game time, progression percentage, number of enemies killed.
Players can set up several options before starting to play, such as the starting wave, the game difficulty, and up to five game mutators. Such options alter enemies' behaviour as well as credits earned and points scored.
Some game options are not available from the beginning and must be unlocked. The game also includes eight achievements that players earn during game progression.
While I did almost all the programming, I give credits to the many artists and sound makers whose open resources I used in my software, as well as other resources. Feel free to check their artwork. All their work was used under the CC 3.0 or 4.0 License, unless it was in the CC0 public domain. None of the following creators endorses this project. Only minor edits were made to some of this assets whenever needed.
- Menu music: Epic Fall by Alexandr Zhelanov
- Menu button click: UI SFX Pack 2 Sample by David McKee (VIRiX Dreamcore)
- Next wave: TOMS EFFECT 01 by sandyrb
- Notification: Deep Whoosh #2 by Kinoton
- Countdown end: Hard Cinematic Hit by Vendarro
- Wave start: woosh by farbe1001
- Boss wave start: Epic Horn Hit 01 by Magmi.Soundtracks
- Countdown ticks: Kill Switch (Large Breaker Switch) by ModulationStation
- Notification 2: AVA - Instinct - Whoosh Bang - Stampede by AVA_MUSIC_GROUP
- Notification 3: Cash Register Purchase by Zott820
- Winning music 1: Here We Come by Link-Boy
- Winning music 2: battle-march action loop by haydensayshi123
- Winning music 3: Totalitarian obediance by jobro
- Losing music 1: Jingle Lose 00 by Little Robot Sound Factory
- Losing music 2: Jingle Lose 00 by Little Robot Sound Factory
- Command Post deploy: Electronic Powerup by StephenSaldanha
- Turret deploy/repair: Robotic mechanic step sounds by Lee Barkovich
- Enemy ship smoke trails: Thick Fog by LFA
- Gatling fire: Sci-Fi Sound Effects Library by Little Robot Sound Factory
- Gauss fire: shipboard railgun by deleted_user_1941307
- Laser fire: Laser pistol/gun by steshystesh
- Enemy fire: 02156 laser shot by Robinhood76
- Enemy shield gained: short deep humming by DrMaysta
- Enemy shield lost: Deflector Shield by Metzik
- Orbital strike charge: SciFi Gun - Mega Charge Cannon by dpren
- Orbital strike hit: HQ Explosion by Quaker540
- EMP charge: Big Sci-Fi Explosion/Bomb (Close) by EFlexMusic
- Orbital strike, ready: Computer Chirp 2 by pointparkcinema
- Orbital strike, engaging: Click Electronic 02 by Little Robot Sound Factory
- Orbital strike, target lost: beeps by atari66
- Orbital strike, no target: b1 dree by JarAxe
- Orbital strike, engaged: Robotic Sound FX by Ekuhvielle
- Score count: SCORE COUNT by xtrgamr
- Turret upgrade: UI, Mechanical, Notification, 01, FX by InspectorJ
- Main UI: Space Shooter Game User Interface by CraftPix.net
- Medals: Medals by Kenney.nl
- Player rank icons: Ranks pack (70×) by Kenney.nl
- Commendation icons: 95 game icons by sbed
- Render skyboxes: Ulukai's space skyboxes by Calinou
- Render terrain: Seamless Space Rocks Textures pack (512px) - Mine Rocks CH16 by mafon2
- Energy Shield / EMP waves: Seamless Space Rocks Textures pack (512px) - Lava Planet CH16 by mafon2
- Mutator icons: Simple shooter icons by qubodup
- Sparks: Spark particle set of 8 by Keith333
- Fire flames: Flame Particle set - 4 in total by Keith333
- Black smoke: Smoke particle assets by Kenney.nl
- Explosion: explosion by Cuzco
- Scorch marks: Scorch Marks on DLPNG
- Bullets: Golgotha Effects Textures: fireball-side by Crack.com
- Flare/shine effect: Golgotha Effects Textures: blue_flare by Crack.com
- Orbital strike beam: Laser effect Sheet by netcake3
- Laurel outline in commendations: Laurels by Blarumyrran
- EMP icon/button animation: FX charge by VSG
- Command Post: Reactor by nazzyc
- Turrets: Sci-fi turret by Irondust
- Turret muzzle: Muzzle flash (with model) by Julius
- Enemy spaceships: 5 space ships by Unnamed
- Outlined shader for turrets: Outlined Diffuse Shader Fixed for Unity 5.6 (Custom Outline Constant Width) by Luke Kabat
- Enemy steering behaviours: Unity Movement AI by Anton Pantev
- Texture scrolling code snippet: Animating Tiled texture, from Unify Community Wiki, by Joachim Ante