Page 1 of 1

Mirror a sprite

Posted: Mon Sep 28, 2015 10:12 pm
by orlanrod
Back again with another question, and that is how would i mirror a sprite?

Thanks.

Re: Mirror a sprite

Posted: Tue Sep 29, 2015 4:28 am
by orlanrod
Nevermind, i figured it out. 8)

Re: Mirror a sprite

Posted: Fri Dec 11, 2015 6:48 pm
by alko
What about mirror a planes on background? :o

Image

Image

Re: Mirror a sprite

Posted: Fri Dec 11, 2015 7:59 pm
by Stef
Imo that is not a very used feature but I may eventually add methods for that later ;-)

Re: Mirror a sprite

Posted: Fri Dec 11, 2015 8:46 pm
by alko
Yes, it could be nice.
it could save the memory through the symmetry of backgrounds.

Re: Mirror a sprite

Posted: Fri Dec 11, 2015 11:59 pm
by Stef
If you speak about duplicated / flipped tiles then of course rescomp already supports that feature and generates the tilemap with flipped tiles for you !

Re: Mirror a sprite

Posted: Sat Dec 12, 2015 11:35 am
by alko
that is, if the image is symmetriс, then rescomp automatically detect it during compression "-1" ?
I understand correctly?
Image

Re: Mirror a sprite

Posted: Sat Dec 12, 2015 12:14 pm
by Stef
alko wrote:that is, if the image is symmetriс, then rescomp automatically detect it during compression "-1" ?
I understand correctly?
Image
It doesn't even need compression to be enabled (that is to compress the tile data), by default rescomp always analyze the image to consider duplicated and flipped tiles and arrange the tilemap data for that =)