8000 Adding Liquids · Issue #211 · viblo/pymunk · GitHub
[go: up one dir, main page]

Skip to content

Adding Liquids #211

Open
Open

Description

@eschan145

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.

Activity

  1. changed the title [-]Liquids[/-] [+]Adding Liquids[/+] on Jul 24, 2022
  2. viblo commented on Jul 26, 2022

    @viblo
    Owner

    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.

  3. eschan145 commented on Jul 26, 2022

    @eschan145
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0