Search found 2871 matches

by slime
Sat Aug 29, 2020 9:53 pm
Forum: General
Topic: Love CPU usage
Replies: 41
Views: 36517

Re: Love CPU usage

I'm currently on a Macbook Pro and even an empty application with vsync off and just the sleep the CPU is up to ~103% here is the love file for testing purpose. There was a bug in the version of OpenAL Soft shipped with the original love 11.3 download for macOS which caused increased CPU usage on a...
by slime
Sat Aug 29, 2020 4:55 pm
Forum: Support and Development
Topic: Multiple Shader and specifically a Moonshine obeservation
Replies: 4
Views: 2597

Re: Multiple Shader and specifically a Moonshine obeservation

20 * 10000 is 200,000 individual calls to love.graphics.draw. Most of them will be batched together automatically by LÖVE (since only the color and transformation state change), but even so that's a lot of work being done each frame, with little purpose. Did you mean for your code to do that?
by slime
Sat Aug 22, 2020 7:22 pm
Forum: Support and Development
Topic: Memory Profiling?
Replies: 27
Views: 13450

Re: Memory Profiling?

Garbage collection is local to individual threads / Lua instances, it's just the internal memory address space used by LuaJIT 2.0 that is shared (so in practice the only Lua thing shared is the memory cap).
by slime
Sat Aug 22, 2020 4:02 pm
Forum: Support and Development
Topic: Memory Profiling?
Replies: 27
Views: 13450

Re: Memory Profiling?

What if I use love multithreading? Am I correct that every love thread creates separated Lua environment? LuaJIT's hard memory limit is per process rather than per Lua instance within a process unfortunately, so spreading memory across multiple threads won't raise the limit. That being said, most m...
by slime
Sun Jul 26, 2020 6:26 pm
Forum: Support and Development
Topic: Blur on retina resolution
Replies: 2
Views: 1670

Re: Blur on retina resolution

Setting highdpi to true should work. If you use love.window.setMode you'll need to set it there as well.

For pixel truetype fonts, you may also want to use mono hinting (love.graphics.newFont(filename, size, "mono")).
by slime
Sun Jul 05, 2020 4:58 pm
Forum: Support and Development
Topic: Save on iOS?
Replies: 2
Views: 1037

Re: Save on iOS?

File saving and loading should work fine on iOS. It uses the app's sandboxed Application Support directory.
by slime
Sat Jul 04, 2020 12:56 am
Forum: Support and Development
Topic: [love.js development] Cannot push love object to Lua error
Replies: 3
Views: 1143

Re: [love.js development] Cannot push love object to Lua error

It sounds like emscripten's std::max_align_t on 32 bit might not have the correct value (or the documentation for it was misleading enough that love's code is using it incorrectly). You could try replacing the LOVE_ALIGNOF(std::max_align_t) lines with LOVE_ALIGNOF(8) (on 32 bit systems), although I'...
by slime
Fri Jul 03, 2020 11:01 am
Forum: General
Topic: Thoughts on and plans for Apple's switch to ARM?
Replies: 1
Views: 2258

Re: Thoughts on and plans for Apple's switch to ARM?

Jasoco wrote: Fri Jul 03, 2020 12:12 am Are there issues with porting Löve fully to ARM/A-series processors? Stuff that is missing or doesn't have compatible libraries yet?
Nope, there shouldn't be any major issues with making arm64 binaries for LÖVE on macOS.
by slime
Sun Jun 14, 2020 4:39 pm
Forum: Support and Development
Topic: [SOLVED] Love 11.3 replacePixels on Android not working?
Replies: 8
Views: 2616

Re: Love 11.3 replacePixels on Android not working?

It sounds like either the version of love you're running on Android is older than 11.0, or you're calling replacePixels on the wrong object.
by slime
Fri May 29, 2020 2:50 pm
Forum: Support and Development
Topic: Two dimensional love.math.noise with big values
Replies: 2
Views: 1562

Re: Two dimensional love.math.noise with big values

There's a report in the issue tracker about it: https://github.com/love2d/love/issues/1579

We'll have to look into what can be changed in the noise library we're using.