(日本語は下記にあります)
Several demos for taking Flash animations to HTML5 that I presented at CEDEC 2013.
- (1a) and (1b) are simple examples of exporting a Flash animation to intermediary formats.
- (2a) and (2b) publish a flash animation directly to HTML code.
- (3) shows a Flash animation published to an intermediary format, then read in and displayed by a content framework (in this case Cocos2d-html5, but things would work similarly for any other framework).
- (4) shows an example of Flash being used as a level editor for arbitrary game data. Level data is edited in Flash, then published via JSFL to images and metadata, which are read into a simple game engine. (Again, here I used Cocos2d.)
FlashアニメーションをHTML5に持って行く方法のいくつかのデモ。元々はCEDEC 2013のセッションで紹介したものです。
- (1a) と (1b) は、Flashアニメーションを中間フォーマットに変換する簡単なデモです。
- (2a) と (2b) は、アニメーションを直接HTML5ソースへの書き出しのデモ。
- (3) は、Flashアニメーションを中間フォーマットに書き出してから、それをコンテンツフレームワークに読み込んで表示する例です。本デモのフレームワークとしてはCocos2d-html5を使ったが、他のFWでも基本的に同じ流れになる。
- (4) は、Flashから任意のフォーマットのデータを書き出して、ゲームのレベルエディターとして使う例です。ゲームレベルのデザインをFlashで作ってから、JSFLを使って画像とメタデータを書き出す。そしてそれらを簡単なゲームエンジンに読み込んで表示すると言った流れです。