GLBasic forum

Feature request => 2D => Topic started by: Wampus on 2010-Jun-29

Title: Horizontal & vertical flip for sprite drawing
Post by: Wampus on 2010-Jun-29
As well as rotation it would be useful to have horizontal & vertical flipping for sprites. Currently I have to draw sprites line by line as an animation to flip them.

Some possibilities: Easy way to create reflection effects for surfaces, simply flipping horizontal to make a sprite change its direction from left to right, symmetry effects.
Title: Re: Horizontal & vertical flip for sprite drawing
Post by: Moru on 2010-Jun-30
Try polys, might work :-)
Title: Re: Horizontal & vertical flip for sprite drawing
Post by: Wampus on 2010-Jun-30
Er...wow! Polys are great! I had no idea.  :S Still thinking like a 16-bit platform programmer.

Title: Re: Horizontal & vertical flip for sprite drawing
Post by: Dark Schneider on 2010-Jun-30
Scale by -1 on X and/or Y axis does not works?
Title: Re: Horizontal & vertical flip for sprite drawing
Post by: Wampus on 2010-Jul-07
Yes, that works Dark Schneider. Thanks for letting me know.

There is no mention of this in the Help file docs.