Godot 4 - Draw fewer tiles by using a DualGrid system
Автор - jess::codes
ссылка -
От автора:
I’ve spent a LOT of time drawing tiles! So when I came across this alternative approach to auto-tiling that requires fewer tiles, I knew I had to give it a go. This video is all about the “Dual-Grid System” (first proposed by Oskar Stalberg), and how I implemented it in Godot. Unlike most other tilesets, it also allows for equally rounded corners! Finally - I can sleep well at night knowing my tiles are all equally rounded.
I also go through the 3 more common tilesets that I’ve seen so you have a better understanding of alllll the options.
I would honestly love to see the dual-grid system used more widely - so I hope this video at least brings some awareness to it! There was hardly anything online about implementing this in a game engine, so it was a lot of trial and error. I apologise if I made any mistakes and I’m sure there’s many improvements and optimisations (e.g. tile symmetry) that could be made. I’d be keen to hear your thoughts!
I tried by best to explain my understanding of this complicated topic, but these guys probably do a better job lol :)
- Talk by Oskar Stålberg: • SGC21- Oskar Stålberg - Beyond Towns...
- Dual-grid explained by ThinMatrix: • Programming Terrain Generation for my...
Other links:
Tile templates adapted from:
Dual-grid system in Godot demo:
Helpful tool to convert 15-piece sets to 47-piece sets:
15 views
587
159
3 weeks ago 00:06:40 4
Godot 4 - How to create a talent tree - Learn UI
3 weeks ago 00:05:21 10
Godot 4 - How to stop enemies falling off platforms using a RayCast
3 weeks ago 00:09:38 15
Godot 4 - 3D Dice Rolling Animation
3 weeks ago 00:36:07 24
Godot 4 - A Complete Guide to Y-SORTING
3 weeks ago 00:14:50 20
Godot 4 - Build Sudoku Game
3 weeks ago 00:05:22 17
Godot 4 - Random Items with Rarity Logic
4 weeks ago 00:07:06 15
Godot 4 - How to make things float
4 weeks ago 00:05:48 18
Godot 4 - Button Push
4 weeks ago 00:06:27 23
Godot 4 - 3D overlay on 3D scene
4 weeks ago 00:02:58 34
Godot 4 - Mesh Masks To See-through Other Objects
4 weeks ago 00:41:21 127
Godot 4 - Your First 3D Platformer Tutorial
4 weeks ago 00:04:09 25
Godot 4 - Analog Clock
4 weeks ago 00:18:05 27
Godot 4 - Making Minesweeper
4 weeks ago 00:36:39 558
Godot Engine 4 - Создание базового Java / Kotlin плагина для игры в Android Studio
4 weeks ago 00:09:39 33
Godot 4 - Rigid Body Character Controller
4 weeks ago 00:15:55 31
Godot 4 - Visibility Occlusion
4 weeks ago 00:02:07 18
Godot 4 - Create a 3D Minimap
4 weeks ago 00:14:37 21
Godot 4 - CARD GAME Tutorial (part 7) - Create an OPPONENT
4 weeks ago 00:02:10 588
Automate Level Design with Tiled Automapping & Godot 4.3 C#