The epic love demo thread!

Showcase your games and demos, and discuss ongoing projects.

Re: The epic love demo thread!

Postby rude on Sun Apr 13, 2008 11:34 pm

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

Re: The epic love demo thread!

Postby ivan on Tue Apr 15, 2008 4:15 am

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
ivan
Party member
 
Posts: 359
Joined: Fri Mar 07, 2008 1:39 pm

Re: The epic love demo thread!

Postby Merkoth on Fri May 02, 2008 6:57 pm

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

Re: The epic love demo thread!

Postby rude on Sat May 03, 2008 3:38 pm

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

Highscore: 11670

8-)
User avatar
rude
Administrator
 
Posts: 1044
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: The epic love demo thread!

Postby Merkoth on Sun May 04, 2008 5:18 am

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
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!

Postby Buck on Tue May 20, 2008 9:24 am

Both those demo';s just show a black screen for me, even though most other demo's work.
Buck
Prole
 
Posts: 2
Joined: Tue May 20, 2008 9:23 am

Re: The epic love demo thread!

Postby rude on Tue May 20, 2008 11:36 am

Hey Buck,

Both demos? Which two do you mean? There are more than two, you know. 8-)
User avatar
rude
Administrator
 
Posts: 1044
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: The epic love demo thread!

Postby Buck on Tue May 20, 2008 11:48 am

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

Re: The epic love demo thread!

Postby rude on Tue May 20, 2008 12:15 pm

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: 1044
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: The epic love demo thread!

Postby rude on Tue May 20, 2008 10:46 pm

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

PreviousNext

Return to Projects and Demos

Who is online

Users browsing this forum: Google [Bot] and 7 guests