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.
Friday, January 28, 2011
Awesome Speed Gains!
I completed my updates to broad-phase collision and the SpatialGrid. In addition, I removed the "spatial" package and put the classes in the "collision.broadphase" package. The speed gains are very noticeable on Firefox 3.6! Overall, I was able to cut down processing time by doing the PCL caching and sharing, plus I modified R.struct.Container and added a new append() method. This method appends one container to another by chaining the head of the second container to the tail of the first. It's a destructive method, but useful in this situation, and it's a big speed improvement. Additionally, I was able to drop two loops from the PCL construction method which sped things up even more.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment