tutorial_05_(sprites).jpg

Functions:

Sprites: sce::registerSprite()
sce::getSpriteSource()
sce::renderRegisteredSprites()

Topics

If you have not read the article about sprites in the "Concepts and Definitions" section do it now. It explains the basic ideas and tells you when you should use sprites instead of "renderStretchedPic()"
This tutorial should visualize, what is exactly happening when referencing sub pics in a material. It shows you a possible implementation how to setup, store and set the rectangles for the subpic.





SourceForge.net Logo