A world that does not have a background image assigned will, by default, get an automatically created background image that is filled with plain white.ĩ The Background is Created by These Three StatementsĮxercise 7.6 The Background is Created by These Three Statementsġ0 Code to Create the Background is Commented OutĮxercise 7.7 Code to Create the Background is Commented Outġ2 Exercise 7.8 Draw Oval Draw Rectangle Fill Ovalġ8 Exercise 7.10 /* * Method to create stars. The ScoreBoard, Explosion, and ProtonWave classes, which we can see in the class diagram, do not seem to feature in the scenario.Ĥ Exercise 7.2 Controls for the Rocket Collision Logic Explosion LogicĮxercise 7.3 Spacebar is used to fire a bulletĦ Creates the Explosion Visual and makes and Explosion SoundĮxercise 7.4 Creates the Explosion Visual and makes and Explosion Soundħ The visual is Present, But It Does Not Do AnythingĮxercise 7.5 The visual is Present, But It Does Not Do AnythingĨ 7.2 Painting Stars The Asteroid Scenario does not use an image file for the background. The game never ends, and a final score is never displayed. It flies straight through it, instead of damaging the rocket. Nothing happens when an asteroid collides with the rocket. It cannot be turned, nor can it be moved forward. When experimenting with the current scenario, you will notice that some fundamental functionality is missing. 1 Chapter 7 - Collision Detection: Asteroids
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |