Html 5 Features in Flash CS6
Flash CS 6.6 has a two features which I feel it will be very helpful for html 5 gaming programing. One is new support for html 5 and another one is sprite sheet generation.
Flash Export to Html 5 Canvas
Flash Sprite Sheet Generation
Limitation of Html 5 Features
After I tried my first html 5 game project, I think html 5 features in Flash CS6 are very useful and efficient. It only costs me one day to convert one existing flash game into html 5 game. But I also meet some problems which are very hard to debug and not mentioned in the adobe document either.
Flash to HTML5 CreateJS Toolkit
To use the “Publish for CreateJS” feature, we need to download and install the Flash to Html5 createJS toolkit first. By default, flash CS6 does not include this extension. If you want to convert your flash animation to HTML canvas animation, please download Flash to Html5 createJS toolkit first.
No Actionscript Code Support
HTML5 Performance in iPhone iPad Android Tablet
The purpose of converting Flash game applications to HTML5 game is that we want to make our games to support of platforms, iPhone, iPad, android phones and tablets. Different from desktop or laptop, the mobile phone and tablets have very limited resources to run heavy applications. If we don’t optimize our application well, the performance will be a big issue. For example, my html5 game plays very well in the desktop chrome, IE 9, and firefox, but it gets very poor performance in my HTC Desire phone and my iPad which use the IOS 4.3 system. However, it also makes me surprised that it gets a very good performance in my iPad after I update my iPad system to IOS 5.1. I hope it will get the same performance improvement if I upgrade my android phone to android 4.0.