Difference between revisions of "AMOSi:Hard Col"

From Amiga Coding
Jump to: navigation, search
m (1 revision(s))
 
(Extracted from the AMOSPro V2.00 helpfile)
(No difference)

Revision as of 02:45, 17 November 2007

Returns the result of the hardware collision detector you've activated with the SET HARDCOL command. If the test is successful you'll get a value of True (-1). Otherwise the result will be False (0).


You can now find the identification number of any other sprites involved in the collision using the COL function as normal.


test=Hardcol(spritenumber)