Home > Flash > hitAreaに関する検証

hitAreaに関する検証

ボタンのhitArea(座布団)として透明のオブジェクトを使う場合、
alpha=0のobjectを使った方が良いのか、
それともblendModeの方が良いのか気になったので検証してみた。
ついでにSimpleButtonも。

alpha版、blendMode版、SimpleButton版のどれで
見た目が変わらない(背景に影響を与えない)状態で
5×5pixelのボタンを一面に敷き詰めた。
約8500個。

hitAreaに指定するobjectの検証 [alpha=0] – wonderfl build flash online
hitAreaに指定するobjectの検証 [blendMode=multiply] – wonderfl build flash online
hitAreaに指定するobjectの検証 [SimpleButton] – wonderfl build flash online

思った以上に差は出てない。
強いていえばSimpleButtonが若干FPS落ちるくらい?
うーん・・・何とも微妙な結果に。

Comments:0

Comment Form
Remember personal info

Trackbacks:0

Trackback URL for this entry
http://barmamutha.net/wp-trackback.php?p=59
Listed below are links to weblogs that reference
hitAreaに関する検証 from barmamutha.net

Home > Flash > hitAreaに関する検証

Search
Feeds

Return to page top