{"batchcomplete":"","continue":{"lecontinue":"20250706075622|143","continue":"-||"},"query":{"logevents":[{"logid":153,"ns":0,"title":"SoundHandler","pageid":153,"logpage":153,"revid":199,"params":{},"type":"create","action":"create","user":"Anders","timestamp":"2026-01-04T10:41:37Z","comment":"Created page with \"{{:SoundHandlerExampleCode}}   ==Functions== {| class=\"wikitable\" !|return !|function !|description |- | |[[SoundHandler:setSoundLimitation(string soundName, float maxSoundPerSecond)|playSound]](string soundName, float maxSoundPerSecond) |Set a limit on how many sound can be started every second |- | |[[SoundHandler:playSound(string soundName, float soundLevel, Vec3 position)|playSound]](string soundName, float soundLevel, [[Vec3]] position) |Set a limit on how many soun...\""},{"logid":152,"ns":0,"title":"Statistics","pageid":152,"logpage":152,"revid":187,"params":{},"type":"create","action":"create","user":"Anders","timestamp":"2025-08-05T07:29:26Z","comment":"Created page with \"{{:StatisticsExampleCode}}  ==Constructor== {| class=\"wikitable\" !|function !|description |- |Statistics() | |- |}  ==Functions== {| class=\"wikitable\" !|return !|function !|description |- | |[[Statistics:addScriptGroup(string groupName, string scriptNames)|addScriptGroup]](string groupName, string scriptNames) |scriptNames are seperated by ';' example skeleton.lua;rat.lua |- | |[[Statistics:update()|update]]() |Calculate previous frame statistics |- |float |Statistics:...\""},{"logid":151,"ns":0,"title":"ListenerExampleCode","pageid":151,"logpage":151,"revid":155,"params":{},"type":"create","action":"create","user":"Anders","timestamp":"2025-07-06T08:01:09Z","comment":"Created page with \"==Example Code==  Script 1 <syntaxhighlight lang=\"lua\">  function create()         --Register listener group \teventHandler = Listener(\"groupName\") end  function update() \teventHandler:pushEvent(\"update\") \treturn true end </syntaxhighlight>  Script 2 listener <syntaxhighlight lang=\"lua\">  function create()         --Register listener group \teventListener = Listener(\"groupName\")         --listen on update event, call the function eventUpdate when event happens.         eve...\""},{"logid":150,"ns":0,"title":"ComboBoxExampleCode","pageid":150,"logpage":150,"revid":154,"params":{},"type":"create","action":"create","user":"Anders","timestamp":"2025-07-06T07:59:13Z","comment":"Created page with \"==Example== <syntaxhighlight lang=\"lua\">  function changeSetting(button) \tcomboBox:setText(button:getTag()) end  comboBox = panel:add(ComboBox(PanelSize(size), items[1])) local items = {\"item1\",\"item2\",\"item3\",\"item4\"}  for i=1, #items do \tlocal itemButton = comboBox:addItem( Button(PanelSize(Vec2(-1,0.03)), items[i]) ) \titemButton:setTag(items[i]) \titemButton:addEventCallbackExecute(changeSetting) end  </syntaxhighlight>\""},{"logid":149,"ns":0,"title":"FallLayoutExampleCode","pageid":149,"logpage":149,"revid":153,"params":{},"type":"create","action":"create","user":"Anders","timestamp":"2025-07-06T07:58:49Z","comment":"Created page with \"==Example== <syntaxhighlight lang=\"lua\">  local panel = form:add(Panel(PanelSize(Vec2(-1)))) --Set a FallLayout to the panel. panel:setLayout(FallLayout())  </syntaxhighlight>\""},{"logid":148,"ns":0,"title":"FlowLayoutExampleCode","pageid":148,"logpage":148,"revid":152,"params":{},"type":"create","action":"create","user":"Anders","timestamp":"2025-07-06T07:58:28Z","comment":"Created page with \"==Example== <syntaxhighlight lang=\"lua\">  local panel = form:add(Panel(PanelSize(Vec2(-1)))) --Set a FlowLayout to the panel. Note that doing this i meaningless because FlowLayout is the default layout.  panel:setLayout(FlowLayout())  </syntaxhighlight>\""},{"logid":147,"ns":0,"title":"FormExampleCode","pageid":147,"logpage":147,"revid":151,"params":{},"type":"create","action":"create","user":"Anders","timestamp":"2025-07-06T07:58:04Z","comment":"Created page with \"==Example Code==  <syntaxhighlight lang=\"lua\"> --this = SceneNode() function destroy() \t--clear form \tform:destroy() end  function create() \t--Get the camera wich the form will be renderd to. \tlocal camera = this:getRootNode():findNodeByName(\"MainCamera\") \t--Check if the camera exist. \tif camera then \t\t--create a form window of size 20% screen width and 20% screen height. \t\tform = Form(camera, PanelSize(Vec2(0.2,0.2))) \t\t--Set layout default is FlowLayout. \t\tform:setLayo...\""},{"logid":146,"ns":0,"title":"GradientExampleCode","pageid":146,"logpage":146,"revid":150,"params":{},"type":"create","action":"create","user":"Anders","timestamp":"2025-07-06T07:57:46Z","comment":"Created page with \"==Example== <syntaxhighlight lang=\"lua\">  local panel = form:add(Panel(PanelSize(Vec2(-1)))) --create a background, white in the top and black at the bottom of the panel panel:setBackground(Gradient(Vec3(1),Vec3()))  </syntaxhighlight>\""},{"logid":145,"ns":0,"title":"GridLayoutExampleCode","pageid":145,"logpage":145,"revid":149,"params":{},"type":"create","action":"create","user":"Anders","timestamp":"2025-07-06T07:57:28Z","comment":"Created page with \"==Example== <syntaxhighlight lang=\"lua\">  local panel = form:add(Panel(PanelSize(Vec2(-1)))) --Set a gidlayout with 2 rows and 4 columns. Only the 8 panels can be added to the panel. panel:setLayout(GridLayout(2,4))  </syntaxhighlight>\""},{"logid":144,"ns":0,"title":"ImageExampleCode","pageid":144,"logpage":144,"revid":148,"params":{},"type":"create","action":"create","user":"Anders","timestamp":"2025-07-06T07:57:08Z","comment":"Created page with \"==Example== <syntaxhighlight lang=\"lua\">  --add an image to panel with fill and the images width and height need to of equal length.  local image = panel:add(Image(PanelSize(Vec2(-1),Vec2(1)), \"LoadingScreen\\loadingScreen1\")) --set image uvcoord image:setUvCoord(Vec2(0.25,0.25),Vec2(0.75,0.75))  </syntaxhighlight>\""}]}}