Mirroring an anim frame drawed with ROTOZOOMANIM, how to do it?

Previous topic - Next topic

pinete

Hi!
I need some help as I've been looking for a solution in the forums and I wasn't fortunate..

Is there any way to mirror a sprite drawed with the function 'ROTOZOOMANIM'?

I noticed that's possible with other commands refered to single sprites (zoomsprite using -1 in axis params) or such, but I need to mirror frames of an animation that it's being played with ROTOZOOMANIM.

Some help would be more than appreciated :)

thanks in advance!

Slydog

I don't think there's a normal method using that command.
You could however duplicate the sprite sheet in code to a new sprite id and mirror it.
Whenever you need to draw the mirror of the sprite, use the new sprite.
This takes twice the resources of course.

Or, convert to using POLYVECTORs, which is what I'd do.
POLYVECTORs can be zoomed and rotated, plus other advantages, such as speed and colour effects.
Plus it can be more flexible and allow better control over the sprites sheet location and timing.
It may take a bit of time creating a polyvector animation system, but should pay off in the long run.
My current project (WIP) :: TwistedMaze <<  [Updated: 2015-11-25]

pinete