摘要: Farseer Physics Engine 是个好东西,虽然比较简单,但功能完整。 正在学习和分析这个简单例子Farseer 物理引擎的主要功能有:* Continuous collision detection (with time of impact solver)* Contact callbacks: begin, end, pre-solve, post-solve* Convex polyons and circles.* Multiple shapes per body* Dynamic tree broadphase* Fast broadphase AABB querie. 阅读全文
posted @ 2011-03-14 22:27 Aimeast 阅读(1688) 评论(0) 推荐(1) 编辑
摘要: 首先来看这个效果: 下面一步步实现这个效果 l 打开Blend 4,新建一个 Silverlight 4.0 项目 “SwitchImage” l 新建一个数据源,添加一个Image字段为Image类型,并且自动添加好了图片 l 新建两个ListBox控件,Dock到layoutRoot l 把数据源分别拖拽到两个ListBox上面,Blend会自动生成相应的ItemTemplate。我们在Resources面板里把两个ItemTemplate分别改名为:ThumbnailItemTemplate、PickingItemTemplate l 把Thumbnail的SelectedIndex双. 阅读全文
posted @ 2011-03-14 13:47 Aimeast 阅读(5456) 评论(3) 推荐(8) 编辑