Search found 128 matches

by Darlex
Sat Sep 10, 2022 1:43 pm
Forum: Support and Development
Topic: HELP! I AM STUCK!!
Replies: 4
Views: 1703

Re: HELP! I AM STUCK!!

Get sure that main.lua is ACTUALLY at the top of the zip, and not inside any other folder, happened to me once
by Darlex
Fri Aug 06, 2021 4:28 pm
Forum: Games and Creations
Topic: Create studio
Replies: 7
Views: 8017

Re: Create studio

I have absolutely no idea about how the real world of bussiness works, but why not? love2d is great
by Darlex
Thu Aug 06, 2020 5:16 am
Forum: Support and Development
Topic: I tried using Atom to edit but it keep getting this bug
Replies: 4
Views: 4672

Re: I tried using Atom to edit but it keep getting this bug

Helpppppppp wrote: Sun Aug 02, 2020 3:04 am Oh nvm I save it and there is no bug anymore
Please mark the post as [SOLVED].
by Darlex
Sun Jul 12, 2020 3:48 am
Forum: General
Topic: The Perfect Game !
Replies: 5
Views: 14743

Re: The Perfect Game !

Make something that is fun and remember that DIFFICULTY isnt always FUN.
Any idea with the correct implementation will be a good game and any good idea with a bad implementation will be a bad game.
Make the players feel a specific (range of) emotion(s), so your game can be more engaging.
by Darlex
Sun Jul 12, 2020 3:41 am
Forum: General
Topic: Seriously, WHY ISN'T THIS printf PRINTING?
Replies: 7
Views: 5448

Re: Seriously, WHY ISN'T THIS printf PRINTING?

It looks like you missed a ' in love.draw
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: 3136

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

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

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

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

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?