Search found 3 matches

by defer
Sat Dec 10, 2011 4:09 am
Forum: User Contributions
Topic: Easy GL2D
Replies: 56
Views: 153180

Re: Easy GL2D

Hi, I've used gl2d for the sdl 1.3 port, which has saved me alot of time. I'd like to integrate it into sdl as well as fix an issue I'm facing. However your code doesn't have a licence. SDL is using the zlib licence (http://hg.libsdl.org/SDL/file/tip/COPYING). Could you consider allowing me to use y...
by defer
Tue Mar 01, 2011 3:19 am
Forum: User Contributions
Topic: Easy GL2D
Replies: 56
Views: 153180

Re: Easy GL2D

glLoadTileset() can load single tiles. Just use the same tilesize and bmpsize in your parameters and it would load a single tile. Indeed (and it's obvious my new function doesn't add anything). I think I fixed another issue in my code at the same time I wrote that. You can use the returned textureI...
by defer
Sat Feb 26, 2011 7:29 pm
Forum: User Contributions
Topic: Easy GL2D
Replies: 56
Views: 153180

Re: Easy GL2D

Nice library.
I've added glLoadOneTile() to load any tile, without the limitation on size that glLoadTileSet() has. Patch attached.

Also I was wondering why glLoadSpriteSet() and glLoadTileSet() are return the textureID. Is that of any use ?