The Daily Click ::. Projects ::. Dynacorp
 

Project: Dynacorp
Project Started: 22nd April, 2009 Last Update: 19th July, 2015
Project Owner: Rox Flame Project Members:
Project Type: Action Puzzle Exploration Game Project Progress:
More Info: http://www.facebook.com/dynacorpgame Faves: 12

Introducing HWA + Box2D!
Posted 9th Jul 13, by Rox Flame  
Soooo, I got a little carried away once I got around to installing MMF2 with HWA...

Dynabrick now has the beginnings of real physics and fluid dynamics

And with the help of some nifty custom shaders, you can see the effects of some of my current experiments here!

Image
Image
Image
Image

Posted by UrbanMonk 9th July, 2013

Fluid dynamics?!?!

PLEASE post some source code for your engine. I've been trying to make something like that for ages with no luck!
 
Posted by OMC 9th July, 2013

It's so beautiful! I'd almost pay money for the source to that.

Good to see you back on Dynabrick!
 
Posted by Rox Flame 10th July, 2013

Hehe well I did pay money for some of the source, I got the water physics code from here:http://myetic-studio.fr/produits.php

And then made some changes to it so it looked more cartoony. I enlisted the help of Looki to make some initial changes to his lens shader so I could add colour to it etc...

If anyone buys the same fluid effect (the licence forbids me give away his code!) then I'd be happy to help with the additional changes I made.

I have made a bunch of improvements to what I purchased, and in fact I was ever so close to having it work without buying his code haha, I was missing one key component, was an "ahah!" moment when I saw it.
Comment edited by Rox Flame on 7/11/2013
 
Posted by UrbanMonk 10th July, 2013

Oh nice.

Did you just buy the shader? Or the physic engine too?
How is the performance?
 
Posted by Rox Flame 11th July, 2013

I bought the Water Physics engine, it comes with some shaders applied. I modified the shaders it uses, I'd be happy to hook you up with the shader code if you go down that path.
The performance depends on how large the water particles are, I've made mine pretty large as it suits the grid based game mechanics. Each particle is 16px circle with a larger display area so the overlaps can aid in making the fluid look merged into one mass.

I can fill the level about a third to halfway up with water before I notice lag kicking in. So I do need to limit the water somewhat, but it does perform pretty well.
I'll upload a video sometime soon so you can see it in action, the water refraction and shimmering effects I have in there look really nice in motion.
 
Posted by Liquixcat 12th July, 2013

I still have the alpha of this game on my Harddrive, I'm going to play it when I get home. I remember it being really fun.
 


 



Project Forums


Favourite

Advertisement

Worth A Click