actually i found a better one in the code base but when i load my model its backwards so the camera is in the front looking backwards and when i press upkey, it goes forward (backward) does anyone know how to fix this if they know anything i just said?
sync on : sync rate 60
make matrix 1,1000,1000,32,32
load object "demon.x",1
load image "demon.jpg",2
Show Object 1
position object 1,500,10,500
s#=5
a#=5
dist#=100 : ` distance camera sohuld be behind player
height#=40 : ` height above player that camera should be
smooth=10 : ` smoothing value
do
if upkey() then move object 1,s#
if downkey() then move object 1,-s#
if leftkey() then yrotate object 1,wrapvalue(object angle y(1)-a#)
if rightkey() then yrotate object 1,wrapvalue(object angle y(1)+a#)
set camera to follow object position x(1),object position y(1),object position z(1),object angle y(1),dist#,height#,smooth,0
sync
loop
GZM$="what?"