Recent snippets Explore
Concentric rings puzzle minigame
Casual Garage Coder
What's better than a mini-game to break your game-loop ?
Mapping Physical Event to Logical Event
Casual Garage Coder
Helper code to map a set of input events to logical events, with alternate mapping
Blender-like SpinBox V2 (DragBox)
enderprism
A SpinBox-like widget with a slider, infinite dragging and exponential value editing!
Blender-like ranged SpinBox
enderprism
A Blender-like slider in which you can also type numbers!
Simplified value selector with progression indicator
Casual Garage Coder
Recreates Blender-like value selector in a very simplified way.
In-game curve editor
Casual Garage Coder
One can edit curves in the Godot Editor, but not in-game. This script allows it.
Grid displaying StyleBox
Casual Garage Coder
Whoever dealt with themes have encountered StyleBox at one point. Here is an implementation of a StyleBox displaying a grid
Image Steganography
Casual Garage Coder
Use the lower bits of an image pixels to hide/retrieve data. With that, one can share binary data as image instead of soulless data file.
In-game Minimal Gradient Editor
Casual Garage Coder
Editing a gradient is not available outside the Editor. This snippet allows editing gradients in-app.
Custom Tooltip
Casual Garage Coder
Sometimes, you want more than a text tooltip. Using built-in popup, it is possible to do whatever you want as an advanced tooltip.
Recent shaders Explore
spatial
Procedural Idyllic Slash
Ali
An extensive uber shader designed to produce (stylized) slash effects.
spatial
Texture-based rim lighting
darkcanopy
Rim lighting that has a texture for an object but also rim lighting to 'highlight' it.
Cubic Bezier Curve Mesh Deformation
Casual Garage Coder
Specialized shader that deforms a mesh based on a cubic Bézier curve.
Color by Instance
Casual Garage Coder
Simple colorization by instance identifier
Greyscale Shader WITH modulate
Saltlight Studio
This is a somewhat simple shader for greyscaling sprites, except with modulate and self-modulate still working
spatial
Procedural Slash
Ali
A shader effect for procedurally creating sword slashes and the like.
spatial
3D Anime flame
Casual Garage Coder
A shader that creates a magical anime fire effect
Canvas item
Palette swap
Unknown user
A shader that swaps colors
Canvas item
Simple quantization
Unknown user
Reduces the range of possible colours a pixel can take
Recent articles Explore
A Glimpse to Wandering Terrain
Casual Garage Coder
Introduction to a singular terrain render technique involving few CPU workload
Smoothing with expDecay instead of lerp()
darkcanopy
Many developers use lerp() in a way that is not frame rate independent. Learn how to use expDecay as an alternative.
Basic state machine
PapaPandaGames
This article shows you how to implement a basic state machine in GDScript.
A glance at Compute Shaders
Casual Garage Coder
Compute shader is a great way to use all the advantage of GPU, but one need to harness that power.
Stochastic L-System Resource
Casual Garage Coder
Procedural generation could make a good use of L-System. Let's dive into it.
Publish your game on Linux with Flathub
Casual Garage Coder
Flathub is a great publication platform for Linux applications. Here is an introduction to how you can publish your game using Flathub.
Set a project-wide custom theme
Bee
Save yourself the trouble of having dozens of manually specified themes and LabelSettings resources scattered across your project.
