Home
Softono
dual-grid-tilemap-system-godot-gdscript

dual-grid-tilemap-system-godot-gdscript

Open source MIT GDScript
212
Stars
11
Forks
3
Issues
5
Watchers
1 year
Last Commit

About dual-grid-tilemap-system-godot-gdscript

A dual grid tilemap system for Godot written in native GDScript, converted from jess::codes' original C implementation. The dual grid approach requires only 16 or 6 tiles per tileset to produce perfectly rounded corners that align to the world grid, making tile-based terrain rendering more efficient and visually clean. Key features include direct editor drawing with fully filled tilemap tiles for instant visual feedback, support for multiple terrain types such as grass, dirt, water, and sand, a flexible system for easily adding new terrain types, and the ability to draw from multiple atlas coordinates. Changes made in the editor are reflected immediately in the displayed output. This system is useful for Godot developers building 2D games with tile-based environments who want smooth, rounded terrain transitions without managing large tilesets. It is ideal for procedural terrain generation, top-down games, and any project requiring efficient tilemap rendering with minimal tile assets. Contributors are welcome,

Platforms

Web Self-hosted

Languages

GDScript

Links

Dual Grid Tilemap System For Godot In GDScript

A converted version of jess::codes' C# dual grid system repo into native GDScript.

Draw directly in the Editor with any of the fully filled tilemap tiles to see the changes!

Features

  • Draw in the Editor
  • Supports multiple terrains
    • Grass
    • Dirt
    • Water
    • Sand
  • Easily add new terrain types
  • Draw from multiple atlas coords

Using a dual grid system has the following advantages:

  • Only 16 (or 6) tiles are required in the tileset
  • The tiles have perfectly rounded corners
  • The tiles align to the world grid

Dual grid image by Oskar Stålberg

References

Contributing

If you’d like to contribute, please see the Contributing Guidelines.

Contact

If you have any questions, feedback, or suggestions, feel free to reach out:

Support me on Ko-fi