3 ms·
> 2D games don't tend to have really complicated logic though. Your demo asteroids game certainly doesn't, but what about a 2D game that's actually worth playi
by udp 15y ago
> 2D games don't tend to have really complicated logic though.
Your demo asteroids game certainly doesn't, but what about a 2D game that's actually worth playing? Things like physics or flocking algorithms are going to be very expensive in JS.
- AshleysBrain 15y agoYou're right physics uses a lot of CPU, but I don't think games not using physics are automatically not worth playing. Did you see this platformer? http://news.ycombinator.com/item?id=3192719 http://news.ycombinator.com/item?id=3192719
- udp 15y agoI don't think presenting a retro platformer (which, FWIW, crawls here in FF 8) really argues your case much. Why should developers go back to making simpler games to get adequate HTML5 performance when they could develop directly for the target platform and use the hardware to its full potential?
- anotherthrwaway 15y agoExactly. People think that because we can have some completely unimaginative stuff with ideas from the 1980's that HTML5 is ready to be the future of browser gaming. And then when presented with the problem of complex physics, the solution is of course to add a special extension to browsers to handle physics. It's no wonder the browser is decades behind the desktop with myopic thinking like this.