A
A
Andy_Voz2016-09-26 18:56:07
linux
Andy_Voz, 2016-09-26 18:56:07

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

2 answer(s)
A
Andrey, 2016-09-22
@VladimirAndreev

were there any errors in the update?

A
Andy_Voz, 2016-09-27
@Andy_Voz

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 your question

Ask a Question

731 491 924 answers to any question