-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fluid Elements #30
Comments
I have made adjustments to this recently when I started working on this again. I realize this is an old issue but i thought I would share. I have added a stepping system into fluids to track increments and prevent flooding. You can adjust the maxStep variable to how many steps/size increases you want to allow water to spread. in physics.js replace fluids section with this:
In block.js update BLOCK.WATER, BLOCK.LAVA, or any other liquids you might have so they have a step option:
|
You can't walk through fluid elements, you just stand on them, and they expand till they cover the map or till they hit another block
The text was updated successfully, but these errors were encountered: