Hello, I am creating a form in Bizhawk to help non programmers use Lua scripts. Specifically I am using a form of Moustache to create files that contain placeholders for variable values. These placeholders are found that then a list is generated that a user can then input values into. Once the values are input, the user can generate the output file.
Process should be:
1a) Generate the Lua Moustache template file (programmer/scripter task)
1b) Open Template File
2) Input Values Into Placeholders
3) Generate and Save
4) Load in LuaConsole
---------
However in order for this to be a success there needs to be USEFUL, GENERIC-USE Lua scripts!
So I wish to ask the community what are great examples that I can use. I have a couple ideas of what might be useful scripts.
1) 2D Distance Between Two Objects
2) 3D Distances Between Two Objects
3) 2D and 3D Position of Character
4) Nice Canvas Display of Some Values
5) Some Very Common Random Generators Algorithms with a Seed as the Placeholder
6) Sure others with more experience would have good ideas.
Tonight I will create some code to create some functionality to convert a RamWatch file a Lua folder to display RamWatch values. I have no canvas code ATM so it will be nasty Lua for now.
So....Help with Lua Examples?
Example WIP ATM
https://puu.sh/F2IYJ/67ffe72580.png