Make a 3D Top Down Shooter with Godot - Part 2.2 Randomization @AgeOfAsparagus
Make a 3D Top Down Shooter with Godot - Part 2.2 Randomization  @AgeOfAsparagus
Uploaded April 2021 | Updated December 2026, 3 hours ago
By the end of this video we’ll be able to seed the random number generation of our tool so our RNG will behave a little nicer and also be reproducible, and we’ll add some random height variations to the obstacles with a couple parameters for control.

Timestamps:
0:00 Intro
0:21 Randomization plan
2:37 Array of coordinates
4:54 GDScript Inner Class
5:37 GDScript _init()
6:51 GDScript _to_string()
8:11 Shuffle and slice the Array
11:18 Adding the obstacles
12:37 Seed the RNG
14:40 Height variability
18:27 Fixing obstacle positions
20:30 Obstacle scene tidy

*******************************
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
Make a 3D Top Down Shooter with Godot - Part 2.2 RandomizationMake a 3D Top Down Shooter with Godot - Part 3.1 Random SpawningKrita meets Bob Ross 14. Son of a Gun (OLD)Make a 3D Top Down Shooter with Godot - Part 2.1 A Basic Level Generation ToolKrita meets Bob Ross 3. Happy Little Clouds (Updated for Krita 4)Wacom on Linux Tutorial 2. Disabling TouchMake a 3D Top Down Shooter with Godot - Part 1.8 Loose EndsMake a 3D Top Down Shooter with Godot - Part 3.7 Heads up Display (2 of 2)Krita meets Bob Ross 15. Afraid of the 2 Brush (OLD)Make a 3D Top Down Shooter with Godot - Part 3.3 Level TransitionsKrita meets Bob Ross 16. Anything that you Want (OLD)Krita Meets Bob Ross 16. Anything You Want (Updated for Krita 4)
Age of Asparagus |

Make a 3D Top Down Shooter with Godot - Part 2.2 Randomization

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER