Re: Draw order affecting speed
Posted: Fri Jul 10, 2015 3:59 am
oOEthan-Taylor wrote:Mate,Featzen wrote:I'm drawing images, now with spritebatch.
But i'm doing something wrong, what is?
Here, still 6 fps :s
We're running at 60 over here! I think there might be a problem over your side ...
With the https://love2d.org/wiki/Tutorial:Effici ... _Scrolling, my fps over 60 too.
I'm really confused
Edit:
My Layer:update() function is causing lag, i will see the motive '-'
Edit2:
I fixed the problem!
In definition of tilebatch, i was setting the dimensions of the world, not the area to draw.
I will post game.love, for who want to see :p