Engineering Blog

Zynga Ports Cocos2D-X to Emscripten

If I could snap my fingers and wake up the following morning with any one problem at work just solved, you know what it would be?

No, not the stock price.

Without a doubt — it would be the problem of deploying our games concurrently to mobile and web. At Zynga we’ve tried just about every approach out there — written games with Adobe’s Air, used manual ports, and evaluated several proprietary solutions. They have all been valiant efforts, but have fallen short of our expectations.

PlayScript – A Compiler and Runtime for a Cross Platform World

We are excited to announce that we are open sourcing the PlayScript compiler and runtime, which we hope will help developers with a toolset that aims to comprehensively target the diverse web and mobile platforms.  PlayScript is a new open source compiler and runtime built on the Mono platform which both compiles existing ActionScript to mobile devices, and introduces a brand new language “PlayScript” which is a dramatic extension of ActionScript with new advanced capabilities.  The PlayScript language adds new features to ActionScript such as generics, events, native arrays, native types,

Installing and Configuring a Ubuntu Based Development Virtual Machine

Disclaimer: In case you’re a Linux, OS X or Windows fanboy, please skip the first paragraph and continue reading after that.

Go Multi-Platform with Cocos2d JS

Cocos2d-iphone has proven to be a great platform for creating iOS games, with many titles hitting the top of the charts in the AppStore. The introduction of cocos2d-x made it possible to write C++ games that ran on many devices, including iOS, Android and as applications on stationary computers. The next big thing in the Cocos2d universe is the release of Cocos2d JS! Cocos2d JS makes it possible to write your code just once and have run in all major web-browsers through HTML5 and with close to native performance on iOS and Android devices.

Jasy, The Ultimate Web Tool

A Cherry Tree

A Cherry Tree

 

Creating a Game with CocosBuilder

Creating a Game with CocosBuilder

JavaScript Bindings for C and Objective-C

Introduction

JavaScript Bindings for C / Objective-C (JSB) are the “glue” code (or wrapper code) that sit between native code (C or Objective-C) and JavaScript (JS) code. JSB allows calling native code from JS and vice-versa.

Scale Something: How Draw Something rode its rocket ship of growth

I’ve worked at OMGPOP for almost 4 years now and have seen it transform from a dating company, a games company and then find its footing in mobile games. We’ve done tons of stuff, tried many different technologies and business plans.

Pages