J
Joe Banko
Guest
I have setup a collision mask on one of my characters so it only covers the left 2/3 of the image. When I am moving to the right the 1/3 of the image I don't have masked goes past any wall it runs into which is what I want. However going to the left when I use xscale = -1 to flip the image the 1/3 of the image now contacts the wall. It would seem that the collision mask hasn't flipped along with the image. Isn't the mask supposed to do that or is there a mask xscale that needs to be flipped as well? Or is there some code that I need to execute to change the location of the mask in the sprite?
Thanks in advance for clarifying this for me.
Joe B
Thanks in advance for clarifying this for me.
Joe B