Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: Yeong on May 20, 2011, 07:39:24 am

Title: FlipH? FlipV?
Post by: Yeong on May 20, 2011, 07:39:24 am
What is the syntax of this?
I can't get this to work. D:
Title: Re: FlipH? FlipV?
Post by: Aichi on May 20, 2011, 07:41:38 am
Pt-Change(,,Fliph(Pic0)) should work.
Title: Re: FlipH? FlipV?
Post by: Yeong on May 20, 2011, 07:44:19 am
thank you! :D
Ugh..It's hard to flip 16x16 this way D:
Title: Re: FlipH? FlipV?
Post by: Aichi 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.
Title: Re: FlipH? FlipV?
Post by: Quigibo 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.