A 2d game written in D with Raylib
This is an object oriented exercise, so it'll look very strange!
How to use map editor:
- Defaults to atlas browser mode, click the tile you want.
- Press tab to go into map editor mode
- Left click is place, right click is delete
- Hold left shift, and then drag while holding the left mouse button to move around
- Todo: Export to JSON or something on save button :P
Notes:
Raylib allows drawing to a texture: https://github.com/schveiguy/enterthedungeon/blob/master/source/dungeon/engine.d#L146
How to build a texture: https://github.com/schveiguy/enterthedungeon/blob/master/source/dungeon/engine.d#L305-L325