Subframe tutorial fixed

  • MachineMan
    27th June Member 1 Permalink

    The Subframe tutorial in the tpt wiki said that the ID of a conductive element must be smaller than the CONV(conductive element(SPRK)) and the BTRY or CONV(SPRK).  In actuality, the ID of the conductive element doesn't matter in subframe tech, because SPRK life goes down every frame, not every subframe.  So I fixed the tutorial:

    https://powdertoy.co.uk/Wiki/W/Subframe.html

  • Jerehmia
    27th June Member 0 Permalink

    Exactly, the only thing that matters is that the conductive particle must have a SPRK with life 3 when the particle activated by the conductor (a PSTN or ARAY for instance) is updated.

     

    Because a SPRK starts with life 4 if you create it with CONV or BTRY this basically means the ID of the CONV or BTRY should be larger than that of the particle(s) it's meant to activate (PSTN, ARAY etc.) so the SPRK activates the particle in the next frame after its life has been reduced by 1.

     

    If you want to activate particles (PSTN, ARAY etc.) from a particle with a smaller ID (in the same frame) you'll have to either duplicate a SPRK with life 3 with a DRAY (oldschool technique from before the introduction of CRAY), create a SPRK with life 3 with a CRAY, or set the life of an existing SPRK to 3 with a deserializing LSNS.

    Edited 7 times by Jerehmia. Last: 27th June
  • LBPHacker
    27th June Developer 1 Permalink
    Conductors decrease their life values between frames, not in the update function.
  • Jerehmia
    27th June Member 0 Permalink

    Don't you hate doubting yourself when you're right? I removed the edits.