title: Libgdx ParticleEffect: There are no errors, but nothing is drawn
body: <p>Why doesn't this code work. There are no errors, but nothing is drawn.</p>
  
  <p>The <code>render</code> method contains:</p>
  
  <pre><code>    effect = new ParticleEffect();
      effect.setPosition(200, 200);
      effect.start();
  
      float delta = Gdx.graphics.getDeltaTime();
      GL10 gl = Gdx.app.getGraphics().getGL10();
      gl.glClear(GL10.GL_COLOR_BUFFER_BIT);
  
      spriteBatch.begin();
  
      effect.draw(spriteBatch, delta);
  
      spriteBatch.end();
  </code></pre>