Home » 2014 » October

Setup Allegro tutorial part 1

Introduction:
I haven’t seen any up-to-date Allegro 5 tutorial that focuses on learning via making games. All I found online were either small examples (like moving rectangle) about particular functions of Allegro 5, or complete guides for older versions. That’s why I decided to write down this small series of articles.
My goal is to teach various parts of Allegro gaming library, and basics of game programming concepts via making some – at first simple – game prototypes.
Tutorial assumes at least a basic knowledge of C/C++ programming, and although all examples were written and tested on Visual Studio 2010 under Windows 7 you can use any other IDE you like.

You can view code for this tutorial on github!
Read more

MPD-helper post-mortem

MPD-01

It’s post mortem time~! Finally I have enough time to describe my longest – for now – project: MPD-helper. You can get source code from repository on my github.

It is – as name suggests – helping tool for Modeling of Discrette Processes (in polish Modelowanie Procesów Dyskretnych). Purpose was to automatise solving simple, offline scheduling problems for two, or three machines. It supports:

Read more

Strategy pattern in MPD-Helper

Here are some thoughts about last refactoring step for my MPD-Helper (repo’s here, post’s here) – replacing code type with Strategy.

I’ll try to explain pattern (I’ll base on Gang of Four brilliant book), my motivation for this refactoring and (in short) implementation. Read more