lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Glu is a cross-platform GUI for running Lua scripts.  The app includes
a statically embedded Lua interpreter (v 5.4.4) as well as built-in
functions and modules that allow Lua programmers to create 2D graphics
and interactive games.

Glu is free, open source (MIT license) and runs on Windows/Mac/Linux.
Download links and screenshots can be found here:

https://glu1.sourceforge.io

The most important changes in this release:

* All Lua functions that take a file path (dofile, io.open, etc) now
support UTF-8 paths on Windows, thanks to Peter Wu's patch:
https://github.com/Lekensteyn/lua-unicode

* Fixed a problem with key press events on Windows (a key event was
only being sent upon releasing the key).

* Hit the +/- keys to change the size of text in Glu's console window.

* Added escape-codes.lua to illustrate the ANSI escape sequences now
supported by the console window.  Here's the result on macOS:
https://glu1.sourceforge.io/screenshots/escape.png

* A print() call now prints a blank line (to match standard Lua usage)
rather than clearing the console.  Use io.write("\27c") instead.

Two new scripts have been added to the curated collection (download
them by selecting "Download Script..." from Glu's File menu):

* MegaWordle.lua, a variant of Wordle that can be played with
either words or numbers using 3 to 9 letters/digits.
https://glu1.sourceforge.io/screenshots/megawordle.png

* Numble.lua, yet another Wordle variant that is only played with
numbers, but of any length.  This version is played in Glu's console
window and makes use of the new support for escape sequences.

Andrew Trevorrow (on behalf of the Glu Group)