Hello all,
I’m sure I’m missing something here, but how come my simple 2D scene with Godot image exported to Windows exe in release file size is 94 megabytes? Why so big? Also, initial loading time has latency.
im on compatability mode using buildin graphic card 32 g ram
The runtime .exe will basically always be the same size, your game is stored in the .pck file. If you use less of the engine features you can reduce the runtime size
Thanks, do you have idea why is the latency few milliseconds but very noticeable when click on the exe? In such small project it should be starting instantly.
Getting a window and building a vulkan pipeline take some time, again it is initializing all of the engine’s features even if your .pck doesn’t contain much. My experience with even SDL2 takes a few milliseconds just to get a window.
SDL2 is a fairly small framework for handling a window and input multiplatform, it is not a part of Godot, just an example of a much, much smaller application (examples being less than 10k) still taking time to spin up.