Sprite direction

Apologies if this was covered before. I reviewed the Lime docs and Corona docs but other than rotation nothing jumped at me.

Question. Is it possible to flip an animated tile so it can go back for example? I can reverse my images and load them into my tileset as the go-back animation but this obviously would double up the resource consumption on device. Is there a clever way of settign it once facing one way but programmatically making it face the other way?

Thanks

You would want to do something like this:

1
tile.sprite.xScale = -1

Great! Knew there would be a way. Thanks.

No problem :-)

views:1076 update:2011/10/13 16:39:51
corona forums © 2003-2011