Hi can somebody help me with my game
when I press the rightkey it turns right yes but when i stop pressing then the camera is in the rightside how do I fix it??
sync on
sync rate 60
hide mouse
if check display mode (1024,768,32)=1 then set display mode 1024,768,32
backdrop on
autocam off
player=1
playerskin=1
load object \"media/ninja/ninja.md2\",player
load image \"media/ninja/nskinrd.jpg\",playerskin
yrotate object player,180
fix object pivot player
set object specular player,0
position object player,0,0,0
position camera 0,10,0,-20
point camera 0,0,0,0
texture object player,playerskin
set object speed player,30
groundtexture=2
ground=1
load image \"media/9/grass07.jpg\",groundtexture
make matrix ground,10000,10000,25,25
prepare matrix texture ground,groundtexture,25,25
position matrix ground,10000/2,10000/2,0
do
move=0
if move=0 then loop object player,184,205
if move=1 then loop object player,1,14
x#=object position x(player)
y#=object position y(player)
z#=object position z(player)
a#=object angle x(player)
d#=10.0
h#=10.0
s#=50.0
set camera to follow x#,y#,z#,a#,d#,h#,s#,1
if rightkey () = 1 then turn object right player,1 : move=1
if leftkey () = 1 then turn object left player,1 : move=1
if upkey () = 1 then move object player,1 : move=1
if downkey () = 1 then move object player,-1 : move=1
sync
loop
pleaase help mee