File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,9 @@ of the ship's forward vector.
1191192. Modify the keydown handler to call this shoot method when the spacebar is pressed.
120120
1211213. Make sure that the missile sound is passed to the sprite initializer so that the shooting sound is played whenever you shoot a missile.
122+
122123Phase four - User interface
124+
123125Our user interface for RiceRocks simply shows the number of lives remaining and the score. This week neither of those elements ever change,
124126but they will next week. Add code to the draw event handler to draw these on the canvas. Use the lives and score global variables as the current
125127lives remaining and score. For more helpful tips on implementing this mini-project, please visit the Code Clinic tips page for this mini-project.
You can’t perform that action at this time.
0 commit comments