Month: November 2016
Box2D and the animated physics
This post is to give my solution to a problem I had during the development of my personal 2D game engine. The engine uses Box2D as a physics system that allow us in a very easy way to create bodies and update them without knowing only basic physics. The problem …
SDL2 controller implementation
This tutorial will show how to implement a controller in your application using SDL2. The controller input has two categories, the BUTTONS and the AXIS. The buttons have an state of 0 is the button is not pressed and 1 if the button is pressed. For the axis we can …