Game Lab Project Question

Hey Team!

I have a student working on a video game. A hippo is catching a banana. I have looked with her and we can’t solve this problem. If the hippo misses, the banana resets, but after the banana resets the 4th or 5th time, it starts jumping around the x position, but no longer goes down with velocityY on the screen. Can I get a second pair of eyes to see what we are missing?



Looks like the error is in line 66 of the code. Inside of the moveBanana2 function, you are calling a function for the 1st banana, I presume incorrectly.

Good luck!


Fantastic! It worked! I need to get my eyes checked :rofl:

Thank you so much!

1 Like