Tag Archives: Command

OpenGL 2D Facade (19): Test content

Before I continue the facade, I want to create some game data to test it. As you may imagine, I use software design for that! Objective The expected result of this post is a simple level editor where we can … Continue reading

Posted in Tutorial | Tagged , , , , , , | Leave a comment

Discover Python and Patterns (20): Better commands

Since we saw the class inheritance, I can show you how to get a better implementation of the Command pattern. It eases a lot the management of commands and introduces exciting features.

Posted in Tutorial | Tagged , , | Leave a comment

Discover Python and Patterns (12): Command pattern

The implementation of the Game Loop pattern in the previous post is not good: I propose to use the Command pattern to get a better one. This pattern allows separating input handling and game updating.

Posted in Tutorial | Tagged , , | Leave a comment