Fireship · @fireship
Godot in 100 Seconds
Uploaded October 24, 2022 · Length 2:40
Summary
godot game engine tutorial for beginners, creating 2d and 3d games with c# and gdscript
- godot game engine
- game development
- c# programming
- gdscript
- 2d game development
- 3d game development
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
and Godot a free and open source game
- 0:02
engine capable of building high quality
- 0:04
2D and 3D games it was created in 2007
- 0:07
in Argentina and open sourced in 2014
- 0:10
like Unity it provides an editor that
- 0:12
allows you to create visualize and
- 0:14
program the behavior of game objects
- 0:16
however Godot weighs in at just 35
- 0:18
megabytes while providing a full feature
- 0:20
developer experience that's approachable
- 0:22
to beginners game code can be written in
- 0:24
C sharp C plus plus or a purpose-built
- 0:27
language called GD script it feels like
- 0:29
a cross between typescript and Python
- 0:31
and dramatically reduces the amount of
- 0:32
complexity and boilerplate when coding
- 0:34
game scripts to create a game you start
- 0:36
with a scene which itself contains a
- 0:39
tree of nodes nodes are like building
- 0:40
blocks that can be assigned as the child
- 0:42
of another node to control the
- 0:44
appearance and behavior of objects in
- 0:46
the scene any node can have a script
- 0:48
attached to it allowing you to write
- 0:49
code that updates the object for every
- 0:51
frame in the game Loop you can then save
- 0:53
the scene to disk and use it within
- 0:55
other scenes when your awesome game is
- 0:57
complete it can be exported with a
- 0:58
single click to desktop web and mobile
- 1:00
platforms or two consoles like Nintendo
- 1:03
switch PS4 and Xbox via third-party
- 1:05
providers to build your own game right
- 1:07
now download it and create a new project
- 1:09
start with a new 3D scene then add a
- 1:12
static body node to it which is ideal
- 1:13
for things like walls and Floors on its
- 1:16
own it's invisible but we can change
- 1:17
that by adding a collision shape node as
- 1:20
a child choose a shape type on the right
- 1:22
side then modify its actual size by
- 1:24
editing the values directly or by
- 1:26
dragging the Gizmo with the mouse it's
- 1:28
still just a wireframe but we can bring
- 1:30
it to Life by also adding a mesh
- 1:32
instance node a mesh is a collection of
- 1:34
triangles that make 3D shapes look
- 1:36
realistic we can also make the scene
- 1:37
look more realistic by adding a
- 1:39
directional light to it which will cast
- 1:40
Shadows off of other 3D objects now to
- 1:43
add a player to the game we'll create
- 1:44
another scene this time with a kinematic
- 1:47
body as the root which is ideal for
- 1:49
objects that you move around with a
- 1:50
controller give it a collision shape and
- 1:52
mesh then open up the project settings
- 1:54
and go to input map from here we can
- 1:57
create labels like move left and move
- 1:59
right then map the those labels to


