Build infinite procedurally generated GODOT maps in 10 minutes!

  Рет қаралды 19,152

Andrew Hoffman

Andrew Hoffman

Күн бұрын

👍👍👍 and subscribe for more godot tutorials: / @and1hof
Check out my best selling AppSec book: amzn.to/3pGO4Vz
Check out my behind-the-scenes newsletter: www.andrewhoff...
In this tutorial learn about GODOT infinite tilemap generation and the process for developing infinite procedurally generated maps akin to 2D versions of no mans sky or the maps used in warframe.

Пікірлер: 16
@vorrdegard2176
@vorrdegard2176 2 жыл бұрын
The video flew over my head
@AZmisc
@AZmisc 11 ай бұрын
Your Godot series are amazing!
@TJ-fv9vs
@TJ-fv9vs 8 ай бұрын
Thanks for sharing, it's really helpful to see a clear small example of generating an infinite map! I was wondering how you remove tiles that are far outside the player's view again, to stop accumulating memory?
@mmorenopampin
@mmorenopampin 2 жыл бұрын
hey! this is awesome! got a performance question though. How would you remove tiles if they get too far away? Your code doesn't do this yet right? all the visited tiles in my implementation stay in the scene and eventually kill my frame rate hahaha. tried to reverse engineer your code to remove tiles past a higher boundary but its tricky any suggestions? can we use an area2d node on tiles?
@williamhutchins479
@williamhutchins479 Жыл бұрын
Yes, you just need to figure out what distance you want, how your going to calculate that distance or view from the player, and then how you're going to hide it. Check out a LOD (Level of detail) tutorial as they usually showcase how they do the rest. Good luck!
@realcoolguy123
@realcoolguy123 Жыл бұрын
@@williamhutchins479 LOD is 3d. This tutorial is for 2D. Theres no such thing as LOD for 2D maps
@tom_paul_3d
@tom_paul_3d 2 жыл бұрын
incredibly small and nitpicky thing but make sure your count doesn't infinitely increment by doing maybe something along the lines of count = (count + 1) % 15. You can even try adding a timer node for this specific operation! Then firing it every 1/4 of a second, I think that would make your function FPS independent, not sure.
@sumihsus
@sumihsus 8 ай бұрын
Godot4 overhauls the tile system, make sure you're using godot3 for this or be prepared for lots of rabbit holes getting the new equivalent system set up
@hensola
@hensola 5 ай бұрын
This is exactly what I have been looking for :)
@00fresh
@00fresh 2 жыл бұрын
Thanks for making this! Had some great advice in it
@eNNercY
@eNNercY Жыл бұрын
i would imagine that flying through space for some time would get a huge amount of objects generated and slow down the game at some point... do you have some kind of culling active? or does it godot on its own?
@Firoux
@Firoux 2 жыл бұрын
Thanks for the insights, it would be awsome in multiplater :)
@theuntoldwizard6993
@theuntoldwizard6993 Жыл бұрын
It would be cool if you made a 3d version of this
@shanliumoshi7904
@shanliumoshi7904 Жыл бұрын
thanks
@cowinacan794
@cowinacan794 Ай бұрын
Okay but do this for side scroller
@viyadadna6904
@viyadadna6904 Жыл бұрын
Thank you for not sharing the code but still showing it in the video
How to Build Beautiful GODOT UI Using THEME Files
11:38
Andrew Hoffman
Рет қаралды 14 М.
A new way to generate worlds (stitched WFC)
10:51
Watt Designs
Рет қаралды 534 М.
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 50 МЛН
Synyptas 4 | Жігіттер сынып қалды| 3 Bolim
19:27
kak budto
Рет қаралды 1,3 МЛН
Algorithm behind huge Terrain in Godot
15:46
mohsen zare
Рет қаралды 9 М.
Map Men vs. Geoguessr
28:07
Jay Foreman
Рет қаралды 729 М.
Procedural Generation: Programming The Universe
41:57
javidx9
Рет қаралды 205 М.
HD-2D Style in Godot 4.1
12:57
Gamedev Aki
Рет қаралды 60 М.
Optimizing my Game so it Runs on a Potato
19:02
Blargis
Рет қаралды 620 М.
Build Highly Scalable GODOT Games in Under 10 Minutes!
9:40
Andrew Hoffman
Рет қаралды 50 М.
I rewrote my dungeon generator!
4:27
UnitOfTime
Рет қаралды 161 М.
Custom Resources in Godot 4 and How to use them
9:36
Unain
Рет қаралды 11 М.
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36