Build your first video game in 100 seconds with the Unity Game Engine. It is a powerful tool that simplifies the way developers create 2D and 3D video games with the C# programming language. 

This video is NOT sponsored

#programming #gamedev #100SecondsOfCode

🔗 Resources

Unity Homepage https://unity.com
Games made with Unity https://en.wikipedia.org/wiki/List_of_Unity_games
Unity Manual https://docs.unity3d.com/Manual/index.html
C# in 100 Seconds https://youtu.be/ravLFzIguCM

🔥 Get More Content - Upgrade to PRO

Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment. 

🎨 My Editor Settings

- Atom One Dark 
- vscode-icons
- Fira Code Font

🔖 Topics Covered

- Unity basics tutorial
- Build a simple app with unity
- What are unity game object components?
- How to get started with Unity?
- What is Unity?
- When was Unity created?
- Game development with C sharp
- Is game development hard?
2024-02-04T05:32:30.487Z
nova-2
2-general-nova
2024-01-09.29447
30089e05-99d1-4376-b32e-c263170674af
8f0e6c45-4338-4e80-921d-12f6b80f6236
35eccaac6f63b77b78cbed182bc0cf3c4f0378c1be8697c0b30865a619fe7ed4
67875a7f-c9c4-48a0-aa55-5bdb8a91c34a
deprecated
Unity, a cross platform game engine for building 2 d and 3 d experiences made famous for democratizing the immense challenge of game development.
It was created in Copenhagen, Denmark, and first released in 2005.
Today, it's the magic behind many popular games, like the 2 d Among of us.
The 3 d Monument Valley, augmented reality apps like Pokemon Go, first person shooters like Escape from Tarkov, as well as interactive simulations and animations beyond the gaming industry.
The engine itself is written in C plus plus but allows developers to write their code in the more approachable c sharp.
In addition, it provides a powerful graphical editor, allowing you to draw shapes, work with cameras, and apply materials without having to write a single line of code.
Every game object can have a variety of components, like a mesh to define its actual physical shape, a mesh renderer to apply materials and lighting to an object, and physics components like rigid body and colliders that simulate things like gravity and collisions in the real world.
And finally, you can extend an object with your own c of sharp code to make it do something interesting, like take hit points when it runs into a bad guy.
To build your first video game right now, install Unity Hub, create a new project, then open up the editor.
You'll be greeted with a 3 d scene that contains a light source and a camera.
A scene is like a game level that you're developing, while the camera is the point of view of the player.
To create a game of dodgeball, let's add a plane to be the ground, a cylinder for the player, and a sphere for the ball.
Select an object, then hit y on your keyboard to move, rotate, and scale it to your liking.
Hit the play button and notice how these shapes don't do anything.
But if we add a rigid body to the objects, all of a sudden, they're now impacted by the laws of Gravity.
Currently, they look pretty boring, but we can make them look cool by creating a material and then drag it onto the shapes.
And now, to make this game playable, of, well, let's add a script component to it and then open it in Versus Code.
It contains a class with 2 methods to implement your code.
Start is called once at the very beginning of the game, while update is called on every frame while the game is being played.
And there's also fixed update that runs at the same frame rate as the physics engine.
Now, to move our player around, we can define a public property for the rigidbody which contains a bunch of different properties and methods to move the object around.
Now assign an actual value from the game to that property by dragging the rigidbody component to it in the editor.
In the fixed update method, we can first use input to detect when a user presses the arrow keys, and then call the move position method on the rigidbody to move it.
Hit the play button and you should now be able to move your player around.
From there, we can add a script to the ball that will add force to it when the game starts to roll it across the screen.
And we can also run code when the 2 objects collide by defining the on collision enter method.
Congratulations, you just built a video game.
This has been Unity in 100 seconds.
If you wanna see more short videos like this, hit the like button and subscribe.
And let me know if you wanna see full Unity tutorial in the comments.
Thanks for watching, and I will see you in the next one.

Speaker 0: Unity, a cross platform game engine for building 2 d and 3 d experiences made famous for democratizing the immense challenge of game development. It was created in Copenhagen, Denmark, and first released in 2005. Today, it's the magic behind many popular games, like the 2 d Among of us. The 3 d Monument Valley, augmented reality apps like Pokemon Go, first person shooters like Escape from Tarkov, as well as interactive simulations and animations beyond the gaming industry. The engine itself is written in C plus plus but allows developers to write their code in the more approachable c sharp.

In addition, it provides a powerful graphical editor, allowing you to draw shapes, work with cameras, and apply materials without having to write a single line of code. Every game object can have a variety of components, like a mesh to define its actual physical shape, a mesh renderer to apply materials and lighting to an object, and physics components like rigid body and colliders that simulate things like gravity and collisions in the real world. And finally, you can extend an object with your own c of sharp code to make it do something interesting, like take hit points when it runs into a bad guy. To build your first video game right now, install Unity Hub, create a new project, then open up the editor. You'll be greeted with a 3 d scene that contains a light source and a camera.

A scene is like a game level that you're developing, while the camera is the point of view of the player. To create a game of dodgeball, let's add a plane to be the ground, a cylinder for the player, and a sphere for the ball. Select an object, then hit y on your keyboard to move, rotate, and scale it to your liking. Hit the play button and notice how these shapes don't do anything. But if we add a rigid body to the objects, all of a sudden, they're now impacted by the laws of Gravity.

Currently, they look pretty boring, but we can make them look cool by creating a material and then drag it onto the shapes. And now, to make this game playable, of, well, let's add a script component to it and then open it in Versus Code. It contains a class with 2 methods to implement your code. Start is called once at the very beginning of the game, while update is called on every frame while the game is being played. And there's also fixed update that runs at the same frame rate as the physics engine.

Now, to move our player around, we can define a public property for the rigidbody which contains a bunch of different properties and methods to move the object around. Now assign an actual value from the game to that property by dragging the rigidbody component to it in the editor. In the fixed update method, we can first use input to detect when a user presses the arrow keys, and then call the move position method on the rigidbody to move it. Hit the play button and you should now be able to move your player around. From there, we can add a script to the ball that will add force to it when the game starts to roll it across the screen.

And we can also run code when the 2 objects collide by defining the on collision enter method. Congratulations, you just built a video game. This has been Unity in 100 seconds. If you wanna see more short videos like this, hit the like button and subscribe. And let me know if you wanna see full Unity tutorial in the comments.

Thanks for watching, and I will see you in the next one.
Unity, a cross platform game engine for building 2 d and 3 d experiences made famous for democratizing the immense challenge of game development. It was created in Copenhagen, Denmark, and first released in 2005. Today, it's the magic behind many popular games, like the 2 d Among of us. The 3 d Monument Valley, augmented reality apps like Pokemon Go, first person shooters like Escape from Tarkov, as well as interactive simulations and animations beyond the gaming industry. The engine itself is written in C plus plus but allows developers to write their code in the more approachable c sharp. In addition, it provides a powerful graphical editor, allowing you to draw shapes, work with cameras, and apply materials without having to write a single line of code. Every game object can have a variety of components, like a mesh to define its actual physical shape, a mesh renderer to apply materials and lighting to an object, and physics components like rigid body and colliders that simulate things like gravity and collisions in the real world. And finally, you can extend an object with your own c of sharp code to make it do something interesting, like take hit points when it runs into a bad guy. To build your first video game right now, install Unity Hub, create a new project, then open up the editor. You'll be greeted with a 3 d scene that contains a light source and a camera. A scene is like a game level that you're developing, while the camera is the point of view of the player. To create a game of dodgeball, let's add a plane to be the ground, a cylinder for the player, and a sphere for the ball. Select an object, then hit y on your keyboard to move, rotate, and scale it to your liking.
video gaming
entertainment
toys
games
software development
robotics
animation
graphic design
television
programming
multimedia
Hit the play button and notice how these shapes don't do anything.
But if we add a rigid body to the objects, all of a sudden, they're now impacted by the laws of Gravity. Currently, they look pretty boring, but we can make them look cool by creating a material and then drag it onto the shapes. And now, to make this game playable, of, well, let's add a script component to it and then open it in Versus Code. It contains a class with 2 methods to implement your code. Start is called once at the very beginning of the game, while update is called on every frame while the game is being played. And there's also fixed update that runs at the same frame rate as the physics engine. Now, to move our player around, we can define a public property for the rigidbody which contains a bunch of different properties and methods to move the object around.
video gaming
animation
graphic design
games
programming
software development
Now assign an actual value from the game to that property by dragging the rigidbody component to it in the editor. In the fixed update method, we can first use input to detect when a user presses the arrow keys, and then call the move position method on the rigidbody to move it.
Hit the play button and you should now be able to move your player around. From there, we can add a script to the ball that will add force to it when the game starts to roll it across the screen. And we can also run code when the 2 objects collide by defining the on collision enter method. Congratulations, you just built a video game. This has been Unity in 100 seconds. If you wanna see more short videos like this, hit the like button and subscribe. And let me know if you wanna see full Unity tutorial in the comments. Thanks for watching, and I will see you in the next one.
video gaming
games
youtube
animation
Unity, a cross platform game engine for building 2 d and 3 d experiences made famous for democratizing the immense challenge of game development. It was created in Copenhagen, Denmark, and first released in 2005. Today, it's the magic behind many popular games, like the 2 d Among of us. The 3 d Monument Valley, augmented reality apps like Pokemon Go, first person shooters like Escape from Tarkov, as well as interactive simulations and animations beyond the gaming industry. The engine itself is written in C plus plus but allows developers to write their code in the more approachable c sharp. In addition, it provides a powerful graphical editor, allowing you to draw shapes, work with cameras, and apply materials without having to write a single line of code. Every game object can have a variety of components, like a mesh to define its actual physical shape, a mesh renderer to apply materials and lighting to an object, and physics components like rigid body and colliders that simulate things like gravity and collisions in the real world. And finally, you can extend an object with your own c of sharp code to make it do something interesting, like take hit points when it runs into a bad guy. To build your first video game right now, install Unity Hub, create a new project, then open up the editor. You'll be greeted with a 3 d scene that contains a light source and a camera. A scene is like a game level that you're developing, while the camera is the point of view of the player. To create a game of dodgeball, let's add a plane to be the ground, a cylinder for the player, and a sphere for the ball. Select an object, then hit y on your keyboard to move, rotate, and scale it to your liking. Hit the play button and notice how these shapes don't do anything. But if we add a rigid body to the objects, all of a sudden, they're now impacted by the laws of Gravity. Currently, they look pretty boring, but we can make them look cool by creating a material and then drag it onto the shapes. And now, to make this game playable, of, well, let's add a script component to it and then open it in Versus Code. It contains a class with 2 methods to implement your code. Start is called once at the very beginning of the game, while update is called on every frame while the game is being played. And there's also fixed update that runs at the same frame rate as the physics engine. Now, to move our player around, we can define a public property for the rigidbody which contains a bunch of different properties and methods to move the object around. Now assign an actual value from the game to that property by dragging the rigidbody component to it in the editor. In the fixed update method, we can first use input to detect when a user presses the arrow keys, and then call the move position method on the rigidbody to move it. Hit the play button and you should now be able to move your player around. From there, we can add a script to the ball that will add force to it when the game starts to roll it across the screen. And we can also run code when the 2 objects collide by defining the on collision enter method. Congratulations, you just built a video game. This has been Unity in 100 seconds. If you wanna see more short videos like this, hit the like button and subscribe. And let me know if you wanna see full Unity tutorial in the comments. Thanks for watching, and I will see you in the next one.
Unity,
unity
a
a
cross
cross
platform
platform
game
game
engine
engine
for
for
building
building
2
2
d
d
and
and
3
3
d
d
experiences
experiences
made
made
famous
famous
for
for
democratizing
democratizing
the
the
immense
immense
challenge
challenge
of
of
game
game
development.
development
It
it
was
was
created
created
in
in
Copenhagen,
copenhagen
Denmark,
denmark
and
and
first
first
released
released
in
in
2005.
2005
Today,
today
it's
it's
the
the
magic
magic
behind
behind
many
many
popular
popular
games,
games
like
like
the
the
2
2
d
d
Among
among
of
of
us.
us
The
the
3
3
d
d
Monument
monument
Valley,
valley
augmented
augmented
reality
reality
apps
apps
like
like
Pokemon
pokemon
Go,
go
first
first
person
person
shooters
shooters
like
like
Escape
escape
from
from
Tarkov,
tarkov
as
as
well
well
as
as
interactive
interactive
simulations
simulations
and
and
animations
animations
beyond
beyond
the
the
gaming
gaming
industry.
industry
The
the
engine
engine
itself
itself
is
is
written
written
in
in
C
c
plus
plus
plus
plus
but
but
allows
allows
developers
developers
to
to
write
write
their
their
code
code
in
in
the
the
more
more
approachable
approachable
c
c
sharp.
sharp
In
in
addition,
addition
it
it
provides
provides
a
a
powerful
powerful
graphical
graphical
editor,
editor
allowing
allowing
you
you
to
to
draw
draw
shapes,
shapes
work
work
with
with
cameras,
cameras
and
and
apply
apply
materials
materials
without
without
having
having
to
to
write
write
a
a
single
single
line
line
of
of
code.
code
Every
every
game
game
object
object
can
can
have
have
a
a
variety
variety
of
of
components,
components
like
like
a
a
mesh
mesh
to
to
define
define
its
its
actual
actual
physical
physical
shape,
shape
a
a
mesh
mesh
renderer
renderer
to
to
apply
apply
materials
materials
and
and
lighting
lighting
to
to
an
an
object,
object
and
and
physics
physics
components
components
like
like
rigid
rigid
body
body
and
and
colliders
colliders
that
that
simulate
simulate
things
things
like
like
gravity
gravity
and
and
collisions
collisions
in
in
the
the
real
real
world.
world
And
and
finally,
finally
you
you
can
can
extend
extend
an
an
object
object
with
with
your
your
own
own
c
c
of
of
sharp
sharp
code
code
to
to
make
make
it
it
do
do
something
something
interesting,
interesting
like
like
take
take
hit
hit
points
points
when
when
it
it
runs
runs
into
into
a
a
bad
bad
guy.
guy
To
to
build
build
your
your
first
first
video
video
game
game
right
right
now,
now
install
install
Unity
unity
Hub,
hub
create
create
a
a
new
new
project,
project
then
then
open
open
up
up
the
the
editor.
editor
You'll
you'll
be
be
greeted
greeted
with
with
a
a
3
3
d
d
scene
scene
that
that
contains
contains
a
a
light
light
source
source
and
and
a
a
camera.
camera
A
a
scene
scene
is
is
like
like
a
a
game
game
level
level
that
that
you're
you're
developing,
developing
while
while
the
the
camera
camera
is
is
the
the
point
point
of
of
view
view
of
of
the
the
player.
player
To
to
create
create
a
a
game
game
of
of
dodgeball,
dodgeball
let's
let's
add
add
a
a
plane
plane
to
to
be
be
the
the
ground,
ground
a
a
cylinder
cylinder
for
for
the
the
player,
player
and
and
a
a
sphere
sphere
for
for
the
the
ball.
ball
Select
select
an
an
object,
object
then
then
hit
hit
y
y
on
on
your
your
keyboard
keyboard
to
to
move,
move
rotate,
rotate
and
and
scale
scale
it
it
to
to
your
your
liking.
liking
Hit
hit
the
the
play
play
button
button
and
and
notice
notice
how
how
these
these
shapes
shapes
don't
don't
do
do
anything.
anything
But
but
if
if
we
we
add
add
a
a
rigid
rigid
body
body
to
to
the
the
objects,
objects
all
all
of
of
a
a
sudden,
sudden
they're
they're
now
now
impacted
impacted
by
by
the
the
laws
laws
of
of
Gravity.
gravity
Currently,
currently
they
they
look
look
pretty
pretty
boring,
boring
but
but
we
we
can
can
make
make
them
them
look
look
cool
cool
by
by
creating
creating
a
a
material
material
and
and
then
then
drag
drag
it
it
onto
onto
the
the
shapes.
shapes
And
and
now,
now
to
to
make
make
this
this
game
game
playable,
playable
of,
of
well,
well
let's
let's
add
add
a
a
script
script
component
component
to
to
it
it
and
and
then
then
open
open
it
it
in
in
Versus
versus
Code.
code
It
it
contains
contains
a
a
class
class
with
with
2
2
methods
methods
to
to
implement
implement
your
your
code.
code
Start
start
is
is
called
called
once
once
at
at
the
the
very
very
beginning
beginning
of
of
the
the
game,
game
while
while
update
update
is
is
called
called
on
on
every
every
frame
frame
while
while
the
the
game
game
is
is
being
being
played.
played
And
and
there's
there's
also
also
fixed
fixed
update
update
that
that
runs
runs
at
at
the
the
same
same
frame
frame
rate
rate
as
as
the
the
physics
physics
engine.
engine
Now,
now
to
to
move
move
our
our
player
player
around,
around
we
we
can
can
define
define
a
a
public
public
property
property
for
for
the
the
rigidbody
rigidbody
which
which
contains
contains
a
a
bunch
bunch
of
of
different
different
properties
properties
and
and
methods
methods
to
to
move
move
the
the
object
object
around.
around
Now
now
assign
assign
an
an
actual
actual
value
value
from
from
the
the
game
game
to
to
that
that
property
property
by
by
dragging
dragging
the
the
rigidbody
rigidbody
component
component
to
to
it
it
in
in
the
the
editor.
editor
In
in
the
the
fixed
fixed
update
update
method,
method
we
we
can
can
first
first
use
use
input
input
to
to
detect
detect
when
when
a
a
user
user
presses
presses
the
the
arrow
arrow
keys,
keys
and
and
then
then
call
call
the
the
move
move
position
position
method
method
on
on
the
the
rigidbody
rigidbody
to
to
move
move
it.
it
Hit
hit
the
the
play
play
button
button
and
and
you
you
should
should
now
now
be
be
able
able
to
to
move
move
your
your
player
player
around.
around
From
from
there,
there
we
we
can
can
add
add
a
a
script
script
to
to
the
the
ball
ball
that
that
will
will
add
add
force
force
to
to
it
it
when
when
the
the
game
game
starts
starts
to
to
roll
roll
it
it
across
across
the
the
screen.
screen
And
and
we
we
can
can
also
also
run
run
code
code
when
when
the
the
2
2
objects
objects
collide
collide
by
by
defining
defining
the
the
on
on
collision
collision
enter
enter
method.
method
Congratulations,
congratulations
you
you
just
just
built
built
a
a
video
video
game.
game
This
this
has
has
been
been
Unity
unity
in
in
100
100
seconds.
seconds
If
if
you
you
wanna
wanna
see
see
more
more
short
short
videos
videos
like
like
this,
this
hit
hit
the
the
like
like
button
button
and
and
subscribe.
subscribe
And
and
let
let
me
me
know
know
if
if
you
you
wanna
wanna
see
see
full
full
Unity
unity
tutorial
tutorial
in
in
the
the
comments.
comments
Thanks
thanks
for
for
watching,
watching
and
and
I
i
will
will
see
see
you
you
in
in
the
the
next
next
one.
one
success
The video game Unity is a cross platform game engine that allows developers to create a 3 dimensional game of games. It provides a powerful graphical editor, allows for multiple creation and development, and allows for flexible movement and objects. It is currently the only player-friendly game in the world and is available for download in 100 seconds.
Unity in 100 Seconds
Unity, a cross platform game engine for building 2 d and 3 d experiences made famous for democratizing the immense challenge of game development. It was created in Copenhagen, Denmark, and first released in 2005. Today, it's the magic behind many popular games, like the 2 d Among of us. The 3 d Monument Valley, augmented reality apps like Pokemon Go, first person shooters like Escape from Tarkov, as well as interactive simulations and animations beyond the gaming industry. The engine itself is written in C plus plus but allows developers to write their code in the more approachable c sharp. In addition, it provides a powerful graphical editor, allowing you to draw shapes, work with cameras, and apply materials without having to write a single line of code. Every game object can have a variety of components, like a mesh to define its actual physical shape, a mesh renderer to apply materials and lighting to an object, and physics components like rigid body and colliders that simulate things like gravity and collisions in the real world. And finally, you can extend an object with your own c of sharp code to make it do something interesting, like take hit points when it runs into a bad guy. To build your first video game right now, install Unity Hub, create a new project, then open up the editor. You'll be greeted with a 3 d scene that contains a light source and a camera. A scene is like a game level that you're developing, while the camera is the point of view of the player. To create a game of dodgeball, let's add a plane to be the ground, a cylinder for the player, and a sphere for the ball. Select an object, then hit y on your keyboard to move, rotate, and scale it to your liking. Hit the play button and notice how these shapes don't do anything. But if we add a rigid body to the objects, all of a sudden, they're now impacted by the laws of Gravity. Currently, they look pretty boring, but we can make them look cool by creating a material and then drag it onto the shapes. And now, to make this game playable, of, well, let's add a script component to it and then open it in Versus Code. It contains a class with 2 methods to implement your code. Start is called once at the very beginning of the game, while update is called on every frame while the game is being played. And there's also fixed update that runs at the same frame rate as the physics engine. Now, to move our player around, we can define a public property for the rigidbody which contains a bunch of different properties and methods to move the object around. Now assign an actual value from the game to that property by dragging the rigidbody component to it in the editor. In the fixed update method, we can first use input to detect when a user presses the arrow keys, and then call the move position method on the rigidbody to move it. Hit the play button and you should now be able to move your player around. From there, we can add a script to the ball that will add force to it when the game starts to roll it across the screen. And we can also run code when the 2 objects collide by defining the on collision enter method. Congratulations, you just built a video game. This has been Unity in 100 seconds. If you wanna see more short videos like this, hit the like button and subscribe. And let me know if you wanna see full Unity tutorial in the comments. Thanks for watching, and I will see you in the next one.
The video game Unity is a cross platform game engine that allows developers to create a 3 dimensional game of games. It provides a powerful graphical editor, allows for multiple creation and development, and allows for flexible movement and objects. It is currently the only player-friendly game in the world and is available for download in 100 seconds.