It is given: one-image tile map. It is necessary to: implement an algorithm for displaying tiles (sprites) from this image by coordinates.
I do not know if it is clear or not that I asked a question. For example, we make an application tag. In which we load any picture. This picture is displayed as a result in the form of mixed tiles.
Is it possible to implement an algorithm for creating instances of tiles by standard modules so that the output is an instance of a tile from the overall picture. How for example can this be implemented in tkinter or pygame?
Can there be specialized modules for this?
I have an idea just to make instances of tiles using PILL, literally slicing the image into coordinates.