'Set the sprites...SPSET spriteNo,defNo
'defNo can be specified in SPDEF.
SPSET 0,0:SPSET 1,1
'Set sprites collision...SPCOL spNo[,scale-support-flag]
'If you want to use SPSCALE after SPCOL, you must to set scale-support-flag to 1(true).
SPCOL 0:SPCOL 1
'Loop begin
WHILE 1
'Detect sprite hit...SPHITSP(spNo)
'If spNo is hit other sprite, SPHITSP return other than -1
hitsp=SPHITSP(0)
0そうだね 未プレイ