Hey, Glad you liked it!
SabsBaka
10
Posts
1
Followers
7
Following
A member registered Mar 04, 2021 · View creator page →
Creator of
Recent community posts
Thanks for the feedback!
What I use to merge the water particles is an algorithm called metaballs, in short you go through all the pixels on the screen and sum the distance between the particles and that pixel. If the sum value is high enough then the pixel is rendered as water.
I completely forgot the source code, if you want to check it out: https://github.com/GuilOliveira/MyWaterBox
Pet the cat, new scenario and characters, first game events and HUGE improvements comments · Posted in Pet the cat, new scenario and characters, first game events and HUGE improvements comments