Created
July 4, 2012 14:53
-
-
Save oholiab/3047771 to your computer and use it in GitHub Desktop.
Pixelate your animated sprites with Slick 2D
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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