Ok how do i this when I press right arrow key I want the character to look to the right and if i press left arrow key i want my character took at the left side same for up and down how do i do it <img src="smileys/smiley1.gif" border="0" align="middle" />
What behaviour are you using for your movement?
I would assume 8-direction for it seems you are talking about top-down-view, but 8-direction automatically turns sprite in the right direction, so then you wouldn't be asking this question.
Develop games in your browser. Powerful, performant & highly capable.
for the platform it can go left or right up and down but it does not make my character face left and up and down
It does if you tell it to. When you detect the change in direction, set Mirrored or Not Mirrored on your sprite.
try this:
event sheet-keyboard-a is down-simulate platform pressing left
and then set ''mirrored'' to the sprite ;)