love.draw and adding images constantly

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
Xgoff
Party member
Posts: 211
Joined: Fri Nov 19, 2010 4:20 am

Re: love.draw and adding images constantly

Post by Xgoff »

hatethinkingofnames wrote:I've actually seen that one. Unfortunately Love did get pretty sad benchmarks compared to the rest, although if you look way at the bottom of the comments someone edited the source code and made Love do 85k sprites compared to the 5-6k the thing had. Also using LuaJit someone went 9k but can't use that one as much since different PC specs. I'm curious as how they got 85k, did they edit the source code just for sprites and to get a crazy benchmark? Would be cool if slime or shell32 I think it was explained a little more.
it's likely some or all of the other engines batch all the draw calls into a single vbo or otherwise provide direct access to vbos, which would make drawing much more efficient (well, also interpreted lua vs compiled/jitted languages lol). currently love offers spritebatches for this, although spritebatches are limited to quadrilaterals

0.9 will expand on this however
Post Reply

Who is online

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