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.

Newcomers DBPro Corner / Collision help(DBP)

Author
Message
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 30th May 2006 22:13
OK im working an my game,BUT i never learned collision

AND i cant figure it out either...

so i decided to ask for help.Ill post my code and Hopefully that helps enough to get it working at your place(It uses DB Collision DLL V2.0)
Long code:


Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
bob marley
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location:
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 2nd Jun 2006 15:34
For DBC collision?

tell me a website.

bob marley
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location:
Posted: 2nd Jun 2006 15:58
<a target="_blank" href="www.thegamecreators.com">Hheres a sick site, really helpfull, it has a few annoying ppl though </a>
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 2nd Jun 2006 17:30
VERY funny...

now someone who REALY can help...I still havent figured out how to do Collision...

bob marley
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location:
Posted: 2nd Jun 2006 17:34
run into a wall!!
Silvester
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 2nd Jun 2006 18:05
NO i didnt meant the law of Mr.Newton in Real life...i meant in the GAME!!!!!

Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 12th Jun 2006 23:08
Okay what type of collision do you want? If you want it to check to see if two object are colliding (when objects are colliding it means that they are overlapping) then use the command "Object Collision(Object A, Object B)"

Object A=Object number of first object
OBject B=Object number of second object

IF these two objects are colliding then a value of 1 is returned! Look up the command for more.



I BET you already knew that Sorry if that did not help at all but I think it's more helpful than Bob Marley saying...

Quote: "run into a wall!!"


Don't you agree?

Hope this helped in some way.


But seriously study the examples they have (if using DBClassic.... DBPro examples I think are far less useful...) you're bound to find something. Look under Basic3D and the collision section.


GOOD FOR YOU! YOU FINALLY DREW A PERFECT SQUARE AFTER ALL OF THOSE LONG YEARS! Well, only fifty-nine more to go before anybody will notice.
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 12th Jun 2006 23:11
OOPS sorry didn't see that you were using DBP my bad Anyway, if you have DBC then check the examples but if not then I can try and post some of the examples here for you to look at, or I could try to help. Either one is OK

GOOD FOR YOU! YOU FINALLY DREW A PERFECT SQUARE AFTER ALL OF THOSE LONG YEARS! Well, only fifty-nine more to go before anybody will notice.

Login to post a reply

Server time is: 2024-11-26 19:45:45
Your offset time is: 2024-11-26 19:45:45