lordmauve / wasabi2d

Cutting-edge 2D game framework for Python
https://wasabi2d.readthedocs.io/
GNU Lesser General Public License v3.0
154 stars 24 forks source link

Tile map is not transformable #71

Open lordmauve opened 2 years ago

lordmauve commented 2 years ago

The TileMap class doesn't inherit from Transformable and therefore cannot be moved, rotated, etc.

Because each tile map is drawn with one draw call, achieving this probably only requires passing the transformation matrix into the shader as a uniform and multiplying by it in the vertex shader.