Перейти к содержимому

I Made Modular Terrain With Just ONE Path2D in Godot

Mohadirn

0:00 / 0:00

I Made Modular Terrain With Just ONE Path2D in Godot

220 просмотров · 2 недели назад
Mohadirn
19 подписчиков
220 просмотров · 2 недели назад
I've been getting tired of using TileMaps for my platforms, so I wanted to try something different. In this video, we'll build a procedural terrain system where a single Path2D can generate the terrain's visuals, collision, outline, and even a separate texture for the upper surface. We'll build: • Modular terrain from a single Path2D • Automatic collision • Procedural terrain visuals • Custom textures and outlines • Automatic detection of the terrain's upper surface • Separate textures for grass / top surfaces Everything is built from scratch in Godot, and you can shape the terrain however you want by simply editing the Path2D curve. If you want to try the system yourself, I've put the script on GitHub. #Godot #GameDev #IndieGameDev #ProceduralGeneration #godotengine 00:00 Intro 00:36 My Idea 01:00 Making Base 02:09 Appearances 03:05 Upper Side 04:51 Result