|
Post by Joao on Nov 12, 2006 7:57:42 GMT -5
Can someone explain the undocumented function Collision(), its parameters and everything else? thank you
|
|
|
Post by Tulio Adriano on Nov 13, 2006 15:08:29 GMT -5
Hi Joao! ;D As far as I know, the collision flag is generic for all sprites and will return true (1) if two sprites are in collision. And as far as I know there are no way to find out which sprites are in collision, wich makes a little difficult to program complex games relying on that flag. The best way I found to control collisions was using array (although current BEX supports only vectors/single column array) maps. If you need any help, don't hesitate in ask or PM for it!
|
|
|
Post by unsurreal on Nov 15, 2006 11:32:09 GMT -5
I'm João, now I'm Registered Well, I figured out it works this way: collision(Sprite1,Sprite2) But its too s l o w ... Can you explain this method of yours to check collisions?
|
|