|
-
Oct 27th, 2002, 03:25 PM
#1
Thread Starter
Frenzied Member
How to make smooth Character movement
At the momen i am just moving my players X Y and Z axis 1 point (whatever) at a time when i press left and right , jumping looks good up to now.. but making a left/right movement looks crappy (also no animation but that is a second thing to do) how can i make a nice way to move my character?
-
Oct 27th, 2002, 06:04 PM
#2
Lively Member
I usually use acceleration and deceleration.
The character starts moving 1 pixel, and gains speed as he moves until reaching a final speed. deceleration is a bit trickier since you dont want it to affect the gameplay too much.
-
Oct 27th, 2002, 07:06 PM
#3
Frenzied Member
you could make the frames interpolate...
like this:
X = (X1 + X2) / 2
it gets the X position in between the two frames...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|