Dark Bit Factory & Gravity

GENERAL => Challenges & Competitions => Topic started by: Kirl on March 08, 2010

Title: [LIQUID] - color paint
Post by: Kirl on March 08, 2010
Here is my entry for the contest, I learned a lot while putting this together. The splash screen is directly inspired by Optimus' entry (though a lot simpler to implement), I always loved the 2d ripple effects, but I never tried them myself.

I link to the swf directly, so you can resize with the browser window. The splash screen might be a bit low-res at full screen, you can resize your browser, or call it retro. :)

I'm interested to hear about performance on your machine, it seems to improve at smaller sizes.

 https://www.youtube.com/watch?v=CT5v8qaR-gc&t (https://www.youtube.com/watch?v=CT5v8qaR-gc&t)

The arrow keys do various things.
http://kirl.nl/DBFLiquid.swf

[EDIT] added screenshot
Title: Re: [LIQUID] - color paint
Post by: rdc on March 08, 2010
That is a neat entry. Very creative. I like the intro screen. Runs fine for me using FF.
Title: Re: [LIQUID] - color paint
Post by: Clyde on March 08, 2010
Awesome work Dude :)
Title: Re: [LIQUID] - color paint
Post by: Kirl on March 08, 2010
Thanks! :)

At around what nr of drops does your fps start to dip?
Once upon a time I bought a pretty powerfull machine but I have no idea how it compares today, which can be difficult with development.

I keep fps steady up to around 50-60 drops, with a smaller browser window up to around 70-80.
Title: Re: [LIQUID] - color paint
Post by: Shockwave on March 08, 2010
Wonderful :)

I can't decide whether I like the title screen more than the actual effect!
Title: Re: [LIQUID] - color paint
Post by: Rbz on March 08, 2010
Very nice effect.

I got 24 fps in a small window and I can watch it properly, I've a core2duo 2.40 ghz, geforce 8800 gts.
Title: Re: [LIQUID] - color paint
Post by: benny! on March 08, 2010
Awesome work. And extra bonus applaus for entering a flash entry.
Like it a lot!
 :clap:
Title: Re: [LIQUID] - color paint
Post by: Positron on March 09, 2010
Great work. I really enjoyed to play with.
Title: Re: [LIQUID] - color paint
Post by: da_fatstuff on March 09, 2010
 :clap: That is excellent - loved it!
Title: Re: [LIQUID] - color paint
Post by: Pixel_Outlaw on March 10, 2010
I liked both effects and it was quite interesting to see that you implemented color mixing!
Title: Re: [LIQUID] - color paint
Post by: dmitrinove on March 11, 2010
:clap: Funny, realy funny. :clap:
I would start to learn programming flash reading your source code
Title: Re: [LIQUID] - color paint
Post by: Kirl on March 11, 2010
Thanks all! I was enjoying it as well, so I have added sound and music, you can now really splash around in the splash screen! :)

The music shows off the color mixing a bit better. I tried making the paint dance to the microphone input, so it would dance to any music, but AS2's mic function has got some serious echo issues unfortunatly. :(

conte0, I don't think it's good source to start, it be pretty messy. I can explain a specific function if you want though.
Title: Re: [LIQUID] - color paint
Post by: Clyde on March 11, 2010
Hypnotic Liquid Drops!! 8)
I really like the shading effect.
the fps is 24, if thats of any use.
Title: Re: [LIQUID] - color paint
Post by: pixotica on March 14, 2010
Very cool stuff. That openeing screen rocks!
Title: Re: [LIQUID] - color paint
Post by: nzo on March 14, 2010
Fantastic stuff.
It was brilliant even before switching the music on!

I really like it.
Title: Re: [LIQUID] - color paint
Post by: Kirl on March 15, 2010
Thank you! I liked the way it turned out as well, couldn't stop playing with it myself. :)

The color mixing was easier then I had expected, because the entire fluid consists of multiple balls/drops, the lot of them together mix the colors smoothly enough, while the actual mixing between 2 drops/colors is a single step (sum of both their color values divided by 2).

[edit]
BTW, Flash uses a fixed framerate (25 fps in this case), so fps is only usefull in relation to the nr of drops. I'm mostly interested at around what nr of drops, fps start to fall for you. I keep fps steady up to around 50-60 drops at normal size.
Title: Re: [LIQUID] - color paint
Post by: va!n on March 17, 2010
Just awesome! You have my vote ;)
Title: Re: [LIQUID] - color paint
Post by: Optimus on March 18, 2010
That's awesome! The second part is great and is something I was also thinking to try as a second entry but didn't :)
Title: Re: [LIQUID] - color paint
Post by: Xalthorn on April 02, 2010
That's just way too fun ;)
Title: Re: [LIQUID] - color paint
Post by: combatking0 on April 09, 2010
Yay, another flash entry. I like the colour blending. I can guess all I want as to how you did it, but it could take me years. Genius.
Title: Re: [LIQUID] - color paint
Post by: Praecor on April 11, 2010
Awesome thing, controls are working very well, and the liquid moves very fluently. Unbelievable you can do such a thing in the web-browser and this many fps!
Title: Re: [LIQUID] - color paint
Post by: Shockwave on April 25, 2010
Kirl, please check your PM's!
I have already sent Padman his prize, I need your Paypal address to send you yours!
Title: Re: [LIQUID] - color paint
Post by: Kirl on April 25, 2010
Sorry, I just rolled out of bed on this side of the planet. PM sent.