Hello. I was reading the following in a DB tut:
"We use a value of 0 to instruct DarkBASIC that we wish to check for collision against any other object in the scene.
By setting it to 0 it will return the value of the object, that object number 10 collides with. This command returns a value of 0 if no collision event is detected. If the value is greater than 0, a collision event is detected and we position the object where it was before it collided"
OK. My question is: By the bolded statement above, the collision check could return a value = whatever the object number is it collided with. Hmmm. I thought it would only return 0 for false and 1 for true. The DBpro (which is what I use) reference guide does not mention anything of this. Any help is appreciated, as if it can return different values, that would make a
huge difference in a program. Thanks!
Fraggles where quite the scary lot...