Search found 446 matches
- Thu Jul 29, 2021 5:52 am
- Forum: Libraries and Tools
- Topic: LuaPreprocess - straightforward preprocessor with simple syntax
- Replies: 76
- Views: 168723
Re: LuaPreprocess - straightforward preprocessor with simple syntax
How does one insert a table to another like: !( local t = { {1}, {2}, {3}, ) local t2 = { --insert contents of `t` here, {4}, {5}, } a solution ive found is: !( t_player = { {"sheet_player_idle_normal", path_images .. "player/sheet_player_idle_normal.png"}, {"sheet_player_wa...
- Tue Jul 27, 2021 12:11 pm
- Forum: Libraries and Tools
- Topic: Slab - An Immediate Mode GUI Library In Lua
- Replies: 98
- Views: 279094
Re: Slab - An Immediate Mode GUI Library In Lua
Well you can fork it, fix it yourself, then make a PR. Though i doubt that the maintainer will see it and merge it as the dev's been inactive for a long time. You can PR to my fork and I'll merge that if you want. Slab, and other Immediate mode GUI, can be easily understood. you just need to add tha...
- Tue Jul 27, 2021 10:21 am
- Forum: Libraries and Tools
- Topic: Slab - An Immediate Mode GUI Library In Lua
- Replies: 98
- Views: 279094
Re: Slab - An Immediate Mode GUI Library In Lua
You can set the line width per window like: function love.update(dt) love.graphics.setLineWidth(4) Slab.BeginWindow(...) -- draw stuff Slab.EndWindow() love.graphics.setLineWidth(1) love.graphics.setLineWidth(2) Slab.BeginWindow(...) -- draw stuff Slab.EndWindow() love.graphics.setLineWidth(1) love....
- Mon Jul 26, 2021 10:41 am
- Forum: Libraries and Tools
- Topic: Slab - An Immediate Mode GUI Library In Lua
- Replies: 98
- Views: 279094
Re: Slab - An Immediate Mode GUI Library In Lua
Thanks for your answeer. I currently try to customize the style and I would like to know if it is possible to adjust the border width. There is a Border paramters for windows but, this controls only the amount of space between window content and the border which is drawn on screen. How can I make t...
- Sun Jul 25, 2021 2:16 am
- Forum: Libraries and Tools
- Topic: [library] moonshine – Chainable post-processing shaders for LÖVE.
- Replies: 12
- Views: 29806
Re: [library] moonshine – Chainable post-processing shaders for LÖVE.
Hello! Thank you very much for your library. But I have some problems with shaders on my gadgets. 1. Xiaomi Redmi Note 3 Pro (Android 6.0.1, Qualcomm Snapdragon 650 MSM8956 1800 MHz, Adreno 510) effect godsray Error Cannot compile pixel shader code: Line 15: ERROR: '<': wrong operand types no opera...
- Sat Jul 24, 2021 11:10 am
- Forum: Libraries and Tools
- Topic: Slab - An Immediate Mode GUI Library In Lua
- Replies: 98
- Views: 279094
Re: Slab - An Immediate Mode GUI Library In Lua
I found the culprit :-) The issue is in Slab/Internal/Input/Mouse.lua Replace local function OnMouseMoved(X, Y, DX, DY, IsTouch) State.X = X State.Y = Y State.AsyncDeltaX = State.AsyncDeltaX + DX State.AsyncDeltaY = State.AsyncDeltaY + DY end with local function OnMouseMoved(X, Y, DX, DY, IsTouch) ...
- Wed Jun 09, 2021 3:01 am
- Forum: Libraries and Tools
- Topic: Slab - An Immediate Mode GUI Library In Lua
- Replies: 98
- Views: 279094
Re: Slab - An Immediate Mode GUI Library In Lua
Hi @coding.jackalope, just wondering why there's no activity for a very long time at Slab's repo at Github?
- Sun May 30, 2021 2:08 am
- Forum: Libraries and Tools
- Topic: LuaPreprocess - straightforward preprocessor with simple syntax
- Replies: 76
- Views: 168723
Re: LuaPreprocess - straightforward preprocessor with simple syntax
I've noticed that a syntax error in a handler.lua file does throw an error but not detailed enough? Like there is no line number where the syntax error is.
- Sun Jan 17, 2021 12:59 am
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 490929
Re: Groverburger's 3D Engine (g3d) v1.2 Release
Yeah im keeping an eye on the lib, but why is the lib global? I think people would want the lib/framework to be localized and decoupled globally. Yeah I understand that complaint - I'm considering doing kinda what p5js does and having a global/non-global version of the lib. The main reason the lib ...
- Sat Jan 16, 2021 7:01 am
- Forum: Libraries and Tools
- Topic: Groverburger's 3D Engine (g3d) v1.5.2 Release
- Replies: 218
- Views: 490929
Re: Groverburger's 3D Engine (g3d) v1.2 Release
Yeah im keeping an eye on the lib, but why is the lib global? I think people would want the lib/framework to be localized and decoupled globally.