One of my students is creating a game on game lab.
Link to the project or level: Game Lab - Code.org
What I expect to happen: In level 5, when the basketball is bouncing on the trampoline, it is supposed to bounce off the top left edge of the screen and then “teleport” to the bottom right of the screen. It should also bounce off the left edge if it touches the left edge. (lines 140-142 and 146-149 of code).
What actually happens: Instead of bouncing off the edges, it just bounces off the trampoline. The sprite doesn’t move to the bottom right corner of the screen.
What I’ve tried: I changed the order of the backgrounds to see if it was something with that. It wasn’t. I also tried different equal statements (>=) to see if it changed anything. It didn’t.
Thanks for any help/suggestions!