[newbie warning] Spritemap flipped?
tj_314 last edited by
I'm following the samples from the docs, specifically this one http://haxepunk.com/documentation/tutorials/movement-and-animation/
At one point in this tutorial, based on velocity, the tutorial flips the sprite in spritemap using
sprite.flipped = true;
where sprite is an instance of spritemap. So I got an error, saying there's no such member in spritemap. I checked the API reference and it's really not there. Seems the compiler doesn't lie
So, what's going on? Was this removed? How do I flip a sprite? Do I have to make another spritesheet (flipped) and use that?