PDA

View Full Version : libwiisprite v0.2.0



wraggster
June 21st, 2008, 21:36
News/release from Chaosteil, Feesh! (http://www.wiibrew.org/wiki/Development_Applications/libwiisprite)

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.

Currently 24bit and 32bit PNGs are the only supported image format. We are working on allowing images to be loaded from compiled-in texture data and even more formats.

The library comes with full Doxygen documentation to help get development started. It is also available online:


0.2.0 - We put a lot of effort and polish into this release, so we hope you will enjoy it as much as we enjoyed making it!

Quad was added as an additional Layer-based class to use. You can now draw colored rectangles without textures.
TiledLayer now supports transparency.
Sprites can now get stretched with SetStretchWidth() and SetStretchHeight(). Check out the documentation for further instructions.
You can get information about the current position of the sequence in a Sprite with GetFrameSequencePos().
Frame sequences in Sprites now can get actually longer than the image has tiles.
Layer got additional SetX() and SetY() methods for quicker position setting of one axis.
LayerManagers now can erase their Layer list with RemoveAll().
Bilinear filtering for textures can be turned off now. Look up the texture transformation enumeration for sprites.
Fixed showing up of a green bar on startup.
Squished out several small bugs to enhance stability. Also possible performance increase.
Image.LoadImage() now returns an error code when loading an image with the wrong format.
Loading of 24bit PNGs is also possible now.
Complete compatibility with the previous version. Your code should work out of the box with no changes at all.
There is now a Makefile for installing libwiisprite to your appropriate folders. Check RELEASE.TXT for further information.
Documentation is more complete. There are several pages which explain the more "advanced" features of the library.
All of the examples got updated. We also added an template example.
0.1.9

This is mainly a bugfix release, no new features included. You may need to update your sources to correctly use the display now. The examples also got updated.
Added a wrong size check to image loading errors. Image width and height have to be a multiple of 4.
The whole screen estate is used. Pointer correction is also explained in the spritetest example.
LayerManager.SetViewWindow() fixed. Displays correctly now.
Fixed TiledLayer displaying (last version crashed GX) and collision detecting with sprites.
Now doing more checks throughout the code.

Download and give feedback via comments