Search found 2755 matches

by slime
Sun Jan 06, 2019 1:05 pm
Forum: Support and Development
Topic: std:bad_alloc
Replies: 4
Views: 643

Re: std:bad_alloc

std::bad_alloc is just a generic "out of memory" message – LÖVE's internal C++ code tries to allocate some memory but either the program has already run out of memory by that point, or you're making it allocate a massive amount of memory due to the arguments you pass in to the function that's output...
by slime
Thu Jan 03, 2019 2:20 am
Forum: Support and Development
Topic: 11.1 app randomly crashes when looping an OGG file
Replies: 21
Views: 4148

Re: 11.1 app randomly crashes when looping an OGG file

Yes, thank you. :) After testing for a bit I believe this will be fixed in love 11.3 because it uses an updated version of OpenAL Soft. For anyone else reading, you can grab a WIP 32 bit build of love 11.3 for windows here: https://ci.appveyor.com/api/buildjobs/xs70l25lnyoiuqur/artifacts/build%2Flov...
by slime
Tue Jan 01, 2019 11:55 pm
Forum: Support and Development
Topic: Get all keys of KeyConstant ?
Replies: 13
Views: 1257

Re: Get all keys of KeyConstant ?

That approach will miss actions (presses and releases) which happen inside a single frame. It's not very common for that to happen when a game is running at 60hz constantly, but both frame drops and long frames due to loading etc. are a reality and then it becomes much more common (and your library ...
by slime
Mon Dec 31, 2018 4:28 pm
Forum: Support and Development
Topic: Love as Lua module
Replies: 8
Views: 1332

Re: Love as Lua module

You'll probably need to use LUA_CPATH rather than LUA_PATH, since it's a C module.
by slime
Sun Dec 30, 2018 5:28 pm
Forum: Support and Development
Topic: 11.1 app randomly crashes when looping an OGG file
Replies: 21
Views: 4148

Re: 11.1 app randomly crashes when looping an OGG file

ivan wrote:
Sun Dec 30, 2018 10:28 am
I'm running Windows 10, ogg files, between 2-3 MB in size, playing in a loop.
Can you upload a .love which does that with those specific files, so I can test?

If you don't want to share the audio files publicly you can send me a private message with it.
by slime
Sat Dec 29, 2018 4:54 pm
Forum: Support and Development
Topic: 11.1 app randomly crashes when looping an OGG file
Replies: 21
Views: 4148

Re: 11.1 app randomly crashes when looping an OGG file

I haven't been able to reproduce any of these issues locally yet. Can someone upload a test .love, even if it only demonstrates one of the issues and it doesn't reliably do so? That'll help me figure out where the problem is, and whether the fact that I can't reproduce anything yet is because of the...
by slime
Wed Dec 26, 2018 4:02 pm
Forum: Support and Development
Topic: Much slower fill rate in 11.x vs 10.2
Replies: 10
Views: 2053

Re: Much slower fill rate in 11.x vs 10.2

FYI the fill rate issue should be fixed by this change (coming in love 11.3): https://bitbucket.org/rude/love/commits ... caceaad5e8
by slime
Mon Dec 24, 2018 1:19 pm
Forum: Support and Development
Topic: 11.1 app randomly crashes when looping an OGG file
Replies: 21
Views: 4148

Re: 11.1 app randomly crashes when looping an OGG file

I will try to make one. Issue was in my game which had so many files. All sounds that I had as streaming I changed to static. I havent had a crash since then. Will report back if that is the issue. I'm also interested in anything that causes pops when it loops if it's loaded as a streaming source.
by slime
Sun Dec 23, 2018 6:19 pm
Forum: Support and Development
Topic: 11.1 app randomly crashes when looping an OGG file
Replies: 21
Views: 4148

Re: 11.1 app randomly crashes when looping an OGG file

Is there a small .love or something that will let me easily reproduce the issues?
by slime
Wed Dec 19, 2018 4:34 pm
Forum: Support and Development
Topic: [solved] flickering when not redrawing every frame
Replies: 10
Views: 1896

Re: flickering when not redrawing every frame

Even if you do that to account for double/triple buffering, the window manager may trash the contents of the window's frame buffers at any time (for example if you move another window over the LÖVE window, and then move it away). It's much more robust to just draw to a Canvas and then redraw that ev...