I don't know too much but I think if u do something like this
speed=5
make object sphere 1,3 : position object 1,250,0,0
make object cube 2,20,30,40 : position object 2,250,0,250
set autocam off : position camera 250,0,0
do
if upkey()=1 then move object 1,speed
if downkey()=1 then move object 1,speed
if rightkey()=1 then turn object right 1,6
if leftkey()=1 then turn object left 1,6
set object collision to boxes 2
set object collision to sphere 1
if object collision(1,2)>0 then speed=0
sync
loop
I dunno if it works, but I hope it work!
edit:
it doesn't works
CURRENT PROJECT: RETRO PAC-MAN