Sprite Sheets
To create your own sprite sheets, first download and install GIMP.
Steps to make a sprite sheet:- Open GIMP.
- Select GIMP, Settings, Folders, Scripts to see your scripts directory.
- Go to GitHub, Tilemancer.
- Download the code .zip file for the tilemancer script.
- Unzip in your scripts directory.
- Go to Filters > Script-Fu > Refresh Scripts to check if tilemancer is properly installed. You should see a tilemancer option under Filters > Animation > tilemancer.
- In GIMP, select File, New.
- Make a 100 x 100 file.
- Select a layer in the bottom right.
- Right click, add transparent layer.
- Add as many layers as you need.
- Right click to delete the solid background layer.
- Create your sprite - a different animation frame on each layer.
- Select Filter, Animation, tilemancer.
- For Shape, select One Row Per Layer Group.
- File, Export As, and save as a .png file. Use the naming convention, image-X.png, where X is the number of frames.
More
Java 2D Tutorial
Double Buffering
Fonts
Painting
Game Engine In-Depth
Read more in Absolute Java chapter 18.