Attack in Direction
TheActualGamer
Member Posts: 19
Whats goin on guys! Im looking to have my sprite attack in the direction hes facing. If hes facing left and i hit space he kicks left, but when hes facing right and i want him to kick right, he still kicks left. Anyone got an answer for this? Thank you so much
Comments
Bump
One way to do that is to animate the actor's image for the kick and change self.Graphics.Flip Horizontally when the actor is moving left or right.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
@tatiang Once i do the self.graphics.flip horizontally, what do i set it to? True didnt work lol
Either true or false. It's case-sensitive, unfortunately.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User