Connected Blocks
A downloadable addon
This addon provides a new Node type and Resource into the Godot game engine.
The BlockLayer node, which uses BlockData resources to place, break, and handle Blocks. Blocks are 2D square textures that can "connect" their textures even between different blocks, which is a limit of the default TileMap node currently.
This can be useful in placing tiles dynamically in-game via script for procedural generation, or in a "block-building" style game.
Currently, the addon is focused primarily on procedural generation, as that is how I am using it in my projects. There is not a way, thus far, to place blocks in the editor.
Current Features:
- Blocks will automatically "connect" their textures to neighboring blocks on the same BlockLayer node.
- Adjust the tile size to any size you need, you are not stuck at 16x16.
- Choose whether some blocks are "solid" (they will have a collision shape auto-generated) or not, with a simple checkbox.
- BlockLayer has two functions for placing, and two functions for breaking, blocks. One will emit a signal, the other will not.
Planned Features
- Ability to run custom functions from each type of block.
- Customizable texture layout for Block textures, to use with any Tileset.
- Rewrite in C#. I am a hobbyist, and GDScript is my main language. I am (slowly) learning C# and someday plan to port this over into C# for the boost in efficiency. Currently everything is scripted in GDScript.
- Editor-placeable blocks...? (If possible + necessary).
- Open to suggestions!
Licensed under CC BY-SA 4.0. A copy of this license can be viewed here:
https://creativecommons.org/licenses/by-sa/4.0/
| Status | In development |
| Category | Assets |
| Author | Dr_Froth |
| Tags | 2D, addon, Godot, plugin, Procedural Generation, Real-Time |
Download
Click download now to get access to the following files:
Development log
- Minor Update44 days ago
