The Powder Toy

Lua Element Creator

This is a free-to-use, free-to-copy program to be used by anyone who wants to create an element. You no longer need to know Lua or the complex API usually used to create elements.

To run it, just extract everything from the .zip (preferably into your Powder Toy folder), then run whichever executable suits your operating system. (If you don't know, use the _x86 version to be safe). When you're finished with your element, press Ctrl-S or click File/Save and select a file name/location, just as you would in Microsoft Word, etc.

INCLUDES:

Lua Element Tool:

Used for creating a Lua script that can in turn create an element.

Graphics Function Helper (now integrated into the main program, activated by Ctrl-F):

Used to create a simple template for a graphics function, with just the return

value.

TPT Transparency Setter:

Can be used to make Powder Toy (or any other window) semi- or fully-transparent. Works similar to

The source is included in the package (that's LuaElement.au3), in case you wish to modify it. If you have written a mod of it but don’t want to or are unable to compile it, I will be perfectly willing to do it for you. (That will now almost certainly be the case, as the code used for sending the bug report email is not released for security reasons)

You can find the full version history here, and I will add more versions to that folder as I go along.

Suggestions are very welcome! Just put them in the comments on this thread, and they will be implemented if possible.

Todo:

FeatureDeadlineExtra

Option to save element as a non-Lua file readable by the program (probably .LEP), that opens by default with the program (or capability to read from a .lua file)Not likely to be implemented

Instead of entering a number for falldown and menusection, a pulldown menu to make it simpler and easierAdded in 4.7.1 (Unreleased)

Instead of entering a number for Explosive mode, radio buttons, to make it simpler and easierAdded in 5.0.3Was later changed from radio buttons to a simple pull-down menu

Automatic downloading of update itselfAdded in 6.5.7Still may be a bit buggy

Skipping of the update check/alert if there is no internet connectionAdded in 6.8.2Instead of testing for an internet connection, it simply reviews the validity – much simpler and slightly less error-prone.

Add help menu, option to report bugsAdded in 7.5.5

May be completely redesigning the user interface lookUnknown

Add option to change element group - i.e. other than AU3FGENAdded in 8.1.5

Changelog: (If the first number in the latest version is higher than your version, you should definitely update - it's either an important bugfix, new important feature or important change)

3.3.2 Update function editing (it actually wrote a graphics function instead, which has been fixed)

3.5.2Changed background from grey to plain white Changed code-editing font from default to Consolas, a more suitable monospaced font Rendering of sliders on startup

3.5.3Sliders default to 255

4.1.0Widened it by 100% to make code-editing easier Restyled the GUI just a bitGraphics function editor Fixed update function editor actually registering to the element's graphics function

4.1.1Changed the icon

4.1.5Fixed version numbering in both the executable and the folderChanged the icon back to the original (the new one wasn't that great) Minor bugfixes

4.5.0 Now actually appears in the menu

5.0.3Changed the inputs for Explosive, Menusection and Falldown to drop-down menusBegan Github repository - all versions hereon will be posted on Github

5.2.0Changed color scheme for code editing to black-on-whiteChanged default text for graphics function to something much more useful

5.2.0/2.0.0 Now includes another program, used for easily making the return value for a graphics function

5.2.0+2.0.0 (2)Updated all the iconsNow comes with a Window Transparency Setter - it does the same thing as Transparent Windows, but a lot easier and free-er!

6.1.3Updated the icon to something much more professional-lookingPress Ctrl-F to run the Graphics Function Helper, now embedded in the program.Automatically checks for updates! On startup, if your software is out of date, it will display a dialog telling your version, the most current version, and what's new. Graphics Function Helper now returns a function that actually...um...works.

6.2.0 Fixed a small bug in which closing the GFH also closed the main window

6.5.7 Added ability to automatically download the latest version if available