Skip to content
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

Adding Liquids #211

Open
eschan145 opened this issue Jul 24, 2022 · 2 comments
Open

Adding Liquids #211

eschan145 opened this issue Jul 24, 2022 · 2 comments

Comments

@eschan145
Copy link

It would be pretty cool if we could add liquids that flow around and react to gravity. These could be common in platformer games like lava or just water.

@eschan145 eschan145 changed the title Liquids Adding Liquids Jul 24, 2022
@viblo
Copy link
Owner

viblo commented Jul 26, 2022

Agreed! Tricky part is implementation.. What you can do now is to fake it by using lots of small circles together with some fluid like rendering on top. When I tried something like this a long time ago I wrote a metaballs shader in pyglet with lots of little circles. Worked quite well for what I think you are after, the biggest bottleneck is performance I think.

@eschan145
Copy link
Author

They would take density for parameters so you could know how much they flow around objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants