Design Pattern and Video Games

Joined October 2019
Second post on the medieval strategy game: how to always render in a fixed resolution, and resize the window/screen size. Post, code & assets: patternsgameprog.com/strateg… #gamedev #tutorial #designpatterns #pygame
0
0
0
5
26
I start a new series where I create a full game from scratch! It'll be a turn-based medieval strategy game based on Toen's tileset (opengameart.org/content/toen…) Post, code & assets: patternsgameprog.com/strateg… #gamedev #tutorial #designpatterns #pygame
0
1
0
1
In the previous post, I added light around the main character. In this post, I improve it with the OpenGL Z-Buffer. For instance, I no more enlight a tree when the hero is behind it. Code, post & assets: patternsgameprog.com/opengl-… #gamedev #tutorial #opengl #pygame
0
1
0
1
14
This post shows how to create and delete sub meshes in a mesh without calling OpenGL functions many times. This way, we minimize the OpenGL overhead and speed up our game. Post, code & assets: patternsgameprog.com/opengl-… #designpatterns #gamedev #tutorial #opengl #pygame
0
0
0
0
I am tired of WordPress, I switch to Kirby! For the template, I am trying one based on Bootstrap, I hope it will work fine. The blog: patternsgameprog.com/ #designpatterns #gamedev #wordpress #kirby
0
0
0
0
In this post, I show how to get the z of a pixel using the OpenGL Z-Buffer. I use it to identify the tile below the mouse cursor! Post, code & assets: patternsgameprog.com/opengl-… #designpatterns #gamedev #tutorial #opengl #pygame
0
0
0
0
17
In this post, I show a first application of the OpenGL Z-Buffer, which allows a scene rendering without the need to sort tiles. Code, post & assets: patternsgameprog.com/opengl-… #designpatterns #gamedev #tutorial #opengl #pygame
0
0
0
1
7
In this post, I show how to animate water tiles using shaders. The approach I propose also works for all animations that repeat continuously in the same layer. Post, code & assets: patternsgameprog.com/opengl-… #designpatterns #gamedev #tutorial #opengl #pygame
0
0
0
3
13
We still need game content to test the facade, and it’s even better if we can load and save that content from a file! Post, code & assets: patternsgameprog.com/opengl-… #designpatterns #gamedev #tutorial #opengl #pygame
0
0
0
1
15
In this new post, I show how to update shaders based on the current layer. Code, post & assets: patternsgameprog.com/opengl-… #designpatterns #gamedev #tutorial #opengl #pygame
0
0
0
4
11
I add more game content in this post to test the facade. This time, I want to automatically render borders when a region is updated. Post, code & assets: patternsgameprog.com/opengl-… #designpatterns #gamedev #tutorial #opengl #pygame
0
1
0
4
30
A big update after a long time! I started to create some game content to test the OpenGL 2D facade. Post, code & assets: patternsgameprog.com/opengl-… #designpatterns #gamedev #tutorial #opengl #pygame
0
0
0
1
40
In this post, I show how to display text into frame boxes. I also propose a solution to get more dynamism in the layer. Post, code & assets: patternsgameprog.com/opengl-… #designpatterns #gamedev #tutorial #opengl #pygame
0
1
0
2
25
In the previous program, we had to create one text layer for each text style (bold, shadowed…). In this post, I propose to render text with mixed styles from a single layer. Post, code & assets: patternsgameprog.com/opengl-… #designpatterns #gamedev #tutorial #opengl #pygame
0
0
0
2
22
Before going to text with mixed styles, we need a better solution to render characters. I propose an approach that allows an effortless combination of text styles. Post, code & assets: patternsgameprog.com/opengl-… #designpatterns #gamedev #tutorial #opengl #pygame
0
0
0
1
8
I present text rendering with different styles (bold, italic, underline, …). Some of them are straightforward to implement thanks to Pygame; the others are more tricky! Post, code & assets: patternsgameprog.com/opengl-… #designpatterns #gamedev #tutorial #opengl #pygame
0
1
0
1
26
The creation of a tileset for large character sets uses a lot of memory. I propose an approach based on the Flyweight pattern to allow their usage with minimal memory footprint. Post, code & assets: patternsgameprog.com/opengl-… #designpatterns #gamedev #tutorial #opengl #pygame
0
1
0
0
30
I start to address a more advanced topic: text rendering with OpenGL. I first consider a simple case with monospaced fonts and small character sets. Post, code, and assets: patternsgameprog.com/opengl-… #designpatterns #gamedev #tutorial #opengl #pygame
0
2
0
5
121
I add a new type of layer dedicated to characters. These layers can draw tiles anywhere and updates their OpenGL data every time we render a frame. Post, code, and assets: patternsgameprog.com/opengl-… #designpatterns #gamedev #tutorial #opengl #pygame
0
1
0
2
85