Game Development Reference
In-Depth Information
Figure 6-6. A side-by-side comparison of the default Demon enemy and my tweaked version
Our Second Boss
In Figure 6-6 , the left side is unadjusted, while the right is the tweaked version for our game. It will probably be necessary to
tweak the Demon even further, but that's something we can do when play-testing. Of note is the Demon's weakness to Holy.
Creating a Bookcase Interaction Event
Let's give Noah an item that allows him to capitalize on the Demon's weakness to Holy. There are two bookcases on
the top floor, and we want the right-most one to grant the topic. Let's use the same pair of events that we used for the
dragon statue. This time, however, it will be a lot easier. See, the dragon statue is a 2×2 graphic. Our line of bookcases,
on the other hand, is a straight line. Thus, all we have to do is make sure the relevant item is placed on the right
bookcase, and we're set. Here's the event to set the topic interaction:
@>Control Variables: [0002:X] = Player's Map X
@>Control Variables: [0003:Y] = Player's Map Y
@>Conditional Branch: Variable [0003:Y] == 18
@>Conditional Branch: Variable [0002:X] >= 13
@>Conditional Branch: Variable [0002:X] <= 15
@>Control Variables: [0003:Y] -= 1
@>Set Event Location: [BookTopic], Variable [0002][00003]
@>
: Branch End
@>
: Branch End
@>
: Branch End
@>
 
Search WWH ::




Custom Search