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.

DarkBASIC Discussion / making wave/bounce movement

Author
Message
koolaid 2764
21
Years of Service
User Offline
Joined: 30th Sep 2003
Location: Atlanta, Georgia
Posted: 18th Dec 2003 13:23
my game is a fps perspective and im trying to get the illsuion of the player actually moving like in other fps games the players gun and camera have a wave movement or bounce like there walking,i heard bout using cos/sin had some code for help from a old project not mines but it was too messy to understand i sort of go the weapon to do a little wave movement but everything was messed up can any one help?

KOOLAID
guru of boredom
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: middle of no where
Posted: 19th Dec 2003 06:01
just cheat a bit and move it up and down as you run.
just change the wave var a bit every loop you are moving. dont bother with sin or cos.

we are not outnumbered! we are just in a target rich enviroment!
P4 2.4 ghz 120 GB 256 mb GeForce4
Pricey
22
Years of Service
User Offline
Joined: 22nd Feb 2003
Location:
Posted: 20th Dec 2003 10:44
thats what i do

Login to post a reply

Server time is: 2025-05-22 03:10:53
Your offset time is: 2025-05-22 03:10:53