Mirroring images

BlitzMax Forums/BlitzMax Beginners Area/Mirroring images

Oldbone(Posted 2007) [#1]
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!


H&K(Posted 2007) [#2]
setscale -1.0,1.0


assari(Posted 2007) [#3]
If by rotateimage you mean setrotation then you can try here
http://www.2dgamecreators.com/tutorials/gameprogramming/images/T2_Images.html


CS_TBL(Posted 2007) [#4]
Typically left and right versions are uniquely drawn because of the lights and shadows.


Justus(Posted 2007) [#5]
Take a look at this, it might be what you're looking for: http://blitzbasic.com/codearcs/codearcs.php?code=1986


Oldbone(Posted 2007) [#6]
Wow H&K -- thanks! that's exactly what I was looking for... nice and easy!

Thanks for the links all - very helpful!