Do this for two objects
set object collision on objnum
set polygon collision on objnum
Make some movement code
if upkey()=1 then move object obj1,1
Do this once
if object collision(obj1,obj2)=1 and upkey()=1
move object obj1,-1
endif
Then just loop all that together and it should work.
Polygon collision should work if you're on patch 5.4. If it isn't, try adding more polygons to your objects, this way it has more of a chance to collide into something.
Also, if one object is signaficantly larger than the other, you may have some problems.
If you still need some code or more help, please post here or at the Curved Basic forums and I'll get to you as soon as possible.
A book? I hate book. Book is stupid.
(Formerly known as Yellow)