PDA

View Full Version : Old School Library (OSLib) Sprites Lib



wraggster
March 20th, 2007, 15:56
phosphorous (http://www.neoflash.com/forum/index.php/topic,3928.0.html) has posted an entry into the Neoflash Coding Contest:


-= 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.

Screenshot / Download and Give Feedback Via Comments

amdprophet
March 20th, 2007, 16:11
Thank you so much! I've been trying to find a sprite lib for ages!

Lukeson
March 20th, 2007, 16:56
Very nice! Good Job phosphorous!

Alucardmoon
March 20th, 2007, 17:06
this is tha shizzz

Stone Temple Pilots
March 20th, 2007, 17:10
and what can we accomplish with this?

Tetris999
March 20th, 2007, 17:16
sprite animation foo! its awsome!

Stone Temple Pilots
March 20th, 2007, 17:59
I'm sorry Mr. T

Zion
March 20th, 2007, 20:24
very nice work :)

il use my own C animation code tho ;)

Nice work all the same tho :) should help newcomers out :D

Buddy4point0
March 20th, 2007, 20:54
haha this is wierd

Cloud_35
March 20th, 2007, 21:10
I don't know any coding, but.......this is good isn't it?

DarthPaul
March 20th, 2007, 21:54
Very good! Nice entry,good luck.

yaustar
March 21st, 2007, 19:33
This is great but it would have helped if he included the OSLib with it ¬¬.

phosphorous
March 22nd, 2007, 03:24
OSLib info here

http://oslib.palib.info/samples/
http://www.neoflash.com/forum/index.php/topic,1879.0.html