Neo TeAm Forum

NEO Coding Competitions => NEO Spring Compo 2007 for PSP division => NEO Spring Coding Compo 2007 => NEO Compo 2007 => The past Neo Coding Compos => the PSP APP zone => Topic started by: phosphorous on March 20, 2007, 12:25:39 PM

Title: Old School Library (OSLib) Sprites Lib
Post by: phosphorous on March 20, 2007, 12:25:39 PM
-= Old School Library (OSLib) Sprites Lib =-

OSLib is a C library that greatly simplifies coding games and apps on the PSP. It took second place in the NEO Spring Compo 2006. This library builds on top of OSLib to make animated sprites as easy as everything else in OSLib.

The eboot demonstrates all of the features including:

- Create an animated sprite with only an image, height, and width
- Animation plays and loops automatically
- Control the animation framerate
- Functions to play and stop animation
- Ability to reverse animation
- Animation can be flipped vertically or horizontally
- Set start and end frames of animation
- Jump to a specific frame of the animation
- Create multiple sprites from one sprite sheet
- Create different sized sprites from one sprite sheet

The readme also shows how to easily create spritesheets from animated GIFs found on the web.

Full source included.

(http://img469.imageshack.us/img469/8618/oslibspriteslx3.png)
Title: Re: Old School Library (OSLib) Sprites Lib
Post by: phosphorous on March 22, 2007, 11:14:06 AM
Good reviews here

http://www.dcemu.co.uk/vbulletin/showthread.php?t=56726   :D


But I wonder, has anybody tried it in code?   ::sm-19.gif::


 :o <- this could easily be in your game.
Title: Re: Old School Library (OSLib) Sprites Lib
Post by: phosphorous on March 22, 2007, 11:18:26 AM
OSLib thread::
http://www.neoflash.com/forum/index.php/topic,1879.0.html
Title: Re: Old School Library (OSLib) Sprites Lib
Post by: StoneCut on April 09, 2007, 09:13:28 PM
Great stuff.