Categories
How to pack LibGDX project resources into jar?
I am writing a toy in LibGDX and the following question arose: how can I pack all the game resources (pictures, sounds, etc.) directly into a jar?
Answer the question
In order to leave comments, you need to log in
were there any errors in the update?
In general, everything turned out to be easy. You just need to drop the resource folder into core/src and rebuild the project. You don't even need to rewrite any resource paths. As a result, we get a toy in one jar file :)
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question