Search found 2797 matches

by slime
Tue Jan 07, 2020 3:56 pm
Forum: Support and Development
Topic: Execution speed varies wildly (47x) between (but not during) runs
Replies: 15
Views: 811

Re: Execution speed varies wildly (47x) between (but not during) runs

This guide says to avoid small inner loops when possible (unroll instead), which matches with the performance results here I guess: http://wiki.luajit.org/Numerical-Computing-Performance-Guide I still wonder if there's something else that can be tuned to make this example better instead of having to...
by slime
Tue Jan 07, 2020 3:16 am
Forum: Support and Development
Topic: Execution speed varies wildly (47x) between (but not during) runs
Replies: 15
Views: 811

Re: Execution speed varies wildly (47x) between (but not during) runs

nameless tee wrote:
Tue Jan 07, 2020 2:58 am
Oh, and somewhat off-topic: It would be nice if Löve2D included the fancy profiler.
LÖVE will use LuaJIT 2.1 - including its profiler APIs - on all platforms in the next major version (12.0), now that it's more stable. :)
by slime
Tue Jan 07, 2020 12:20 am
Forum: Support and Development
Topic: Execution speed varies wildly (47x) between (but not during) runs
Replies: 15
Views: 811

Re: Execution speed varies wildly (47x) between (but not during) runs

I wonder if tweaking LuaJIT's optimization parameters (near the bottom of http://luajit.org/running.html ) would make it JIT compile the code more consistently. If you use LÖVE instead of the standalone LuaJIT interpreter you can use jit.opt.start to control them: http://luajit.org/ext_jit.html#jit_...
by slime
Sun Dec 22, 2019 5:17 pm
Forum: General
Topic: LÖVE 11.3 released!
Replies: 35
Views: 44604

Re: LÖVE 11.3 released!

The macOS build had a few issues and I've re-uploaded it with a couple updates to its framework dependencies. The new build should fix high CPU usage when the audio module is loaded as well as love.app failing to open on older macOS versions, and Apple's new notarization process should no longer fai...
by slime
Thu Dec 12, 2019 11:57 pm
Forum: Support and Development
Topic: how would vanilla love2d draw unto a image(NOT A CANVAS)
Replies: 6
Views: 1282

Re: how would vanilla love2d draw unto a image(NOT A CANVAS)

The big difference between Images and Canvases is that you can draw to a Canvas, and you can't draw to an Image. If both had equal capabilities, there wouldn't be any reason to have them separated. What are you trying to do? Maybe there's an alternative that we can recommend. It is also possible to ...
by slime
Sun Nov 17, 2019 4:13 pm
Forum: General
Topic: LÖVE 11.3 released!
Replies: 35
Views: 44604

Re: LÖVE 11.3 released!

It looks like there's different truetype font hinting used in the two screenshots. That's on Linux, right? Maybe the version of FreeType that LÖVE uses on that system is different in the two screenshots?
by slime
Thu Nov 14, 2019 10:58 pm
Forum: General
Topic: LÖVE-chan, a moe anthropomorphic character
Replies: 2
Views: 1214

Re: LÖVE-chan, a moe anthropomorphic character

4vZEROv wrote:
Thu Nov 14, 2019 4:44 pm
zorg wrote:
Thu Nov 14, 2019 8:23 pm
Let's not post NSFW images please, thanks. Even if they're not "human", they're still anthropomorphized to resemble naked humans.
by slime
Thu Oct 31, 2019 12:45 am
Forum: General
Topic: LÖVE 11.3 released!
Replies: 35
Views: 44604

Re: LÖVE 11.3 released!

It looks like Apple doesn't implement every-other-refresh vsync for their OpenGL vsync APIs on modern macOS. I have a memory of it working in the past on macOS, but their documentation doesn't say it will work either, so maybe it never did.
by slime
Wed Oct 30, 2019 9:26 pm
Forum: General
Topic: LÖVE 11.3 released!
Replies: 35
Views: 44604

Re: LÖVE 11.3 released!

Setting vsync = 0 turns vsync off, vsync = 1 syncs every monitor refresh (60fps on a 60hz monitor), and vsync = 2 syncs every other monitor refresh (30fps on a 60hz monitor).

My primary monitor is 144hz, so vsync=1 makes a game run at 144fps and vsync=2 makes a game run at 72fps, on my system.
by slime
Wed Oct 30, 2019 12:46 am
Forum: General
Topic: LÖVE 11.3 released!
Replies: 35
Views: 44604

Re: LÖVE 11.3 released!

The LÖVE app on the Google Play store has been updated to 11.3 (from 0.10.2 previously): https://play.google.com/store/apps/deta ... 2d.android
Microphone recording support is disabled on the Google Play version, but it will work if the APK is used instead.