functions

Recent snippets tagged «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
Plaintext config
darkcanopy
.ini plaintext config file players can modify Godot 4.x GDScript functions
A safe way to instantiate stuff
darkcanopy
A safe way to instantiate stuff Godot 4.x GDScript functions
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