OS4 DepotLogo by Nickman 
(anonymous IP: 52.14.166.224,2258) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


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

Sdl_sprite

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