Search found 16 matches

by Metalcookie
Mon Aug 04, 2014 6:55 pm
Forum: Support and Development
Topic: LÖVE framerate stutters?
Replies: 37
Views: 24263

Re: LÖVE framerate stutters?

That's a neat script, thanks. http://puu.sh/aEB8X/e67f6db26d.png Unfortunately, the stutters wouldn't appear in the graph. It would continue at the ~1px height for love.draw as it does right from the start. I guess all this means that the reason of the stutters are not inside love.update or love.draw.
by Metalcookie
Sat Aug 02, 2014 10:39 pm
Forum: Support and Development
Topic: LÖVE framerate stutters?
Replies: 37
Views: 24263

Re: LÖVE framerate stutters?

Jasoco wrote:I accept it as something that's going to happen either way.
That seems to be the case.
murks wrote:Do the 60fps drop if that stutter occurs?
Generally, yes.
by Metalcookie
Sat Aug 02, 2014 12:16 am
Forum: Support and Development
Topic: LÖVE framerate stutters?
Replies: 37
Views: 24263

Re: LÖVE framerate stutters?

Ah! Not really an answer but try deleting the conf file. If better than see what's screwed up in the conf file. EDIT: On second thought, remove the 2*math.pi from the trig functions. Both things do nothing about the stutters. Removing math.pi only makes the circle move slower (pi times slower, to b...
by Metalcookie
Fri Aug 01, 2014 11:09 pm
Forum: Support and Development
Topic: LÖVE framerate stutters?
Replies: 37
Views: 24263

Re: LÖVE framerate stutters?

It still happens. I have also tried full screen and variants.
by Metalcookie
Fri Aug 01, 2014 10:16 pm
Forum: Support and Development
Topic: LÖVE framerate stutters?
Replies: 37
Views: 24263

LÖVE framerate stutters?

I've almost always noticed stutters in the framerate when working with LÖVE. Today I decided to simply ask the forum. hi. I'll give a description of what I mean with these "stutters". Sometimes it's like one of the usual (60) frames just decides to not show up today, causing the frame befo...
by Metalcookie
Wed Mar 14, 2012 6:01 pm
Forum: Support and Development
Topic: Pixel under cursor
Replies: 6
Views: 3874

Re: Pixel under cursor

Isn't it also possible to first draw everything on a framebuffer and then get the imagedata from that and get a pixel from that? function love.draw() love.graphics.setRenderTarget(FB1) --draw stuff love.graphics.setRenderTarget() love.graphics.draw(FB1, 0, 0) local data = FB1:getImageData() r, g, b,...
by Metalcookie
Mon Dec 12, 2011 3:41 pm
Forum: General
Topic: Avatars: OBEY!
Replies: 763
Views: 1030415

Re: Avatars: OBEY!

I don't like my 'Y' but I don't care..
by Metalcookie
Sun Dec 11, 2011 4:15 pm
Forum: Support and Development
Topic: PixelEffects, Y U NO WORK?
Replies: 8
Views: 5935

Re: PixelEffects, Y U NO WORK?

I'm pretty sure you want <=. I even know how I made that mistake.. It's because I tried two possible solutions to an earlier problem, which included changing it to '>='. But the other solution was the solution that solved it, and without realizing I left this 'solution' in. That's what I get for ru...
by Metalcookie
Sun Dec 11, 2011 4:02 pm
Forum: Support and Development
Topic: PixelEffects, Y U NO WORK?
Replies: 8
Views: 5935

Re: PixelEffects, Y U NO WORK?

I'm really gonna stop with PixelEffects after this because I keep bumping into problems where I don't know what's causing them.. So now I want to change the blur effect in such a way that I can set the amount of samples it takes. I tried this using a for-loop, but somehow it just won't work again. W...
by Metalcookie
Sun Dec 11, 2011 3:50 pm
Forum: Support and Development
Topic: How to choose source?
Replies: 14
Views: 6923

Re: How to choose source?

Why is the first random number after randomseed() not random? According to the lua-users wiki , a possible fix would be math.randomseed( tonumber(tostring(os.time()):reverse():sub(1,6)) ) It also affects only the first generated random value (and only BSD/OSX), so one additional math.random() after...