A work in progress 2D fluid physics simulation made in Godot v4+the simulator uses bodies created via script using PhysicsServer2D, for every body a canvas item is created and updated to follow the body. Then, a custom shader is used to make it look like it's water.The project also features:2 different types of pointer deactivable rigidBody pointer gravitational pointer and testing areaThere's no cohesion between particles yet.No credits needed.
Adds an outer or inner stroke to a texture. Just attach the shader to a ShaderMaterial and the ShaderMaterial to a Sprite2D or AnimatedSprite2D. Less suitable for textures with anti-aliased edges. Shader parameters:- color- width- pattern (diamond, circle, square)- inside- add_margins (to make room for an outline)- number_of_images (number of horizontal and vertical images in the sprite sheet)When using a sprite sheet: if the images contain a few semi-transparent pixels from adjacent images, try increasing the 0.0 at lines 41 and 69 to a value like 0.1.
This addon contains two shaders meant to be used as a material for terrain objects. The shaders support color, normal, roughness and metallic maps. They also provide a tile scrambling feature that gets rid of obvious repeated patterns. You can also stack several different terrain shader on top of each other and use masks to blend between them.
Volume rendering, implemented in Godot Engine.
This is a game that uses Tweening to create satisfying animations while you suck leaves into a magic vortex. Showcase/ tutorial for this game is here, and linked below: https://youtu.be/yTkJv8tMO7gSee all my assets here: https://godotengine.org/asset-library/asset?user=ThinkWithGames
This example lays the foundations for a lobby application to be used as a template in multiplayer game development. A lobby is a staging area which players access before joining the actual game. In a lobby, users can usually customize their profile, chat with friends, search for a game to join or launch a new game, invite friends to play and more.
The Tic-Tac-Toe example shows how to develop a full multiplayer turn-based game with Godot and SmartFoxServer 2X by implementing the well-known paper-and-pencil game for two players also known as Noughts and Crosses.
This Project is the last in a series of three in which we lay the foundations for a lobby application to be used as a template in multiplayer game development.
This example expands the one described in the Lobby: Basics tutorial by adding a friends list to the Lobby scene, with icons to represent the state of friends, controls to add, remove and block them and a panel to exchange private messages.
The Connector example shows how to setup and use the SmartFox client API object, establish a connection to the server and login. It also shows how to deal with the different requirements of the Godot build targets, making use of a few conditional compilation statements.
This is a shader that implements a chroma key effect. Chroma keying is a technique used to remove a specific color (usually green or blue) from an image or video, making it transparent and allowing other content to show through.The shader provides RGB Comparison options for the chroma key effect.
This contains a simple atmosphere shader usable on planets. I developped this for a tech demo I'm working on, so I thought of making it an addon.- Comes in two versions, one with fake colors and another with light scattering- Can be seen from inside like regular fog if you want to land on the planet- Switches to a cube mesh when seen from far away so multiple atmospheres can be drawn at lower cost- Includes experimental volumetric cloudsChanges in 0.4:- Added `force_fullscreen` option to allow previewing the inside of the atmosphere in the editor- Added atmosphere ambient color to v2 atmosphere so nights are no longer pitch black- Added `*_shader_parameter()` methods, deprecated `*_shader_param` methods- Slightly improved clouds alpha blending- Decoupled alpha from color in v2 atmosphere so it no longer stops rendering in the dark side of planets- Fixed properties list not updating when setting a different shaderChanges in 0.3:- Added more realistic atmosphere model based on Sebastian Lague's Coding Adventure- Added automatic optical depth baking using a viewport (Vulkan renderer not needed)- Added raymarched and animated clouds (current version is imperfect due to tradeoffs)- Added NoiseCubemap resource to generate procedural cloud coverage textures- Added small demoChanges in 0.2:- Ported to Godot 4- Added option to blend ground depth with a sphere, to hide precision lost at high distances