VEGO-Engine / Engine

2 stars 0 forks source link

Resource file are not embedded in executable, making it less portable #41

Open Nanogamer7 opened 2 months ago

Nanogamer7 commented 2 months ago

The resource file (images, sounds, etc.) are currently not embedded in the compiled executable, which results in a black-screen and undescriptive errors when miss-placing the executable or assets folder ("Couldn't load xyz"). Ideally the engine would automatically embed resources from specified paths in the final executable, possible implementations for this however aren't always easy, as not all solutions work on all platforms. See this stack-overflow post for some potential solutions, further discussion is required.

Further a discussion is need if embedding resource files is the best solution, as it might make the game more portable, at the cost of requiring rebuilding for all changes.