Monthly Archives: August 2020

OpenGL 2D Facade (7): Draw a level

In this post, I show how to draw many tiles from a single-layer level created with Tiled. I also show how to take a screen capture with OpenGL.

Posted in Tutorial | Tagged , | Leave a comment

OpenGL 2D Facade (6): Draw a tile

Textures in the previous post allow the drawing of tiles, but the aspect ratio is not correct. In this post, I show how to draw a tile on a grid location correctly.

Posted in Tutorial | Tagged , | Leave a comment