Hi. how are you?
I need help on three things.
1) mouselook
I wrote a code like this:
xrotate camera mousey()
yrotate camera mousex()
but then I realised this was not the code i wanted... since,
well, the mouselook works but, when I look up and walk, the cam move upwards instead of forwards..
what is that code to move forwards when you look up or down, instead of "flying around"???
2) strafing
how can I make the camera strafe???
i wrote:
if leftkey()=1 then move camera camera position x()-5
and the same to rightkey().
but the cam moves forward instead. is there another code??
3) aim
how can I make a cross in the middle of the screen that follows the camera when you turn and that..
i wrote:
make object cube 1,10
do
position object 1,camera position x(),camera position y(),camera position z()+80
sync:loop
(it not the whole code, but anyway) is that correct?? or do you have a nothe code... because this is not working.