Ok i need help adding Sin and Cosine to this code to give it a bouncing feel when your character walks, so far i have this
rem Control Player
if upkey()=1
move camera 10
returnvalue=sin(-270)
endif
if downkey()=1
move camera -10
returnvalue=sin(270)
endif
if leftkey()=1
yrotate camera wrapvalue(ay#-5)
returnvalue=sin(180)
endif
if rightkey()=1
yrotate camera wrapvalue(ay#+5)
returnvalue=sin(-180)
endif
if you can tell me how to make it give it the bouncing feel or if im missing a variable to make it bounce then id really appreciate it. if you can modify it to make it work that would be even better. thanks!
"All creators of a game, have the true name"