C7-Game / Prototype

An early-stage, open-source 4X strategy game
https://c7-game.github.io/
MIT License
32 stars 9 forks source link

[4.x] TileMap: Grid View #419

Closed pcen closed 11 months ago

pcen commented 11 months ago

Fixes TileMap from crashing on ctrl+g Implements grid overlay on the tilemap

pcen commented 11 months ago

Looks good and works for me! Just thinking for later, this may be another good use of a shader instead of drawing another image, if there's any advantage.

I think a custom shader for the tilemap would render slightly faster, and make toggling the grid faster