This post is a portion of my mini-series on Object Oriented Game Development using the Allegro 5 library. You can see all of the posts by going to http://fixbyproximity.com and clicking the “OOP Game Development” button at the top of this site.
Full Game Source Here
Videos in the Series:
- Object Oriented Game Development – Intro
- Object Oriented Game Development – Part 1
- Object Oriented Game Development – Part 2
- Object Oriented Game Development – Part 3
- Object Oriented Game Development – Part 4
- Object Oriented Game Development – Part 5
- Object Oriented Game Development – Part 6
- Object Oriented Game Development – Part 7
- Object Oriented Game Development – Part 8
#pragma once is “not standard”, but it’s in every platform I’ve used, so I use it too. 🙂
There’s even an even less standard way to do it, instead of putting anything on your headers, try #import instead of #include.
Some people are standard lovers, I just use whatever makes my life easier.
Just a side question:
Can I make a system class and put all the initialization and game loop code in their own separate functions within that class? I tried this but the program isn’t as responsive as whenever these commands are simply put in main.
Hey, thanks for these great tutorials. I saw these tutorials a while ago and did try to find again on google and your rank on google is very low I think. I found your site on 6.th page 🙁