[newbie warning] Spritemap flipped?



  • Hi, guys!
    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?

    thanks


Log in to reply
 

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.