bevy_simple_tilemap
Refreshingly simple tilemap implementation for Bevy Engine.
Why another tilemap?
The main reason I started this was because I felt the existing tilemap implementations for Bevy were needlessly complicated to use when all you want to do is to as quickly and simply as possible render a grid of tiles to the screen, often exposing internal implementation details such as chunks to the user.
Goals:
- Allow the user to render a grid of rectangular tiles to the screen
- Make this as simple and intuitive as possible
Non-goals:
- Supporting every imaginable shape of tile
- 3D tilemaps
- Assisting with non-rendering-related game-logic
How to use:
Spawning:
Updating (or inserting) single tile:
tilemap.set_tile;
Updating (or inserting) multiple tiles:
// List to store set tile operations
let mut tiles: = Vec new;
tiles.push;
tiles.push;
// Perform tile update
tilemap.set_tiles;