Uploaded March 2021 | Updated December 2026, 3 hours ago
The plan for Phase 2 is to create:
* a tool for generating levels of various sizes
* randomly placed obstacles,
* a seed so we can regenerate the levels we like.
* parameters for randomizing obstacle height,
* parameters for changing the obstacle color
* make sure the map connects by using a flood fill algorithm so that the obstacles don’t cut off sections where enemies can get stuck, and
* a way to save the levels we like for use in our game.
By the end of this video we’ll have a basic tool that will allow us to generate a level directly in the Editor, and we’ll be able to edit the map’s width, depth, and the obstacle density from within the Inspector.
If you are starting here, download the source code from the e1.8 tag: github.com/age-of-asparagus/godot3-3dgame/tags
`export` docs: docs.godotengine.org/en/stable/getting_started/scripting/gdscript/gdscript_exports.html
Timestamps:
0:00 Intro
1:04 New LevelGenerator scene and script
4:13 Map width and depth
6:21 GDScript tool
7:54 Using setget
9:48 Resetting the tool
11:04 export arguments
12:24 Force exports to odd values
15:45 Obstacle setup
18:08 Obstacle density
20:29 Instantiating obstacles
23:49 Positioning the obstacles
*******************************
Playlist: youtube.com/playlist?list=PLaGRTLvEbVzyUMwjUPgrreyRE3AY8jhOK
Source code tagged at the end of each episode: github.com/age-of-asparagus/godot3-3dgame/tags
Credits
-----------
This series is a port of Sebastian Lague's awesome Create a Game (Unity 5) playlist: youtube.com/playlist?list=PLFt_AvWsXl0ctd4dgE1F8g3uec4zKNRV0
Get Godot: godotengine.org
Music: Main theme - Thiago Adamo (github.com/SebLague/Create-a-Game-Source/tree/master/Audio/Music)
Editing: nuby nub (youtube.com/channel/UCxvjgA9QSqi8Bve5x_K5cNw)
Tools
---------
Video Editing: Blender
Overlays: Krita, GIMP, Inkscape, Draw on your Screen (Gnome shell extension)
Recording: SimpleScreenRecorder & Audacity
The plan for Phase 2 is to create:
* a tool for generating levels of various sizes
* randomly placed obstacles,
* a seed so we can regenerate the levels we like.
* parameters for randomizing obstacle height,
* parameters for changing the obstacle color
* make sure the map connects by using a flood fill algorithm so that the obstacles don’t cut off sections where enemies can get stuck, and
* a way to save the levels we like for use in our game.
By the end of this video we’ll have a basic tool that will allow us to generate a level directly in the Editor, and we’ll be able to edit the map’s width, depth, and the obstacle density from within the Inspector.
If you are starting here, download the source code from the e1.8 tag: github.com/age-of-asparagus/godot3-3dgame/tags
`export` docs: docs.godotengine.org/en/stable/getting_started/scripting/gdscript/gdscript_exports.html
Timestamps:
0:00 Intro
1:04 New LevelGenerator scene and script
4:13 Map width and depth
6:21 GDScript tool
7:54 Using setget
9:48 Resetting the tool
11:04 export arguments
12:24 Force exports to odd values
15:45 Obstacle setup
18:08 Obstacle density
20:29 Instantiating obstacles
23:49 Positioning the obstacles
*******************************
Playlist: youtube.com/playlist?list=PLaGRTLvEbVzyUMwjUPgrreyRE3AY8jhOK
Source code tagged at the end of each episode: github.com/age-of-asparagus/godot3-3dgame/tags
Credits
-----------
This series is a port of Sebastian Lague's awesome Create a Game (Unity 5) playlist: youtube.com/playlist?list=PLFt_AvWsXl0ctd4dgE1F8g3uec4zKNRV0
Get Godot: godotengine.org
Music: Main theme - Thiago Adamo (github.com/SebLague/Create-a-Game-Source/tree/master/Audio/Music)
Editing: nuby nub (youtube.com/channel/UCxvjgA9QSqi8Bve5x_K5cNw)
Tools
---------
Video Editing: Blender
Overlays: Krita, GIMP, Inkscape, Draw on your Screen (Gnome shell extension)
Recording: SimpleScreenRecorder & Audacity










