here is a good example of how i use sparkys collision, i use functions to make my player object and level object, then in the function i declair how i want my collision to be set up, then i place thease functions in the loop of the game.
function makeLevel()
load object "levelbanktestleveluniverse.dbo",1,0
SC_setupObject 1 , 1 ,0
LM Add Light Map Object 1,0,1
`sc_setupObject 1,1,0
rem all level objects are group 1
endfunction
function makePlayer()
load object "mediaalien 1.x",2
set effect on 2,"mediaalien 1.fx",1
set object specular 2,0
fix object pivot 2
point object 2,0,0,0
rotate object 2,0,180,-0
scale object 2,100,75,100
position object 2,170,2, -430
SET OBJECT SPEED 2,50
SC_setupObject 2 , 2 ,2
rem 170,2, -430
endfunction
function movePlayer()
do you see the
SC_setupObject 1 , 1 ,0
this is sparkys command to set up collision for my main map
then for my player object i use
SC_setupObject 2 , 2 ,2
dweeb