The Render Engine is a cross-browser, open source game engine written entirely in Javascript. Designed from the ground up, it is flexible and full of great features. The engine runs on a wide variety of browsers including Firefox, Chrome, Safari, Opera, and IE.
Wednesday, December 1, 2010
Dirty Rectangles
Recently I've been looking for a way to optimize rendering in the engine. A lot of ideas are out there, but the best one (by far) is "dirty rectangles". This is something that will apply to the canvas context since it's typically wiped for each frame and completely redrawn. I'm just starting on this so I don't expect to have anything for a little bit. But, if this results in increased framerates (like I hope it will) it'll push the engine to a place where people can expect more from it. As it stands now, a game is completely limited by how quickly a browser can redraw the entire canvas.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment