作者cjcat2266 (CJ Cat)
看板Flash
標題[情報] TweenLite - 輕薄短小的tweening API
時間Sat Nov 17 23:27:58 2007
Tweener功能非常齊全
不但能夠暫停tween,而且還可以自訂property liking
但是,功能多難免會讓效能打折扣
TweenLite本體只有單獨一個.as檔
無法暫停tween,也只能漸變基本的數值property
但是它"輕、薄、短、小"
跟Tweener相比,運算量大的tweening效率相對較高
TweenLite官網 AS3 ver -
http://blog.greensock.com/tweenliteas3
AS2 ver -
http://blog.greensock.com/tweenliteas20
Tweener官網
http://code.google.com/p/tweener/
這裡有TweenLite和Tweener的效能比較
運算量大的時候,TweenLite明顯有較高的frame rate
http://blog.greensock.com/tweening-speed-test/
如果沒有要做一些很複雜的tweening
使用TweenLite是較佳的選擇 :)
它的使用語法跟Tweener很像
所以基本上從Tweener跳槽過來應該幾乎沒有壓力才是
--
CJ Cat = Croa'J Cat = Cockroach Cat = 西街凱特 = 蜚蠊貓 = 蟑螂貓
Gallery
http://cjcat2266.deviantart.com
ptt2 Board CJWorkshop - 阿多比閃光(Adobe Flash)研討區
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.228.95.155
1F:→ cjcat2266:所以做分子特效建議使用TweenLite :) 11/17 23:29