Element:DLAY

From The Powder Toy
Revision as of 21:40, 20 May 2012 by jacksonmj (talk | contribs) (Corrections - DLAY only conducts from PSCN and to NSCN)
Jump to: navigation, search

DLAY is a new element coded by arK, it can be found in the Powered Materials category.

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.