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.

Dark GDK / Sparky's Collision in my Project

Author
Message
Awesomest
15
Years of Service
User Offline
Joined: 13th Oct 2009
Location:
Posted: 13th Oct 2009 16:31
I'm trying to get collision to work between two .x object in my current project. Whenever the objects get close, sparky's starts to use up tons of my computers resources, but once they overlap it is not returning that they have collided.

Here is the code:



The coding is a bit messy because I've just been playing around with dark GDK. Any help would be greatly appreciated.

Thanks!

alalala
SFCBias
15
Years of Service
User Offline
Joined: 8th Aug 2009
Location: Hephzibah, GA, USA
Posted: 13th Oct 2009 19:12
I recommend you look at the Sliding Collision Demo and study the code, it should work as it is what im using.

if(You.AddCode.toPost)TGC.Users.CanHelp = true;
else return NoCodeMessage;

Login to post a reply

Server time is: 2024-11-20 13:28:02
Your offset time is: 2024-11-20 13:28:02