This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes


I am migrating my game engine/framework I wrote on top of MonoGame to Godot, but i'd like to keep my keep my classes reusable, for example I create a SmartCamera class that contains all the functionalities I need my game (following player, smoothing movements, effects, etc) but I would not like to copy and paste all this generic game code from one game to another. Is there any way to "extend" the engine with these classes, e.g.: to create a "SmartCamera" or "AnimationStateMachine" Node that I can just reuse in all my games (maybe even from the Editor when selecting a Node), without having to copy paste a lot of code from one project to another? I am aware that it's possible to write C++ extensions, but I'd rather stick to C# as I am more experienced with it.


Godot version 3.5.1
in Engine by (53 points)


what about just putting this into a Class Library and adding that as dependency?

I'll look into it, thanks!

1 Answer

+1 vote
Best answer
by (1,406 points)
selected by

Looks exactly what I need, thank you!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.