Difference between revisions of "AMOSi:Hard Col"

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

Latest revision as of 01:51, 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)