Movement Questions

Non-platform specific questions.

Movement Questions

Postby Garfield501 » Thu Oct 08, 2009 12:14 pm

hello,

I am trying something new and I want something that I don't know how to do that.
Here it comes:

I have a character named: "Player"
Then when I press the left-directionkey, it moves to the left and it shows an walking animation. Untill now it works fine.
What I want is, that when I release the left-direction key, i want it to stop moving, but "Player" is still looking to the left.

And this is what I want for all 4 directions. (Up, Down, Left and Right).

Thanks in Advance.
Mark
Garfield501
 
Posts: 25
Joined: Tue Sep 22, 2009 5:45 pm
Score: 0 Give a positive score

Re: Movement Questions

Postby Kalladdolf » Thu Oct 08, 2009 12:30 pm

Check out this. It's to left and right, but once you got the hang of it, you'll be able to also make it for those two directions.
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: Movement Questions

Postby Garfield501 » Thu Oct 08, 2009 12:57 pm

It wasn't that hard.

Thanks for the help.
Garfield501
 
Posts: 25
Joined: Tue Sep 22, 2009 5:45 pm
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron