Lua Element Creator

  • Factorial
    11th Apr 2015 Banned 0 Permalink
    This post is hidden because the user is banned
  • FeynmanLogomaker
    12th Apr 2015 Member 0 Permalink

    @Epiclark (View Post)

     Sure, you could work on it if you want. I'd actually be pretty interested in how you could improve it, since there are so many improvements that could be made.

  • Factorial
    16th Apr 2015 Banned 0 Permalink
    This post is hidden because the user is banned
  • FeynmanLogomaker
    16th Apr 2015 Member 0 Permalink

    I'm trying to write a more platform-independent version, I might do that.

  • jacob1
    16th Apr 2015 Developer 0 Permalink
    @FeynmanLogomaker (View Post)
    Why don't you write it in lua, and have it work from TPT? Then you could have sliders or other stuff for the values so that they can see how changing the values modify the final element in game. I had this idea once but haven't coded it yet, I think it would be really awesome to see.
  • FeynmanLogomaker
    16th Apr 2015 Member 0 Permalink

    I'll try that! That sounds like a really good idea.

  • DanielGalrito
    16th Apr 2015 Member 0 Permalink

    I think your program could have some pieces of code, so the coders can know what functions there are for example:

    "if mathrandom(1,200)" or "if tpt.get_property("type", x+mathrandom(-1,1), y+mathrandom(-1,1)) == DEFAULT_PT_WATR" (or tpt.element('watr') instead of the DEFAULT etc)

  • FeynmanLogomaker
    8th Jun 2015 Member 0 Permalink

    I'm starting on a multi-platform version of this - now that I've been doing some modding, I know enough c++ to write a cross-platform program with IUP or QT. I'm also trying to get started on a Lua version that could be run in-game and update your element in real-time, but that's probably not going to be done anytime soon.

  • io
    8th Jun 2015 Member 0 Permalink

    Also, could you make the program auto-detect screen resolution and ajust to it because, in notebooks it fills screen and some parts can't be reached by the small screen.

  • ChargedCreeper
    8th Jun 2015 Member 0 Permalink

    io:

    Also, could you make the program auto-detect screen resolution and ajust to it because, in notebooks it fills screen and some parts can't be reached by the small screen.

     

    Must be a low res notebook then. My tablet, which is 12 inch resolution is 2160x1440.

Locked by LBPHacker: dead script