I just finished creating a LÖVE binding for the Nuklear GUI library. The library is very low profile and customizable. It follows the "immediate mode" paradigm and comes with a good number of fully stylable widgets. Check it out if you are interested in this sort of thing:
https://github.com/keharriso/love-nuklear
LÖVE-Nuklear - a lightweight immediate mode GUI
LÖVE-Nuklear - a lightweight immediate mode GUI
LÖVE-Nuklear - a lightweight immediate mode GUI for LÖVE games
Re: LÖVE-Nuklear - a lightweight immediate mode GUI
Imgui didn't provide much and good documentation, so it's very nice to have an alternative with very good docs.
Great job! I'll try it out soon.
Great job! I'll try it out soon.
Re: LÖVE-Nuklear - a lightweight immediate mode GUI
It now has binaries, so everyone can get started right off the bat! Really great work here!
- LordSeaworth
- Prole
- Posts: 22
- Joined: Tue Jun 07, 2016 10:29 pm
Re: LÖVE-Nuklear - a lightweight immediate mode GUI
I will definetly check this out.
Great job
Great job
Re: LÖVE-Nuklear - a lightweight immediate mode GUI
This looks very interesting to me. Has anyone compiled macOS binaries? I'm not sure how to build this on my Mac.
- master both
- Party member
- Posts: 262
- Joined: Tue Nov 08, 2011 12:39 am
- Location: Chile
Re: LÖVE-Nuklear - a lightweight immediate mode GUI
Hi master both! Thank you for posting that. I'm having some trouble, though. When I click the link, the file nuklear.so.txt is downloaded. I removed the .txt making the extension .so and now I get this error.
What should I do to resolve this?
Thanks.
Code: Select all
Error: error loading module 'nuklear' from file './nuklear.so':
dlopen(./nuklear.so, 6): Library not loaded: /usr/local/opt/luajit/lib/libluajit-5.1.2.dylib
Referenced from: /Users/bzSteve/Desktop/love-nuklear-master/example/nuklear.so
Reason: image not found
stack traceback:
[C]: at 0x010061d940
[C]: in function 'require'
main.lua:3: in main chunk
[C]: in function 'require'
[string "boot.lua"]:429: in function <[string "boot.lua"]:275>
[C]: in function 'xpcall'
Thanks.
- master both
- Party member
- Posts: 262
- Joined: Tue Nov 08, 2011 12:39 am
- Location: Chile
Re: LÖVE-Nuklear - a lightweight immediate mode GUI
Thats odd, It downloads as "nuklear.so" for me.
Make sure you put the file in the path "/usr/local/lib/lua/5.1/nuklear.so" and just write require("nuklear") in main.lua
Make sure you put the file in the path "/usr/local/lib/lua/5.1/nuklear.so" and just write require("nuklear") in main.lua
Re: LÖVE-Nuklear - a lightweight immediate mode GUI
Something weird is going on. I'm getting a very similar error.
Code: Select all
Error: error loading module 'nuklear' from file '/usr/local/lib/lua/5.1/nuklear.so':
dlopen(/usr/local/lib/lua/5.1/nuklear.so, 6): Library not loaded: /usr/local/opt/luajit/lib/libluajit-5.1.2.dylib
Referenced from: /usr/local/lib/lua/5.1/nuklear.so
Reason: image not found
stack traceback:
[C]: at 0x0106105940
[C]: in function 'require'
main.lua:3: in main chunk
[C]: in function 'require'
[string "boot.lua"]:429: in function <[string "boot.lua"]:275>
[C]: in function 'xpcall'
- Positive07
- Party member
- Posts: 1014
- Joined: Sun Aug 12, 2012 4:34 pm
- Location: Argentina
Re: LÖVE-Nuklear - a lightweight immediate mode GUI
Master Both what was your compilation target? Did you link to liblua51.dylib or something else? It is looking for libluajit-5.1.2.dylib which LÖVE doesn't come with
for i, person in ipairs(everybody) do
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
[tab]if not person.obey then person:setObey(true) end
end
love.system.openURL(github.com/pablomayobre)
Who is online
Users browsing this forum: No registered users and 3 guests