Creating A Space Invaders Game Using Unity And C#

Posted By: ELK1nG

Creating A Space Invaders Game Using Unity And C#
Published 9/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 3.56 GB | Duration: 7h 46m

Learn how to create a complete Space Invaders arcade game in Unity from a 40 year programming veteran

What you'll learn

How to create a complete Space Invaders game in Unity

How to add sound effects to a game in Unity

How to use rigidbody and box collider components in Unity

How to use tags and sorting layers in Unity

How to detect collisions in Unity

How to create multple arcade game levels in Unity

How to create dialogs in Unity

How to create a cool, moving star field background for games in Unity

Requirements

No Unity or programming experience needed. You just follow what the instructor does

Description

All software and resources used in this course are free.In this course, you will learn how to create a complete Space Invaders game in Unity from an instructor with 40 years application development experience.  No unity or programming experience needed.  All you need to do is follow what the instructor does.  This is what you will learn in the course.- How to create a Unity project- How to change the layout of the panes in the Unity editor- How to create a cool, moving star field background for games- How to create the player, enemies, player projectiles and enemy projectiles in a Space Invaders game- How to add a rigidbody to an object- How to turn off the gravity in an object's rigidbody and give the object a constant velocity- How to prevent objects from moving when hit by other objects in Unity- How to prevent objects from moving off the screen in Unity- How to detect when an object has collided with another object and determine what type of object it has collided with- How to determine when the game is won- How to determine when the game is lost- How to create You Win, Game Over and Exit Game dialogs- How to test a game throughout the development process- How to investigate and correct errors

Overview

Section 1: Getting Started

Lecture 1 Introduction

Lecture 2 Getting Unity

Lecture 3 Creating a Project

Lecture 4 Creating a Moving Star Field Background

Lecture 5 Getting Asset Packages

Lecture 6 Asset Package Files Download

Lecture 7 Importing Asset Package Files

Section 2: Create the Player and Player Projectile

Lecture 8 Creating the Player Object

Lecture 9 Creating the PlayerController Script

Lecture 10 Preventing the Player from Moving Off Screen

Lecture 11 Creating the Player Projectile Prefab

Lecture 12 Creating the Player Projectile with Code

Lecture 13 Moving the Player Projectile

Section 3: Create the Enemy Group and Enemy Projectile

Lecture 14 Creating Game and Enemy Objects

Lecture 15 Coding the Creation of the Enemies - Variables

Lecture 16 Coding the Creation of the Enemies - Code

Lecture 17 Making Enemies Disappear When Hit

Lecture 18 Restricting Player Fire to One at a Time

Lecture 19 Moving the Enemies Horizontally

Lecture 20 Moving the Enemies Vertically

Lecture 21 Generating Enemy Fire - Variables

Lecture 22 Generating Enemy Fire - Code

Lecture 23 Making Enemy Projectiles Move - CHALLENGE

Lecture 24 Making Player Disappear When HIt

Section 4: Manage Object Movement

Lecture 25 Stopping Unwanted Object Movement Due to Collisions

Lecture 26 Stopping Player Projectiles Moving Off the Top of the Screen

Lecture 27 Stopping Enemy Projectiles Moving Off the Bottom of the Screen - CHALLENGE

Section 5: Manage Lives with Start Game and End Game Events

Lecture 28 Creating LIves - Objects

Lecture 29 Creating LIves - Variables

Lecture 30 Controlling When Enemies Start and Stop Moving and Firing - Part 1

Lecture 31 Controlling When Enemies Start and Stop Moving and Firing - Part 2

Lecture 32 Removing a Life Each Time the Player is Hit

Lecture 33 Ending the Game When the Player is Hit After All Lives Lost

Lecture 34 Ending the Game When the Enemy Breaches the Player Row

Lecture 35 Ending the Game When the Player Knocks Out All Enemies

Section 6: Create Score and Level Displays

Lecture 36 Creating Score Display - Objects

Lecture 37 Creating Score Display - Code

Lecture 38 Creating Level Display - Objects - Part 1

Lecture 39 Creating Level Display - Objects - Part 2

Lecture 40 Creating Level Display - Variables

Lecture 41 Creating the Level Display - Code

Section 7: Create Dialogs

Lecture 42 Creating the Start Game Dialog - Panels

Lecture 43 Creating the Start Game Dialog - Play Game Button

Lecture 44 Creating the Start Game Dialog - Enemy Speed Text

Lecture 45 Creating the Start Game Dialog - Enemy Fire Rate Text

Lecture 46 Creating the Start Game Dialog - Hit Points and Control Keys Text

Lecture 47 Creating the Dialog Border

Lecture 48 Creating the Start Game Dialog - Variables

Lecture 49 Creating the Start Game Dialog - Code

Lecture 50 Creating the End Game Dialog - Objects

Lecture 51 Creating the End Game Dialog - Code - Game Lost

Lecture 52 Creating the End Game Dialog - Code - Game Won - CHALLENGE

Lecture 53 Creating the Exit Game Dialog - Objects

Lecture 54 Creating the Exit Game Dialog - Code

Section 8: Manage Restarting the Game, Leveling Up and Resetting the Game

Lecture 55 Restart, Level Up and Reset - Variables

Lecture 56 Restarting the Game - Code

Lecture 57 Leveling Up - Code

Lecture 58 Resetting the Game - Setup

Lecture 59 Resetting the Game - Destroy Projectiles

Lecture 60 Resetting the Game - Restore LIves

Lecture 61 Resetting the Game - Restore Enemies

Lecture 62 Resetting the Game - Reset Enemy Movement / Fire Variables and Player Position

Section 9: Add Sound Effects

Lecture 63 Adding Sound Effects - Setup

Lecture 64 Adding Sound Effects - Enemy HIt

Lecture 65 Adding Sound Effects - Player Fires

Lecture 66 Adding Sound Effects - Player Hit - CHALLENGE

Lecture 67 Adding Sound Effects - Enemy Movement

Lecture 68 Adding Sound Effects - Toggle Sound On and Off

Section 10: Finishing Up

Lecture 69 Conducting Final Testing

Lecture 70 Building a Standalone Application

Lecture 71 Conclusion

Lecture 72 Project Files

Anyone who wants to learn how to create a complete Space Invaders game in Unity,Anyone who wants to learn the basics of creating an arcade game in Unity