Search found 1911 matches

by Nixola
Mon Jul 09, 2018 11:14 am
Forum: Libraries and Tools
Topic: How to turn off audio inside game loop
Replies: 1
Views: 87

Re: How to turn off audio inside game loop

You can use love.audio.setVolume to keep playing them while muted, or love.audio.stop to stop everything that's playing and then, as you said, not play anything unless it's unmuted. What you choose is up to you - I guess the former will be a bit heavier on the processor and/or battery and/or might m...
by Nixola
Mon Jul 02, 2018 3:22 pm
Forum: Support and Development
Topic: Game not working on Android
Replies: 4
Views: 224

Re: Game not working on Android

I think he means the launcher.
by Nixola
Sat Jun 23, 2018 3:08 pm
Forum: General
Topic: Trying to draw a textured polygon
Replies: 4
Views: 244

Re: Trying to draw a textured polygon

Nixola wrote:
Thu Jun 14, 2018 3:08 pm
Try setting the LOVE_GRAPHICS_USE_OPENGLES environment variable to 1 before launching LÖVE; that should be all there is to it.
That is, assuming your computer supports GL ES and the drivers use a stricter compiler. I don't know how to check for that, but trying won't hurt.
by Nixola
Sat Jun 23, 2018 12:14 pm
Forum: Support and Development
Topic: Issue with loading levels [solved]
Replies: 10
Views: 393

Re: Issue with loading levels (read for more info)

You can't *save* to a file inside a .love file. there's got to be some way, it can get the textures fine using love.graphics.newImage(), so it is possible, I just need to figure out how newImage, like any other constructor reads data; that is indeed possible. the fact that it can access parts of a ...
by Nixola
Tue Jun 19, 2018 1:40 pm
Forum: Support and Development
Topic: a glitch when drawing lines in Love 2D
Replies: 2
Views: 167

Re: a glitch when drawing lines in Love 2D

Try using love.graphics.setLineJoin("bevel") before drawing those lines to see if it fixes the issue. Could you share a .love file anyway, to see if it's reproducible on other systems? I do remember having a similar issue.
by Nixola
Mon Jun 18, 2018 4:03 pm
Forum: Support and Development
Topic: Prevent freezing while working with large files?
Replies: 28
Views: 1328

Re: Prevent freezing while working with large files?

The arguments will be received as vararg. For example:
main.lua:

Code: Select all

thread = love.thread.newThread("thread.lua")
thread:start("foo", "bar", 4200)
thread.lua:

Code: Select all

local user, pass, port = ...
print(user, pass, port) -- this will print foo     bar     4200
by Nixola
Mon Jun 18, 2018 6:47 am
Forum: General
Topic: Could LÖVE run on a Raspberry Pi 2B WITH x11?
Replies: 17
Views: 1147

Re: Could LÖVE run on a Raspberry Pi 2B WITH x11?

I think you edited the wrong post
by Nixola
Thu Jun 14, 2018 9:21 pm
Forum: General
Topic: Avatars: OBEY!
Replies: 721
Views: 172366

Re: Avatars: OBEY!

Don't question. Obey.
by Nixola
Thu Jun 14, 2018 3:31 pm
Forum: General
Topic: Could LÖVE run on a Raspberry Pi 2B WITH x11?
Replies: 17
Views: 1147

Re: Could LÖVE run on a Raspberry Pi 2B WITH x11?

I guess you could try building LÖVE without stripping the debug symbols (add a "-g" flag to g++ iirc? You'll possibly have to edit the makefile), then debug LÖVE on the device it segfaults on by running "gdb love" and getting a backtrace when it segfaults; I'm afraid I can't be much more of help as ...
by Nixola
Thu Jun 14, 2018 3:08 pm
Forum: General
Topic: Could LÖVE run on a Raspberry Pi 2B WITH x11?
Replies: 17
Views: 1147

Re: Could LÖVE run on a Raspberry Pi 2B WITH x11?

Try setting the LOVE_GRAPHICS_USE_OPENGLES environment variable to 1 before launching LÖVE; that should be all there is to it.