随笔分类 -  Silverlight MMORPG

摘要:Now it is time to resolve the issue left in chapter 8, when there are no obstructions between the distinction and original place, the sprite still use A* algorithm to find path, rather than moving bet... 阅读全文
posted @ 2010-03-01 16:06 包建强 阅读(3585) 评论(6) 推荐(0) 编辑
摘要:I introduced how to create map in the game in the previous chapters. The difficulty is the implementation inside the map, such as obstructions. Let me introduce another method to implement obstruction... 阅读全文
posted @ 2010-03-01 11:00 包建强 阅读(2098) 评论(0) 推荐(1) 编辑
摘要:I introduce map presentation in the previous chapters. In general, it is enough to simple games; but we need to spend more energy on the map to simulate real world and achieve more realistic effect. T... 阅读全文
posted @ 2010-02-28 00:15 包建强 阅读(2112) 评论(0) 推荐(0) 编辑
摘要:Now it is time to introduce how to integrate A* Algorithm into the sprite’s 2D animation. If you follow my tutorial from the beginning, you will find it is easy. First, I must introduce a new co... 阅读全文
posted @ 2010-02-27 18:18 包建强 阅读(1939) 评论(0) 推荐(0) 编辑
摘要:In the last chapter, I introduce A* algorithm, so the object can find the shortest path itself, I print the path array on the canvas. This chapter I will animate the object to pass through the path ar... 阅读全文
posted @ 2010-02-27 16:09 包建强 阅读(2013) 评论(0) 推荐(0) 编辑
摘要:From this chapter, I will introduce map engine, it refer to 2 aspects, as follows: 1) Implementation the map. Including map’s splitting, composing and rendering style. 2) Implementation the obje... 阅读全文
posted @ 2010-02-26 22:56 包建强 阅读(2395) 评论(2) 推荐(1) 编辑
摘要:In the last 6 chapters, we cover many techniques, including the object moving from one place to another one, and the sprite’s own animation. This chapter I will merge both of them, to implement ... 阅读全文
posted @ 2010-02-26 17:36 包建强 阅读(2307) 评论(0) 推荐(0) 编辑
摘要:The story occurs in AD 3000. Bill Gates left Microsoft and IT forever,which brings chaos to the whole world. You must gather 7witches from the largest 7 IT companies,when all these 7witches castspell ... 阅读全文
posted @ 2010-02-26 02:30 包建强 阅读(1250) 评论(0) 推荐(0) 编辑
摘要:In Chapter 5, We study how to use Image’s Clip and RenderTransform to create animation for sprite. Now, I will introduce a new method base on WriteableBitmap to cut the image. You can use it as follows:BitmapImage bitmap = newBitmapImage(newUri(@"/Images/Role/sprite.png", UriKind.Relative)); Imagei 阅读全文
posted @ 2010-02-26 00:48 包建强 阅读(2263) 评论(0) 推荐(0) 编辑
摘要: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... 阅读全文
posted @ 2010-02-26 00:38 包建强 阅读(2968) 评论(1) 推荐(0) 编辑
摘要: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... 阅读全文
posted @ 2010-02-25 23:25 包建强 阅读(2386) 评论(0) 推荐(0) 编辑
摘要: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... 阅读全文
posted @ 2010-02-25 00:25 包建强 阅读(1627) 评论(0) 推荐(0) 编辑
摘要: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... 阅读全文
posted @ 2010-02-24 22:52 包建强 阅读(2177) 评论(0) 推荐(1) 编辑
摘要: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 ... 阅读全文
posted @ 2010-02-24 21:47 包建强 阅读(1955) 评论(0) 推荐(0) 编辑
摘要: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... 阅读全文
posted @ 2010-02-24 17:02 包建强 阅读(3590) 评论(2) 推荐(1) 编辑
摘要:最近研究深蓝色左手的《C#开发WPF/Silverlight动画及游戏系列教程》 http://www.cnblogs.com/alamiye010/archive/2009/06/17/1505346.html 笔记心得如下: 1.人物移动分成两部分:质心的移动,以及人物自身的移动动画,这不由让我想起了大四最后一门课《刚体力学》。 2.对于Image,在WPF是: spirit.Sou... 阅读全文
posted @ 2010-02-21 23:44 包建强 阅读(1592) 评论(0) 推荐(0) 编辑
摘要:    WOW, Silverlight can also be used in OOMRPG programming, isn’t it?   &#... 阅读全文
posted @ 2010-02-21 19:02 包建强 阅读(2318) 评论(1) 推荐(0) 编辑