If you would like to use this code in your projects, it is strongly recommended (but it is not required) that you have donated at least £0.50 to indepthnotes, either through youtube superthanks, the buymeacoffeelink, or the various other methods (indepthnotes.com/donate).
dual_grid is a simple tilemap editor that converts a tilemap (a glorified gif file) into a level and a set of raylib rectangles, ready for a game.
- edit the tilegrid assets/tiled_world_layers.gif, this is the grid that the player can move around in, such as a level. Use white for the tiles and black for the background.
- edit the tileset assets/dual_grid_tiles_production.gif, this is what dual_grid uses to draw the tilegrid. see assets/dual_grid_tiles_template.gif for a template.
- run
make linuxto generate the tilemap.c, the individual tiles. - view the dual grid you made in with
./linux_build/main
This was initially made with the template https://github.com/kabIndepthnotes/raylib_game_template. See that for creating an windows executable or web application.
see https://indepthnotes.com/donate
If this code was of use to you, please consider donating to indepthnotes.
Buy me a Coffee buymeacoffee.com/indepthnotes
Send me Monero, My address is: 43Q7GUmbhRTiqLGCaEXgwRPDQMvkEqADKQuG7VBfbnYNGdrjVU7ZUhaa5sLxZYKGbH3Hrcax9kKxp72exX4wRunhRBBHBns
Send me Bitcoin, My address is: bc1qepemmagg5k47z8sr62tnk9we3hr5fwslyhmhh2
The production quality tileset was inspired by https://mtk.itch.io/2d-metroidvania-bio-sci-fi-tileset-16x16 so if you enjoyed it and want a full tileset go check out that content!