Hi,
I am working in a new project and i need a help.
see this shot :
What I want is to make a lighting effect, so the end of the edge be darker and the player cant see what's at the end .. like this :
yes, i want to make an infinity path effect, and for the texture I'm gonna handle it later.
this is the code :
sync on
sync rate 60
hide mouse
load object "world.x",1
position camera limb position x(1,2),limb position y(1,2),limb position z(1,2)
make object cube 2,1
PERFORM CHECKLIST FOR OBJECT LIMBS 1
rotate camera 0,0,0
do
hide object 2
hide limb 1,1
position object 2,camera position x(0),camera position y(0),camera position z(0)
if limb collision(1,1,2,0)=1 then position camera limb position x(1,2),limb position y(1,2),limb position z(1,2)
move camera 0.5
move camera (upkey()-downkey())
` rotate camera camera angle x()+mousemovey()/5.0,camera angle y()+mousemovex()/5.0,0
position mouse screen width()/2,screen height()/2
` for c=1 to checklist quantity()
` text 10,10*c,str$(c)+ " :"+checklist string$(c)
` NEXT c
` text 10,100,"collision :"+ str$(limb collision(1,1,2,0))
`text 10,120,"cam angle :"+ str$(camera angle x(0))
sync
LOOp
the whole project is attached !
thanks.