In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "Libwiisprite"

From WiiBrew
Jump to navigation Jump to search
m (TextClass)
Line 8: Line 8:
 
| version = 0.2.1
 
| version = 0.2.1
 
| download = [http://chaosteil.googlepages.com/libwiisprite-0.2.1.tar.gz Here]
 
| download = [http://chaosteil.googlepages.com/libwiisprite-0.2.1.tar.gz Here]
| source = No
+
| source = Soon
 
}}
 
}}
  
Line 44: Line 44:
  
 
==New Stuff==
 
==New Stuff==
0.2.1 - We added some new stuff which could enhance game development.
+
'''0.2.1''' - We added some new stuff which could enhance game development.
 
*Sprites now also can use additional collision detection which includes the rotation and the zoom of the sprite. Check the documentation on how to do it.
 
*Sprites now also can use additional collision detection which includes the rotation and the zoom of the sprite. Check the documentation on how to do it.
 
*Implemented additive blending which can be useful for particle effects. Check the transformation enum in sprites.
 
*Implemented additive blending which can be useful for particle effects. Check the transformation enum in sprites.
Line 54: Line 54:
 
*Some optimizations here and there.
 
*Some optimizations here and there.
  
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!
+
'''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.
 
*Quad was added as an additional Layer-based class to use. You can now draw colored rectangles without textures.
 
*TiledLayer now supports transparency.
 
*TiledLayer now supports transparency.

Revision as of 12:25, 23 June 2008

libwiisprite
Libwiisprite.png
General
Author(s)Chaosteil, Feesh!
TypeDevelopment
Version0.2.1
Links
[[Here|Download]]
Source

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.

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.

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:

Sample Application (Video)

A simple demonstration of basic libwiisprites capabilities:

Download & Installation

You can download the library from

Please refer to the README.TXT for installation instructions.

New Stuff

0.2.1 - We added some new stuff which could enhance game development.

  • Sprites now also can use additional collision detection which includes the rotation and the zoom of the sprite. Check the documentation on how to do it.
  • Implemented additive blending which can be useful for particle effects. Check the transformation enum in sprites.
  • Fixed a bug with transformations. Now Sprite accepts u8, so transformations can be used as flags.
  • Added defines for IR pointer correction. Check spritetest on how to use the pointer the right way.
  • Several additions to GameWindow: You can now stop the Video subsystem, as well as poll for the height and width of the screen.
  • You can now use Image to draw on the image. You must derive from the image to an own class to use it.
  • Images can now only initialized only once. This prevents from freaking Sprites and TiledLayers out when changing images.
  • Some optimizations here and there.

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.

Other libwiisprite Examples

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.