摘要:
阅读全文
posted @ 2010-12-21 21:54
文武bin
阅读(276)
评论(0)
推荐(0)
摘要:
来自《Foundation Actionscript 3.0 Animation: Making Things Move!》的物理公式:向鼠标(或者任何一个点)旋转:// 用要旋转到的 x, y 坐标替换 mouseX, mouseYdx = mouseX - sprite.x;dy = mouseY - sprite.y;sprite.rotation = Math.atan2(dy, dx) * 180 / Math.PI;创建波形:// 将 x, y 或其它属性赋值给 Sprite 影片或影片剪辑,// 作为绘图坐标,等等。publicfunctiononEnterFrame(event 阅读全文
posted @ 2010-12-21 21:44
文武bin
阅读(322)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2010-12-21 17:44
文武bin
阅读(167)
评论(0)
推荐(0)

浙公网安备 33010602011771号