The game is written in C++ and the SDL2 library. ...to be honest the code is extremly bad, like unreadably bad, probably my worst code ever. I made this in order to get a simple grasp of isometric projection and tile picking.
The game supports:
- Zooming
- Movement
- Basic rotation (90° only)
- Tile picking (including height)
You also can make your own terrain using the ingame terrain editor (though don't expect anything advanced):
Sadly there is no UI, so you'll have to use your keyboard and mouse for everything, here are the controls: !(https://i.imgur.com/uG97NPs.png)
- Many thanks to Javidx9 for his very informative youtube video about isometric projection: https://youtu.be/ukkbNKTgf5U
- Thanks to Clint Bellanger for making a very nice article also about isometric projection (and tile selection using MATH): http://clintbellanger.net/articles/isometric_math/
- And finally, thanks to this answer I was able to implement tile selection with variable height: https://stackoverflow.com/questions/21842814/mouse-position-to-isometric-tile-including-height?rq=1
This project is licensed under the MIT License (you can find info about the MIT License here: https://www.tldrlegal.com/l/mit)