Search found 157 matches

by hasen
Sun Feb 25, 2018 3:52 pm
Forum: Support and Development
Topic: Quads slow things down so much..
Replies: 23
Views: 10455

Re: Quads slow things down so much..

I think they're referring to this stuff: That's not true. The wiki says that creating quads can be slow. Just one more and you'll break the record. I wonder if acting like an asshole when others are trying to help you is customary for you, or is it just a reflex you don't even register doing? That ...
by hasen
Sun Feb 25, 2018 2:45 pm
Forum: Support and Development
Topic: Quads slow things down so much..
Replies: 23
Views: 10455

Re: Quads slow things down so much..

MadByte wrote: Sun Feb 25, 2018 2:39 pm Sorry, Off-topic
grump wrote: Sun Feb 25, 2018 2:30 pm I also recommend losing the shitty and snappy attitude, or people might just stop giving you advice if you keep pissing them off. Just an observation.
(Something I really need to agree with!)
?? Care to clarify what this is all about?
by hasen
Sun Feb 25, 2018 2:43 pm
Forum: Support and Development
Topic: Quads slow things down so much..
Replies: 23
Views: 10455

Re: Quads slow things down so much..

While not necessarily the cause of unsatisfying performance in this case, I don't think it's wise to clear and recreate the entire batch in each frame for no reason. Not sure what you're referring to here? You're calling setupSpriteBatch from love.update in every frame, in which you're clearing the...
by hasen
Sun Feb 25, 2018 1:24 pm
Forum: Support and Development
Topic: Mouse or Touch function for mobile?
Replies: 11
Views: 8699

Re: Mouse or Touch function for mobile?

Ok thanks, I'm sure it's a good library. I guess no one actually knows the answer to my question though unfortunately.
by hasen
Sun Feb 25, 2018 1:06 pm
Forum: Support and Development
Topic: Quads slow things down so much..
Replies: 23
Views: 10455

Re: Quads slow things down so much..

pgimeno wrote: Sun Feb 25, 2018 12:22 pm
hasen wrote: Sun Feb 25, 2018 8:03 am I read on the wiki page that quads can slow things down but I wasn't prepared for how much.
That's not true. The wiki says that creating quads can be slow.
Just one more and you'll break the record.
by hasen
Sun Feb 25, 2018 11:24 am
Forum: Support and Development
Topic: Quads slow things down so much..
Replies: 23
Views: 10455

Re: Quads slow things down so much..

grump wrote: Sun Feb 25, 2018 11:15 am While not necessarily the cause of unsatisfying performance in this case, I don't think it's wise to clear and recreate the entire batch in each frame for no reason.
Not sure what you're referring to here?
by hasen
Sun Feb 25, 2018 11:03 am
Forum: Support and Development
Topic: Quads slow things down so much..
Replies: 23
Views: 10455

Re: Quads slow things down so much..

I tried sprite batching and it's pretty slow too. I followed this to simply draw a 160x32 8 bit png brick tile 90 times https://gist.github.com/bhumphreys/3703388

Without it the fps is 80 fps. With the 90 sprites drawn through sprite batching it drops down to 45 fps.
by hasen
Sun Feb 25, 2018 10:33 am
Forum: Support and Development
Topic: Quads slow things down so much..
Replies: 23
Views: 10455

Re: Quads slow things down so much..

Ah, I missed the part where you said you were using an emulator. Poor performance is entirely expected; you only use it to do a quick validation without deploying the app on a real device. You should use a real device to get representative data. I said it was a real device in my first post. I teste...
by hasen
Sun Feb 25, 2018 9:09 am
Forum: Support and Development
Topic: Quads slow things down so much..
Replies: 23
Views: 10455

Re: Quads slow things down so much..

Are you "losing" FPS? As in, compared to not using quads and just drawing individual sprites? Yes..that's exactly what I'm saying. I ran many tests and noticed drawing any objects at all even without quads hits the frame rate quite considerably. I set up an object and all it does is add i...
by hasen
Sun Feb 25, 2018 8:03 am
Forum: Support and Development
Topic: Quads slow things down so much..
Replies: 23
Views: 10455

Quads slow things down so much..

I read on the wiki page that quads can slow things down but I wasn't prepared for how much. I'm using them to draw a tiled background and I'm losing 10 fps with 6x15 tiles and another 10 with 6x30 tiles when testing on my iPhone device. The tiles are just 32x32 pixels. I've tested other things and i...