OS4 DepotLogo by Marko 
(anonymous IP:,1191) 

   Bug tracker
   Locale browser

   o Audio (328)
   o Datatype (47)
   o Demo (180)
   o Development (533)
   o Document (21)
   o Driver (88)
   o Emulation (141)
   o Game (859)
   o Graphics (458)
   o Library (93)
   o Network (201)
   o Office (56)
   o Utility (807)
   o Video (61)

Total files: 3873

Full index file. Download
Recent index file. Download



Support the site

 Readme for:  Development » Library » Graphics » sdl_sprite.lha


Description: SDLSprite - Display animated sprites
Download: sdl_sprite.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 35kb
Version: 1.2b
Date: 08 Oct 06
Author: Edorul, AmigaOS 4.0 compile by Spot / Up Rough
Submitter: Spot / Up Rough
Email: spot/triad se
Homepage: http://membres.lycos.fr/edorul/
Requirements: SDL
Category: development/library/graphics
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 2151
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 231  (Current version)
231  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
SDLSprite ? What's this ?

 The SDLSprite library in based on the CDXSprite library from the excellent CDX
project (but unlikely it's only for Windows...).

 This C++ class contains the datas and functions required to display animated
sprites. A SDLSprite object is created from 
 BMP picture which is used to strore data for the sprite.
 Beware : All the sprite's frames must be the same width and height and stored
in the same BMP file.

 Download SDLSprite 1.2b (20Ko)

 The SDLSprite-1.2.tar.gz file also contains another class : SDLSpriteList 1.1
which permits to store sprites in a dynamic fashion.
 A SDLSpriteList is a linked list of SDLSprite objects, which can be added and
removed at run-time.

How to use it ? It's simple :

1) Put SDLSprite.cpp, SDLSprite.h,  SDLSpriteList.cpp and SDLSpriteList.h in
your source directory.
2) Add this line at the beginning of your code :
   #include "SDLSprite.h"
   #include "SDLSpriteList.h"
3) Add SDLSprite.cpp and SDLSpriteList.cpp to your project (for example, if you
use KDevelop just go to Project choose Add a file to 
   project and choose SDLSprite.cpp and SDLSpriteList.cpp in your source
4) Compile and it works !

To install the AmigaOS 4.0 version copy everything in SDL/ to SDK: 

.. Spot / Up Rough 2006

File Version Size Date OS Dls Readme
sdl_blitpool.lhaRelease2408kb19 Oct 064.0179¤ Sdl_blitpool - Blit/Fill operation pool with optimizer
sdl_gfx.lha2.0.24264kb22 Dec 124.0260¤ Sdl_gfx - libSDL_gfx
sdl_image.so.lha1.2.6257kb02 Jun 084.0562¤ Sdl_image - SDL_image shared object for SDL image loading
sdl_oglblit.lha0.5891kb03 Sep 084.0149¤ Sdl_oglblit - Do fast HW accelerated 2D operations.
sdl_ttf.so.lha2.0.920kb11 Jul 094.1494¤ Sdl_ttf - SDL_ttf shared object for TrueType font in SDL
sdllayer.lha0.164Mb06 Aug 084.0129¤ Sdllayer - Layered display mechanism for SDL, with examples.
sdltty.lha0.0.1820kb02 Jul 084.0116¤ Sdltty - SDL_TTY
Copyright (c) 2004-2018 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment