AirRaid: Part 2
This assignment was kind of difficult to understand, simply because of the organization of the instructions in the Actionscript 3.0 book. Like I said in the previous post, I was just doing as it told me to, following each of the steps. However, I was unable to test the code throughout the creation of the code, so it was more difficult to detect errors at the end of the section. I was also unable to figure out why my delete plane function seemed to not be working, because after the gun ran out of bullets the gun and the airplane should be removed from the stage. I rewrote my code exactly like the one in the book, and I was able to trace in my AirRaid.as file where the code seemed to be stopping. It appeared as though it would get stuck in my checkForHits function, but I couldn’t tell what it was. Maybe someone could take a look at my code and see if it was something small I overlooked.