Sure
First you need two variables
a1#=wrapvalue(a1#+4)
a2#=cos(a1#)
don't ask me how it works it just does.(These variables are inside the main loop.)
You then need to add this piece of code to your moving forward code.
position object 1,5+a2#,-7+a2#,10
(Again in the main loop)
it should work like this
if upkey()=1 (Can be any key you like)
XTest# = Newxvalue(X#,cAY#,5)
ZTest# = Newzvalue(Z#,cAY#,5)
If XTest#>0 and XTest#<10000 and ZTest#>0 and ZTest#<10000
X#=XTest#
Z#=ZTest#
position object 1,5+a2#,-7+a2#,10
Endif
Endif
to make the camera move from side to side like you are walking do this.
if mouseclick()=2(or whatever your key is)then Position camera X#+a2#,Y#+a2#*4+35,Z#
Bare in mind that the X#,Y#,Z# are just what I have called the coordinates and you should just add them to what you have put.
oh and heres a cool effect
position camera X#,Y#+35+a2#/4,Z#
this will make it look like you are breathing. (once again add to the main loop)
Again play around with this code till you get the result you like.
Hope it all is understandable(If not ask) and I hope it helps.
BM
Our aim is to keep the loo's clean, your aim can help.