-
Notifications
You must be signed in to change notification settings - Fork 9
Lua scripts
Previously Retro Graphics Toolkit has been static in nature this meaning that you were limited to what I have programmed in Retro Graphics Toolkit in regards to automated functions. For example I added an option to sort each palette row by either hue, lightness or saturation. Before I added this trivial feature despite it’s simplicity you could not that in an automated way in Retro Graphics Toolkit you would have to do it manually.
As of now Retro Graphics Toolkit uses the latest release release of Lua which at the time of writing this is Lua 5.3.1
Also an API of functions is provided and is currently not documented well. However you can read the example code and runlua.cpp to find out more about said API. In addition there is an FLTK binding allowing you to make your own windows using Lua.