From C++ to HTML5: Rebuilding a game using open web standards
Wednesday, June 29, 2011 11:00:00 AM
Remember that cool preview of WebGL demo that Opera made for the GDC?The demo is being made by Opera Core developer Erik Möller. He has 15 years of experience in the gaming industry, and before he started at Opera, he created an indie game called Emberwind (trailer).
Since he's working for a browser company now, he decided to get a little more familiar with various web technologies. One of his first steps was to get some hands-on experience, so he decided to recreate the logo of his indie game company using SVG.
That apparently got him thinking... What could he do next?
The answer came this summer, when he was able to get some help from three students doing a summer internship at Opera. Their job will be to help him convert the first couple of levels from Emberwind to HTML5 and other web technologies!
So this summer, a game originally written in C++ will be gradually rebuilt using open web standards. The engine, input, output, and so on, will have to be handled by the browser. It will probably even have to work on devices without the standard keyboard and mouse combo!
But how does one go about doing this exactly? Where do you start? What are the challenges? What creative solutions can one come up with to successfully complete a C++ to HTML5 port?
As luck would have it, Erik has been able to post weekly-ish updates on the progress. He has written about the process, and listed both challenges and triumphs as they work their way through the various parts needed to form a complete game experience.
Below is a list of the updates so far. It starts with the SVG experiment that seemed to be the first spark of the project, and ends with the latest progress report so far - a rendering demo where you can navigate around one of the game's maps.
Most of the updates actually have demos you can try out to see how it works in practice.
- Part 1: Animaged SVG logo with audio
- Part 2: The start of the Emberwind HTML5 project
- Part 3: Flash-free audio
- Part 4: The first rendering demo
If you are interested in HTML5 and other web technologies, or even games, be sure to check out his blog for future updates.


Mağruf ÇolakoğluZAHEK # Wednesday, June 29, 2011 11:39:54 AM
СергейMerser # Wednesday, June 29, 2011 11:46:05 AM
Krio LythKriolyth # Wednesday, June 29, 2011 12:06:58 PM
I wish I was at the internship
Charles SchlossChas4 # Wednesday, June 29, 2011 1:37:15 PM
ClashCityRockerclashcityrocker # Wednesday, June 29, 2011 2:55:26 PM
If so, shouldn't he be working on that, rather than this folly?
Haavardhaavard # Wednesday, June 29, 2011 3:15:50 PM
Who does what is off-topic here, though.
EricJH # Wednesday, June 29, 2011 3:36:27 PM
Diego Schild Smithstekonaza # Thursday, June 30, 2011 12:38:57 AM
Continue with your good job, and good luck!
PS: I'm downloading the demo, I'll try the game. =D