Click here for Godot 3.5 version
LevelBlock is a new node for Godot 4 meant for the creation of levels in dungeon crawler -style games.
This node acts as an inside-facing cube, using a texture atlas sheet to display different parts for each face.
- Download the plugin from GitHub or Godot Asset Library and install it. See a guide here: Godot Docs
- Add new LevelBlock nodes to your scene.
- Configure the texture sheet (and optionally material) you want to use.
- Configure the size of the square textures contained in the texture sheet.
- Customize each face of the LevelBlock using the face values. Negative values disable generating the face.
- Optionally enable generating collisions, generating occlusion culling and flipping the faces.
- Use a single texture sheet, with each face displaying a different part of it using an index value. This texture sheet will replace the albedo texture of the material.
- Customize the material or use the included default material.
- Use an arbitary size for the square textures in the atlas.
- Quickly customize the texture displayed on each face.
- Automatic collision generation for visible faces.
- Automatic occluder node generation for visible faces.
- Option to flip faces to face outward instead.
- Uses Godot's server system for optimized results.
- Only square textures supported.
- All textures in the atlas must be the same size.
- Works best if texture filtering is disabled for a pixelated look.
- No support for normal or roughness maps, only albedo.