-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
FightingGameEngine/src/graphics/Animation.cpp
Line 134 in 8c48442
| faceRight ? currentText->setCords(x-offsetX, ((y - 60) + offsetY)) : currentText->setCords((x+offsetX)-width, ((y - 60) + offsetY)); |
currently this line causes the offset for P1 to be read as positive values offset the sprite to the left instead of to the right. This is counter intuitive, and also the opposite of how the offset for collision boxes work. A simple flip of addition/subtraction of the x-offsets should fix this like so:
faceRight ? currentText->setCords(x+offsetX, ((y - 60) + offsetY)) : currentText->setCords((x-offsetX)-width, ((y - 60) + offsetY));
Metadata
Metadata
Assignees
Labels
No labels