Game Development Reference
In-Depth Information
screen right now, after creating these four new props-related classes, so let's learn how
to make these vanish! As you can see in Figure 14-17 , if you right-click on the file
name next to the wrench icon, and select the Compile File menu option, or use the F9
function key, the wrench will disappear. Essentially the wrench signifies that you are in
the process of working on that file, that is, you have made changes to the code in that
file, and have not made that code permanent, by compiling it to check it for errors as
well as to save it.
Figure 14-17 . If you want to get rid of the little wrench icon next to the file name, right-click the file, and Compile
File
Adding Prop and Image Declarations: Prop and Image
Objects
Let's start by declaring the objects that we will need to create to add fixed sprites to our
game's Scene and Stage objects, which will initially be a Prop object named iPR0,
which stands for InvinciBagel Prop zero, and eventually as the chapter goes on, a
PropH object named iPH0, a PropV object named iPV0, and a PropB object named
iPB0, just so that you have experience using all of these classes and so that we can
 
 
Search WWH ::




Custom Search