Better Terrain (Godot 4 plugin) Dual grid TileMapLayer

  Рет қаралды 639

Portponky

Portponky

Күн бұрын

Quick tutorial for how to achieve a simple dual-grid effect using the Better Terrain plugin for Godot 4. The dual grid video I reference by ‪@jesscodes‬ is worth a watch: • Draw fewer tiles - by ...

Пікірлер: 12
@ksymph
@ksymph 15 күн бұрын
I just found a dead simple way of making the offset - in the tileset, just select all the tiles and set the texture origin to e.g. -8,-8. That way you don't need to bother moving the whole grid, and it also has the bonus of making textures in the editor line up too.
@Portponky
@Portponky 15 күн бұрын
@@ksymph oh, that's a great idea.
@Portponky
@Portponky 15 күн бұрын
Okay, I gave it a shot, and it's so much better. I should have done that for the tutorial!
@Hurtwolf
@Hurtwolf 5 күн бұрын
Thank you so much!
@jacobthompson42
@jacobthompson42 25 күн бұрын
This is so cool! I've been keeping a close eye on the related threads in the /r/godot subreddit so I'm excited that you posted a video about it. I have been using BetterTerrain for a few months and really love the plugin. I'm definitely going to give this a try.
@DrPhilboBaggins
@DrPhilboBaggins 25 күн бұрын
I love that you've added this info to an already awesome plugin. Thanks heaps!
@okie9025
@okie9025 13 күн бұрын
How do you use multiple tiles in this system? Eg. if I have dirt, sand, and grass tiles, and I want to make them all seamlessly connect to each other.
@Portponky
@Portponky 13 күн бұрын
@@okie9025 you can either draw all combinations (15 tiles for one type, 80 for two types, 255 for three, (n^4)-1 in general), however that makes a lot of tiles. I would just put each type on its own layer, which is slightly annoying to use, but uses the fewest possible tiles - 15 per type.
@MrGold-zn1xo
@MrGold-zn1xo 14 күн бұрын
Hi Portponky - could you tell me how you can use BetterTerrain set cell with the new TileMapLayer node? And also if any of that affects the threading - because I will need to use threading for my game as the chunks I'm using are quite large. Thank you!
@Portponky
@Portponky 14 күн бұрын
@MrGold-zn1xo the latest version of Better Terrain works with TileMapLayer nodes. If you're still using TileMap nodes there's a Better Terrain 4.2 plugin that supports the older versions of Godot. The TileMaps cells cannot be written to from a thread, but Better Terrain has functions for calculating the autotiling on a thread, called changesets. These can be applied quickly on the main thread without lagging the game. See the previous tutorial video for details.
@MrGold-zn1xo
@MrGold-zn1xo 12 күн бұрын
@@Portponky For some reason downloading the new version wasn't overwriting my old one, it works now thank you! With the changesets, is it possible to set surroundingcells? I have chunks in my game and I need the tiles at the borders to tile with those on the same tilemaplayer of other chunks (that weren't in the changeset, but are still in the same tilemaplayer). For each chunk I'm identifying which cell belongs to a certain biome and then making a changeset for each tilemaplayer and then calling apply_terrain_changeset on each one when it's ready... I'm not sure if this is the best way to do this either, so If you have any tips I'd appreciate it! Thank you for your work on this extension, it's a great addition :)
@Portponky
@Portponky 12 күн бұрын
@@MrGold-zn1xo The changeset will only calculate tiles which you give it in the dictionary. It will take account of adjacent tiles. If you want to stitch together seams, just add them to the dictionary when calculating the changeset. Sounds like you're on the right track.
Why Slopes are Shockingly Difficult for Indie Game Devs
17:20
Inbound Shovel
Рет қаралды 147 М.
АЗАРТНИК 4 |СЕЗОН 2 Серия
31:45
Inter Production
Рет қаралды 1,1 МЛН
WORLD BEST MAGIC SECRETS
00:50
MasomkaMagic
Рет қаралды 52 МЛН
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 15 МЛН
Creating a custom tool plugin in Godot 4
10:24
Octodemy
Рет қаралды 3,6 М.
Better Terrain (Godot 4 plugin) code examples
14:20
Portponky
Рет қаралды 2,1 М.
My Experience Moving to Godot from Unity
16:54
DarkDax
Рет қаралды 26 М.
Godot 4 C# Taking Procedural Tilemap Noise To A Whole New Level!
9:26
A Struggle to Survive
Рет қаралды 237
Godot 4 - Better terrain, terrain mixing and duplicating
9:46
Portponky
Рет қаралды 1,7 М.
I Made Minecraft in Godot
28:36
RachelfTech
Рет қаралды 48 М.
Introducing Ear (open) and OS 3.0
15:17
Nothing
Рет қаралды 779 М.
I Created My Own Custom 3D Graphics Engine
26:29
Inkbox
Рет қаралды 75 М.
Godot Tile Maps Are Dead ...Long Live TileMapLayers
11:02
Gamefromscratch
Рет қаралды 39 М.
АЗАРТНИК 4 |СЕЗОН 2 Серия
31:45
Inter Production
Рет қаралды 1,1 МЛН