All Projects → tterrasson → liquid-simulator-godot

tterrasson / liquid-simulator-godot

Licence: MIT license
2D Liquid simulator with cellular automaton in Godot (GDNative / C++) - Godot 3.2

Programming Languages

C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language
GAP
223 projects
GDScript
375 projects

Projects that are alternatives of or similar to liquid-simulator-godot

WarZone 2
Top down multiplayer shooting game made using godot engine for android
Stars: ✭ 14 (-78.12%)
Mutual labels:  godot, 2d-game, gdnative
godot-FLMusicLib
GDNative library that plays mp3, chiptune and tracker music files using Game Music Emu, Minimp3 and openmpt
Stars: ✭ 38 (-40.62%)
Mutual labels:  godot, gdnative
godot entt example
A simple example on how to use entt (https://github.com/skypjack/entt) within godot
Stars: ✭ 36 (-43.75%)
Mutual labels:  godot, gdnative
fmod-gdnative
FMOD Studio integration and bindings for the Godot game engine
Stars: ✭ 102 (+59.38%)
Mutual labels:  godot, gdnative
Godot Platformer 2d
2d Metroidvania-inspired game for the 2019 GDquest Godot Kickstarter course project.
Stars: ✭ 365 (+470.31%)
Mutual labels:  godot, 2d-game
goblins-game-gd
Turn based strategy game made with Godot Engine.
Stars: ✭ 68 (+6.25%)
Mutual labels:  godot, 2d-game
Qurobullet
A powerful 2D projectile system module for Godot!
Stars: ✭ 78 (+21.88%)
Mutual labels:  godot, 2d-game
godot-lua-pluginscript
Godot PluginScript for the Lua language, currently based on LuaJIT's FFI
Stars: ✭ 182 (+184.38%)
Mutual labels:  godot, gdnative
Godot Demos
Dozens of free and open source demos for the Godot game engine
Stars: ✭ 1,231 (+1823.44%)
Mutual labels:  godot, 2d-game
PixelDot
Godot plugin for making 2D sandbox games like Terraria and Starbound.
Stars: ✭ 57 (-10.94%)
Mutual labels:  godot, 2d-game
godot-cpp-cmake
CMake scripts to build cross-platform GDNative C++ bindings
Stars: ✭ 20 (-68.75%)
Mutual labels:  godot, gdnative
A-Key-s-Path
A short puzzle-platformer game made with Godot, running on GLES 2.0.
Stars: ✭ 146 (+128.13%)
Mutual labels:  godot
gdscript-online.github.io
Try out GDScript without installing Godot
Stars: ✭ 62 (-3.12%)
Mutual labels:  godot
godot-admob-editor
This repository is for Godot's Addons to integrate natively AdMob to your Game Project without much configurations, with a beautiful UI and directly inside Godot Editor!
Stars: ✭ 43 (-32.81%)
Mutual labels:  godot
CellForest
A cellular-automaton forest simulation set to live data-driven music.
Stars: ✭ 19 (-70.31%)
Mutual labels:  godot
godot-dockable-container
Dockable/tiling UI panels Container addon for Godot
Stars: ✭ 70 (+9.38%)
Mutual labels:  godot
godot-trackball-camera
A short Godot addon that adds a TrackballCamera node without gimbal lock.
Stars: ✭ 22 (-65.62%)
Mutual labels:  godot
Driftwood
Driftwood 2D Tiling Game Engine and Development Suite
Stars: ✭ 23 (-64.06%)
Mutual labels:  2d-game
godot 2d navmesh generator
Godot plugin that generates a 2D navigation mesh from collsion nodes.
Stars: ✭ 35 (-45.31%)
Mutual labels:  godot
cellular-automata-explorer
(WIP) An interactive web app for exploring cellular automata.
Stars: ✭ 18 (-71.87%)
Mutual labels:  cellular-automaton

Hello, welcome to AJ-Wi the space where we learn together

LiquidSim

2D Liquid simulator with cellular automaton in Godot Engine (GDNative / C++) - NativeScript 1.1

prerequisites

  • Godot 3.x executable

  • C++ compiler

  • SCons as a build tool

  • emcc compiler


API

$LiquidSim.start() : Start the simulation (started by default)

$LiquidSim.stop() : Stop the simulation

$LiquidSim.update_simulation() : Force an update

$LiquidSim.cleanup_empty_cells() : Cleanup all empty cell (automatic)

$LiquidSim.add_liquid(int x, int y, float amount) : Add some liquid to the cell

$LiquidSim.del_liquid(int x, int y) : Empty a cell

$LiquidSim.set_liquid(int x, int y, float amount) : Set a fixed amount of liquid to the cell

$LiquidSim.get_liquid(int x, int y) float : Return the amount of liquid for the cell




Original repository

$ git clone --recurse-submodules https://github.com/tterrasson/liquid-simulator-godot

For more details, see "Using the Guide"



Remember We can all code, but together we can learn

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].