Blog

Viewing posts for the category C++

LuaJIT bit.band stopped working

Came across an interesting feature/artifact of using LuaJIT today.

Grabbing keyboard input in Qt

I'm currently writing an editor for our next game. We've used many tool in the past (Blender, Tiled & Mappy) to make games but we thought it was really time to invest in our own code base. This was heavily influenced by the great experience we had using Unity3D to prototype our next game.

Integrating Lua and my C++ Game Engine

If you want to cut to the chase you can download the code here.

Moving from qmake to CMake

After working with Qt5.x for a few months and really starting to enjoy the flexibility of qmake and QtCreator I decided to try using CMake to build XCode and MSVC proejcts.

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 Uniform variables.

Recent Posts

Archive

2016
2015
2014
2013
2012
2011
2010
2008
2007
2006

Categories

Authors

Feeds

RSS / Atom