So I’m deep diving into some new UI functionality for ya’ll and I gotta say I’m very impressed by the hackery you guys have pulled off. I believe I’ve added some functionality that will make a lot of ya’ll lives way better, but I’m very curious to know what things you are pulling off that you really think should be done in a much easier way.
An example of something I saw you guys doing was having UI buttons actually setting zero size elements visible or not to basically track button presses. Then, in the game update loop, you were checking to see if the item was visible or not to see if the button was pressed and then running some logic and setting the element hidden again to reset.
Very nutty and impressive in its resourcefulness, but omg. So we’ve made that easier by allowing you to now include LUA script files at the top of UI screen definitions. This allows you to call custom functions specifically for the UI screen you are working on.
Anyway, what other hackery are you guys doing that you’d really don’t think you should be having to do.