How to insert objects with (self)switch?

  • Edza
    1st Jun 2019 Member 0 Permalink

    Is there method to insert any item|element on screen at specific location with manual(button|spark) and automatic(cycle interval and|or all time circuit) on|off powered switch?

  • LBPHacker
    1st Jun 2019 Developer 0 Permalink

    CRAY with ctype set to your element of choice and activated by PSCN.

  • Edza
    1st Jun 2019 Member 0 Permalink

    LBPHacker:

    CRAY with ctype set to your element of choice and activated by PSCN.

     

    Thanks for idea but i was looking for ways to spawn stuff on screen at any location with switches|buttons|circuits without taking more space or beams.

  • LBPHacker
    1st Jun 2019 Developer 0 Permalink

    Then just set the tmp2 of CRAY.

  • Edza
    1st Jun 2019 Member 0 Permalink

    LBPHacker:

    Then just set the tmp2 of CRAY.

     Still ray|beam probem.

    What i am looking for is something like these ideas combined:

    https://powdertoy.co.uk/Browse/View.html?ID=232149

    https://powdertoy.co.uk/Browse/View.html?ID=2400756

    So when button A is sparked|selfswitched on|off, for example, it (stops) spawn item 1 at specific location when button B then item 2 when button C item 3 etc.

    I just not know which elements spawn other elements without being destroyed in process.

  • LBPHacker
    1st Jun 2019 Developer 1 Permalink

    CRAY matches your description perfectly, I don't see why you want to avoid rays so much.

     

  • Edza
    1st Jun 2019 Member 0 Permalink

    LBPHacker:

    CRAY matches your description perfectly, I don't see why you want to avoid rays so much.

     How did you manage to get rid of rays? What value of tmp2 to remove beams?

  • LBPHacker
    1st Jun 2019 Developer 0 Permalink

    Any value of tmp2 other than 0 "removes" beams as in CRAY's case tmp2 is the number of spaces to skip in the "line of sight" before spawning the first particle.

  • Edza
    1st Jun 2019 Member 0 Permalink

    LBPHacker:

    Any value of tmp2 other than 0 "removes" beams as in CRAY's case tmp2 is the number of spaces to skip in the "line of sight" before spawning the first particle.

     Oh i see, i guess need use ZOOM before that to count pixels and use tmp1 and tmp2 to set distance and how much spawn, before that i was not using ZOOM..but still if any other alternatives can suggest.

  • LBPHacker
    1st Jun 2019 Developer 0 Permalink

    Well, you can also use PCLN (as one of the saves you posted does). One downside of that is that it needs PSCN to turn on and NSCN to turn off, so the electronics gets a bit more complicated. You also can't spawn particles from afar.