we start coding our micro-engine for this ludum dare. First of all we introuduced the Game class for game loop management, update, render, update, render, update, render……..
Next, we start playing with OpenGL, drawing some boxes in the window. We realized boxes are so bored and we develop a Texture class for handling png images. With Texture class introduces, next step was coding a very simple Sprite class but… now this class have more lines than the whole program.
In this Sprite class we have implemented a hot-reload sprite’s info using XML files. For reading this kind of files we use rapidxml.
Now, we can test our sprites without compiling the code. Next step? Blue background is so bored too…