Game Development Reference
In-Depth Information
Figure 8-8. Change to False rule
Duplicate the rule by dragging it down while pressing the Option key. Name it
''Change to True.'' You will basically reverse the results. Apply ''All'' to the
following conditions:
''Attribute'' ''game.OpenDoor'' is ''false''
''Actor receives event'' ''overlaps or collides'' with ''actor of
type'' ''ball''
''Attribute'' ''Open Door.Timer'' ''='' ''0''
Then drag and drop a Change Attribute behavior and change game.OpenDoor
to 1.
Drag and drop a second Change Attribute behavior and change Open
Door.Timer to 1.
 
Search WWH ::




Custom Search