Archive

Posts Tagged ‘Redefine Controls’

Tutorial: Enabling Re-definable Controls in Windows games

September 29, 2012 Leave a comment

In this article we shall take a look at how to make the controls in your C++ game editable by the user. Once again we shall use SimpleTetris as the base example, and as with our implementation of the high score table, we will make use of Boost for serializing (saving) data into a file, and my Simple2D library for rendering the interface (although this part is optional).

Download: Source code (.cpp) | Source code (.h) | Executable

Read more…

%d bloggers like this: