Unit 3, Lesson 22: Issue with student game


#1

The student is having difficulty with the “fire” at the top of the screen. It moves back and forth when she doesn’t want it to. We have removed things, added things, etc. and cannot get it to stop. The effect she wants is for the “fire” to be still until the player hits the space bar. Once the space bar is hit, she wants the fire to fall down the screen. I realize that function is no longer in the code, as we deleted things in hopes that we could get it to move. The fire still stays at the top and bobs back and forth…help! I attached the link at the top of this message.


#2

@hensleyn
The function playertouchesfire seems to be missing its conditional statement to check if it is actually touching.

Happy computing,
Andrea