Author Topic: Horizontal & vertical flip for sprite drawing  (Read 2699 times)

Offline Wampus

  • Prof. Inline
  • *****
  • Posts: 1004
    • View Profile
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.

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1772
    • View Profile
    • Homepage
Re: Horizontal & vertical flip for sprite drawing
« Reply #1 on: 2010-Jun-30 »
Try polys, might work :-)

Offline Wampus

  • Prof. Inline
  • *****
  • Posts: 1004
    • View Profile
Re: Horizontal & vertical flip for sprite drawing
« Reply #2 on: 2010-Jun-30 »
Er...wow! Polys are great! I had no idea.  :S Still thinking like a 16-bit platform programmer.


Offline Dark Schneider

  • Mr. Polyvector
  • ***
  • Posts: 128
    • View Profile
Re: Horizontal & vertical flip for sprite drawing
« Reply #3 on: 2010-Jun-30 »
Scale by -1 on X and/or Y axis does not works?

Offline Wampus

  • Prof. Inline
  • *****
  • Posts: 1004
    • View Profile
Re: Horizontal & vertical flip for sprite drawing
« Reply #4 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.