On May 14, 10:48 pm, kevin0228ca <[email protected]> wrote: > Hi everyone. > I am starting to develop a game. Right now I got a sprite animation > going when a player moves > across using sprite sheet. > In my sprite sheet the character is always facing the same way, left. > Now if I want the charatcer to move right, I want it to be facing > right. > So is there a quick way in android to invert the bitmap after it has > been loaded in? > Or do I have to create sprite sheet for character facing right? thanks. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en
try canvas.scale(-1, 1) pskink -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

