SHARE
TWEET

Untitled

a guest Sep 16th, 2014 200 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         public ParticleEffect effect;
  2.  
  3.         //create
  4.         effect = new ParticleEffect();
  5.         effect.load(Gdx.files.internal("Graphics/Blueball.p"),Gdx.files.internal("Graphics"));
  6.        
  7.         //render
  8.         effect.setPosition(x, y);
  9.         effect.draw(batch, Gdx.graphics.getDeltaTime());
  10.  
  11.         //error
  12.         Exception in thread com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: Graphics/particle.png/- Image Path -
  13.         Caused by: com.badlogic.gdx.utils.GdxRuntimeException: File not found: Graphics\particle.png\- Image Path - (Internal)
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. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top