The difference is that instead of using the native drawing commands, you use the SGX drawing commands. SGX is a thin layer to the device-specific code to ensure execution speed. It also uses an abstracted 'draw surface' to handle resizes automatically, and differences in screen size.

And since the API on each platform uses identical class and function names, converting from one to other is as simple as it can be, and gives seamless portability.

The typical development approach to start with the basic game in HTML5/Javascript, where speed of execution and turn-around time is of primary concern. Then port it across to C++, where type-safety can be introduced which benefits both this and the subsequent Flash/Actionscript port.

Learn more...