The epic love demo thread!

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: The epic love demo thread!

Post 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 ^^)
User avatar
ivan
Party member
Posts: 1911
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: The epic love demo thread!

Post 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)
User avatar
Merkoth
Party member
Posts: 186
Joined: Mon Feb 04, 2008 11:43 pm
Location: Buenos Aires, Argentina

Re: The epic love demo thread!

Post 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)
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: The epic love demo thread!

Post by rude »

How big is the multiplier for each speedup? I got a better score by avoiding most of the speedups.

Highscore: 11670

8-)
User avatar
Merkoth
Party member
Posts: 186
Joined: Mon Feb 04, 2008 11:43 pm
Location: Buenos Aires, Argentina

Re: The epic love demo thread!

Post 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
Buck
Prole
Posts: 2
Joined: Tue May 20, 2008 9:23 am

Re: The epic love demo thread!

Post by Buck »

Both those demo';s just show a black screen for me, even though most other demo's work.
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: The epic love demo thread!

Post by rude »

Hey Buck,

Both demos? Which two do you mean? There are more than two, you know. 8-)
Buck
Prole
Posts: 2
Joined: Tue May 20, 2008 9:23 am

Re: The epic love demo thread!

Post 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.
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: The epic love demo thread!

Post 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. ^_^)
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: The epic love demo thread!

Post 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-))
Post Reply

Who is online

Users browsing this forum: No registered users and 55 guests