Game Development Reference
In-Depth Information
After these settings, your event sheet should look like the following screenshot:
Add a System event that will be Compare variable , as shown in the following screen-
shot. In game design, you compare variables and act accordingly. What we are going to do
is compare the variable isWave to see whether it is 0 or 1 , that is, true or false.
Make sure that we are comparing to check whether the variable is equal to 1 , as shown in
the following screenshot. This means that when the default is 0 , we do not want the turret
to fire. When we set the variable to 1 , the turrets should fire.
Search WWH ::




Custom Search