As I make a mod .exe ?

  • ChornoBlade
    17th Dec 2014 Member 0 Permalink
    I 'm about to start making a mod .... but only as I do in .lua how to be .exe? D:
  • CeeJayBee
    17th Dec 2014 Member 0 Permalink
    You can't make a lua mod an .exe. If you want a compiled .exe, make a C++ mod.
  • boxmein
    17th Dec 2014 Former Staff 0 Permalink
    @ChornoBlade (View Post)
    If you want to make a mod that's inside TPT itself, you have to pick apart TPT and actually manually add the elements into it. That's actually not as hard as it sounds - check out the compiling tutorial to set up your development environment to generate an usable Powder Toy exe from pieces of text. After that, read other elements' source codes to see how they're written and try to create something similar yourself. Note that C++ is in a lot of ways different from Lua, so I suggest you learn its nuances as well.