AMOSi:Bob Col

From Amiga Coding
Revision as of 01:51, 17 November 2007 by Spellcoder (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

an example can be found on AMOSPro_Tutorial:Tutorials/Collision_Detection.AMOS


Detects COLlisions between one or more blitter objects. If a collision is detected, BOB COL will return a value of -1. Otherwise you'll get a 0 instead.


c=Bob Col(source)

If you want to restrict your test to just a selection of bobs, you can optionally extend the BOB COL command like so:


c=Bob Col(source,first TO last)