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 / Question about collision detection

Author
Message
Orient
16
Years of Service
User Offline
Joined: 2nd Aug 2008
Location:
Posted: 7th Aug 2008 16:25 Edited at: 7th Aug 2008 19:50
Hi, and sorry to fill the forum with nub posts. I'm currently working on learning the basics, starting with sprites and 2D programming. I'm at the point now where I need to figure out collision detection.. how do I do it? I recall reading a post implying that there was some type of detection system built into DarkGDK. If that is the case, how do you use it?

Anyway, code snippets or links to a tutorial would be greatly appreciated, and thank you all for your help so far!
rzx15
16
Years of Service
User Offline
Joined: 31st Jul 2008
Location:
Posted: 11th Aug 2008 03:25
There are built in commands, but their performance is awful. Try this instead:

http://forum.thegamecreators.com/?m=forum_view&t=74762&b=5

It's a whole lot better, and faster. An example of usage can be found here:

http://code.google.com/p/darkgdkoop

Go the "Downloads" tab, and download "JegasLLC_JGC_Library_Version_02_00.zip", unzip it, and open up "Sparky Config HowTo.vcproj" in VS.

Good luck!

Login to post a reply

Server time is: 2024-11-20 17:40:05
Your offset time is: 2024-11-20 17:40:05