Search found 6 matches

by Goober
Mon Apr 06, 2015 11:21 pm
Forum: Support and Development
Topic: LOVE lag spikes
Replies: 19
Views: 6595

Re: LOVE lag spikes

Have you figured out a solution to this yet? I'm experiencing this too. When using dt, things move at a constant rate, but when tit spikes, things jump a bit, since it's been a lot of frames since they've updated. It looks pretty bad.
by Goober
Fri Mar 27, 2015 12:57 am
Forum: Support and Development
Topic: Local Variable Availability - Multiple Callback Functions
Replies: 8
Views: 4877

Re: Local Variable Availability - Multiple Callback Function

Is there a reason you can't use a global variable? It's good to avoid using them when a local will do just fine, but you don't always need to avoid them.
by Goober
Fri Mar 27, 2015 12:55 am
Forum: Support and Development
Topic: love.graphics.print very expensive?
Replies: 5
Views: 2420

love.graphics.print very expensive?

I'm finding that printing multiple lines using love.graphics.print slows my framerate down significantly. Is this a known thing, or could I be doing something wrong?

[Edit]: Turns out I was setting a new font each time. Woops.

Instead, is there a way to dynamically set a font's size?
by Goober
Wed Mar 25, 2015 8:22 pm
Forum: Support and Development
Topic: Threads and Existing Code
Replies: 0
Views: 1034

Threads and Existing Code

Is there a way to run existing functions inside of a thread, or do you need to supply a separate file? I have a bunch of functions I'd like to use in general, but also want to call inside of a thread. [Edit]: After some research, I'd like to revise my question: is there a way to copy the current sta...
by Goober
Sat Mar 21, 2015 6:21 pm
Forum: Support and Development
Topic: .love file
Replies: 5
Views: 2485

Re: .love file

Make sure your main.lua file is in the lowest level of the ZIP (renamed .love instead of .zip, of course). So if you normally have MyProject/main.lua, don't bring in the MyProject folder. Just it's contents.

Does it work if you drag your project folder onto love.exe?
by Goober
Sat Mar 21, 2015 4:25 am
Forum: Support and Development
Topic: ParticleSystem and Canvas
Replies: 0
Views: 1313

ParticleSystem and Canvas

When I draw a ParticleSystem to a canvas, then draw that canvas, it seems like it's only drawing a tiny portion of the particle system. Perhaps the first set of the 8 types of particle that can be used? Is there something I'm doing wrong? This is all I'm doing with it: canvas = love.graphics.newCanv...