how to decide face side of sprite

Posted by user22135 on Game Development See other posts from Game Development or by user22135
Published on 2012-10-22T09:23:47Z Indexed on 2012/10/22 11:19 UTC
Read the original article Hit count: 215

Filed under:
|

my first question here :]

i am just starting game-dev with slick2D and marte engine and my question is when i move my sprite left and right i am doing walk animation but when the key is released how can i decide in which side the sprite face to set ?

here's my Player.java http://pastebin.com/WjQ09Fij

am i doing things right ?

here's netbeans project without libs http://uppit.com/84vdufs35aas/SSheet.7z [< 45 KB]

please help thanks in advance

© Game Development or respective owner

Related posts about java

Related posts about slick2d