随鼠飘雪
目标
演示鼠标交互使用
在viewer 中移动鼠标后,看到雪花以鼠标为中心喷洒
参考了 《Addison Wesley - Learning Quartz Composer Jul.2012》
步骤
- 打开QC ,新建Blank 。
- 从Library 拖入 "image with string" 并设置string 为"*"。
- 从Library 拖入 "particle system" 。
- 从Library 拖入 "Mouse" ,mouse (x,y)连接到 particle system (x, y )
- 连接 image with string image 到 particle system image
- 完成!在viewer 窗口查看
下载