Re-Create Defender In Unity - Part 1 @midniteoilsoftware
Re-Create Defender In Unity - Part 1  @midniteoilsoftware
Uploaded November 2022 | Updated September 2026, 2 weeks ago
In this Unity tutorial we will be re-creating the classic arcade game Defender.
Whether you're a complete beginner or a seasoned pro I think you will find this tutorial useful and entertaining.

In part 1 we install Unity, create our project, import art and sound assets, and build out a title screen. We also begin layout of the main scene and get our player ship flying around.

We are using the Universal Render Pipeline (URP) and the new Unity Input System.

Defender Assets:
dropbox.com/s/t1psbsx79fzkxgs/Defender%20Assets.zip?dl=1

Free Laser Weapons Asset
assetstore.unity.com/packages/audio/sound-fx/weapons/free-laser-weapons-214929?aid=1100lzsEu

DOTween Asset used in this project:
assetstore.unity.com/packages/tools/animation/dotween-hotween-v2-27676?aid=1100lzsEu

Where I got the assets:
Defender Sprites:
seanriddle.com/defendersprites.jpg

Arcade Sounds:
seanriddle.com/willy2.html#sound

Arcade Font:
1001freefonts.com/arcade.font

Link to source code for Part 1
gitlab.com/midnite-oil-software-tutorials/defender/-/tree/Part1

Game Controller I used
amazon.com/dp/B07ZGD53JF?ref=ppx_yo2ov_dt_b_product_details&th=1

If you get stuck and need help join my Discord and post your questions there:
discord.gg/wrdqXPtw9y

00:00:00 - Intro
00:00:28 - Installing Unity
00:02:49 - Unity Editor Overview
00:10:33 - Project settings
00:12:01 - Importing Packages
00:15:45 - Importing Art Assets
00:22:38 - Where I Got Art Assets
00:24:23 - Importing Sounds
00:25:37 - Laser Weapon Sounds Asset
00:28:25 - Sound clip settings
00:29:41 - Title Scene
00:37:47 - Create Arcade Font
00:41:23 - Write C# Script for Title Screen
00:56:11 - New Unity Input System
01:08:13 - Write User Input Script
01:25:47 - Handle Input in Title Screen
01:30:12 - Create Main Scene
01:32:20 - Adding Start Sound
01:33:34 - Create UserInput Prefab
01:35:18 - Create Bootstrapper Script
01:39:39 - Start Building Main Scene
01:42:24 - Add Player Ship
01:43:27 - Add Engine Effects
01:44:21 - Creating Particle Effects
01:49:04 - Add More Components to Ship
01:49:59 - Write PlayerShip Script
02:13:41 - Implement Vertical Movement
02:17:08 - Create Game Manager
02:21:08 - Create PlayerShip Prefab
02:22:51 - Implement Horizontal Movement
02:33:17 - Fix Keyboard Thrust Input
02:35:18 - Show my gamepad controller
02:35:52 - Outro

in case you'd like to show your support by buying me a coffee :)
ko-fi.com/gregorybradburn

My Social Media Links:
My web page: midniteoilsoftware.com
My itch.io site: midniteoilsoftware.itch.io
Twitter: twitter.com/SoftwareOil
Discord: discord.gg/wrdqXPtw9y
facebook.com/groups/347087173378560

#madewithunity #unity2d #unitytutorial #indiedev #indiegamedev #arcade #defender #urp #unityinputsystem
Re-Create Defender In Unity - Part 1Ninja Eggs 7 Crazy Cats UpdateUnity Multiplayer Game in 15 MinutesUnity Tutorial - Diagnosing Performance IssuesCosmic Space Fortress TrailerHow to make a 3D Space Shooter Game in Unity - Tutorial Part 8Livestream: Unity Game Dev Mastermind MeetingUnity Tutorial - Create Joust from ScratchUnity Tutorial - Animated Score with Toon NumbersUnity Audio Mixer Groups and SnapshotsLivestream-11: Ninja Eggs (Egg Patrol) - Tweaking game play / difficultyUnity Game Dev - The Great Nerd War of 2023
Midnite Oil Software LLC |

Re-Create Defender In Unity - Part 1

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER