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
12
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
20
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
14
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: 2026-07-07 01:54:00
Your offset time is: 2026-07-07 01:54:00