Difference between revisions of "Animation"

From Progzoo
Jump to: navigation, search
Line 19: Line 19:
 
           drawFrame(g,i);
 
           drawFrame(g,i);
 
           genc.addFrame(image);
 
           genc.addFrame(image);
 +
          g.dispose();
 
         }
 
         }
 
         genc.setUniformDelay(10);
 
         genc.setUniformDelay(10);
Line 27: Line 28:
 
     System.err.println(e);
 
     System.err.println(e);
 
     }
 
     }
    g.dispose();
 
 
   }
 
   }
 
}
 
}

Revision as of 17:34, 16 November 2008

The animations here rely on Gif89Encoder available from http://jmge.net/java/gifenc/ developed by JMG Elliot.

Moving block


[Font] [Default] [Show] [Resize] [History] [Profile]