Jump to content

Recommended Posts

Posted

1.0.0

  • Improved Lua keywords storage system, now stored locally in luakeywords.txt.
  • Fixed bug where most Lua functions were not being highlighted in editor.
  • Only Steam build updated at this time.
  • Like 2
  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

  • Added autocomplete in script editor, for Lua files only.
  • Only Steam build updated at this time.
  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

Autocomplete window now uses default system colors, since I can't change the top of the window and the scroll bar colors. It stands out a lot, but this is probably the best choice.

  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

  • Only Steam build updated at this time.
  • The procedural Lua API example shown here will now work, and have correct syntax highlighting and autocomplete in the script editor:

 

  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

  • Lua syntax highlighting now matches the documentation highlighting.
  • Only Steam build updated at this time.

image.thumb.png.db60872d514f81f13cd2f8cd992f9265.png

  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

Added an icon in the script editor status bar, which I feel makes the meaning of the text more clear.

image.thumb.png.e9728f29ecee229b32e48082f84982a1.png

  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

  • First attempt at LSP integration into the script editor.
  • The new Lua files in Source/API are required.
  • Only a small amount of the API is exposed.
  • Entity definition files will also work with Visual Studio Code, if the whole project is loaded as a Workspace and "Lua" extension by sumneko is installed.
  • File changes made by external programs will not be detected in the autocomplete system.
  • New files added to the project will not be detected in the autocomplete system.
  • Only Steam is updated.

If you type out this example it will have auto-complete for just about everything:
 

displays = GetDisplays()

window = CreateWindow("Leadwerks",0,0,1280,720,displays[1])

framebuffer = CreateFramebuffer(window)

world = CreateWorld()

camera = CreateCamera(world)

box = CreateBox(world)
box:SetPosition(0,0,2)

while not window:Closed() and not window:KeyDown(KEY_ESCAPE) do
	box:Turn(0,5,0)
	world:Update()
	world:Render(framebuffer)
end

Here is what it looks like:

 

  • Like 2
  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

Finished Entity class Lua definition file. You must update your project to get the current version.

  • Like 1
  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

  • Pressing F1 or selecting the documentation menu item will jump to the right page, when the IDE caret is in a function.
  • Hover the mouse over a function to see a display of the function syntax(!) The API files are missing function argument type definitions. I think it will be necessary to make an automated system to generate these files, since it would take a long time to write them with each argument type defined.
  • Only Steam build updated at this time.

image.thumb.png.5573680c26d1fcd19aba0bc55b22700f.png

  • Like 2
  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

Updated Lua API definition files with auto-generated version. They are definitely not perfect, but it covers the whole API and were auto-generated from the docs.

  • Like 1
  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

  • Code hints will now show the return type of functions.
  • Lua definition files are no longer part of the project files, but are in the program install folder in LSP/Lua/API.
  • Only Steam build updated.
  • Like 1
  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

  • Video tutorials window now separates videos into subfolders.
  • Added Lua programming video tutorials.
  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

  • Added changed line indicators in script editor.
  • Added auto-indentation in script editor.
  • Like 1
  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

  • Updated editor with some bug fixes.
  • Both Steam and standalone editor are updated.
  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

  • Added File > Export menu item in main window.
  • Added Open File Location menu item in the right-click popup menu that will open the code file in Explorer.
  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

  • Downloads manager slider now works, items dynamically rearrange on window resize.
  • Like 1
  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

  • Revised the way texture deletion occurs.
  • Lua executables and C++ library are updated.
  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

Added Lua import() function, which will work almost the same as require, but...

  • Does not insert "Source" before file path.
  • Works with zip packages.
  • Loads Lua files only, no DLLs.
  • Like 1
  • Thanks 1

Let's build cool stuff and have fun. :)

Posted

1.0.0

  • Added right-click menu in scene browser for "Unlink Prefab".
  • Removed prefab break button in entity properties.
  • Like 1
  • Thanks 3

Let's build cool stuff and have fun. :)

Guest
This topic is now closed to further replies.
×
×
  • Create New...