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 / How do i implement ODE in dark gdk?

Author
Message
Neotron
14
Years of Service
User Offline
Joined: 21st Jul 2010
Location: I am in an underworld , making a E.Army
Posted: 17th Aug 2011 16:28
Hey guys.

So two days ago i sat down to make my own physics type engine, but then the ode stuff came to me from the darkbasic book. I thought that there could be a wrapper for it but instead found some people doing it. Has anyone got anything working for it.

I dont want darkphysics so dont point it to me.

Thanks in advance.

Your signature has been erased by a mod
Neotron
14
Years of Service
User Offline
Joined: 21st Jul 2010
Location: I am in an underworld , making a E.Army
Posted: 17th Aug 2011 17:48
So i searched for it and found quickODE.

Thank you pauli. Both for sparky collision and quickODE.

One question though. My game is running really slow like 20-30 fps with 280 boxes.
My specs Pentium 4 2.66 , ram 1 gb , GeForce FX5500.

Your signature has been erased by a mod
Neotron
14
Years of Service
User Offline
Joined: 21st Jul 2010
Location: I am in an underworld , making a E.Army
Posted: 18th Aug 2011 02:41
Guys i am getting about 83 warnings when i compile the demo. Followed by many break continue type windows. Help please.

Your signature has been erased by a mod
Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 18th Aug 2011 02:57
let's see if we can imagine how the warnings look like...

Neotron
14
Years of Service
User Offline
Joined: 21st Jul 2010
Location: I am in an underworld , making a E.Army
Posted: 18th Aug 2011 03:11
Well the warnings dont appear now . But while using the demo provided with quickode i get crash issue. About 254 boxes and then after a few seconds, crashes and a break point window appears.

Here are the errors:


Your signature has been erased by a mod
_Pauli_
AGK Developer
15
Years of Service
User Offline
Joined: 13th Aug 2009
Location: Germany
Posted: 18th Aug 2011 16:03
Could you post some code please?
It's hard to guess what could be wrong...
Or to what demo are you refering to?

Neotron
14
Years of Service
User Offline
Joined: 21st Jul 2010
Location: I am in an underworld , making a E.Army
Posted: 18th Aug 2011 16:38
_pauli_ , the errors are coming from your own demo provided with quickODE 1.11.

When ever i compile them. those errors come in.

Your signature has been erased by a mod
Neotron
14
Years of Service
User Offline
Joined: 21st Jul 2010
Location: I am in an underworld , making a E.Army
Posted: 18th Aug 2011 16:46
Ok let me be more detail full.
I have installed every thing (dark gdk to quick ODE).

And the demo provided with the quickODE works. But after a few seconds , it crashes and the break window appears.

Heres the demo code:


I changed nothing in it except the linear force thing.

Here are the errors when i compile the game and run it for a few seconds ,the errors are:


Now the errors come in after a few seconds. But before that , i make about 150 objects and gradually my FPS lowers down to 15 FPS.
Then it freezes and presents the error message box from the Visual studio 2008 and those errors appear one by one. I have copied everything in my compile window to the code box above.

I hope this is detail full.

Your signature has been erased by a mod

Login to post a reply

Server time is: 2024-11-19 08:22:15
Your offset time is: 2024-11-19 08:22:15