I have a student that wants his boy to turn right and walk off the screen.
When the sprite changes animations and gets ready to move - it jumps from the bottom to the top right corner.
It works (the boy turns, but doesn’t move) when we don’t have the command
kid.x = kid + 1; inside the loop, but as soon as we add movement - his sprite jumps.
Here is the code:
https://studio.code.org/projects/gamelab/0w1s0r8-HMzsW1ilcoCQ1WpHXSXD8KngD3v_7uTmxw4
Thanks a bunch - I’ve used forum lots and all the help is wonderful.