So this question is not out of necessity, I am just looking for a more elegant way to present the very first game I made to my friends.
When I export the game, it definitely works when all assets are in the same folder. However I also noticed when no assets are there, the first screen of the game still loads which had a background image. So somehow the background image for my first screen(a simple login screen) is probably incoparated with the jar file. When I switch to any other screen that would include a new asset, it crashes so other images I have are not in the jar file.
This situation let me think that there might be a way to put all my assets into one jar file(just like the background image I had) so that I will have a more elegant final product. Is there any way to do it?
I use AssetManager, I have already tried importing all other images next to the line where I import background image on login screen but it did not help. In fact for some reason, when I try that the game does not even include the first background image so it crashes even before login screen.
I would be grateful if anyone has a such experience or a knowledge that could point me into right direction.
Update: So far problem seems to be only about very few of the images and sounds. So for some reason(maybe size or dimension) AssetManager seems to need only some of the assets in the same directory that the jar is run.