okey here we go
make matrix 1,1000,1000,10,10
make object cube 1,4
make object cube 2,4
set object collision on 1
set object collision on 2
set object collision to boxes 1
set object collision to boxes 2
position object 2,0,0,10
do
z1#=object position z(1)
set camera to follow 0,0,z1#,90,10,5,1,1
if upkey()=1 then move object 1,2.2
if downkey()=1 then move object 1,-2.2
if rightkey()=1 then move object 2,-2.2
if leftkey()=1 then move object 2,2.2
if object collision(1,2)=1 and object speed(1)=>object speed(2)
move object 1,-2.2
endif
if object collision(2,1)=1 and object speed(2)=<object speed(1)
move object 2,2.2
endif
if object collision(2,1)=1
move object 2,2.2
endif
loop
Stupidity is a gift unwrap it in joy.
nobody is perfect, I am nobody