I have a question... I have a sprite designed in 8 directions... up... down... left... right... up-right... up-left... down-right and down-left. ..
My problem is that I can't differentiate when it goes in the diagonals from top right left and bottom left right... to be able to load the images corresponding to that animation... how could I do it... I can only identify up, down, left and right.
I attached an image of the code.