[SDL] animation lib strategy
julien CLEMENT
clementj2005 at yahoo.fr
Wed Dec 17 01:11:58 PST 2008
Actually my main problem with SDL Layer is that it has been downloaded
more than 500 times since the first stable version, but nobody ever
sent me a single email to say if it compiles and works or not (except
Phuoc of course, thank you !)
The Google Code is yet very
convenient to post Issues, and my email is available on the website ...
I guess that's the drawback of free software ...
Julien
--- En date de : Mer 17.12.08, Phuoc Can Hua <phuoccanhua at yahoo.com.au> a écrit :
De: Phuoc Can Hua <phuoccanhua at yahoo.com.au>
Objet: Re: [SDL] Re : animation lib strategy
À: clementj2005 at yahoo.fr
Date: Mercredi 17 Décembre 2008, 1h42
Rick,
I just want to add my comments to Julien's
suggestions.
I've worked through Kyra. It has a very impressive demo and a detailed
documentation. The response I got from Kyra's help forum was quick (but that
was over a year ago). It also has the widget feature, i.e. the sprites can be
use as buttons etc.
The limitation of Kyra is that all frames of a sprite are pre-defined, i.e.
can't draw new image in runtime. For that case, I'm looking at
Julien's SDL_layer because I mainly paint on different layers. I'm still
experimenting. So far I managed to run a slide show (movie) with overlayed text.
Regards
Phuoc
_/\__/\__/\__/\__/\__/\_
www.huaonline.com
My Homepage is my Castle
--- On Tue, 16/12/08, julien CLEMENT <clementj2005 at yahoo.fr> wrote:
> From: julien CLEMENT <clementj2005 at yahoo.fr>
> Subject: [SDL] Re : animation lib strategy
> To: "A list for developers using the SDL library.
(includes
SDL-announce)" <sdl at lists.libsdl.org>
> Received: Tuesday, 16 December, 2008, 8:16 PM
> Hi Rick,
>
> Nice idea. There're existing library to do what you
> want already. But I admit it's not a reason for not
> providing another tool :)
> I'm thinking about the Kyra sprite engine:
> http://www.grinninglizard.com/kyra/
>
> And, of course, any other library referenced on
> http://www.libsdl.org/libraries.php
> It's not that easy to start from scratch, watching what
> the others have done can be a good starting point, and maybe
> avoid wasting time.
>
> As for parallax problems, I did a special library called
> SDLayer (or SDL_Layer, I didn't fix a name). It compiles
> on Linux, Windows and Mac OS X. You can grab the source code
> at:
> http://code.google.com/p/sdl-layer/
>
> It may not do exactly what you
want. Its main purpose is to
> manage different levels (layers / planes) of display without
> you to bother with projections and refresh rectangles, which
> can be tedious when each plane/layer has its own scrolling
> factor (parallax).
> There're 2 demos showing what it can do.
>
> Let me know if it can be of some interest. All you need is
> SDL 1.2 and SDL_image for the demos only.
> I'm also working on a low level sprite library which
> manages pools of graphical objects moving on the screen, and
> having no mechanism whatsoever for animation. We can talk
> about it if you want.
>
> Regards,
> Julien
>
> --- En date de : Mar 16.12.08, Rick R
> <rick.richardson at gmail.com> a écrit :
> De: Rick R <rick.richardson at gmail.com>
> Objet: [SDL] animation lib strategy
> À: sdl at lists.libsdl.org
> Date:
Mardi 16 Décembre 2008, 2h45
>
> Are there any docs or sample code for SDL 1.3 on best
> practices for creating a cross platfrom animation library?
> My primary targets are win32, linux and iphone.
> It's purpose would be creating basic sprite motion, gui
> type objects, as well as parallax scrolling.
>
> I'm rather new to 2d programming and there seems to be
> quite a few ways to light up pixels. Should I blit/clip? Or
> should I draw directly to the surface?
>
> Also, is such functionality wrapped by SDL on the iphone?
> Because it would appear that the demos such as fireworks
> call OpenGLES directly.
>
>
> Last question, where is the best place to find docs on the
> 1.3 stuff? It doesn't appear that the docs feature the
> 1.3 functions.
>
> Sorry for the barrage of questions. I'm just getting in
> to this
stuff and it can be a tad overwhelming :)
>
Start your day with Yahoo!7 and win a Sony Bravia TV. Enter now
http://au.docs.yahoo.com/homepageset/?p1=other&p2=au&p3=tagline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20081217/3db800be/attachment.htm>
More information about the SDL
mailing list