News:

If you need instructions on how to get through the hotels, check out the enclosed instruction book.

Main Menu

"Water" Physics Engine?

Farted by F U Clock, October 05, 2011, 02:12:26 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

F U Clock

Rather than resurrect the old topic of the game my company's working on I figured this is a specific enough problem to require its own thread.

I'm wondering if any of you have seen or used a code that would be able to make a bunch of circles realistically move around over a surface in a manner similar to water. Piney gave me an entire physics engine library which I sent to our developer but I'm trying to load up my arsenal in case that proves too complex. Here's a test my friend drew up that illustrates what we're trying to do, except with more than one drop of water and without the bounciness:

EDIT: REMOOOVED!

If I'm being too vague/leaving out info let me know, I've been working on this project too long and assume everyone knows what I'm talking about. Thanks guys.

SpongeClock SquarePants

This is a really nice example : http://www.patrickmatte.com/stuff/physicsLiquid/

Pretty straightforward but ingenious solution using the APE physics engine.


Here's the article with the link to the source
http://www.patrickmatte.com/index.php/2009/06/16/simulating-liquid-with-a-physics-engine-in-actionscript-3/

SpongeClock SquarePants

Quote from: SpongeClock SquarePants;1864164This is a really nice example : http://www.patrickmatte.com/stuff/physicsLiquid/

Pretty straightforward but ingenious solution using the APE physics engine.


Here's the article with the link to the source
http://www.patrickmatte.com/index.php/2009/06/16/simulating-liquid-with-a-physics-engine-in-actionscript-3/

F U Clock

Man that is absolutely fucking nuts. I'm totally gonna send this to our developer. I can't get over how realistic this looks. Thanks mang!

BluezombieClock

Quote from: SpongeClock SquarePants;1864164This is a really nice example : http://www.patrickmatte.com/stuff/physicsLiquid/

Pretty straightforward but ingenious solution using the APE physics engine.


Here's the article with the link to the source
http://www.patrickmatte.com/index.php/2009/06/16/simulating-liquid-with-a-physics-engine-in-actionscript-3/

That's REALLY cool!
╔═════════════════ ೋáÆ'¦â˜Æ'áÆ'¦à³‹ ════════════════â•â€"
~ ~ ~ ~ ~ ~ ~ ~ ~ Repost this if ~ ~ ~ ~ ~ ~ ~ ~ ~
~ ~ ~ ~ you are a beautiful strong black woman ~ ~ ~
~ ~ ~ ~ ~ ~ ~ who donââ,¬â,,¢t need no man ~ ~ ~ ~ ~ ~ ~
╚═════════════════ ೋáÆ'¦â˜Æ'áÆ'¦à³‹ ════════════════╝

☣ Motionmaker[/URL]


SpongeClock SquarePants


F U Clock

#6
It's going... okay. The actual physics are fine, but we only have until the end of the month to finish development so it's going to get pretty tight. This is what the developer's come up with so far:

http://evanr.tv/preview/flash/ITT/

And these are the graphics I set up, so this is how it should look once it's moved over to the new layout:

http://phgtestsite.com/ITT-Game/blankgame.html

EDIT: Just wanted to add that I did send that link you provided SCSP, he just thought he didn't have time to implement it. Which is a shame cause dayum it looks cool.

SpongeClock SquarePants

Looking good. Will there also be an aption to add some pipes after testing the water flow, instead of erasing the whole playfield and starting over when my construction doesnt work out?