Recent snippets

Event-based game logic
Chromazu
A simple, but powerful, singleton script handles global game events. Godot 4.x GDScript bus event singleton
Cell Texture from a TileMapLayer and Coordinates
Keith Jones
You can obtain obtain a tile's texture as an AtlasTexture directly from the TileMapLayer Godot 4.5 tilemaplayer texture tilemap tileset
Blender-like SpinBox V2 (DragBox)
enderprism
A SpinBox-like widget with a slider, infinite dragging and exponential value editing! Godot 4.x GDScript UI
Await multiple signals (for dialogs)
enderprism
A utility function to help work with dialogs. Godot 4.5 GDScript utility
Blender-like ranged SpinBox
enderprism
A Blender-like slider in which you can also type numbers! Godot 4.x GDScript UI
EventBus
Gamma
It probably works for your version, put in globals, bada bing Godot 4.x GDScript
Godot and Third Party Credits Script
darkcanopy
A Credits class that takes the official Godot license url (which is accepted as proper credits) and allows you to click it ingame, as well as read third party licenses from text files and populate the file Godot 4.x gdscript class_name license credits
Rolling cube
Kelvin van Hoorn
A code snippet for rolling a cube on its sides. Godot 4.5 GDScript
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
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
TileData color batch edit
jil-hue
Tool for quickly replacing colors in a monochrome TileSet Godot 4.4 Colors tool tilemaplayer
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
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
Plaintext config
darkcanopy
.ini plaintext config file players can modify Godot 4.x GDScript functions
2D Platformer Character Controller
PapaPandaGames
The controller contains the following features: short jumps, double jumps, coyote time and jump buffer Godot 4.4 GDScript 2d platformer controller
First-person headbobbing
darkcanopy
Headbobbing in first person in a horizontal figure 8 Godot 4.x GDScript first-person
3D Blob Shadow
Gamma
A rigid shadow that helps shows your player's position, no shader required! Godot 4.x GDScript 3d graphics
Easy Sound Effects
Gamma
A simple node + resource to play sound effects from code Godot 4.4 GDScript audiostreamplayer sfx sound effects
ALT-Enter fullscreen toggle
zegenie
Make your game fullscreen toggleable by reacting to ALT+Enter Godot 4.x GDScript shortcuts input fullscreen
Serializable class
petit-suisse
Class allowing to save typed variables in json text or bin formats Godot 4.x GDScript serialization saving
RTS Camera 2D
xsist10
Provides a configurable basic RTS Camera 2D that supports zooming and panning. Godot 4.2 GDScript camera camera2d rts
Basic RTS camera3D
PapaPandaGames
a very basic camera3D controller for 3rd person cameras Godot 4.x GDScript camera3d controller UI