Search found 12 matches

by lumlune
Fri Sep 05, 2014 1:58 pm
Forum: Support and Development
Topic: Can't save .love files?
Replies: 7
Views: 4967

Re: Can't save .love files?

It's because a ".zip" is still there in the filename, it's just omitted by Windows. If they give you any user permissions, try `Tools > Folder options > View > untick "Hide extensions for known filetypes"`. Otherwise... I don't know. :crazy: edit The easiest way around it (withou...
by lumlune
Fri Aug 29, 2014 3:17 am
Forum: Games and Creations
Topic: A Text Twist Clone
Replies: 8
Views: 9070

Re: A Text Twist Clone

I've got nothing contributory, but I'm really in awe of the organization and overall cleanness of your code. Nevermind graphics, that's art, man. :o
by lumlune
Thu Aug 28, 2014 1:05 pm
Forum: Support and Development
Topic: how to check if mouse is over an object?
Replies: 2
Views: 3453

Re: how to check if mouse is over an object?

If it's a more complex shape, it'll be a little harder to determine so it'd probably be best to use some sort of library for it. If it's an image with its negative space transparent, you can look at the pixel the cursor is over and check the alpha value. Something like... mouse_x, mouse_y = love.mo...
by lumlune
Tue Aug 26, 2014 2:31 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 440492

Re: "Questions that don't deserve their own thread" thread

Is anyone aware of a way I can artificially bold a font? I find that my mock-ups in Photoshop often look much nicer because the text is more heavy-set where it's scrawny in-game.

I don't expect it to look identical, but what is there as far as font manipulation goes?
by lumlune
Mon Aug 25, 2014 1:51 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 440492

Re: "Questions that don't deserve their own thread" thread

Question on optional args... wordbank = { } function wordbank.init() wordbank.activate("goosanders", "optional flag") end function wordbank.activate(selection, ...) for idx, flag in ipairs(arg) do print(flag) -- e.g. "optional flag" prints here end end wordbank.init() I...
by lumlune
Sat Jul 19, 2014 9:16 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 440492

Re: "Questions that don't deserve their own thread" thread

bartbes wrote:Only love.thread is loaded in a thread, and to require files normally, you also need to load love.filesystem, so start off with

Code: Select all

require "love.filesystem"
and it should work from then on.
This did it, thank you.
by lumlune
Sat Jul 19, 2014 8:03 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 440492

Re: "Questions that don't deserve their own thread" thread

Question: how can I utilize "require" within a thread? I can start the thread without incident, but nothing after that line is executed.

Link to a minimal recreation.
by lumlune
Wed Jul 16, 2014 4:44 pm
Forum: Support and Development
Topic: Distributing your games (making a .love file)
Replies: 278
Views: 1022660

Re: Distributing your games (making a .love file)

Thanks, it was the word file, after all — but I managed to work around it by making it one great Lua table. It loads in less than a second. :awesome: