Search found 67 matches

by WetDesertRock
Tue Dec 19, 2017 6:27 pm
Forum: Libraries and Tools
Topic: lovepacker - Package MacOS, Windows, and .love files.
Replies: 2
Views: 3348

Re: lovepacker - Package MacOS, Windows, and .love files.

Yeah, thats very confusing. I think the naming is really just a byproduct of the development process. I think I started trying to use luac, then realized that luajit came with the tools I needed and would do it correctly (unlike luac which was slightly different).
by WetDesertRock
Sun Dec 17, 2017 5:14 am
Forum: Libraries and Tools
Topic: lovepacker - Package MacOS, Windows, and .love files.
Replies: 2
Views: 3348

lovepacker - Package MacOS, Windows, and .love files.

Hey all! I was never entirely satisfied with the existing tools (isn't that always the case though), so I decided to write my own. I had some minimal requirements: Output to each platform Be able to luac each source file Not require a mess of command line arguments (.json file config) Easy install (...
by WetDesertRock
Wed Dec 06, 2017 6:29 am
Forum: General
Topic: Ludum Dare 40
Replies: 5
Views: 5238

Re: Ludum Dare 40

How are you crawling through the love games? Is there a love platform, or are you just manually finding them?
by WetDesertRock
Wed Dec 06, 2017 6:27 am
Forum: Support and Development
Topic: Problem with GetColor...
Replies: 6
Views: 5313

Re: Problem with GetColor...

getColor doesn't take any arguments (as the wiki indicates). The only thing getColor does is gets you the color of the last "setColor" call.

This appears to do what you want: https://love2d.org/wiki/Canvas:getPixel
by WetDesertRock
Tue Jan 03, 2017 1:48 pm
Forum: Libraries and Tools
Topic: GifCat -- Write GIFs in LOVE.
Replies: 21
Views: 20281

Re: GifCat -- Write GIFs in LOVE.

The main issue with that is that guide is for programs that embed lua, not a lua library. This is a lua library which doesn't need to link lua.
by WetDesertRock
Sun Jan 01, 2017 6:05 pm
Forum: Libraries and Tools
Topic: GifCat -- Write GIFs in LOVE.
Replies: 21
Views: 20281

Re: GifCat -- Write GIFs in LOVE.

I believe that error would've been solved by making it so the compiler could find lua.h. Not sure why -llua would fix that. IIRC I heard once that while you can link lua libraries to lua, you shouldn't.
by WetDesertRock
Sun Jan 01, 2017 7:38 am
Forum: Libraries and Tools
Topic: GifCat -- Write GIFs in LOVE.
Replies: 21
Views: 20281

Re: GifCat -- Write GIFs in LOVE.

You shouldn't need to link to lua. Why did you link it to Lua?
by WetDesertRock
Wed Dec 28, 2016 6:13 am
Forum: Libraries and Tools
Topic: GifCat -- Write GIFs in LOVE.
Replies: 21
Views: 20281

Re: GifCat -- Write GIFs in LOVE.

Yeah, thats also a bizarro error message. Can you show me a unified diff of what you did to the build.py? I'm on mac so I have a limited amount of things that I can do.
by WetDesertRock
Tue Dec 20, 2016 2:22 am
Forum: Libraries and Tools
Topic: Lists; a fast way to store objects.
Replies: 36
Views: 20089

Re: Lists; a fast way to store objects.

Not sure I understand the point of this. I could understand something like numpy's arrays in Lua, but Lua already has highly optimized tables as arrays. In fact, if you only use a table as an array, it will only ever be an array. Lua stores tables as a two part object, one part array one part hashma...
by WetDesertRock
Wed Dec 07, 2016 1:40 am
Forum: General
Topic: Why use threads?
Replies: 10
Views: 8022

Why use threads?

Hey all, I'm sitting here wondering what types of uses people have used the threads for, I have used it for encoding and saving images, as well as a variety of one off stuff. I am mostly curious what types of uses people have used threads for. GIF saving Screenshot saving Other things? (don't rememb...