Is there anyway to set a colorkey in the screen surface to make it transparent
on the desktop? just like, for example, mplayer (or any other player) the GUI
has no frame and its shape it’s not a rectangle. (I use SDL_NOFRAME flag to
get no border, but I need transparency too…)
does anyone know how to do this?
Is there anyway to set a colorkey in the screen surface to make it transparent
on the desktop? just like, for example, mplayer (or any other player) the GUI
has no frame and its shape it’s not a rectangle. (I use SDL_NOFRAME flag to
get no border, but I need transparency too…)
does anyone know how to do this?
Im not sure if I have ever posted this to the list, but it may be of
interest. Me and a grupe of programmers have ported the SpriteWorld game
SDK (a macintosh only game development library) to SDL. It currently
runs on Linux, Windows, MacOS 9, MacOS X, and reportedly runs on
SymbianOS, and FreeBSD. The library is calld SpriteWorld X it is under a
freeware licence.
The fetures in SpriteWorld X are specifically geard to high-performance
2D games:
-Scrolling
-Tiling
-Sprites
-Colision Dtection
etc.
Currently there is no Documentation for the library, but it is a near
verbatim port of the origional SpriteWorld, so using the documents found
at www.spriteworld.org will give you a good understanding of the
SpriteWorld X API.
SpriteWorld X, along with some demo applications, can be downloaded at:
[NOTE: Sorry for sending this twice, but my last version was titled
incorrectly. My appologies.]
Im not sure if I have ever posted this to the list, but it may be of
interest. Me and a grupe of programmers have ported the SpriteWorld game
SDK (a macintosh only game development library) to SDL. It currently
runs on Linux, Windows, MacOS 9, MacOS X, and reportedly runs on
SymbianOS, and FreeBSD. The library is calld SpriteWorld X it is under a
freeware licence.
The fetures in SpriteWorld X are specifically geard to high-performance
2D games:
-Scrolling
-Tiling
-Sprites
-Colision Dtection
etc.
Currently there is no Documentation for the library, but it is a near
verbatim port of the origional SpriteWorld, so using the documents found
at www.spriteworld.org will give you a good understanding of the
SpriteWorld X API.
SpriteWorld X, along with some demo applications, can be downloaded at: