OZONE Asylum
Forums
DHTML/Javascript
32 Liner - February 08 - Games
This page's ID:
29949
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
As of today the maximum number sprites one can move and animate at a decent framerate seem to be around 150. When dealing with elements having only a background color, you can go as high as a 1,000-ish. A few months ago I started working on an arena shooter with ~350 8x8 elements ( enemies + bullets ). When things were getting crowded the framerate was dropping to 10 fps due to all the elements to animate and the game logic ( collision detection, movement logic, ... ). Alas that kind of game require a LOT of elements. I started using Canvas, but the blurring induced by drawImage() was undesired, so I moved to CSS sprites which helped but it was still a too much. I'll look into it later to see if things can be improves but I doubt there is much I can do. [url=http://www.p01.org/][img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_neon88x31.gif[/img][/url] [small](Edited by [url=http://www.ozoneasylum.com/user/2185]poi[/url] on 02-06-2008 21:23)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »