Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / multiple collisions

Author
Message
reaper
19
Years of Service
User Offline
Joined: 10th Feb 2006
Location:
Posted: 31st Jul 2006 20:46
i have a question about collisions. I placed three if statements in my code but i cannot get them to work properly except on one of them. any help is appreciated.
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 1st Aug 2006 00:36
For some strange reason this works:




But if you want it to work on every object just use this. I changed IF OBJECT COLLISION(camobj,3) into IF OBJECT COLLISION(camobj,0), and erased all the other collision stuff. The 0 makes it apply for ALL of the objects.



reaper
19
Years of Service
User Offline
Joined: 10th Feb 2006
Location:
Posted: 2nd Aug 2006 02:57
thank you.

Login to post a reply

Server time is: 2025-05-25 06:19:47
Your offset time is: 2025-05-25 06:19:47