Element:DLAY

From The Powder Toy
(Redirected from Using dlay element)
Jump to: navigation, search
DLAY.png Delay
Properties
Section Powered Materials
Spawn temperature 4°C
Heat Conductivity 0%
Relative weight 100
Gravity 0
Acid dissolve rate 0.1%
Flammability 0
State Solid
Source code


Indestructible to heat and pressure, delays SPRK based on temperature (One degree equals one frame, the hotter it is, the more the SPRK is delayed), use HEAT/COOL to change temperature.

How to use, with pictures

It works like this:

  • Accepts current only from PSCN
  • Transfers current only to NSCN
  • Does not conduct heat (use HEAT/COOL to change its temperature)
  • Delays current transfer by a number of frames equal to its temperature
  • Can accept current immediately after delay is over (not like water)

Here is an example of a DLAY set at 4 degrees:

QmxUJ8.gif

Its delay is set by its temperature; the hotter it is, the more the spark is delayed (a negative temperature delay will absorb spark and remain constantly on), and is controlled by it's life variable. When it is sparked by PSCN, it's life corresponds to it's temperature. Each frame, it's life moves down one. When the life reaches 0, the spark is released. So DLAY at 4 degrees Celsius will last four frames.

W5Dm9u.gif

Here is an example of how it works in a simulation:

http://i52.tinypic.com/zmfegy.jpg

DLAY will work fine in large numbers, however there must be a two pixel gap between the PSCN and the NSCN, otherwise the spark will jump the 1 pixel gap and there will be a double spark, which can be useful in some situations.


Note: 60 frames = ~1 second on fast computers that can run Powder Toy at maximum speed. The frame rate will be smaller on slower computers, especially with big saves.

Language: [[::Element:DLAY|English]]