- public ParticleEffect effect;
- //create
- effect = new ParticleEffect();
- effect.load(Gdx.files.internal("Graphics/Blueball.p"),Gdx.files.internal("Graphics"));
- //render
- effect.setPosition(x, y);
- effect.draw(batch, Gdx.graphics.getDeltaTime());
- //error
- Exception in thread com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: Graphics/particle.png/- Image Path -
- Caused by: com.badlogic.gdx.utils.GdxRuntimeException: File not found: Graphics\particle.png\- Image Path - (Internal)
SHARE
TWEET
Untitled
a guest
Sep 16th, 2014
200
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.
