-
Recent Posts
Recent Comments
- phylyp on Discover Python and Patterns (17): 2D arrays
- Małgorzata Serżysko-Sosnowksa on Discover Python and Patterns (17): 2D arrays
Archives
Categories
Tags
Meta
Tag Archives: Game Loop
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 Chain of Responsibility, Command, Game Loop, Model-View-Controller, Observer, OpenGL, Python
Leave a comment
OpenGL 2D Facade (11): View and Keyboard
With the previous program, the size of the window depends on the size of the level, which is problematic when the level is large. In this post, I update the shader programs to get a fast translation of the display. … Continue reading
Discover Python and Patterns (26): Game modes
To merge the menu in the previous post with the tank game, I create game modes thanks to an improved Game Loop pattern.
Discover Python and Patterns (11): Class
I propose to introduce Python classes to implement the Game Loop pattern. Using these tools, I show how to refactor the code in the previous post to get a more robust and readable program.
Discover Python and Patterns (8): Game Loop pattern
The time has come to see our first design pattern: the Game Loop Pattern! This pattern can give us many good ideas to refactor our game in a very effective way.
AWT GUI Facade (8): Keyboard and key sequences
In this post, I add the keyboard management to the facade, and I propose a way to detect key sequences. These sequences are used, for example, in games like Street Fighter II, where characters move according to specific key combos.
AWT GUI Facade (6): Mouse and Game Loop
After loading a level, I now propose to add interaction with the use of a mouse. This will be an opportunity to see two other patterns: the Observer Pattern to handle mouse events, and the Game Loop Pattern for synchronization … Continue reading