Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Failed to load resources #4

Open
astrapi69 opened this issue Feb 15, 2021 · 3 comments
Open

Failed to load resources #4

astrapi69 opened this issue Feb 15, 2021 · 3 comments

Comments

@astrapi69
Copy link

Hi @AlmasB i just made a clone of this template project and it works.
But i get an java.lang.IllegalArgumentException for the resources:
14:38:05.347 [FXGL Background Thread 1 ] WARN FXGLAssetLoaderServi - Failed to load texture bucket.png Error: java.lang.IllegalArgumentException: Asset "/assets/textures/bucket.png" was not found! 14:38:05.471 [FXGL Background Thread 1 ] WARN FXGLAssetLoaderServi - Failed to load music bgm.mp3 Error: java.lang.IllegalArgumentException: Asset "/assets/music/bgm.mp3" was not found! 14:38:05.473 [FXGL Background Thread 1 ] INFO FXGLApplication - Game initialization took: 0,131 sec 14:38:05.935 [FXGL Background Thread 2 ] INFO UpdaterService - Your current version: 11.12 14:38:05.936 [FXGL Background Thread 2 ] INFO UpdaterService - Latest stable version: 11.13 14:38:06.490 [JavaFX Application Thread] WARN FXGLAssetLoaderServi - Failed to load texture droplet.png Error: java.lang.IllegalArgumentException: Asset "/assets/textures/droplet.png" was not found!
Is there anything that i missed?

Cheers

@astrapi69

@AlmasB
Copy link
Owner

AlmasB commented Feb 15, 2021

Hi, what IDE or build tool (maven / gradle) are you using? Also see #2

@astrapi69
Copy link
Author

Im using intellij and gradle

@AlmasB
Copy link
Owner

AlmasB commented Feb 15, 2021 via email

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants