Author Topic: FlipH? FlipV?  (Read 2925 times)

0 Members and 1 Guest are viewing this topic.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
FlipH? FlipV?
« on: May 20, 2011, 07:39:24 am »
What is the syntax of this?
I can't get this to work. D:
Sig wipe!

Offline Aichi

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 290
  • Rating: +76/-3
    • View Profile
    • Devrays
Re: FlipH? FlipV?
« Reply #1 on: May 20, 2011, 07:41:38 am »
Pt-Change(,,Fliph(Pic0)) should work.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: FlipH? FlipV?
« Reply #2 on: May 20, 2011, 07:44:19 am »
thank you! :D
Ugh..It's hard to flip 16x16 this way D:
« Last Edit: May 20, 2011, 07:44:41 am by yeongJIN_COOL »
Sig wipe!

Offline Aichi

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 290
  • Rating: +76/-3
    • View Profile
    • Devrays
Re: FlipH? FlipV?
« Reply #3 on: May 20, 2011, 09:24:59 am »
You should swap the upper and the lower row for FlipH or the right and the left column for FlipV to flip 16x16 sprites.
« Last Edit: May 20, 2011, 09:25:24 am by Aichi »

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: FlipH? FlipV?
« Reply #4 on: May 20, 2011, 09:57:04 pm »
The best solution is to flip them before compiling so they can be in the right order as well when reading the sprite.  Its also faster during runtime, but could use more memory, depending on how many sprites you use.
___Axe_Parser___
Today the calculator, tomorrow the world!