Name: ___________________________________________ 51 Lesson 3 Click Ball Copyright Goodheart-Willcox Co., Inc. May not be reproduced or posted to a publicly accessible website. 135. Applying what you have learned, replace the sound for event line 5 with an appropriate sound or delete the existing sound. 136. Try programming a new event line on your own for the Level 2 frame to match this pseudocode: IF the user clicks on the Enemy_Bomb object with the left mouse button, THEN go to the next frame. Level 3: The End At the end of the game, the player should see some sort of conclusion. In games like Click Ball, this is typically a high score page. This shows the player’s score in relation to previous scores. 137. Display the storyboard editor, and click the number 3 on the third line to add a new frame. 138. Applying what you have learned, rename the new frame Winner. 139. Applying what you have learned, open the Winner frame in the frame editor. 140. Applying what you have learned, expand the tree in the Library Toolbar: Local Library Backgrounds Games—General Playareas. 141. Applying what you have learned, add the Playtime border object to the frame, and position it to fill the entire frame. 142. Click Insert New Object in the pull-down menu. In the Create New Object dialog box, click Text on the left, String on the right, and then click the OK button. 143. Place the object anywhere on the frame. This object is similar to a text box like you might use in PowerPoint or Word. The text can be formatted. 144. Double-click the String object. This makes the text editable. 145. Enter this text: Congratulations! You are a WINNER! 146. Select all of the text, and click the Font button on the Frame Editor Toolbar. The Font dialog box is displayed, as shown in Figure 3-14. This dialog box contains text- formatting options similar to what you would find in PowerPoint or Word. 147. Use the Font: list to select a typeface you like. Keep in mind the style of the background image. The typeface should fit with the style of the image. 148. Select Bold in the Font style: list. 149. Click 28 in the Size: list to set how big the text will be. Depending on the typeface you selected, the size may need to be larger or smaller. 150. Click the OK button to apply the formatting changes. Notice that the text box is no longer large enough to display all the text. Storyboard Editor Frame Editor Font Select a typeface Set the size Select a style Goodheart-Willcox Publisher Figure 3-14. The text-formatting tools in Clickteam Fusion 2.5 are similar to those found in PowerPoint or Word.
Previous Page Next Page