Mirroring images

BlitzMax Forums/BlitzMax Beginners Area/Mirroring images

I'm just doing some basic image commands (loadanimimage, drawanimimage, etc)...

Is there a quick command to display the mirror image of an image? ie: my player icon is facing left, and now I want him facing right.

Further, can someone give me an example of the rotateimage command?

Thanks!

setscale -1.0,1.0

If by rotateimage you mean setrotation then you can try here
http://www.2dgamecreators.com/tutorials/gameprogramming/images/T2_Images.html

Typically left and right versions are uniquely drawn because of the lights and shadows.

Take a look at this, it might be what you're looking for: http://blitzbasic.com/codearcs/codearcs.php?code=1986

Wow H&K -- thanks! that's exactly what I was looking for... nice and easy!

Thanks for the links all - very helpful!