Zynga recently released the web version of Duck Dynasty Slots, a game that started life as a mobile-only game. By leveraging Mozilla's Emscripten project, we were able to port it to the web and deliver an experience just as compelling as the mobile version, all from one codebase for iOS, Android and WebGL. We believe this is one of the largest deployments of this technology for gaming to date, so today we wanted to share some of what we learned in the process, and talk about some of the challenges we faced. Emscripten is a C++ compiler that emits JavaScript – it's the kind of thing you'd call crazy if it didn't work so well. Zynga has been experimenting with Emscripten for about 18 months – we've previously written about it here – and have contributed some changes to Emscripten upstream, as well as our Emscripten-compatible version of Cocos2D-X 2.1. We originally started working with the Duck team in January, right before their iOS launch. This proved to [...]
Comments (0)
Sign in to post comments.