Wire: Difference between revisions

4 bytes added ,  7 March 2020
m
(meant to mention in previous edit that i added info about blue teleports)
(latch truth table, timing and wire tunnel info, section restructuring, wording)
m ((meant to mention in previous edit that i added info about blue teleports))
Line 107: Line 107:
}}
}}


The '''switch''' is a special tile in [[Chip's Challenge 2]]. When set to the ''on'' position, a current will be output through wire that is connected to the switch. When set to the ''off'' position, no current will be output. Switches can be toggled by any movable object.
The '''switch''' is a special tile in Chip's Challenge 2. When set to the ''on'' position, a current will be output through wire that is connected to the switch. When set to the ''off'' position, no current will be output. Switches can be toggled by any movable object.


{{clear}}
{{clear}}
Line 278: Line 278:
This also leads to interesting behavior when logic gates feed into themselves or each other. For example, an OR gate with its output wired to one of its inputs, once triggered, will output ON permanently, and an inverter wired to itself will toggle its output every frame.
This also leads to interesting behavior when logic gates feed into themselves or each other. For example, an OR gate with its output wired to one of its inputs, once triggered, will output ON permanently, and an inverter wired to itself will toggle its output every frame.


In [[Crazy II]], there is a loop consisting of one inverter and two OR gates, which has a 6-frame (0.1-second) cycle: each wire segment is ON for 3 frames, then OFF for 3 frames. This feeds into a counter gate, causing it to output a pulse every 60 frames, or once per second. This in turn feeds into several more counter chains. As a consequence, each of these chains functions as a clock counting down in real time.
In [[Crazy II]], there is a loop consisting of one inverter and two OR gates, which has a 6-frame (0.1-second) cycle: each wire segment is ON for 3 frames, then OFF for 3 frames. This feeds into a counter gate, causing it to output a pulse every 60 frames, or once per second. This in turn feeds into several more counter chains. As a consequence, each of these chains functions as a clock counting down seconds in real time.


== References ==
== References ==
trusted-editors
994

edits