Recent snippets Browse snippetsExplore

In-editor tool Texture2D into colors palette
jil-hue
Use this in editor to get a dictionary with all colors in a Texture2D and their amount. Godot 4.4 GDScript Colors tool
Capturing a Physical Input Event
Casual Garage Coder
This helper script capture an input event and translate it as a resource describing the said event. Godot 4.x GDScript input
Mapping Physical Event to Logical Event
Casual Garage Coder
Helper code to map a set of input events to logical events, with alternate mapping Godot 4.x GDScript input
Gamepad control layer
Casual Garage Coder
Capture the gamepad events, filter them and notify when it matters Godot 4.x GDScript input
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
First-person camera controls
darkcanopy
first person FPS camera controls using Basis with mouse sensitivity split into X and Y axis Godot 4.x GDScript first-person
Custom shotgun pattern
darkcanopy
shotgun pattern using biased curve2d 'plane' to project the pellets Godot 4.x GDScript functions
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
Plaintext config
darkcanopy
.ini plaintext config file players can modify Godot 4.x GDScript functions
Fishing Game Core Mechanic
Casual Garage Coder
Scene/Sub-Scene focusing on a linear precision minigame that can be applied to any linear precision game Godot 4.x GDScript gameplay fishing

Recent shaders Browse shadersExplore

Recent articles Browse articlesExplore