nest
When writing interactive applications, it helps to have a starting place -- a bit of code to make all the common tasks you find yourself doing just a bit easier.
For me, that code is nest -- so named because it is a bunch of fragments I've pieced together to make myself a bit more comfortable when hatching new ideas.
While I don't require you use nest, it is a nice place to start.
Files
-
nest-demo (v1, August 25th, 2009) showcases a few common tasks as implemented in nest.
-
nest-empty (v1, August 25th, 2009) is a clean slate starting point for projects
Prerequisites
Features
- Graphics/Graphics.hpp streamlines setting up OpenGL output with SDL.
- Graphics/Texture.hpp texture loading, caching, and reloading.
- Graphics/Font.hpp font handing.
- Graphics/GLExtension.hpp decent GL extension handing.
- Graphics/GLSLShader.hpp streamlines GLSL shader compilation.
- Vector/Vector.hpp a clean templated N-vector class.
- Basis/Screen.hpp subclass Screen, fill in a few function pointers for drawing, I/O, and state updates and you've got a game.
- Basis/Jamrules with a few path tweaks, provides a uniform command-line-based build process across Windows (visual studio), OSX (including .app bundling), and Linux.
- */* lots of other handy little hacks.