Help with Lesson 20 Side Scroller Project

Hello,

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!

@heath.kelley,

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!

Mike

1 Like