Supported Languages

  • S117
    16th Dec 2015 Member 0 Permalink

    I am sorry if this is not the proper forum to post this in but, what are the supported languages in TPT? Can i use Ruby just as well as C++, Lua, or JS?

    The reason I am asking is because I am currently learning Ruby and plan on learning JS as well.

  • jacob1
    16th Dec 2015 Developer 0 Permalink
    If you want to mod the game, you have to use C++. And Lua is the only scripting language we support right now. So no, you can't use ruby or js to do stuff in TPT :P
  • S117
    16th Dec 2015 Member 0 Permalink

    Well, aint that a bummer, oh well, I'll get by with my (miniscule) knowledge of lua, lol.

    Thanks for the response Jacob. :)

  • jenn4
    16th Dec 2015 Member 0 Permalink
    @S117 (View Post)
    If you know any other language well, you'll easily be able to program in lua. Just remember to define everything as local, and you'll be fine.