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 Professional Discussion / how to change a variable only when you want

Author
Message
Mikeygd3
11
Years of Service
User Offline
Joined: 18th Dec 2013
Location:
Posted: 8th Feb 2014 01:21
i wanna know how to change a variable when lets say one objecct collides with another. and when its not colliding, it changes back
Rudolpho
19
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 8th Feb 2014 12:11



"Why do programmers get Halloween and Christmas mixed up?"
Derek Darkly
13
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 8th Feb 2014 14:39
OBJECT COLLISION (Obj1,Obj2) will do it, like Rudolpho suggests:



Login to post a reply

Server time is: 2025-05-15 11:01:07
Your offset time is: 2025-05-15 11:01:07