PDA

View Full Version : Sol's 2d basecode 1.0 release



Sol_HSA
01-13-2008, 04:12 AM
http://sol.gfxile.net/img/sol2dglbasecode10.gif

Released 1.0 of my 2d gl basecode. It's not pretty, but includes lots of the code I've found myself rewriting for every single ludum dare (http://www.ludumdare.com) contest.

Features include:

* SDL/OpenGL base
* Texture loading
* Simple particles, "popup" texts (think '1up')
* Sprites
* Quick font
* Angelcode font file loader and renderer
* IMGUI widgets: button, scroll bar, text field
* Mersenne twister c++ implementation by Jetro Lauha
* Some performance monitoring

I've also included several different resolution bitmap rasterizations of the Bitstream Vera font as it has a pretty relaxed license.

The Angelcode binary font file (http://www.angelcode.com/products/bmfont/) loader has been written in a way that should make it relatively easy to support different byte orders.

To use this code you'll also need GLee, SDL and SDL_Image.

Available under zlib/libpng license at http://iki.fi/sol/code.html (http://iki.fi/sol/)

The package also contains prebuilt win32 binaries.

Note that this is not meant to compete with any existing 2d libraries including, but not limited to, whatever popcap has made. Still, if someone finds it (or parts of it) useful, feel free to use.

Sol_HSA
02-27-2008, 10:15 PM
Just a little bump - released version 2.0 of the basecode, mostly integrating changes, additions and improvements from my Atanua (http://atanua.org) project, including portability fixes (osx, linux, endianess, etc), improved imgui widgets, etc.