Closed antzGames closed 1 year ago
Hey, this bug still happening ?
the idea is to move all assets to be inside assets folder. So I guess it should be "assets/mundus2/assets/xxxx".
Maybe the regex somewhere is messing up with file that contains assets string. https://github.com/xpenatan/gdx-teavm/blob/master/backends/backend-teavm/src/main/java/com/github/xpenatan/gdx/backends/teavm/config/AssetsCopy.java#L122.
Answer: Do not know.
So in my fork of Mundus, I can rename the asset folder. This removes the issue. But yes I also suspect the regex logic is messing up.
Maybe on your side, you can rename TEAVM's asset folder to teavm_assets
so that it doesn't cause issues for any other library?
Ok it looks like you fixed it. Going to close the issue.
So I worked on getting Mundus runtime for libGDX (https://github.com/JamesTKhan/Mundus) working on TeaVM.
Mundus projects have an
assets
directory in the root of its project folder.TeaVM did not like this and it changed the actual path to the Mundus resource in the directory. I think teaVM replaces all instances
assets
in the each file path.Here is an example below. The correct path should be
mundus2/assets/xxxx
but it looks like it puts it in the front.I made some changes to Mundus so that you can set the asset folder to be any name and it works fine now.
This is more as a heads up.