Search found 16 matches
- Mon Aug 04, 2014 6:55 pm
- Forum: Support and Development
- Topic: LÖVE framerate stutters?
- Replies: 37
- Views: 26000
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.
- Sat Aug 02, 2014 10:39 pm
- Forum: Support and Development
- Topic: LÖVE framerate stutters?
- Replies: 37
- Views: 26000
Re: LÖVE framerate stutters?
That seems to be the case.Jasoco wrote:I accept it as something that's going to happen either way.
Generally, yes.murks wrote:Do the 60fps drop if that stutter occurs?
- Sat Aug 02, 2014 12:16 am
- Forum: Support and Development
- Topic: LÖVE framerate stutters?
- Replies: 37
- Views: 26000
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...
- Fri Aug 01, 2014 11:09 pm
- Forum: Support and Development
- Topic: LÖVE framerate stutters?
- Replies: 37
- Views: 26000
Re: LÖVE framerate stutters?
It still happens. I have also tried full screen and variants.
- Fri Aug 01, 2014 10:16 pm
- Forum: Support and Development
- Topic: LÖVE framerate stutters?
- Replies: 37
- Views: 26000
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...
- Wed Mar 14, 2012 6:01 pm
- Forum: Support and Development
- Topic: Pixel under cursor
- Replies: 6
- Views: 4253
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,...
- Mon Dec 12, 2011 3:41 pm
- Forum: General
- Topic: Avatars: OBEY!
- Replies: 763
- Views: 1199989
Re: Avatars: OBEY!
I don't like my 'Y' but I don't care..
- Sun Dec 11, 2011 4:15 pm
- Forum: Support and Development
- Topic: PixelEffects, Y U NO WORK?
- Replies: 8
- Views: 6123
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...
- Sun Dec 11, 2011 4:02 pm
- Forum: Support and Development
- Topic: PixelEffects, Y U NO WORK?
- Replies: 8
- Views: 6123
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...
- Sun Dec 11, 2011 3:50 pm
- Forum: Support and Development
- Topic: How to choose source?
- Replies: 14
- Views: 7306
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...