Help with Lesson 20 Side Scroller Project


I have a student that is trying to get the plane to fire repeatedly by using the right arrow. Right now when you push the right arrow repeatedly it doesn’t fire each time and sometimes the fire disappears.

Here is the code that he is using. Any help would be appreciated!

He will eventually use the spacebar to bomb the boat - cool project!


check the animations (drawings). I noticed that both the player and the missile have a lot of blank space around them. So does the badplane. This will cause collisions to happen even when it doesn’t appear that they are touching.

If you use the “crop” button, it will clean up all of that empty space around all of your animations and that should improve the play. Give it a shot and see if that improves or if there are still some problems.

Good luck!


1 Like