Libwiisprite
This is an old revision of this page, as edited by Chaosteil (talk | contribs) at 16:50, 7 July 2008. It may differ significantly from the current revision. |
libwiisprite is a new sprite library which uses GX as its underlying rendering engine. It is optimized for rapid fast game development, but can also be used for GUI applications.
libwiisprite | |
![]() | |
General | |
---|---|
Author(s) | Chaosteil, Feesh! |
Type | Development |
Version | 0.3.0 |
Links | |
[[Here|Download]] | |
Source |
About
libwiisprite is a C++ sprite library written for the Wii which utilises GX for all its graphical operations, meaning the GPU is used to accelerate graphics.
libwiisprite aims to make developing Wii homebrew simple and fun with better graphical results than currently existing libraries.
libwiisprite is currently under heavy development, but this version is a semi-stable version allowing most of the proposed functionality of the library.
All possible pngs can be loaded, even the ones with an alpha layer, so you can get started immediately!
The library comes with full Doxygen documentation to help get development started. You can find it in the docs folder. It is also available online:
Sample Application (Video)
A simple demonstration of basic libwiisprites capabilities:
- http://www.youtube.com/watch?v=rTphJHQI_Mo (This is an old version of the Invaders example. Try out the new one in the package!)
Download & Installation
You can download the library from
Please refer to the README.TXT for installation instructions.
New Stuff
0.3.0a
- Fixed an initializing bug when using a drawable image.
0.3.0 - This is a release in preparation for Galaxy Stations. Enjoy!
- Added a reference pixel system. It allows to rotate and scale a sprite around a specific point on itself. Check the documentation how to use it. The spritetest example also has a little example on it.
- Fixed a huge memory leak when loading an image which was in every previous version. Upgrading is recommended.
- Several speedups which can increase the speed of the library when drawing Sprites and TiledLayers, or even assigning Images.
0.2.3
- All possible png files can now be loaded.
- Image has now a "DestroyImage()" method to allow to reload the image after that.
The old changelogs may be found in the RELEASE.TXT file.
Other libwiisprite Examples
Most of the libwiisprite-based applications can be found here.
- Box2D + libwiisprite - Box2D ported to Wii with an example powered by libwiisprite. Made by 0xtob.
- TextClass - Print text with libwiisprite
- Development Tools/libosk - OnScreenKeyboard library based on libwiisprite
Bugs, Suggestions
If you find a bug or have a suggestion (maybe a tutorial to add to the library) please send an e-mail to chaosteil [at] gmail [dot] com or gummybassist [at] gmail [dot] com or if you are on an EFNet server, send a PM Chaosteil or feesh.