上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 61 下一页
Another method to implement the sprite’s 2D animation is called Image Clipped. Let’s join all the 8 small pictures in to one large picture, the new dimension is 1200*150, as follows: From... Read More
posted @ 2010-02-26 00:38 包建强 Views(2963) Comments(1) Diggs(0) Edit
By studying the first 3 chapters, we master how to create the object’s moving animation dynamically. In this chapter, I will introduce how to implement object’s own animation. First of all... Read More
posted @ 2010-02-25 23:25 包建强 Views(2382) Comments(0) Diggs(0) Edit
3) DispatcherTimer The last method is DispatcherTimer, it is also an animation base on UI thread, frame by frame, but it is different from CompositionTarget. Maybe you still remember that in Compositi... Read More
posted @ 2010-02-25 00:25 包建强 Views(1624) Comments(0) Diggs(0) Edit
Tuorial Context (0)Foreword (1)Animate the object (Part I) (2)Animate the object (Part II) (3)Animate the object (Part III) (4)Implement the sprite’s 2D animation (Part I) (5)Implement the sprit... Read More
posted @ 2010-02-24 22:52 包建强 Views(2175) Comments(0) Diggs(1) Edit
2) CompositionTarget The second method to create animation is by CompositionTarget. In official document, CompositionTarget object can create custom animation by each frame’s callback. In other ... Read More
posted @ 2010-02-24 21:47 包建强 Views(1942) Comments(0) Diggs(0) Edit
Now, there are so many articles to introduce how to create animation in XAML by Blend, so I don’t plan to say more on this topic. It make many people puzzled “Silverlight is just Microsoft... Read More
posted @ 2010-02-24 17:02 包建强 Views(3588) Comments(2) Diggs(1) Edit
    有些人,就喜欢把通用的东西再进行一层层的包装。最后搞的人家看N久文档还没有头绪。     string.format 这些通用的东西,其实大家都学过。于是封装后,就转成一个又要去学习的库了。     于是抽象类和基类满天飞,以为提取出几个共同的方法就是重构了,孰不知你把仅有的一次继承用掉了(C#的类... Read More
posted @ 2010-02-22 23:08 包建强 Views(677) Comments(0) Diggs(1) Edit
最近研究深蓝色左手的《C#开发WPF/Silverlight动画及游戏系列教程》 http://www.cnblogs.com/alamiye010/archive/2009/06/17/1505346.html 笔记心得如下: 1.人物移动分成两部分:质心的移动,以及人物自身的移动动画,这不由让我想起了大四最后一门课《刚体力学》。 2.对于Image,在WPF是: spirit.Sou... Read More
posted @ 2010-02-21 23:44 包建强 Views(1590) Comments(0) Diggs(0) Edit
    WOW, Silverlight can also be used in OOMRPG programming, isn’t it?   &#... Read More
posted @ 2010-02-21 19:02 包建强 Views(2313) Comments(1) Diggs(0) Edit
1.关于图片,Resource和Content的区别 2.Clip和WriteableBitmap的适用场合 Read More
posted @ 2010-02-02 23:05 包建强 Views(4566) Comments(13) Diggs(4) Edit
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 61 下一页