[SOLVED]Draw order affecting speed

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Featzen
Prole
Posts: 7
Joined: Tue Jul 07, 2015 2:14 am

Re: Draw order affecting speed

Post by Featzen »

Ethan-Taylor wrote:
Featzen wrote:I'm drawing images, now with spritebatch.
But i'm doing something wrong, what is?
Here, still 6 fps :s
Mate,
We're running at 60 over here! I think there might be a problem over your side ...
oO
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
Attachments
RpgProject.love
(495.58 KiB) Downloaded 70 times
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest