Input: flip y-motion to match our usual coordinates (top left is (0, 0))
This commit is contained in:
parent
fd4bf85d1c
commit
7b9147d901
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user