用于 LÖVE 游戏的轻量级即时模式 GUI
Nuklear module for the LÖVE game engine.
Provides a lightweight immediate mode GUI for LÖVE games.
…Windows binaries are available for each release.
To build the library yourself, grab the code with:
$ git clone --recursive https://github.com/keharriso/love-nuklear.gitNext, you need to compile the code to a native Lua module.
cmake and luajit or lua51-luajit (for openSUSE) packages installed, as well as libluajit-5.1-dev (for Ubuntu/Debian), luajit-devel (for Fedora), or lua51-luajit-devel (for openSUSE) if your distro has one of these packages.love-nuklear called love-nuklear-build.love-nuklear-build.$ cmake -DCMAKE_BUILD_TYPE=Release ../love-nuklear
$ makenuklear.so in the build folder.LÖVE-Nuklear is also available as a Guix package, and can thus be directly downloaded and built via:
$ guix package --install love-nuklear$ mingw32-makelua51.dll inside the LuaJIT src folder.love-nuklear folder.src folder.lua51.dll inside the LuaJIT src folder.$ mingw32-makenuklear.dll inside the build folder.src then
execute msvcbuild.bat. This will create lua51.dll, lua51.lib, and luajit.exelove-nuklear folder.set "LUA_DIR="cmake -Bbuild -H. -A Win32 -DLUA_INCLUDE_DIR=%LUA_DIR%\src -DLUA_LIBRARY=%LUA_DIR%\src\lua51.lib -DCMAKE_INSTALL_PREFIX=%CD%\install.
If you previously compile LuaJIT using x64 VS command prompt, replace Win32 with x64 at above command.cmake --build build --config Release --target install and you'll found nuklear.dll inside "install" folder.A complete description of all functions and style properties, alongside additional examples, is available at the LÖVE-Nuklear wiki.
Copyright (c) 2016 Kevin Harrison, released under the MIT License (see LICENSE for details).
暂无开放 Issues,或尚未同步最近议题。