Recent snippets

Logging with severity and type
aterlamia
Logging that you can turn of or decide what severity or type you want to see Godot 4.x GDScript
On-screen FPS (frames per second)
PapaPandaGames
displays the current frames per second while running the game Godot 4.x GDScript debug fps frames
Assert references of exported properties of a Node
wchc
This method helps you identify missing references in @export variables Godot 4.x assert test export variable
Get children Nodes of specific Type
wchc
A type-safe method that will retrieve a child or children of specific Type. Godot 4.x GDScript traits interfaces type node
Basaltic Rock Mesh Generator
Casual Garage Coder
Generates a small shard of basaltic-like rock/crystal, with vertices and normals Godot 4.x GDScript mesh basalt
Crystal Mesh Generator
Casual Garage Coder
Generates a crystal shard mesh with UVs and normals Godot 4.x GDScript mesh crystal
2D Precision Platformer Controller
dragon1freak
Platformer controller with coyote time, jump buffering, controller support, and more! Godot 4.x GDScript controller platformer 2d
Blocky 3D Heightmap
Casual Garage Coder
Displays a simple heightmap using instanced meshes Godot 4.x GDScript multimesh instancing map
Basic Health Component
Zaura
Node-Based Health Composition Godot 4.x GDScript health component
SequentialQueue class for serializing events using Callable
theCubeMiser
Allows a streamlined way to add and run a series of Callable in a first-in-first-out sequence as needed. Godot 4.x GDScript utility
Mouse Drag Control
Casual Garage Coder
Stand-alone script for mouse drag management Godot 4.x GDScript mouse
Basic RTS camera3D
PapaPandaGames
a very basic camera3D controller for 3rd person cameras Godot 4.x GDScript camera3d controller
X Patch Primitive Mesh
Casual Garage Coder
Generates a quad, facing +Y, where number of cells, scale and rotation can be set, and which triangles are X arranged Godot 4.x GDScript primitive mesh
Geodesic Sphere Primitive Mesh
Casual Garage Coder
Implementation of a geodesic sphere based on icosahedron subdivision Godot 4.x GDScript mesh primitive
Minimal Log Message Roller
Casual Garage Coder
Using the Message Bus described in a previous snippet, display log message in a minimal UI Godot 4.x GDScript log ui
Message Bus
Casual Garage Coder
Autoload script to broadcast message across the application Godot 4.x GDScript bus autoload
A safe way to instantiate stuff
darkcanopy
A safe way to instantiate stuff Godot 4.x GDScript functions
Plaintext config
darkcanopy
.ini plaintext config file players can modify Godot 4.x GDScript functions
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
First-person headbobbing
darkcanopy
Headbobbing in first person in a horizontal figure 8 Godot 4.x GDScript first-person
Custom range functions
darkcanopy
A selection of function to work with number ranges Godot 4.x GDScript functions
Custom shotgun pattern
darkcanopy
shotgun pattern using biased curve2d 'plane' to project the pellets Godot 4.x GDScript functions
Taking a screenshot without freezing
darkcanopy
A screenshot function done on a separate thread so your game can save screenshots without lag Godot 4.x GDScript functions