More actions
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
[[OldSchool_Library_PSP|OSLib]] is a C library originally made by Brunni that greatly simplifies coding games and apps on the PSP, this library builds on top of OSLib to make animated sprites as easy as everything else in OSLib. | [[OldSchool_Library_PSP|OSLib]] is a C library originally made by Brunni that greatly simplifies coding games and apps on the PSP, this library builds on top of OSLib to make animated sprites as easy as everything else in OSLib. | ||
This | This was an entry to the NEO Spring Coding Compo 2007 (PSP Apps, 2nd place). | ||
==Features== | ==Features== | ||
Line 65: | Line 65: | ||
[[Category:PSP homebrew games]] | [[Category:PSP homebrew games]] | ||
[[Category:Homebrew game engines on PSP]] | [[Category:Homebrew game engines on PSP]] | ||
[[Category:NEO Spring Coding Compo 2007]] |
Revision as of 11:41, 4 Mayıs 2024
Old School Library OSLib Sprites Lib | |
---|---|
General | |
Author | phosphorous |
Type | Game Engine |
Version | 2007 |
License | Mixed |
Last Updated | 2007/03/20 |
Links | |
Download | |
Website | |
Source | |
OSLib is a C library originally made by Brunni that greatly simplifies coding games and apps on the PSP, this library builds on top of OSLib to make animated sprites as easy as everything else in OSLib.
This was an entry to the NEO Spring Coding Compo 2007 (PSP Apps, 2nd place).
Features
- 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.
Installation
For Firmware 1.5:
Copy the two directories in the 1.5 directory to /PSP/GAME/.
For Firmware 1.0:
Copy the directory in the 1.0 directory to /PSP/GAME/. Copy all the image assets under 1.5 to the directory you just move.
User guide
Creating spritesheets from animated GIFs:
- Download ImageMagick.
- Install ImageMagick and open the command line tool.
Run the following commands:
convert +adjoin -coalesce animated.gif frame%02d.gif
montage frame0[0-9].gif -tile x1 -geometry +0+0 tile.g.if
- The first command saves the individual frames of your animated gif.
- The second command puts the frames back together as a spritesheet.
See the official guide for more info.
Credits
Brunni for OSLib.
Ren "Foxx" Ramos for Sonic Battle rips.
Anonymous for Metal Slug rips.
Lumo for alpha sprite.