Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I am trying to load a particle effect, but I get an error when libGDX tries to load the image file for the particles.

Couldn't load file: - Image Path -

The particle effect file itself loads fine. I have tried some different things. Giving the .load() the path to the dir the image was in. then edited the particle file to have the path to the image file. Last thing I tried was creating another project that only loaded the particle effect and showed it, that worked without a problem.

It seems like the the .load() reads the "- Image Path -" from the particle file and not the actual image path... but only in the project where I need it to work.

This is how I load it:

particleEffect.load(Gdx.files.internal("particleEffect.par"),Gdx.files.internal(""));

[Edit]Im on linux using IntelliJ IDEA 14

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.