I'm bored... Up for a challenge

  • asdf123
    3rd Oct 2012 Member 0 Permalink

    Does anyone want me to make any lua element?

     

  • mniip
    3rd Oct 2012 Developer 0 Permalink
    better go make a non-element script
    I [as admired lua master] am tired of elements.
  • boxmein
    3rd Oct 2012 Former Staff 0 Permalink
    @asdf123 (View Post)
    Make a Lua CGI plotter that supports image formats like PNG and JPEG. Challenge enough.
    Google checklist:
    image format
    lua image library
    lua jpeg
    lua png
    lua binary file
    lua image plotting

    Don't publish (with) it though!
  • asdf123
    4th Oct 2012 Member 0 Permalink

    aargh!

    (gives up)

    elements only..

    i'm not that good!!!

  • billion57
    4th Oct 2012 Member 0 Permalink

    @asdf123 (View Post)

     

    Make something like C-4, but 10 times as explosive. Maybe you should name it C-40.

  • asdf123
    4th Oct 2012 Member 1 Permalink

    c4 is tricky.. it never seems to show up when i try to edit it

     

    edit: edit: YESS!!!! finally!

    however, it is fuse based.. and a little less pressurised.

     

    tpt.el.fuse.name="C40"
    tpt.el.fuse.description="10x C4."
    math.randomseed(os.time())
    function boom (i,x,y,s,n)
    a=math.random(-1,1)
    b=math.random(-1,1)
    c=tpt.get_property("temp",i)
    if c>140+273.15 then
    tpt.create(x+a,y+b, "plsm")
    tpt.el.fuse.airflow=1000000000000000

    end
    end
    tpt.element_func (boom, tpt.el.fuse.id)

     

    ok that should do it

  • boxmein
    4th Oct 2012 Former Staff 0 Permalink
    @asdf123 (View Post)
    Use any element you wish then, we're giving you challenges but you're turning them down because they're too much a challenge.
    Here's an easy one:
    Make a particle that changes colour each iteration and moves left. Like GRAV but it doesn't separate due to a small wind.
  • Box-Poorsoft
    4th Oct 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • asdf123
    5th Oct 2012 Member 1 Permalink

    @boxemien: You're suggesting a sort of moving solid..

     

    anyways...

     

     

    tpt.el.grav.name="FLYP"
    tpt.el.grav.description="Moves left and changes colour."

    math.randomseed(os.time())
    function fly (i,x,y,s,n)
    tpt.set_property("vx",1,i)
    x=math.random(1,99999)
    tpt.el.grav.colour=x
    end
    tpt.element_func (fly, tpt.el.grav.id)

     

    too easy.

  • billion57
    5th Oct 2012 Member 0 Permalink

    @asdf123 (View Post)

     C40 just burns, like wood, but with plasma. WHY??!!?!?!???!!???