ok, when i compile the code, i notice the cube is very glitchy in its movement,
im thinking its 1 of 3 things:
A. i used floats for movement speed
B. The camera is the glitchy problem
C. The cube is the glitchy problem
but i cant seem to figure it out.
```Pre Loaders (models, audio, textures, clips)
Obj = 1
make object cube Obj,1
make matrix 1,200,200,5,5
speed as float = .05
Do
`````````````````````````````````
camx = object position x(obj)
camy = object position y(obj)+5
camz = object position z(obj)-5
camya = camera angle x()
camxa = camera angle y()
```Game Loop Here
position camera camx,camy+1,camz-5
point camera camx,camy,camz
```````````````````````````controls
if upkey()=1
yrotate object obj,0
Move object obj,speed
endif
if downkey()=1
yrotate object obj,180
Move object obj,speed
yrotate object obj,0
endif
if rightkey()=1
yrotate object obj,90
Move object obj,speed
yrotate object obj,0
endif
if leftkey()=1
yrotate object obj,-90
Move object obj,speed
yrotate object obj,0
endif
````````````````````````````
Loop
[edit]
ok so i realized the problem, but i dont know what to do about it,
its because the camera doesnt move in float value, so the camera moves half as much as the cube, so the cube moves twice(.5) and the camera *glitches* behind it at a rate of (1) but it still wants to keep up with the cube.