作者cjcat2266 (CJ Cat)
看板Flash
标题[星尘] Waypoints - 追踪指定路径
时间Sun Aug 23 23:34:09 2009
我写了一个新的FollowWaypoints class
可以让粒子遵循指定的路径移动
(另外还有3D版本:FollowWaypoints3D)
这里有个demo
结点是可以拖曳的唷:)
http://cjcat.blogspot.com/2009/08/waypoints.html
我是参考Keith Peters写的AdvancED ActionScript 3.0 Animation
Steering Behaviors章节的Path Following小节
其中所提到的演算法
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.228.80.60
※ 编辑: cjcat2266 来自: 61.228.80.60 (08/23 23:34)
1F:推 dxmeteor:Cool CJ 必推!! 08/24 02:15
2F:推 skylight68:推一个 08/24 04:07
3F:推 kudoropu:好棒 08/24 07:47
4F:推 etrexetrex:背後的绿雾是什麽原理阿 超强 08/27 07:01
5F:→ cjcat2266:只是BitmapData.draw() + BlurFilter + 调整alpha呀XD 08/27 10:33
6F:推 aquarianboy:我有试着故意拖结点不让绿点通过,结果越带越多... 08/28 11:09
7F:→ cjcat2266:是啊,看来我们都会做一样的事情... 08/28 11:27