Reusable functions?

Godot Version

4.6

Question

Is it possible to create something conceptually similar to libs/dlls? I’m programming in gdscript and I would like to reuse some of these functions for my other projects. I mean I know I can just copy-and-paste the scripts over but…

You can create a godot addon which then you can add to another project you’ll be working on.

Alternatively if you use C#, you can create libraries there quite easily.

1 Like

Making plugins/addons is quite easy once you get the hang of a few things. Here’s a half-dozen examples inside a larger example: GitHub - dragonforge-dev/dragonforge-game-template: Game template for game jams.