Hey on a tiled map rpg for my sprite of my player insted of having one image for,let’s say U.p and Another for Down.how would I use 1 spritesheet for all positions rather then one .png image for each position of the player? Am I able to do this? I’m guessing I would load only part of the image at a time using X,Ys. But I really have no idea. I’m brand new to java game dev. And am looking for some help.
Example of source code(that has been explained) would be helpful.
Thanks for reading,
Keith M.