03 2011 档案

摘要: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 阅读(1707) 评论(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 阅读(5461) 评论(3) 推荐(8) 编辑
摘要:先看这个例子,点下这个按钮,你的浏览器一定会崩溃掉。至少在微软修复这个BUG之前会崩溃掉。 经过测试的浏览器有:IE、Chrome、FireFox,其他浏览器,不保证100%崩溃。 重现这个BUG 新建一个SL项目SilverlightApplication1,把MainPage.xaml内容修改为 <UserControl x:Class="SilverlightApplication1.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmln 阅读全文
posted @ 2011-03-08 14:43 Aimeast 阅读(4423) 评论(49) 推荐(0) 编辑

点击右上角即可分享
微信分享提示