Hi all,
Is there a fast way to use a screen buffer, and creating a GreenfootImage out of that?
I can only come up with something like this:
which is pretty slow.
Thanks for the help.
  private Color[][] buffer;
// create the buffer.
// at the end:
for (int x = 0; x < getImage().getWidth(); x++) {
    for (int y = 0; y < getImage().getHeight(); y++) {
         getImage().setColorAt(x,y, buffer[x][y]);
    }
} 
          
         
   




