Tag Archives: Python
Vertex Arrays Objects allow us to send large meshes to the GPU. It is a bit technical, but this is something we only have to do once.
We get the best performance when sending mesh data to the GPU in a single operation. In this post, I present the numpy library that can create such data.
In this new series, I propose to create a GUI facade for the 2D tileset-based games using OpenGL.
In this post, I describe the organization of the tank game code. It is not the best design one could create, there are many flaws, but there are many good ideas you can use for your projects!
We got a complete game, but we need a specific Python environment to run it. In this post, I show how to create a standalone executable and an installer!
In this post, I add music and sounds to our tank game and make use of the Observer pattern to implement it efficiently.
To merge the menu in the previous post with the tank game, I create game modes thanks to an improved Game Loop pattern.
In the previous post, we created a new level using Tiled. I show you how to load it in our game.
In this post, I propose to add an explosion animation when someone destroys a unit. It can be achieved in an effective way using the Observer pattern. I also add some optimization to get a smoother experience!