Recent snippets Browse snippetsExplore

Small Terrain Generator
Casual Garage Coder
A script to generate terrain data, a shader to render it. Godot 4.4 GDScript Procedural generation terrain
Fast Lakes and Rivers Computation for Small Terrains
Casual Garage Coder
Given a relatively small heightmap (128x128 to 256x256), compute the water distribution from a source to the borders of the map Godot 4.x GDScript terrain Procedural generation
Recursive File Browsing
Casual Garage Coder
Given a directory, recursively browse the files and apply a processing Godot 4.x GDScript utility
Rolling cube
Kelvin van Hoorn
A code snippet for rolling a cube on its sides. Godot 4.5 GDScript
2D Maze Generator
Casual Garage Coder
Generates data for a simple 2D Maze made of squares. Godot 4.4 GDScript Procedural generation 2d
Easy Font Size Scaler
greenpixels
An autoload script that adds an easy adds dynamic scaling to all text in your project Godot 4.4 GDScript UI text font
Screenshot without freezing (more complex solution)
darkcanopy
An even more complex screenshot function that avoids the pipeline stall of get_texture.get_image() Godot 4.4 GDScript
Monitor Layout UI
Casual Garage Coder
Users can have multiple monitors. Here is a custom UI node to display their layout. Godot 4.x GDScript UI
Taking a screenshot without freezing (simpler)
darkcanopy
A screenshot function done on a separate thread so your game can save screenshots without lag Godot 4.x GDScript functions
Easy Signal Disconnects
Dragon1Freak
Util function to disconnect all callables on a signal, or safely disconnect a callable from a signal Godot 4.x GDScript Signals utility

Recent shaders Browse shadersExplore

spatial Procedural Idyllic Slash
Ali
An extensive uber shader designed to produce (stylized) slash effects. slash sweep Procedural generation smear
spatial Texture-based rim lighting
darkcanopy
Rim lighting that has a texture for an object but also rim lighting to 'highlight' it. shader rim lighting
Cubic Bezier Curve Mesh Deformation
Casual Garage Coder
Specialized shader that deforms a mesh based on a cubic Bézier curve. bezier mesh deformation
Color by Instance
Casual Garage Coder
Simple colorization by instance identifier Colors
Greyscale Shader WITH modulate
Saltlight Studio
This is a somewhat simple shader for greyscaling sprites, except with modulate and self-modulate still working Colors
spatial Procedural Slash
Ali
A shader effect for procedurally creating sword slashes and the like. slash sword Procedural generation
spatial 3D Anime flame
Casual Garage Coder
A shader that creates a magical anime fire effect anime
Canvas item Palette swap
Pixel
A shader that swaps colors Godot 4.x Colors
Canvas item Simple quantization
Pixel
Reduces the range of possible colours a pixel can take Godot 4.x Colors

Recent articles Browse articlesExplore