Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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

share|improve this question

3 Answers 3

up vote 13 down vote accepted

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.

share|improve this answer
    
thank you!!!:) –  Edward83 May 19 '11 at 8:02
1  
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! –  Anders Hansson May 19 '11 at 12:31
    
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.. –  ina Nov 16 '12 at 10:15

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.

share|improve this answer
    
I made some test html5test.com and it said that I have no WebGL context;) –  Edward83 May 18 '11 at 18:47
    
And my WebGL debugger popped up so it can also use WebGL, so uh, what Vincent said. –  Kevin van der Velden May 19 '11 at 10:19

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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