Search found 4835 matches
- Mon May 21, 2018 10:18 am
- Forum: Support and Development
- Topic: love.graphics.setColor(nil, nil, nil, nil) [Solved]
- Replies: 2
- Views: 3586
Re: love.graphics.setColor(nil, nil, nil, nil)
Doesn't for me, but if you trigger an error in an error handler love prevents an infinite loop and only prints the error to the terminal. Do you also have a custom error handler?
- Mon May 21, 2018 9:59 am
- Forum: General
- Topic: Getting a project to work with moonscript 0.5.0-1
- Replies: 12
- Views: 15453
- Mon May 21, 2018 9:06 am
- Forum: General
- Topic: Getting a project to work with moonscript 0.5.0-1
- Replies: 12
- Views: 15453
Re: Getting a project to work with moonscript 0.5.0-1
That kinds of makes me wonder what 'love11' refers to... Anyway, there are 2 issues: the documentation claims moonscript doesn't use package.path, but package.moonpath. As you can see, you're telling lua to load your moonscript files as lua files. Additionally, I doubt the moonscript loader is using...
- Sun May 20, 2018 7:34 pm
- Forum: Support and Development
- Topic: Shader not working on Android
- Replies: 2
- Views: 2684
Re: Shader not working on Android
It sounds like you're initializing your uniforms, but you're not allowed to. So instead of
just write
Code: Select all
extern float screenW = 50;
Code: Select all
extern float screenW;
- Sun May 20, 2018 11:51 am
- Forum: Support and Development
- Topic: Socket problem with love-11.1
- Replies: 5
- Views: 5863
Re: Socket problem with love-11.1
You can force binding to ipv4 instead of ipv6 by passing "0.0.0.0" as local ip. But binding to ipv6 usually doesn't mean ipv6-only...
- Thu May 17, 2018 4:02 pm
- Forum: Support and Development
- Topic: Why this error on love.event.quit() ?
- Replies: 8
- Views: 6961
Re: Why this error on love.event.quit() ?
In this case the simple solution would be to return directly after posting the event, so just use
Code: Select all
if key == 'escape' then return love.event.quit() end
- Thu May 17, 2018 3:30 pm
- Forum: General
- Topic: LÖVE 11.1 released!
- Replies: 41
- Views: 97888
Re: LÖVE 11.1 released!
Is there a way of bundling my .love file into the AppImage bundle, the same way that I can bundle my .love file into the Windows executable or the macOS .app? Yes, please read https://bitbucket.org/bartbes/love-linux-builder/src/default/Getting%20Started.md . Note that you can download a premade ta...
Re: 11.0 bugs
It's definitely in the generated makefile for me:
(Of course relying on SDL2 to add it isn't a good thing, but it works.)
And -pthread implies -lpthread.
Code: Select all
SDL_LIBS = -pthread -lSDL2
And -pthread implies -lpthread.
Re: 11.0 bugs
That's interesting because some dependency (I think SDL2) adds the -pthread flag for me.
- Thu May 10, 2018 9:15 am
- Forum: Support and Development
- Topic: Trying to understand why text rendering differently with a background in a canvas
- Replies: 6
- Views: 5247
Re: Trying to understand why text rendering differently with a background in a canvas
The second problem is the blend mode. Love uses alpha blending by default, basically using the alpha channel to determine how to blend with the background. If you do this twice, you'll see that transparent parts (like the edges of characters) are blended into the background twice, leading to the thi...