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:
1 view
587
159
6 months ago 00:00:44 1
Как улучшить камеру в играх / Плавное движение камеры
6 months ago 00:45:40 1
Godot 4 - Online Multiplayer FPS From Scratch
6 months ago 00:18:24 1
Вот как СЖИГАЮТ ЖИР на животе ЗА 2 мин! Я тоже так делаю и вот что произошло через 7 дней
6 months ago 00:25:49 1
Build a Platformer with Godot #5 - Enemy & Player Damage
6 months ago 00:21:44 1
Build a Platformer with Godot #4 - Player Gun
6 months ago 00:24:55 1
Build a Platformer with Godot #3 - Adding Bullets
6 months ago 00:06:11 1
3D Movement in Godot in Only 6 Minutes
6 months ago 00:21:25 1
Как работать с сигналами в Godot 4 / await, connect
6 months ago 00:48:56 1
Княгиня Ольга сделала то, чего не сумел сделать князь Игорь: укрепила разваливающееся государство
6 months ago 00:20:11 1
Build a Platformer with Godot #2 - Player Movement
6 months ago 00:34:02 1
Ультражесткое введение в Godot Engine // Урок для продолжающих