Input: flip y-motion to match our usual coordinates (top left is (0, 0))

This commit is contained in:
Colin McMillen 2020-11-19 14:44:45 -05:00
parent fd4bf85d1c
commit 7b9147d901

View File

@ -73,10 +73,10 @@ namespace SemiColinGames {
Motion.X = 1; Motion.X = 1;
} }
if (up && !down) { if (up && !down) {
Motion.Y = 1; Motion.Y = -1;
} }
if (down && !up) { if (down && !up) {
Motion.Y = -1; Motion.Y = 1;
} }
} }