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 / Having a lot of trouble with sparky's collision-- need HELP!

Author
Message
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 25th Apr 2008 02:50
Well, I have downloaded SP_Collision because I thought it would be easier to control collisions. It isn't, at least, not yet...

1. Could Someone explain what this means-


What does face pe Node mean?

2. How would I set it so that when an object hits another object it jsut stops, and you can't move it, except backwards?

3. Could someone send me a sample of how to use SC_Collision, all the samples I got had a glitch in them and aren't working

If you can answer any of these questions, I thank you very much.
Core2uu
16
Years of Service
User Offline
Joined: 15th Mar 2008
Location: Saskatoon, SK, Canada
Posted: 25th Apr 2008 04:18
1. A node is the same thing as a vertex... So they are the points on a polygon like the four points on a rectangle... If you are looking for fast detection use the setupcomplexobject method....

2.


In the above code, if object1 collides with 2 and object 1 is facing, let's say left, and object 2 is in front of it then that message comes up, if not it can move forward...

3. first of all in the main function start SC_Start();
- then setup all the objects using the setupobject or setupcomplexobject commands...
- then instead of dbObjectCollision use SC_ObjectCollision...

It should work....

~~It's not who you are underneath, but what you do that defines you.~~
programing maniac
16
Years of Service
User Offline
Joined: 19th Apr 2008
Location: Bawk, Bawkity
Posted: 25th Apr 2008 05:06
thanks, that solved all my problems for right now!

Some time I will post my game. Hopefully!
Core2uu
16
Years of Service
User Offline
Joined: 15th Mar 2008
Location: Saskatoon, SK, Canada
Posted: 25th Apr 2008 05:09
Glad to be of help...

~~It's not who you are underneath, but what you do that defines you.~~

Login to post a reply

Server time is: 2024-09-29 19:15:07
Your offset time is: 2024-09-29 19:15:07