Ok, this time my problem is, I have a sprite sheet with my player's animations frames in it. Follows example:
Using the get() method to iterate what part of the sprite sheet i want to display doesn't seem like an option, since 1 - the image I'm cropping must be inside the screen area (better saying, I need it to be outside the screen but if doing so the get() method will return me a black rect) and 2 - i loose my alpha channel.
Of course I can create arrays and load each frame as a separated image file, but it fells like a huge mess.
Is there a way to render my sprite sheet outside the screen area and not only use it, but not loose the alpha channel as well?
I tried pixels[] but I just haven't fully understand how to do it – and I'm not sure it can do what I want.
Thanks in advance, guys and ladies!
Of course I can create arrays and load each frame as a separated image file, but it fells like a huge mess.
Is there a way to render my sprite sheet outside the screen area and not only use it, but not loose the alpha channel as well?
I tried pixels[] but I just haven't fully understand how to do it – and I'm not sure it can do what I want.
Thanks in advance, guys and ladies!
1