OS4 DepotLogo by McFly 
(anonymous IP:,2193) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1005)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (923)
   o Video (69)

Total files: 4366

Full index file
Recent index file



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 2006
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: 266  (Current version)
266  (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 20064.0204¤ Sdl_blitpool - Blit/Fill operation pool with optimizer
sdl_gfx.lha2.0.24264kb22 Dec 20124.0335¤ Sdl_gfx - libSDL_gfx
sdl_image.so.lha1.2.6257kb02 Jun 20084.0605¤ Sdl_image - SDL_image shared object for SDL image loading
sdl_oglblit.lha0.5891kb03 Sep 20084.0178¤ Sdl_oglblit - Do fast HW accelerated 2D operations.
sdl_ttf.so.lha2.0.920kb11 Jul 20094.1541¤ Sdl_ttf - SDL_ttf shared object for TrueType font in SDL
sdllayer.lha0.164Mb06 Aug 20084.0164¤ Sdllayer - Layered display mechanism for SDL, with examples.
sdltty.lha0.0.1820kb02 Jul 20084.0151¤ Sdltty - SDL_TTY
Copyright © 2004-2024 by Björn Hagström All Rights Reserved