0 Members and 1 Guest are viewing this topic.
Quote from: hoffa on January 07, 2013, 04:35:23 pmHere's nSDL drawing the OpenBSD fish loaded from a GIF file:How did you make it to have the right colours from a gif file ? I'm loading a gif image from /documents/Examples/map.gif and it doesn't have the right colours at all ... Have I to save it as a gif with 16-bits colours ? If so, how can you do it with Gimp ?
Here's nSDL drawing the OpenBSD fish loaded from a GIF file:
Yeah, that would be a perfect candidate for tilemapping.
Of course I could, as for every SDL command but since it can be optimized to work together with SDL, why do not ask hoffa ?Also,Quote from: t0xic_kitt3n on January 10, 2013, 01:07:15 pmYeah, that would be a perfect candidate for tilemapping.^ I don't understand that (sorry, French inside)
Quote from: Matrefeytontias on January 10, 2013, 01:11:11 pmOf course I could, as for every SDL command but since it can be optimized to work together with SDL, why do not ask hoffa ?Also,Quote from: t0xic_kitt3n on January 10, 2013, 01:07:15 pmYeah, that would be a perfect candidate for tilemapping.^ I don't understand that (sorry, French inside)The picture would be good for tilemapping because there are a lot of repeated patterns in there.
I actually looked at SDL2, and I've been waiting for a long time for a stable version to come out (even for one PC project I'm working on that uses SDL2). Even when does come out, SDL2 has very little to add to a machine such as the TI-Nspire, expect maybe for the included drawing (lines and whatnot) functions.As far as example programs are concerned, that's a very good point, and there'll be included sample(s) in the next release.