OK, so I've sadly missed a couple of days where I could have worked as I took a temporary job for 2 days (and valentines day - watching jumper was a must!) but during that time I've been thinking of what will be the easiest way to get the character moving.
The most efficient way I can think of doing it is by implementing a rudimentary physics engine (well just gravity really for now) to do it.
I figure this will also enable me to easily add realistic jumping into it as if there is a force constantly pulling down on the character, all I need to do to jump is oppose that force and put a decay on the opposing force over time. Assuming the decay is calculated properly (I'm thinking exponentially right now, but I'm not too sure really!) then it should automatically give the character a jump that slows at the top and speeds up on the way down, like real life!
So my next task now is to get the character in the game and, hopefully, moving!
Watch this space..
Friday, February 15, 2008
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment