Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Old School Library OSLib Sprites Lib PSP: Difference between revisions

From GameBrew
(Created page with "{{Infobox PSP homebrew | title = Old School Library OSLib Sprites Lib | image = https://dlhb.gamebrew.org/psphomebrew/OldSchoolLibraryOSLibSpritesLib.jpg|250px | type = Game e...")
 
(change type)
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox PSP homebrew
{{Infobox PSP Homebrews
| title = Old School Library OSLib Sprites Lib
|title=Old School Library OSLib Sprites Lib
| image = https://dlhb.gamebrew.org/psphomebrew/OldSchoolLibraryOSLibSpritesLib.jpg|250px
|image=oslibsprites.jpg
| type = Game engine
|description=Library builds on top of OSLib for creating animated sprites.
| version = initial release
|author=phosphorous
| licence = Mixed
|lastupdated=2007/03/20
| author = phosphorous
|type=Development
| website = https://psp.brewology.com/downloads/download.php?id=6549&mcid=1
|version=2007
| download = https://dlhb.gamebrew.org/psphomebrew/OldSchoolLibraryOSLibSpritesLib.rar
|license=Mixed
| source = https://psp.brewology.com/downloads/download.php?id=6549&mcid=1
|download=https://dlhb.gamebrew.org/psphomebrew/oslib_sprites_lib.zip
|website=http://www.dcemu.co.uk/vbulletin/showthread.php?t=56726
|source=https://dlhb.gamebrew.org/psphomebrew/oslib_sprites_lib.zip
}}
}}
<youtube>K1WSOSimvTI</youtube>
[[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.


OSLib is a C library made by Brunni 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.
This was an entry to the NEO Spring Coding Compo 2007 (PSP App, 2nd place).


This is an entry from the Neo Spring Coding Compo 2007 (PSP Applications, 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.


Features
==Installation==
- Create an animated sprite with only an image, height, and width.
'''For Firmware 1.5:'''
- 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/.
Copy the two directories in the 1.5 directory to /PSP/GAME/.


For Firmware 1.0:
'''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.
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
==User guide==
Creating spritesheets from animated GIFs:
Creating spritesheets from animated GIFs:
Download ImageMagick from http://www.imagemagick.org/script/download.php
* Download [http://www.imagemagick.org/script/download.php ImageMagick].
Install ImageMagick and open the command line tool.
* Install ImageMagick and open the command line tool.


Run the following commands:
Run the following commands:
* <code>convert +adjoin -coalesce animated.gif frame%02d.gif</code>
* <code>montage frame0[0-9].gif -tile x1 -geometry +0+0 tile.g.if</code>
** The first command saves the individual frames of your animated gif.
** The second command puts the frames back together as a spritesheet.


convert +adjoin -coalesce animated.gif frame%02d.gif
See the [http://www.imagemagick.org/Usage/montage official guide] for more info.
montage frame0[0-9].gif -tile x1 -geometry +0+0 tile.g.if


The first command saves the individual frames of your animated gif.
==Credits==
The second command puts the frames back together as a spritesheet.
Brunni for OSLib.
See http://www.imagemagick.org/Usage/montage/for more info.


Credits
Brunni for OSLib.
Ren "Foxx" Ramos for Sonic Battle rips.
Ren "Foxx" Ramos for Sonic Battle rips.
Anonymous for Metal Slug rips.
Anonymous for Metal Slug rips.
Lumo for alpha sprite. http://www.go2lumo.com/?action=fonts


References
[http://www.go2lumo.com/?action=fonts Lumo] for alpha sprite.
NeoFlash, https://www.neoflash.com/forum/index.php?topic=3928.0
 
DBEmu, http://www.dcemu.co.uk/vbulletin/showthread.php?t=56726
==External links==
* NeoFlash - https://www.neoflash.com/forum/index.php?topic=3928.0
* DCEmu - http://www.dcemu.co.uk/vbulletin/showthread.php?t=56726
 
 
 
[[Category:NEO Spring Coding Compo 2007]]

Latest revision as of 16:35, 27 August 2024

Old School Library OSLib Sprites Lib
Oslibsprites.jpg
General
Authorphosphorous
TypeDevelopment
Version2007
LicenseMixed
Last Updated2007/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 App, 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.

External links

Advertising: