Hi! Me again. I've been working on a website to bring together a whole bunch of data on TPT modding in both of the languages supported (you've probably seen tons of links thrown around here and there) and have decided to make it into its own forum post.
So what I have here is a set of web pages which contain templates to get you a kickstart on creating your own element and a few different kinds of references which allow you to quickly look up [well written NYI] documentation on all sorts of different functions you can use. (Did you know the API also secretly has a function called
tpt.test()
that doesn't really do anything interesting? Well, neither did I before I wrote about it! Part of the reason why I'm writing this is to boost the quality of the site's wiki and make TPT modding much easier and much more popular than it is.
The website is pretty much entirely client-side (aside from locally re-generating some data nuggets) so it's expected that it only works with Javascript enabled. Oh, most important part, you can access the webpage on http://boxmein.net/tpt/tptelements/ Also, did I tell you, it's open source!
TPTElements has just been updated, I call it tptelements2 because of a bunch of behind-the-scenes changes and a great platform for future features.
* The code editor has been rehauled - it's now an actual web editor (Ace) while still having the default templates. * The styles have been tweaked. The Lua reference is far more readable now. * Loads of backend changes, meaning you can host your own TPTElements based on just the source code :D
Hi! Did another massive TPTElements update. It now needs no serverside at all to run the content, other than a static HTML server. The Lua reference and save format reference are intact, but I can't seem to figure out where I placed my API search files.