Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] - First Person Walking Animation

Author
Message
ShellfishGames
11
Years of Service
User Offline
Joined: 6th Feb 2013
Location:
Posted: 30th Jan 2014 22:06
Hey guys,

I just created a small piece of code simulating a character walking animation from First Person perspective for this thread and thought I might just as well post it here.
It's pretty simple, but the effect surely adds quite a bit of immersion to any first person game.



Use or alter it however you like.

Cheers.

chafari
Valued Member
17
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 30th Jan 2014 22:44
Smart way to simulate the walking . I like it !!

I'm not a grumpy grandpa
MonoCoder
18
Years of Service
User Offline
Joined: 4th Dec 2005
Location: england
Posted: 31st Jan 2014 10:51 Edited at: 31st Jan 2014 10:53
That's pretty neat. I did a little ad-hoc modification to add rolling into turns:



bit queasy-making tho <_>
ShellfishGames
11
Years of Service
User Offline
Joined: 6th Feb 2013
Location:
Posted: 31st Jan 2014 12:23
Nice, and now you can run as well.



Sasuke
18
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 12th Feb 2014 14:06
Really nice so far

Now here's the fun part: Implement Timer Based Movement into this

"Get in the Van!" - Van B
ShellfishGames
11
Years of Service
User Offline
Joined: 6th Feb 2013
Location:
Posted: 12th Feb 2014 15:33 Edited at: 12th Feb 2014 15:34


Well, sort of. I think the whole movement works well enough now, only the camera rolling thing still seems to depend on the FPS rate.

Login to post a reply

Server time is: 2024-03-28 09:39:17
Your offset time is: 2024-03-28 09:39:17