SlideShare a Scribd company logo
1 of 15
Download to read offline
Social AppのFlash事情
2013年版
id:karupanerura
13年9月28日土曜日
who?
id:karupanerura
YAPC::Asia 2013
DAY 1 13:40~
きてね!
ぼくがかんがえたさいきょうのMVC
13年9月28日土曜日
Social Appとは
GREEとかMobageとかにあるようなアレ
ババアがいないCookie Clickerみたいなやつ
ポチポチしてるとなんかスゴイことが起こる
なんかスゴイことが起こると演出アニメ見れる
演出アニメ出すのにFlash使う
13年9月28日土曜日
Flash作る上で
入手したアイテムの画像とかを置換する
SWF(Flash)はバイナリ
perlの場合以下のようなツールでいじる
SWFEditor
swfmill
SWFをXMLの形式に変換してくれる
13年9月28日土曜日
でもFlashオワコ(ry
iOSとかAndroid4系とかFlashつかえない
Flashでアニメ作れるデザイナさんはいる
JS+CSSで書けるデザイナさんはなかなかいな
い
弊社、0人
Flashつかえるひとなら作れるようにする
13年9月28日土曜日
アプローチ
FlashをiOSなどで再生出来る形式に変換する
Flashが慣れてるUIのアニメーション作成ツール
的な奴を作る
13年9月28日土曜日
Google Swiffy
Googleが提供しているSVGアニメ変換ツール
Flashをアップロードするとよしなになってる
実体はSWFの内容のJSON(swiffyobject)
とその処理系のJS
13年9月28日土曜日
JSONかー
13年9月28日土曜日
JSONならPerlで弄れる
13年9月28日土曜日
弄るモジュールつくった
13年9月28日土曜日
GoogleSwiffy::Editor
13年9月28日土曜日
つくりかた
JSON内のtypeはswfmillのXMLタグとほぼ1対1
swfmillのデータとの対応を目grepなどで見付ける
swfmillのタグとの対応表を作る
いいかんじに!!!!
13年9月28日土曜日
おてがる!!!11
13年9月28日土曜日
公開は未定
13年9月28日土曜日
おわり
13年9月28日土曜日

More Related Content

More from karupanerura

コンテキストと仲良く
コンテキストと仲良くコンテキストと仲良く
コンテキストと仲良くkarupanerura
 
The plan of Aniki 2.0
The plan of Aniki 2.0The plan of Aniki 2.0
The plan of Aniki 2.0karupanerura
 
The Crystal language *recently* update
The Crystal language *recently* updateThe Crystal language *recently* update
The Crystal language *recently* updatekarupanerura
 
TIme::Moment+Time::Strptime=
TIme::Moment+Time::Strptime=TIme::Moment+Time::Strptime=
TIme::Moment+Time::Strptime=karupanerura
 
Optimize perl5 code for perfomance freaks
Optimize perl5 code for perfomance freaksOptimize perl5 code for perfomance freaks
Optimize perl5 code for perfomance freakskarupanerura
 
Technology for reduce of mistakes - うっかりをなくす技術
Technology for reduce of mistakes - うっかりをなくす技術Technology for reduce of mistakes - うっかりをなくす技術
Technology for reduce of mistakes - うっかりをなくす技術karupanerura
 
Why we use mruby with Perl5?
Why we use mruby with Perl5?Why we use mruby with Perl5?
Why we use mruby with Perl5?karupanerura
 
Perlにおけるclass実装パターン
Perlにおけるclass実装パターンPerlにおけるclass実装パターン
Perlにおけるclass実装パターンkarupanerura
 
モジュール開発におけるぼくの試行錯誤
モジュール開発におけるぼくの試行錯誤モジュール開発におけるぼくの試行錯誤
モジュール開発におけるぼくの試行錯誤karupanerura
 
Aniki - The ORM as our great brother.
Aniki - The ORM as our great brother.Aniki - The ORM as our great brother.
Aniki - The ORM as our great brother.karupanerura
 
Perl5 meta programming
Perl5 meta programmingPerl5 meta programming
Perl5 meta programmingkarupanerura
 

More from karupanerura (20)

Perl5 VS JSON
Perl5 VS JSONPerl5 VS JSON
Perl5 VS JSON
 
コンテキストと仲良く
コンテキストと仲良くコンテキストと仲良く
コンテキストと仲良く
 
The plan of Aniki 2.0
The plan of Aniki 2.0The plan of Aniki 2.0
The plan of Aniki 2.0
 
Aniki::Internal
Aniki::InternalAniki::Internal
Aniki::Internal
 
The Crystal language *recently* update
The Crystal language *recently* updateThe Crystal language *recently* update
The Crystal language *recently* update
 
KOWAZA for mackerel
KOWAZA for mackerelKOWAZA for mackerel
KOWAZA for mackerel
 
TIme::Moment+Time::Strptime=
TIme::Moment+Time::Strptime=TIme::Moment+Time::Strptime=
TIme::Moment+Time::Strptime=
 
DateTimeX::Moment
DateTimeX::MomentDateTimeX::Moment
DateTimeX::Moment
 
Aniki has come
Aniki has comeAniki has come
Aniki has come
 
Optimize perl5 code for perfomance freaks
Optimize perl5 code for perfomance freaksOptimize perl5 code for perfomance freaks
Optimize perl5 code for perfomance freaks
 
Technology for reduce of mistakes - うっかりをなくす技術
Technology for reduce of mistakes - うっかりをなくす技術Technology for reduce of mistakes - うっかりをなくす技術
Technology for reduce of mistakes - うっかりをなくす技術
 
router-simple.cr
router-simple.crrouter-simple.cr
router-simple.cr
 
Why we use mruby with Perl5?
Why we use mruby with Perl5?Why we use mruby with Perl5?
Why we use mruby with Perl5?
 
はかたの塩
はかたの塩はかたの塩
はかたの塩
 
Gotanda.pmの紹介
Gotanda.pmの紹介Gotanda.pmの紹介
Gotanda.pmの紹介
 
すいすいSwift
すいすいSwiftすいすいSwift
すいすいSwift
 
Perlにおけるclass実装パターン
Perlにおけるclass実装パターンPerlにおけるclass実装パターン
Perlにおけるclass実装パターン
 
モジュール開発におけるぼくの試行錯誤
モジュール開発におけるぼくの試行錯誤モジュール開発におけるぼくの試行錯誤
モジュール開発におけるぼくの試行錯誤
 
Aniki - The ORM as our great brother.
Aniki - The ORM as our great brother.Aniki - The ORM as our great brother.
Aniki - The ORM as our great brother.
 
Perl5 meta programming
Perl5 meta programmingPerl5 meta programming
Perl5 meta programming
 

Yapc asia-2012-lt-thon