使用Physics Helper 做SilverLight小游戏
最近在做一个Silverlight的游戏,由于人物上面的关节需要进行活动,类似于在flash用骨骼工具,在SilverLight中没有类似的控件,找了很多东西都感觉实现得很不理想。后来发现了 codeproject上面的一个Physics Helper的开源项目,它封装了Farseer的功能,并且它的使用方法非常简单,直接在Blend中就可以实现很好的动画效果,支持鼠标,重力等。下面是他的描述。
Project Description
The Physics Helper for Blend, Silverlight and WPF contains several Behaviors and controls which allow you to draw objects in Expression Blend 3, and have those objects translated directly into Physics objects using the Farseer Physics Engine. This can be a great timesaver for creating games, as it is traditionally difficult to line up underlying physics bodies and geometries with your Blend artwork.
demo演示地址 http://www.andybeaulieu.com/silverlight/3.0/physicshelper3/index.htm.
Rag Doll