Connected Blocks
A downloadable addon
Connected Blocks
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.
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 as this is geared towards proc-gen.
Current Features:
- Blocks will automatically "connect" their textures to neighboring blocks on the same BlockLayer node.
- BlackData Resource allows you to create custom block resources with logic that triggers when the block is placed, broken, or "activated" (Activated is a blank method for implementing your own functionality). This allows you to build a library of different types of blocks that each do whatever you want!
- 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.
Licensed under CC BY-SA 4.0. A copy of this licence can be viewed here:
https://creativecommons.org/licenses/by-sa/4.0/
| Published | 2 hours ago |
| Status | In development |
| Category | Assets |
| Author | Dr_Froth |
| Tags | 2D, Godot, Procedural Generation, Real-Time |
Download
Click download now to get access to the following files:
