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 / QuickODE 2D Sample

Author
Message
_Pauli_
AGK Developer
14
Years of Service
User Offline
Joined: 13th Aug 2009
Location: Germany
Posted: 12th Jul 2010 20:06 Edited at: 12th Jul 2010 20:53
Hey guys,

I've just released a new version of QuickODE (check my latest post there for detailed information).
To show some of the new functionality I attached a compiled version of a sample that is part of the new release. It shows QuickODE 2D mode in action.

I hope you like it.
Comments and critics are welcome!

Now the plot thickens, the fps decreases, and the awesomeness goes through the roof.

Attachments

Login to view attachments
Matty H
15
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 12th Jul 2010 22:31 Edited at: 12th Jul 2010 22:34
Very cool demo, is that 3D with one dimension ignored?
I think it is as the ball is lit, are the other objects 3D also?
I wonder whether you could use sprites also, the z-axis angle could maybe be the sprite angle and then position them as normal, what do you think?

EDIT: Lol, I just challenged myself to knock a box out of the container, done it pretty quick, funny that using physics can give instant playability without too much work.

_Pauli_
AGK Developer
14
Years of Service
User Offline
Joined: 13th Aug 2009
Location: Germany
Posted: 12th Jul 2010 23:02 Edited at: 12th Jul 2010 23:12
Quote: "Lol, I just challenged myself to knock a box out of the container"


Oh dude, you won't believe how much I did this in the meantime
Try to kick a box straight upwards, then try to knock it again - volley style

Quote: "is that 3D with one dimension ignored"


No, unfortunatly just ignoring the Z axis doesn't do the job. It's a bit more complex. My way was to first attach a 2D joint to each object, that constrains it on the plane. Then there are some ugly quaternion things again, to constrain rotations to the Z axis. All this has to be done so that the physics simulation itself stays consistent and believable! Now this is all being done for you by QuickODE by just switching 2D mode on
But you're right that the objects you actually see are normal DarkGDK 3D objects. Of course you can do all sorts of stuff with them: Hide them and align sprites to them, texture thin boxes to appear like sprites, keep the 3D look, ...

I'm glad you like it!

Now the plot thickens, the fps decreases, and the awesomeness goes through the roof.
HOW Dark GDK COR
13
Years of Service
User Offline
Joined: 18th Jul 2010
Location:
Posted: 22nd Jul 2010 20:11
thx, i learn it

newer

Login to post a reply

Server time is: 2024-03-29 13:35:34
Your offset time is: 2024-03-29 13:35:34