• Register

Blitwizard is a cross-platform DirectX/OpenGL/Software 2d engine for Lua based on SDL 2, released under the permissive zlib license. It is written in C and contains graphics, physics, input device (keyboard/mouse) and audio access, combined with various other template functions for various game development scenarios.

Post news Report RSS blitwizard 0.2 release

Finally, sound for the blitwizard 2d engine appears to be working. Please note blitwizard is still very alpha and not intensively tested, so it is rather suitable for curious watchers than for productive use. Also there is now a sample browser to show the engine usage examples - which is, however, not fully working on Windows yet.

Posted by on

blitwizard 0.2 released

(Fetch blitwizard 0.2 from here)
After quite some struggle, the blitwizard sound system is now working, and also some other details have been improved.

The sound system

The sound system offers .ogg playback (48kHz audio, in theory also 44.1/22 but with bad sample rate conversion, so you should avoid that for now) in multichannel audio while streaming everything from disk with no preloading time. The audio pipeline uses 32bit float audio from end to end.

Since the sound code only depends on SDL 1.3, you can easily isolate it and use it in another project if you ever feel you need something potentially better than SDL_Mixer (which works with the IMHO slightly outdated concept of preloading sounds because it is impractical for long ambient sounds, restrictive for music (no cross fading since there is only one music channel) and requires additional loading time before a level can start).

The API documentation is still lacking the audio API functions, please hang on for the next release to get them added. However, the sound example should get you started.

Sample Browser

Additionally to the he new audio system, a new example browser is now available through a 0.2 blitwizard release along with linux and windows binaries. The sample browser allows to easily launch one of the samples and see how it actually looks like in action.

The Sample Browser

Roadmap

The current plan is to get all those nasty bugs sorted out (sample browser has some issues on Windows -> resolved, provided Linux binary doesn't work on many distributions due to glibc requirements), add some additional useful graphics functions (getting desktop resolution, list of all supported resolutions), document and extend the audio api, and well, then blitwizard should be in a much more interesting and usable state.

We will get there!

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: