Tag: Games development
-
Coding tutorial: Object pool pattern

Learn how to code the object pool pattern by pre-allocating memory and reusing objects. Which can greatly improve performance when reusing short lived objects like bullets and particles.
-
Observer Pattern Graphical Demo

This tutorial shows a graphical demo of the observer pattern. The circle, square and mosaic background are all observers of the button press. Whilst the owner of the button is the subject.
-
Coding tutorial: Observer pattern

In this tutorial you will learn how code the observer pattern using a zookeeper and animals. The zookeeper represents the subject of the observer pattern. Whilst the animals represent the observers.
-
Three simple ways to code finite state machines

This tutorial will show you three simple ways to code finite state machines using the C++ programming language in Visual Studio. Learn how to use an enum and a switch case. Then learn how to use inheritance and polymorphism. Finally learn how to use function pointers.


