Name: __________________________________________
Copyright
by
The
Goodheart-Willcox
Co.,
Inc.
Lesson 3 Click Ball 47
Compile to an Executable
So far, you have test played the game at various points during the game build. It is
important to make all final changes to the game before it is compiled into an executable file. The
executable file cannot be modified. To make changes to the game after the executable file is
created, you must make the changes in Game Maker and rebuild the executable file (replacing
the existing file). Once the game has been compiled into an executable file, it can be played on
any PC without needing to have Game Maker installed.
194. Select File Create Executable… from the pull-down menu. A standard Windows “save”
dialog box is displayed.
195. Navigate to the folder where you want to save the executable fi le. Your instructor may
specify a location. Click the Save button to save the fi le.
196. Test play the executable fi le and enjoy your success.
Going Beyond
197. Add a second ball to the game, different from the fi rst ball (like a basketball).
198. Add enemy objects to the game and program this logic statement: IF the player clicks an
enemy object, THEN the game ends.
199. Program the ball objects to bounce when colliding with enemy objects.
200. Rename all rooms in order as Title, Level_1, Level_2, Level_3, and Winner. To rename a
room, right-click on it in the resource tree and select Rename from the shortcut menu.
Run the
Game
Previous Page Next Page