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 / Object Collisions

Author
Message
Nithead
15
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Hampshire, England
Posted: 14th Mar 2009 21:42


At the moment i am trying to make my program so that when two spheres collide it makes a new one. all it does at the moment though is spawn a new one at the beggining which doesnt move, and nothing else happens. ive been trying to make this work for ages.

please help.

True geeks live forever, or die trying.
Xoddam
15
Years of Service
User Offline
Joined: 9th Mar 2009
Location:
Posted: 15th Mar 2009 03:06
I just copied and pasted your code into Vc++ and there are 8 warnings and 5 errors. lol
Nithead
15
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Hampshire, England
Posted: 15th Mar 2009 10:55
realy? i don't seem to get any errors at all when i run it. are you sure everything is linking ok?

True geeks live forever, or die trying.
silenus
15
Years of Service
User Offline
Joined: 4th Mar 2009
Location:
Posted: 15th Mar 2009 12:04
There ar no errors and no warnings. I c&ped in VC2008 and it works fine.
When I come home this evening I first try to understand your code, and then I try to help you
Nithead
15
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Hampshire, England
Posted: 15th Mar 2009 16:36
I suppose i should explain it. Ok i will annotate the code for you



True geeks live forever, or die trying.
Indecom
17
Years of Service
User Offline
Joined: 23rd May 2007
Location:
Posted: 6th Jun 2009 04:51

that part right there can mostly be shortened to this:

Keeps things short and tidy, easier to sift through.

Login to post a reply

Server time is: 2024-11-05 22:58:03
Your offset time is: 2024-11-05 22:58:03