Return horizontally an image

BlitzMax Forums/BlitzMax Beginners Area/Return horizontally an image

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Not sure what you mean but, if you want to view the same image but facing different directions you can use setrotation.
<edit> or if you mean flip then use setscale with negative values.
Graphics 640,480
image:timage=LoadImage("max.png")
MidHandleImage image
x=1 
y=1
While Not KeyHit(key_escape)
  Cls
  If KeyHit(key_left) x=-1
  If KeyHit(key_right) x=1
  If KeyHit(key_up) y=1
  If KeyHit(key_down) y=-1
  SetScale x,y
  DrawImage image,200,200
  Flip
  FlushMem()
Wend