So I got an image of a player animation( in file 900x900).
I want to load it once and split into PImage
s 100x100 so that each one of them is a separate PImage
. I am not a fan of using 81 separate files each 100x100 and loading them all. Is there a way of doing that in Processing.
I could just store PImage
as one and create 81 Rectangle
as place of a frame in big image, but how to draw just a part of PImage
?