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

This commit is contained in:
Noah 2019-12-22 18:21:58 -08:00
parent 3824c9121a
commit 1d099b83f5

View File

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