Page 5 of 14

Re: The epic love demo thread!

Posted: Sun Apr 13, 2008 11:34 pm
by rude
ivan wrote:By the way, I played around with the AGen binder last night and have to say that the next demo should be more comparable to Love in speed.
Weee~

What did other people get on the benchmark, btw? (Not saying anything about AGen until I get the improved build ^^)

Re: The epic love demo thread!

Posted: Tue Apr 15, 2008 4:15 am
by ivan
I ran a number of tests, comparing the performance of both engines.
The results were pretty interesting.
First of all, to compare the two rendering pipelines we can't just look at the FPS-es directly.
In Love, every rect has only 4 vertices whereas in AGen filled shapes are ran through a triangulator which produces 2 triangles per rectangle (6 vertices).
So, I think it's more accurate to compare the number of rendered vertices per second (VPS).
In Love VPS = 4 x rects x FPS and in AGen VPS = 6 x rects x FPS
Using the benchmark demo with moving rects I found that:
-Love levels off at about 3500 rects or 800,000 VPS. At that point, throwing more geometry in, simply lowered the overall FPS
-AGen leveled off at around 2000 rects or 600,000 VPS. This seems like a big difference but keep in mind that 2500 rects would equal Love's renderer at 800,000 VPS
So yeah, Love is faster in this case. Primitives are buffered in AGen, but this is negligible in this case since each rect has only 4 vertices so that generating them per frame doesn't cost very much. The other drawback for Agen are the background chores like world transformations for each sprite, scene graph and partitioning updates, etc.

I'll try to post the results and the new build later. ;)


Edit: Here's a link to the new demo, if somebody wants to check it out.
Although it's better than the last demo I posted, Love is still faster by about 200,000 vertices per second (on my machine)

Re: The epic love demo thread!

Posted: Fri May 02, 2008 6:57 pm
by Merkoth
A little and kinda boring demo I wrote for a compo:

zoomer

Teh screenz
Image
Image
Image
Image

Teh downloadz
http://tinyurl.com/6kdtjp (windows download, linux users should grab the .love form the same package and run it)

Re: The epic love demo thread!

Posted: Sat May 03, 2008 3:38 pm
by rude
How big is the multiplier for each speedup? I got a better score by avoiding most of the speedups.

Highscore: 11670

8-)

Re: The epic love demo thread!

Posted: Sun May 04, 2008 5:18 am
by Merkoth
ATM, you have the highest score (the previous highest score was around 7K)... congrats! :D

Code: Select all

game_score = game_score + 50+10*combo_multiplier
Weird, maybe you get better scores because going faster usually means dying faster, I dunno :P

Re: The epic love demo thread!

Posted: Tue May 20, 2008 9:24 am
by Buck
Both those demo';s just show a black screen for me, even though most other demo's work.

Re: The epic love demo thread!

Posted: Tue May 20, 2008 11:36 am
by rude
Hey Buck,

Both demos? Which two do you mean? There are more than two, you know. 8-)

Re: The epic love demo thread!

Posted: Tue May 20, 2008 11:48 am
by Buck
rude wrote:Hey Buck,

Both demos? Which two do you mean? There are more than two, you know. 8-)
Yeah, I didn't spot there were five pages!
I meant the two demo's in the first post.

Re: The epic love demo thread!

Posted: Tue May 20, 2008 12:15 pm
by rude
Ah, yes. Of course. They aren't created for LÖVE 0.2.1, so they will cause errors (and a black screen). Version checking and better (visual) error reporting will be included in the next release.

As for the demos, you have a point: I'll convert them later today, if I get the time. ^_^)

Re: The epic love demo thread!

Posted: Tue May 20, 2008 10:46 pm
by rude
I've updated the first two demos, at least. They should work in 0.2.1 now ...

(Fleg: I took the liberty of editing your post 8-))