🎮 Game

A 2D tilemap library for s&box. It renders grid-based maps with chunked GPU instancing, generates colliders from tile data, and manages tilesets and painting/editing helpers. The code organizes a TileMap component, a TilemapRenderObject, a TileMapCollider, tileset resources, and some helper algorithms, plus an optional grass rendering example.

🔧 Editor

A 2D tilemap editor toolkit for s&box creators. It has tile brushes for manual, 2x2 edge, and 3x3 complex autotiling, plus editor widgets for layer management, tileset picking, rect ordering, per-tile data, and asset previews. The tools run inside the Editor, handle painting and stroke rasterization, and read or write TilesetResource assets.

🧪 Unit Test

Unit tests for the Tilemapper 2D library. It spins up Sandbox.TestAppSystem for the test run, creates a Scene, pushes it on the scene stack, spawns a GameObject, and asserts the scene directory sees one object.

🐞 Possible Bugs

Code/Helper/TransformExtension.cs
Translate does nothing to the caller because Transform is a struct passed by value, so changing t.Position.x/y/z only mutates the local copy.
Helper/TransformExtension.cs
Translate operates on a copy of Transform since Transform is a struct, so changes to Position are lost and the caller’s Transform is not updated.