Redot-Engine / redot-engine

Redot Engine – Multi-platform 2D and 3D game engine
MIT License
3.86k stars 161 forks source link

[suggestion] Allow for splitting exportation templates into DLLs #182

Open rossbridger opened 5 days ago

rossbridger commented 5 days ago

Tested versions

N/A

System information

N/A

Issue description

Current Godot/Redot export templates comprised of monolithic binary containing all the functionalities, including the ones unneeded for the game (e.g. 3D components in a 2D-only game). To explicitly remove the redundant components, one has to recompile the source code, which is slow and not always working when attempting cross platform compilation.

Therefore, the proposal is to allow split godot binary into dlls in a similar fashion as gdextensions, so that users can enable/disable exporting them on project settings. This way we can:

Steps to reproduce

N/A

Minimal reproduction project (MRP)

N/A

Spartan322 commented 1 day ago

GDExtensions are intended to service in practically being dynamically linked Godot modules already, it however still requires work for some modules to be able to support GDExtensions, a task list for whats needed to make GDExtensions fully support modules as is should probably be built.