Gel replica

  • TPT_PL
    1st Aug 2016 Member 1 Permalink

    Hello!

    I wonder is there a way to replicate the GEL element in lua from nothing, only update function.

    Sorry if there were other posts like that.

     

    Anyone help?

  • TPT_PL
    4th Aug 2016 Member 1 Permalink
    Bump. Anyone alive?
  • LBPHacker
    4th Aug 2016 Developer 0 Permalink

    Well, I see nothing in GEL.cpp that couldn't be done in Lua. As a matter of fact, the entire file is just an ::update and a ::graphics, and a bunch of init stuff in the ctor.

  • jacob1
    5th Aug 2016 Developer 0 Permalink
    Yeah, you could probably do this in lua. Something tells me this is going to turn into a "Can you do this for me in lua" help thread :P

    The stickiness code is near the end. It might look a little weird, but nothing Lua can't do.
  • TPT_PL
    5th Aug 2016 Member 1 Permalink
    Yeah :p
    Sorry I'll not waste your time. Just lock it and it'll be OK

    Edit: Oh my God...
    I just realized i asked MNIIP for a piece of code...
    *waiting for sticks and stones breaking my bones under my bed*
    Edited 2 times by TPT_PL. Last: 5th Aug 2016