Integrating Lua and my C++ Game Engine
If you want to cut to the chase you can download the code here.
This isn’t a very well written blog post, it’s more of a dump of my thoughts as I tested out LuaBridge and didn’t get to trying out OOLua.
Once again I am starting …
Moving from qmake to CMake
After working with Qt5.x for a few months and really starting to enjoy the flexibility of
QtCreator I decided to try using CMake to build
After turning on
C++11 a few weeks ago I found that
QtCreator debugging became more difficult as …
GLSL: Getting active uniforms
When you load a vertex and fragment shader in OpenGL you need to pass in data such as the current viewport transform, camera transform and lighting data. You do this via
Each of these Uniforms is addressed via a location which in true OpenGL style is a
QMAKE_BUNDLE_DATA doesn’t bundle frameworks
I’ve been playing with building an App using qmake as the build system. I started with a simple QT App built using the wizard in QTCreator and tweaking it.
I ran in to the problem that I needed to copy the SFML frameworks in to the App Bundle. The …
Python Script to build a Texture Page or Sprite Sheet
Why pack textures/images?
If you’re making a game then it’s more efficient to tell the hardware:
1 2 3 4
1 2 3 …
HP ProLiant MicroServer: thoughts
I’ve been looking for a new home server for a few months. Recently (the last six years) have been running EPIA Mini-itx motherboards in Cubid cases. They are basically silent and powerful enough to run a small fileserver and webserver.
My EPIA boards were starting to show their age …
Graphing Electricity Usage with Current Cost and Munin
Many years ago I bought a Current Cost meter. Infact it was so long ago now that they have called my version The Classic. I wanted to see how much electrical energy all my servers, home computers and gadgets were using.
The Current Cost package contains two main parts, a …
Using Python and Tkinter to capture script output
In order to build the assets for my games I have a series of python scripts that know how to take files TexturePacker, Tiled, and Blender and build them for use within the engine. My main platform is OS X and it has good terminal support and more importantly I …
Generating Anagrams in Lua
I’m working on a game where I need to generate anagrams of words. My new game engine, which is Max Astro’s engine but with a few tweeks, integrates Lua and all the game logic is in Lua.
So given a string like “chicken” I want “kcehcine” or some …
Starter Blender Exporter
I’ve settled on using Blender 2.6 both as a level editor and modeller for my next game (code name BBM). BBM is a 2D game but modelling the characters and rendering the sprites will save a lot of time. Blender isn’t the best level editor but it …