Search found 123 matches

by Darlex
Mon Jan 27, 2020 5:06 am
Forum: Support and Development
Topic: How can I encode images into a string?
Replies: 2
Views: 666

How can I encode images into a string?

Hello again dudes!
I have a question. How do I encode an image into a base64 string to later be decoded into a drawable image?
by Darlex
Mon Jan 27, 2020 4:51 am
Forum: Support and Development
Topic: How to turn binary into characters and viceversa
Replies: 8
Views: 1138

Re: How to turn binary into characters and viceversa

zorg wrote:
Sun Jan 26, 2020 8:23 am
luajit's own website, but it's not needed for this thing, you can just

Code: Select all

bit = require 'bit'
and it'll definitely work.
Thanks Zorg!
by Darlex
Sun Jan 26, 2020 2:58 am
Forum: Support and Development
Topic: How to turn binary into characters and viceversa
Replies: 8
Views: 1138

Re: How to turn binary into characters and viceversa

zorg wrote:
Sat Jan 25, 2020 9:02 pm
you might need to include the bit library to use those functions though... maybe; i usually do, but it might not be necessary; if it errors, you'll know anyway :3
Sorry for being an absolute noob in this lua* (jit/ffi/etc) stuff, where can i get some info?
by Darlex
Sat Jan 25, 2020 1:13 pm
Forum: Support and Development
Topic: How to turn binary into characters and viceversa
Replies: 8
Views: 1138

Re: How to turn binary into characters and viceversa

Woah thanks zorg and ivan! These are wonderful solutions! But how can I do the opposite? Like turning a character into a binary array?
by Darlex
Sat Jan 25, 2020 5:25 am
Forum: Support and Development
Topic: How to turn binary into characters and viceversa
Replies: 8
Views: 1138

How to turn binary into characters and viceversa

How can I turn an array like [1,1,0,1,0,1] into a character? And how do I turn it back into an bit array like that one I already showed?
Is there an "easy" way to do it or do I need to do some LuaJIT trickery?
by Darlex
Sat Sep 21, 2019 11:11 pm
Forum: Games and Creations
Topic: EAT GIRL - surreal dot-eating action game
Replies: 5
Views: 3759

Re: EAT GIRL - surreal dot-eating action game

WOW! it looks pretty awesome! I get some Earthbound and Pacm̬̦̩̹̌͢a̪͓̮̼͍̗͑̿ͫn̛̥͈ͅ vibes from it, i love how polished the sound design and experience design is, I'll buy it when I have money! Great game!
by Darlex
Thu Jul 11, 2019 12:22 pm
Forum: Libraries and Tools
Topic: Slab - An Immediate Mode GUI Library In Lua
Replies: 44
Views: 41417

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: 44
Views: 41417

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: 44
Views: 41417

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: 1372

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