To make a sprite sheet in Photoshop, follow the steps given below:
- Import the picture of your choice
- Select an image type with distinct frames
- Select the image by clicking the Slice Icon
- To divide the image, right-click on it and select Divide Slice
- Now adjust the number of slices that suit you the best
- If the vertical slider is overlapping the image, you must explicitly position the image inside the frame
- When you're finished, select Files > Export the current file
- Select Save for Legacy Web
- Select PNG-24 as the Preset
- Click on Save Changes.