Heppell08 Posted February 11, 2014 Share Posted February 11, 2014 Is there a way to have the anchor set so that if I put a sprite ontop of a sprite it stays center? I have a gun that is overlapped on the player sprite. They are both 2 seperate images. I have the scale.x *=-1; and it works like it should. My issue if if my player moves left, the flip on the gun doesn't stay. The animation and player sheet is 6 frames of 3 walking left, 3 walking right for now. I have more that needs added at a later stage. What I am really looking for us the gun to stay at the center of where I like it to be. I've tried slight modifications to anchor.setTo() but doesn't seem to help. Any ideas? Link to comment Share on other sites More sharing options...
Recommended Posts