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.

Code Snippets / [DBP] - 2d Minecraft water physics

Author
Message
Alien002
12
Years of Service
User Offline
Joined: 25th May 2011
Location:
Posted: 30th Jul 2011 08:46
Basic water physics like minecraft in 2d.

There are problem with this snippet R1 to R3 add and delete to fast.

warning 800+ lines snippet
Most of the size is the water checks.



i'm starting working on a more complex version of water physics.
i will post it in a day ot 2.

The attachment is the snippet in a zip file.

Attachments

Login to view attachments
Alien002
12
Years of Service
User Offline
Joined: 25th May 2011
Location:
Posted: 1st Aug 2011 03:54
Here is Version 2 of my water physics.

I have change to search method to some thing better.

There graphics have been changed.

Water does not spreed on the flat there could be added to the search list.

433 lines snippet



In The attachmentt is the snippet. Water V2 screen shot and Water V3 screen shot.

Some notes on version 3.
water does not level out correct but can be used to make sand flow the right way.

Working on Version 4 got plans for version 5 and may be 6 .

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-04-18 05:12:24
Your offset time is: 2024-04-18 05:12:24