Search found 117 matches

by Darlex
Thu Jul 11, 2019 12:22 pm
Forum: Libraries and Tools
Topic: Slab - An Immediate Mode GUI Library In Lua
Replies: 34
Views: 18209

Re: Slab - An Immediate Mode GUI Library In Lua

THANKS! That's way better than my idea! Your GUI project is one of the only ones that doesnt make my brain explode! Send ya good vibes! Hey Darlex, appreciate the support! The new version just released now has support for highlighting words as well as getting and setting the cursor position. Hope t...
by Darlex
Sun Jun 30, 2019 8:24 pm
Forum: Libraries and Tools
Topic: Slab - An Immediate Mode GUI Library In Lua
Replies: 34
Views: 18209

Re: Slab - An Immediate Mode GUI Library In Lua

I love this project! I'm using it on my project to create a working love2d ide! Could you please add a highlight option for text inputs, please? like: Slab.Input("code_input", { Text = examplecode, MultiLine = true, H=500, W=500, Highlight = {"here","goes","the","highlighted","words"}} And some fun...
by Darlex
Sat Jun 29, 2019 8:15 pm
Forum: Libraries and Tools
Topic: Slab - An Immediate Mode GUI Library In Lua
Replies: 34
Views: 18209

Re: Slab - An Immediate Mode GUI Library In Lua

I love this project! I'm using it on my project to create a working love2d ide! Could you please add a highlight option for text inputs, please? like: Slab.Input("code_input", { Text = examplecode, MultiLine = true, H=500, W=500, Highlight = {"here","goes","the","highlighted","words"}} And some func...
by Darlex
Fri May 17, 2019 11:25 am
Forum: Support and Development
Topic: Send stuff via lan [solved]
Replies: 2
Views: 934

Re: Send stuff via lan

bobbyjones wrote:
Fri May 17, 2019 4:28 am
https://coronalabs.com/blog/2014/09/23/ ... th-udptcp/

That tutorial was written for CoronaSDK but the library it uses, Luasocket, is available in Love. You should be able to get inspiration from the tutorial.
Thanks
by Darlex
Fri May 17, 2019 4:16 am
Forum: Support and Development
Topic: Send stuff via lan [solved]
Replies: 2
Views: 934

Send stuff via lan [solved]

How i can send stuff like text trough wifi/lan connection?
There is a simple way or is it just complicated?
by Darlex
Sun May 12, 2019 11:05 pm
Forum: Support and Development
Topic: How to divide a multiline string into another strings? [Solved]
Replies: 3
Views: 816

Re: How to divide a multiline string into another strings?

raidho36 wrote:
Sun May 12, 2019 10:09 pm

Code: Select all

for line in string.gmatch ( str, "(.-)[\n\r]" ) do ...
That's useful! THX
by Darlex
Sun May 12, 2019 8:52 pm
Forum: Support and Development
Topic: question about tables [SOLVED]
Replies: 3
Views: 900

Re: question about tables

raidho36 wrote:
Thu May 09, 2019 10:08 am
You should do these each on their own line, use as little of syntax sugar as possible. It's more verbose but it's easier to read which will be very important when you'll be editing it.
And it can look really good. (Not like mine, that is spaghetti)
by Darlex
Sun May 12, 2019 8:50 pm
Forum: Support and Development
Topic: How to divide a multiline string into another strings? [Solved]
Replies: 3
Views: 816

How to divide a multiline string into another strings? [Solved]

Something like:

Code: Select all

	input = [[
	Im a cool dude
	doesnt it?
	]]
	table = divide(input)
	printtable(table)
OUTPUT:
{"Im a cool dude","doesnt it?"}
by Darlex
Sun May 12, 2019 7:24 pm
Forum: Support and Development
Topic: Creating a image from zero? [SOLVED]
Replies: 2
Views: 780

Re: Creating a image from zero?

zorg wrote:
Sun May 12, 2019 6:48 pm
That is exactly the way, except you use love.image.newImageData.
You can also use mapPixel on ImageDatas... also read through the wiki, it helps.
wtf really?. Thanks!