You have a file path like: "assets / emiter.phh"
It should be: "assets / emiter.pahh" according to your image.
Edit:
I looked at your corrected error message:
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: com.badlogic.gdx.utils.GdxRuntimeException: File not found: assets\emiter.pahh (Internal) at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:107) Caused by: com.badlogic.gdx.utils.GdxRuntimeException: File not found: assets\emiter.aphh (Internal)
The fact that the name changed in the middle of the stack trace is driving me crazy ...
"File not found: assets\emiter.pahh (Internal)" "File not found: assets\emiter.aphh (Internal)"
Are you sure you named it correctly because the error comes from the libGDX file descriptor. Also, is the file placed in the bin folder of the project you are running? You should see the file in 'my-gdx-game / bin / emitter.pahh'.
Also, do you need to try running ParticleEmitterTest in the libGDX test project?
Edit2:
You will need to change these two lines:
particleEffect = new ParticleEffect(); particleEffect.load(Gdx.files.internal("bin/emiter.pahh"), Gdx.files.internal("bin/untitled.png"));
in
particleEffect = new ParticleEffect(); particleEffect.load(Gdx.files.internal("bin/emiter.pahh"), Gdx.files.internal("bin"));
I believe the image path is defined inside the emiter :) file.
source share