How to do axisymmetric

Hi and thank for your binding !

Very basic question: (sorry)

I load 2 images for my player. One for left other for right …
How can I use only one image (left for example) and generate the right with JavaSDL ?

Best regards.
Salokine.

Hi,

You can either create an in-memory copy of the left image, and use that, or
you can even use only one image in memory and draw it twice, if you don’t
need the two to be different. If they have to be different, perhaps the
right can be drawn by applying transformations to the left.

If your question is specific to javaSDL, maybe I can’t say because I don’t
use that. But copying an image data type should be a similar challenge in
any language. As should any drawing or transformations you wish to apply to
the image.

Regards,

ChristianOn Sat, Aug 21, 2010 at 4:14 PM, Salokine Terata <salokine.terata at free.fr>wrote:

Hi and thank for your binding !

Very basic question: (sorry)

I load 2 images for my player. One for left other for right …
How can I use only one image (left for example) and generate the right with
JavaSDL ?

Best regards.
Salokine.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org