Demos

And here's a collection of little demos to show off the awesome power of the Brick Engine. For now, the linux demos will require you to have the Brick Engine library, libbr.so.5 (available here), in your library path. Later today (May 10) I'll repackage them to include this, so that they are standalone.

Plasma

A simple effect–a few nicely-colored lt sprites, a few displ sprites, overlaid in simple motion patterns–but a bit hypnotic all the same. This one is inspired by the old “plasma” effects from the mid-90s demoscene. With just a few lines of code, you've got code to show PNGs being loaded, sprites being prepared and moved around, and a basic run-until-keypress loop.

A plasma effect

* Please note that the Linux executable will require SDL, SDL_mixer, and SDL_image.

A stained glass effect

By combining a displ sprite and a lt sprite, a very nice stained-glass effect can be made. Use the wasd keys to move the bear around the screen.

A stained glass effect

* Please note that the Linux executable will require SDL, SDL_mixer, and SDL_image.

Trees

These translucent trees are placed onto several layers, and a nice parallax effect is made by way of moving the camera across the layers at different rates. Use the a and d keys to move the camera.

A nice forest

* Please note that the Linux executable will require SDL, SDL_mixer, and SDL_image.

 
demos.txt · Last modified: 2010/06/14 08:51 by steve