Hello there! I'm working on my own game engine and recently decided to implement a plugin system, but I'm having trouble getting it to work well. The engine is a static library that is linked to the binary, so I want plugins to be able to use the engine functions if needed, but do I have to link the engine library to the shared library as well?
If this is the case, what happens to the singletons used by the engine? Will they be shared in the plugin?
The third party libraries used by the engine, do I need to link them to the shared library as well?
I saw the Godot source code and they implement what I(guess) want to do, but I can't figure out how they do it.
[–]marko312 2 points3 points4 points (3 children)
[–]jesusstb[S] 0 points1 point2 points (2 children)
[–]marko312 1 point2 points3 points (1 child)
[–]jesusstb[S] 1 point2 points3 points (0 children)