Mô tả

UPDATE:

In this course we tackle some intermediate topics like AI and we code it in a way that you can reuse it - which also can be a bit more difficult for beginners. The course is about creating the 2d shooting mechanic and polishing it with multiple special effects for it to be fun to play. We will create a simple AI system for the enemy using FSM, create custom Shaders, and explore why it is important for others to playtest your games and give you feedback.

Course should work with changes done to Shader Graph in version Unity 2020.


UPDATE 2:

Full project files in zip archive added to each section at the end.

Each video where we write some code now has a link to scripts on github.

Introduction:

Let's make a 2d top-down shooter in Unity 2020 using universal Rendering Pipeline and focusing on juiciness of the gameplay!

In this course beside implementing a standard game mechanics like shooting, picking up health/ammo and enemy AI we will focus our attention on adding visual and audio details into our game. URP will helps us a lot with its 2D lights system and the Shader Graph Editor which makes creating shaders (how game graphic is rendered) really easy.

While it is important to have bug free game mechanics that fits our game genre we also want to make our game stand out. Our goal is to make the game fun to the players and it is achieved only by balancing our game and making sure that our player knows exactly what is going on in the game. In this course we will focus on the latter.

Feedback is the main path that we as game designers have to communicate to the player what is going on inside the game. To make sure that our player feels like his / her actions influence the game world (Agency) we will make sure to give every action appropriate visual and audio queue. An example would be that shooting will cause the screen to shake, enemies on being hit flash and are knocked back, bullet that hits a wall will produce ricochet sound and a cloud of dust - in summary the player will hopefully have fun playing our game.

We will implement custom shaders, animations, tweens (animations using code - DoTween asset and inbuilt Coroutins), audio effects and light effects. in addition we will stricture the project in a way that you can easily balance the game by exposing important settings/values using ScriptableObjects.

To create the project we will utilize UnityEvents to make sure that we can easily add new actions to the events happening in the game from Unity inspector instead of having to modify out code. I will do my best to show you how to write object oriented, clean code so that you can easily understand it.

I encourage you to check out the free video about the outline of the course to learn more.

See you in the course!

-Peter from Sunny Valley Studio

Bạn sẽ học được gì

Unity 2020 in 2D

C# programming

Game Development

Game Design

Yêu cầu

  • Know how to use Unity at a basic/intermediate level.
  • C# intermediate level

Nội dung khoá học

12 sections

Introduction

4 lectures
Course content
01:28
Make sure that you use Unity 2020!
00:26
Project setup
05:37
Using resources and getting help
03:24

Player Character

17 lectures
Intro - Preparing the project
06:15
Camera Setup - Ghosting fix
00:15
Preparing sprites for pixel graphics
05:48
Preparing sprites - splitting tilemap
04:34
Creating player avatar
06:30
macOS users Visual Studio tip
00:19
Getting input
11:23
Basic Player Movement
05:54
Movement Data Scriptable object
07:32
Better player movement
09:26
Better player movement fix
00:49
Adding player animations
10:35
Playing animations
07:59
Getting pointer input
05:20
Making player look at pointer
12:22
Adding step audio
11:16
Project files so far
00:08

Simple Map

12 lectures
Tilemap setup
08:24
Creating floor tiles
07:19
Sprite sorting order
04:32
Creating walls
07:47
Adding collisions
05:47
Adding cinemachine camera to follow player
04:10
Fixing 2D light
04:35
Unity 2021.2+ Point light is now Spot light
00:09
Adding Torches
10:55
Adding shadows
05:54
Pixel perfect camera
04:56
Project files so far
00:08

Shooting mechanic

18 lectures
Preparing weapon sprite
05:21
Aiming our weapon through script
07:26
Rendering the weapon
09:37
Fixing weapon flip logic
00:30
Preparing Weapon script
07:57
Using AgentWeapon script to shoot
07:41
Finishing Weapon script P1
11:32
Finishing Weapon script P2
11:20
Weapon Data Scriptable Object
10:01
Creating bullet prefab
11:28
Bullet collisions and BulletDataSO
09:00
Regular Bullet script
09:16
BulletDataSO
10:40
Spawning a bullet
11:19
Detecting bullet collision
07:18
Shoot sound effect
09:55
Changing cursor icon to crosshair
03:42
Project files so far
00:08

Enemy setup

18 lectures
Preparing enemy gameobject
11:25
Shooting the enemy
07:10
Enemy class and IHittable interface
11:30
EnemyData
07:02
Enemy Audio
13:22
EnemyAI Introduction
05:44
EnemyBrain
12:55
State Machine architecture
07:54
AI Action, Transition, Decision and State classes
15:54
Adding AI structure to the Enemy object
13:14
Distance decision
09:16
ChaseState and IdleState
09:03
Finishing the Attack state
08:07
Fixing rendering issues - Transparency Sort Mode
03:49
Enemy Attack player logic
11:34
Adding IHittable to player
09:06
FIx - Weapon Damage
00:24
Project files so far
00:08

Adding Juiciness

26 lectures
What is juiciness?
05:42
Feedback architecture setup
08:57
Weapon feedback - muzzle flash
07:10
Weapon Flash light Feedback
09:39
Weapon Shake Feedback
09:51
Cinemachine Camera shake feedback
11:26
Bullet impact - prefabs
13:35
Implementing Bullet impact feedback
08:07
FIX - Bullet Impact effect spawning away from the wall
07:12
Minor fixes
03:56
Enemy Feedback Hit - introduction
03:16
Unity 2020.2 Shader Graph Changes
00:17
Solid Color shader Unity 2020.2
16:03
Fixing Solid Color Shader Unity 2020.2
16:03
Dissolve shader Unity 2020.2
15:59
Improving Enemy Death Feedback
09:51
PostProcessing
08:20
Fixing bullet issues
05:48
Adding Time Freeze feedback
16:46
Player Death Animation
12:22
Analyzing game testers feedback
04:53
Adding knockback to enemies
14:08
Bullet shell generator - object pool
08:14
Bullet shell generator - implementation
14:16
Background music
02:23
Project files so far
00:08

UI

7 lectures
Creating UI layout
06:59
Creating health UI
10:43
Creating bullet UI
08:07
Implementing health ui to our game
05:10
Implementing bullet ui to our game
08:34
Simple restart menu
10:33
Project files so far
00:08

Spawning enemies

3 lectures
Creating a spawner class
13:13
Adding Line of sight to Enemy AI
12:18
Project files so far
00:08

Enemy drop ammo and health

6 lectures
Preparing resource scripts
11:56
Item prefabs
06:59
ItemDropper
15:46
Making Enemy drop item
06:42
Picking up items
07:20
Project files so far
00:08

FIXES

2 lectures
FIX 1 - Adding Player backward movement animation
15:41
Fix 2 - Building Standalone version
03:09

Old content for Unity 2020.1

3 lectures
Solid Color shader 2020.1
12:11
Fixing Solid Color Shader 2020.1
15:20
Dissolve shader 2020.1
14:52

End Project

1 lectures
End project files
00:06

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.