Search found 37 matches

by Bananicorn
Wed Feb 20, 2019 11:17 am
Forum: General
Topic: Performance - what are your standards?
Replies: 15
Views: 29294

Performance - what are your standards?

So by that I mean how well does your game have to run (in terms of FPS) so you consider it stable enough to release? Do you test on real hardware or on VMs? I personally develop on an Fujitsu Lifebook 8410[1], running Linux with just the MESA drivers, but I barely test on Windows and Mac OS, since I...
by Bananicorn
Mon Jan 21, 2019 10:23 pm
Forum: Support and Development
Topic: [SOLVED]canvases come up empty on windows
Replies: 5
Views: 5172

Re: canvases come up empty on windows

Agree with the user above, and I wouldn't touch Wine with a bargepole when it comes down to testing a build for which no specific optimisations exist. To prove the point, your build seems to work fine on my Win 10 machine. Virtual machines are the way to go (or dual boot, to a lesser extent). Good ...
by Bananicorn
Mon Jan 21, 2019 10:20 pm
Forum: Support and Development
Topic: [SOLVED]canvases come up empty on windows
Replies: 5
Views: 5172

Re: canvases come up empty on windows

Agree with the user above, and I wouldn't touch Wine with a bargepole when it comes down to testing a build for which no specific optimisations exist. To prove the point, your build seems to work fine on my Win 10 machine. Virtual machines are the way to go (or dual boot, to a lesser extent). Good ...
by Bananicorn
Wed Jan 02, 2019 10:23 am
Forum: Support and Development
Topic: [SOLVED]canvases come up empty on windows
Replies: 5
Views: 5172

[SOLVED]canvases come up empty on windows

Hello fellow Lövers! It's me again, and my neverending confusion with canvases. This problem only affects windows (and wine) as far as I know. When creating canvases and drawing to them, sometimes it seems like the gpu can't catch up with the rest of the program and just leaves the canvas empty. Thi...
by Bananicorn
Wed Dec 19, 2018 8:31 pm
Forum: Support and Development
Topic: [solved] flickering when not redrawing every frame
Replies: 10
Views: 7515

Re: [solved] flickering when not redrawing every frame

Yeah, it may not make any difference depending on the driver. I don't note any either. But I can tell you that I have serious FPS problems (under 30 FPS) on the RPi3 when I draw something with alpha, so the blending mode may matter in some architectures. Now you got me curious - I'm gonna try some ...
by Bananicorn
Wed Dec 19, 2018 7:39 pm
Forum: Support and Development
Topic: [solved] flickering when not redrawing every frame
Replies: 10
Views: 7515

Re: [solved] flickering when not redrawing every frame

If the canvas overwrites the whole screen, you don't need to call clear, so in a sense, that method allows you that optimization. And I don't know for sure, but maybe blending method "replace" is faster than the others. (premature optimization may be the root of all evil, but it's also he...
by Bananicorn
Wed Dec 19, 2018 5:27 pm
Forum: Support and Development
Topic: [solved] flickering when not redrawing every frame
Replies: 10
Views: 7515

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 e...
by Bananicorn
Wed Dec 19, 2018 4:14 pm
Forum: Support and Development
Topic: [solved] flickering when not redrawing every frame
Replies: 10
Views: 7515

Re: flickering when not redrawing every frame

You forgot to attach the love file. if love.load then love.load(love.arg.parseGameArguments(arg), arg) end Huh, I didn't know about love.arg. It's not even documented, but seems handy. Thank you for posting this :) Thanks for pointing that out - I could've sworn I attached it - but, well... I didn'...
by Bananicorn
Wed Dec 19, 2018 3:55 pm
Forum: Support and Development
Topic: [solved] flickering when not redrawing every frame
Replies: 10
Views: 7515

[solved] flickering when not redrawing every frame

Hey Lövers :) To preface this: I know ways to work around this, like using a canvas to store the entire screen and drawing that each time, setting the BackgroundColor to this color, or simply redrawing the background every time, but that's not what I'm asking - I'm wondering why Löve behaves as it d...
by Bananicorn
Thu Nov 22, 2018 2:43 pm
Forum: Support and Development
Topic: Canvas problem with release
Replies: 2
Views: 1684

Re: Canvas problem with release

Okay, first pointer is that it's wasteful to release and recreate those canvases each frame... why exactly are you doing that? Okay, sorry I wasn't too clear on that - my actual problem is in another program, but this demonstrates the principle behind it. In my actual program I have to "resize...