gelly-gmod / gelly

Library to integrate fluids into a game engine
GNU General Public License v3.0
18 stars 3 forks source link


Grab the GMod addon


[!IMPORTANT] Gelly is free open-source software. It is provided without warranty or support. There is no obligation to provide support or updates for Gelly. You are free to use, modify, and distribute Gelly as you see fit according to the license.

Welcome to Gelly, a primarily Garry's Mod addon which enables sandbox-oriented fluid simulation.

Features

Gelly is equipped with a high-performance fluid rendering system to deliver a smooth and visually appealing look. The fluid simulation uses FleX as its backend, which is a particle-based physics engine that has a game-oriented fluid simulation system.

A few of the notable features of Gelly include:

[!NOTE] Time control is not perfect, and it is not guaranteed to work as expected. It can change the results of the simulation, such as things like Gell-O just falling and not holding its shape. This is a limitation of the FleX backend, and it is not something that can be fixed easily.

[!NOTE] As of writing, custom presets are not supported. This is a planned feature, but it is not implemented yet.

Installation

It's simple, just go over to the releases page and download the latest version of Gelly. Extract the contents of the archive to your Garry's Mod folder, the one opened by Steam when you click on "Browse local files" in the game's menu.

This is also reiterated in the releases.

[!IMPORTANT] Gelly requires a 64-bit operating system to run. If you are running a 32-bit operating system, Gelly will not work. Additionally, Gelly requires that you run GMod in 64-bit mode. If you are running GMod in 32-bit mode, Gelly will not run. Another important note is that Gelly does require GMod to be running in D3D9Ex mode. This is usually always the case, but if you have a launch parameter of -nod3d9ex, Gelly will bail on first load.

Gelly requires a GPU that supports DirectX 11.4. If you're unsure, most GPUs made past 2012 should support it.

Bugs and Issues

If you encounter any bugs or issues, please report them on the issue tracker. Please provide as much information as possible, and do not try to free-hand the issue.

The provided forms are there for a reason, and they help me understand the issue better.

[!IMPORTANT] Again, Gelly is my project, and I am not obligated to provide support or updates for it. However, I will try to fix any issues that are reported.

How to retrieve your log

Gelly produces highly detailed, but not personally identifiable logs. These logs are stored in the root folder of Garry's Mod, like the one you extracted Gelly to. The log is named gelly-date.log, where date is the date of the game session.

Contributing

Please hold off on contributing code/features until the project is more mature. PRs are welcome, but they will likely be rejected until the project is more mature. Right now, style guide and code linting are not enforced, which is a big blocker for PRs.

However, suggestions and bug reports are always welcome.

License

Gelly is licensed under the GPL v3.0 license. You can find the full license text in the LICENSE file.

I chose this license because of the passion project nature of Gelly, and I want to ensure that it remains open-source in case anyone wants to continue development once I inevitably abandon it.

[!NOTE] Gelly is not that serious of a project, there's no worries if you just want to steal the code and rebrand it. Nobody will care, but I do like a little credit.

Acknowledgements

Gelly would not be possible without the following projects and people: