Hello,
I cannot really figure out what I have done wrong here. Trying to get this character working.
Here is an example:
if (Input.check(Key.W) || Input.pressed(Key.UP)) {
y–; playerSheet.play(“runLeft”, true);
if (collide("solid", x, y)) { y = y + 1;
} }
The sheet loops through 4 16x16 tiles, but he will just slide around. The animation itself works however if I change it to “Pressed” instead of “Check”, but he will move only about 1 pixel and then keep running in place.
Thanks for your help