Closed Dismalitie closed 1 year ago
Hi Dismalitie,
Thank you for this feed back and those suggestions to enhance the ui
module.
Here are some comments :
Regards,
Samir
Thanks! I also have a question / error report: What does this mean and how - if I can - do I fix it? It happened when I compiled one of my projects as a dynamic desktop application and ran it. I'm assuming it's something to do with the Lua DLL or a copile handler DLL that is used when compiling and running the application.
This error occurs because your compiled executable depends on lua54.dll
that must be in the same folder.
Just copy the lua54.dll
from the \bin\
folder of your LuaRT installation in the same location as your astro.exe
executable.
I have a few suggestions to make for LuaRT, that I think would be useful. And I understand that development is hard and not all these features may be implemented and I will be completely fine with your answer.
sys.WinApi(function, parameters)
local win = ui.Window("Borderless window example", 500, 500) win.style = "borderless"
repeat ui.update() until not win.visible
This could also alter the colour of buttons and other elements / widgets.
math.sin()
andmath.cos()
, but it would be nice to have them built in). Example:local win = ui.Window("Button animations", 500, 500) local button = ui.Button(win, "Hover over me!", 250, 250) button.animation = "easeIn+easeOut"
function button:onHover() button:playAnimation() end
repeat ui.update() until not win.visible
Thank you for reading this! 👍