Game Development Reference
In-Depth Information
Figure 9-7. SoundOn is equal to 1 rule.
Last but not least, create a new rule and name it ''SoundOn is equal to 0.'' The
condition is ''Attribute''''game.SoundOn''''=''''0''. Next, drag and drop a Change
Image behavior and set the image to speaker off." Lastly, drag and drop a
Change Attribute behavior and change Device.Audio.Sound Volume to 0 as per
Figure 9-8.
Search WWH ::




Custom Search