Cut lib/render into its own package, change all imports

master
Noah 2019-12-22 18:21:58 -08:00
parent 3824c9121a
commit 1d099b83f5
1 changed files with 2 additions and 2 deletions

View File

@ -16,12 +16,12 @@ function main() {
Vx = 0;
Vy = 0;
if (ev.Right.Now) {
if (ev.Right) {
if (!Self.IsAnimating()) {
Self.PlayAnimation("walk-right", null);
}
Vx = playerSpeed;
} else if (ev.Left.Now) {
} else if (ev.Left) {
if (!Self.IsAnimating()) {
Self.PlayAnimation("walk-left", null);
}