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 / kenspun Collision code converted to c++

Author
Message
zao420
20
Years of Service
User Offline
Joined: 5th Aug 2003
Location: Canada
Posted: 11th Jan 2005 07:03 Edited at: 11th Jan 2005 07:11
I was going to just use newton for collsion but since i am just learning c++ i decided it would better to get the language down first so i converted kenspun code to c++ for dark sdk.

Collsion.cpp


Collision.h


http://cavesoft.no-ip.com
WIP Version of my site. Usally it is offline.
http://dev-cavesoft.no-ip.com
billy the kid
19
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 11th Jan 2005 07:07
Think you messed up the .h one.
zao420
20
Years of Service
User Offline
Joined: 5th Aug 2003
Location: Canada
Posted: 11th Jan 2005 07:12
fixed

http://cavesoft.no-ip.com
WIP Version of my site. Usally it is offline.
http://dev-cavesoft.no-ip.com
zao420
20
Years of Service
User Offline
Joined: 5th Aug 2003
Location: Canada
Posted: 14th Jan 2005 06:57
OK i noticed after converting more of my game over to c++ that the code i posted will not work, the if statement i put are wrong, i will repost it all when i have it all working good, haven't really tested the gravity part, for ramps and stuff, after thats all working i will post to source to with a demo.

http://cavesoft.no-ip.com
WIP Version of my site. Usally it is offline.
http://dev-cavesoft.no-ip.com

Login to post a reply

Server time is: 2024-03-01 07:46:57
Your offset time is: 2024-03-01 07:46:57