Page 1 of 1
out of memory& CPU
Posted: Fri Feb 06, 2015 3:50 am
by sura
Code: Select all
for j=3,11,2 do
for i=1,j do
love.graphics.circle("line", startx+(i-1)*50-(j-3)*25, starty+25*((j-3)), circlerad, 50);
love.graphics.print('A',startx-5+(i-1)*50-(j-3)*25,starty-5+25*((j-3)));
love.graphics.print(resuslt,200,0);
end
end
those line in love.draw() method,1 minitute later ,CPUT&memory out of use
Re: out of memory& CPU
Posted: Fri Feb 06, 2015 3:51 am
by sura
it s very confused me .
Re: out of memory& CPU
Posted: Sun Feb 08, 2015 2:11 am
by Jasoco
Do you have any more code? There's nothing here that's unusual that I can find.
Re: out of memory& CPU
Posted: Sun Feb 15, 2015 6:14 am
by norubal
It works fine on my computer, I need more information about startx, starty, circlerad, and resuslt value.
How about uploading your .love file to provide more information?