Skip to content

Instantly share code, notes, and snippets.

@oholiab
Created July 4, 2012 14:53
Show Gist options
  • Save oholiab/3047771 to your computer and use it in GitHub Desktop.
Save oholiab/3047771 to your computer and use it in GitHub Desktop.
Pixelate your animated sprites with Slick 2D
image = sheet.getSprite(frame, 0);
image.setFilter(Image.FILTER_NEAREST);
animate.addFrame(image.getScaledCopy(3), length);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment