Game Development Reference
In-Depth Information
its current from the space the button block occupies, transmitting the current to the
opposite base block, powering that and triggering the opposite door to open.
FIGURE 9.11 A simple circuit to link two doors.
The only obvious problem with this? It isn't attractive. You can't throw a welcome mat
over it to hide the wire, but there are other ways to improve that.
Let's remove the wiring and start again. Take a look at Figure 9.12 . It's still the same
concept, but the wiring now runs from the side of the button's anchor block, down a few
blocks to where it can be hidden by ground cover, and back up the other side in a mirror
image. Follow these steps:
1. Dig out the blocks shown to re-create, although you can leave the forwardmost
row in placeā€”I just removed those to better show the circuit.
2. Add the two single side blocks on either side of the door jambs and run redstone
along the top of the blocks and down into the trench.
3. When you reach the middle, stop and place a redstone repeater to amplify the cur-
rent because it needs to run a touch longer than 15 steps. Place it facing in the dir-
ection the current should run (in this example facing toward the right) and then
continue the redstone wiring out the other side and up the steps on the other side.
4. Time to test! Click the button, and both doors should spring open. The left one
first, followed by the right after a tiny tenth of a second delay caused by the cur-
rent as it runs through the repeater
Search WWH ::




Custom Search