I want to use a tileset in my game (the image is an example) how would I go about splitting it?
https://ibb.co/Kb4YS4s
I want it to end up something like this:
EDIT: Sorry for typo in title, should be Tileset SPLITTING
https://ibb.co/Kb4YS4s
I want it to end up something like this:
import pygame from pygame.locals import * pygame.init() Tileset = pygame.image.load('tileset.png') Crate = <the part of the image with the crate> Grass = <The grass above the crate>I want to be able to save different parts of the image as separate images within the code. Is this possible? (Please keep simple if possible)
EDIT: Sorry for typo in title, should be Tileset SPLITTING