Recent snippets
Logging with severity and type
aterlamia
Logging that you can turn of or decide what severity or type you want to see
On-screen FPS (frames per second)
PapaPandaGames
displays the current frames per second while running the game
Assert references of exported properties of a Node
wchc
This method helps you identify missing references in @export variables
Get children Nodes of specific Type
wchc
A type-safe method that will retrieve a child or children of specific Type.
Basaltic Rock Mesh Generator
Casual Garage Coder
Generates a small shard of basaltic-like rock/crystal, with vertices and normals
Crystal Mesh Generator
Casual Garage Coder
Generates a crystal shard mesh with UVs and normals
2D Precision Platformer Controller
dragon1freak
Platformer controller with coyote time, jump buffering, controller support, and more!
Blocky 3D Heightmap
Casual Garage Coder
Displays a simple heightmap using instanced meshes
Basic Health Component
Zaura
Node-Based Health Composition
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.
Mouse Drag Control
Casual Garage Coder
Stand-alone script for mouse drag management
Basic RTS camera3D
PapaPandaGames
a very basic camera3D controller for 3rd person cameras
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
Geodesic Sphere Primitive Mesh
Casual Garage Coder
Implementation of a geodesic sphere based on icosahedron subdivision
Minimal Log Message Roller
Casual Garage Coder
Using the Message Bus described in a previous snippet, display log message in a minimal UI
Message Bus
Casual Garage Coder
Autoload script to broadcast message across the application
A safe way to instantiate stuff
darkcanopy
A safe way to instantiate stuff
Plaintext config
darkcanopy
.ini plaintext config file players can modify
First-person camera controls
darkcanopy
first person FPS camera controls using Basis with mouse sensitivity split into X and Y axis
First-person headbobbing
darkcanopy
Headbobbing in first person in a horizontal figure 8
Custom range functions
darkcanopy
A selection of function to work with number ranges
Custom shotgun pattern
darkcanopy
shotgun pattern using biased curve2d 'plane' to project the pellets
Taking a screenshot without freezing
darkcanopy
A screenshot function done on a separate thread so your game can save screenshots without lag