News for hackers. Stuff that matters.
Re:List of JavaScript Game Engines by und3f on Sunday January 16, 2011 @04:47PM (#2110349)
Some of them are so slow. Waiting for better javascript performance optimization.
Re:List of JavaScript Game Engines by p0nce on Sunday January 16, 2011 @06:12PM (#2110573)
I think Javascript performance is basically here but mostly unused, destroyed by careless abstraction.
Re:List of JavaScript Game Engines by bni on Monday January 17, 2011 @02:47AM (#2111528)
Yes, and the problem is not JavaScript performance per se. The problem is slowness in the canvas implementation in several browsers.

In my game 90%+ is spend drawing to canvas.

In some cases its better to use the DOM to render the game, especially if the platform has accelerated CSS3 transform and translate3d (like iOS).

What I did was to abstract the drawing so the game can render either to canvas or DOM depending on what is faster for the platform the code runs on.

Re:List of JavaScript Game Engines by monos on Monday January 17, 2011 @05:05AM (#2111741)
full ack. The only way I can speed up my games is by doing less canvas calls, everything else is negligible. Although I A* often runs and a couple dozen simple state machine AIs for the actors.