4
\$\begingroup\$

Was Chrome AngryBirds game made using html5 canvas? And if yes: what kind of engine did they use?

\$\endgroup\$
1
  • 4
    \$\begingroup\$ I'm voting to close this question as off-topic because we do not support questions asking "how was this game made" or "how did this game do that". Such questions are mostly speculative, and not constructive; we usually edit the question to ask "how can I do this feature, but this question is too old for such edits to be constructive. \$\endgroup\$ – Gnemlock Jun 8 '17 at 3:45
14
\$\begingroup\$

Yes. ForPlay.

WebGL and Canvas 2D code paths exist for maximum performance and platform support respectively. The ForPlay GWT library helps with the abstraction. See the Google IO presentation Kick-Ass Game Programming with Google Web Toolkit for details.

\$\endgroup\$
2
  • 1
    \$\begingroup\$ I just watched the presentation and I think I would like to try out ForPlay in a later project. Seems like a really nice approach. Thanks for the link anyway! \$\endgroup\$ – Anders Hansson May 19 '11 at 12:31
  • \$\begingroup\$ AFAIK ForPlay aka PlayN does not let you write in "HTML5" ... the sourcebase is in Java, and it compiles into other formats. Read: You're not actually writing in HTML5; machine translates your Java to HTML5.. \$\endgroup\$ – ina Nov 16 '12 at 10:15
6
\$\begingroup\$

It is based on WebGL (which means canvas is used, but not the standard canvas environment). As iOS uses OpenGL I think they ported that to javascript.

\$\endgroup\$
2
  • \$\begingroup\$ I made some test html5test.com and it said that I have no WebGL context;) \$\endgroup\$ – Edward83 May 18 '11 at 18:47
  • \$\begingroup\$ And my WebGL debugger popped up so it can also use WebGL, so uh, what Vincent said. \$\endgroup\$ – Elva May 19 '11 at 10:19
4
\$\begingroup\$

Inspecting the page element gives me <canvas width="1024" height="768"></canvas> so I guess that means it is canvas.

As for the engine, I assume they ported their iOS one.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.