OS4 DepotLogo by Kicko 
(anonymous IP:,0) 

   Bug tracker
   Locale browser

   o Audio (329)
   o Datatype (47)
   o Demo (185)
   o Development (534)
   o Document (21)
   o Driver (88)
   o Emulation (142)
   o Game (867)
   o Graphics (465)
   o Library (99)
   o Network (205)
   o Office (56)
   o Utility (820)
   o Video (61)

Total files: 3919

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:  (Current version)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
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.02¤ Sdl_blitpool - Blit/Fill operation pool with optimizer
sdl_gfx.lha2.0.24264kb22 Dec 124.04¤ Sdl_gfx - libSDL_gfx
sdl_image.so.lha1.2.6257kb02 Jun 084.03¤ Sdl_image - SDL_image shared object for SDL image loading
sdl_oglblit.lha0.5891kb03 Sep 084.03¤ Sdl_oglblit - Do fast HW accelerated 2D operations.
sdl_ttf.so.lha2.0.920kb11 Jul 094.13¤ Sdl_ttf - SDL_ttf shared object for TrueType font in SDL
sdllayer.lha0.164Mb06 Aug 084.02¤ Sdllayer - Layered display mechanism for SDL, with examples.
sdltty.lha0.0.1820kb02 Jul 084.03¤ Sdltty - SDL_TTY
Copyright (c) 2004-2019 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment