Hi !
I'm working for some time now on a 2D library for the pandora, which is now cross platform so we can build and run code on an i386 linux with an openGL based card.
I'm actually releasing the first official release, only the i386 binary for now, so people can try it, report back problem's and begin some cool games
You'll have to run linux and compile SDL 1.3 to use it ( svn checkout http://svn.libsdl.org/trunk/SDL ).
The header files are not really commented for now, but you can take a look at the exemples in the archive, i think they are pretty easy to understand.
Download : http://mydedibox.fr/index.php?option=com_docman&task=doc_download&gid=17&Itemid=29
Source Code : http://github.com/Cpasjuste/libGLES2D
Build 20090919 :
- Added better collision detection for textures and sprites, including pixel perfect detection and pixel color perfect detection.
- Added examples for collision detection.
- Texture structure changes : texture->w is now the actual drawing width and texture->wsrc is the original width.
Download : http://mydedibox.fr/index.php?option=com_docman&task=doc_download&gid=18&Itemid=29
I'm working for some time now on a 2D library for the pandora, which is now cross platform so we can build and run code on an i386 linux with an openGL based card.
I'm actually releasing the first official release, only the i386 binary for now, so people can try it, report back problem's and begin some cool games
You'll have to run linux and compile SDL 1.3 to use it ( svn checkout http://svn.libsdl.org/trunk/SDL ).
The header files are not really commented for now, but you can take a look at the exemples in the archive, i think they are pretty easy to understand.
Download : http://mydedibox.fr/index.php?option=com_docman&task=doc_download&gid=17&Itemid=29
Source Code : http://github.com/Cpasjuste/libGLES2D
Code:
GLES2D is a cross platform library in developement. It use openGL(ES) for 2D rendering.
It actually run on the pandora gaming console, and on any linux distributions.
To run it on linux distribution, you'll need an openGL card and
compile sdl 1.3 (svn checkout http://svn.libsdl.org/trunk/SDL)
Currently supported feature :
- Simple function to init the screen.
- Load and draw textures with ease.
- Load and draw sprites with ease.
- Load ttf and bitmap fonts with ease (need to be optimised).
- Scale, rotate, blend textures, fonts and sprites.
- Load and draw tile based map (only map made with mappy is currently supported : http://www.tilemap.co.uk/mappy.php )
- Simple texture, sprite and tile map collision detection.
- Handle PC/PANDORA keyboard and gamepad.
- Handle PANDORA touchscreen.
Build 20090919 :
- Added better collision detection for textures and sprites, including pixel perfect detection and pixel color perfect detection.
- Added examples for collision detection.
- Texture structure changes : texture->w is now the actual drawing width and texture->wsrc is the original width.
Download : http://mydedibox.fr/index.php?option=com_docman&task=doc_download&gid=18&Itemid=29