官方论坛:Build Automation ForumTeam Foundation Server 2010 SDK各种文章:Extending Team Foundation使用 MSBuild 和 Windows Installer XML 执行自动发布MSBuild的深入认识自动构造--MSBuild和Team Foundation Build基础Creating a Chm build using SandcastleAIT Build Suite 2010 一份有趣的文档Solution:使用Team Build 2010 RC对SIlverlight项目进行持续集成Team BuiRead More
posted @ 2011-03-20 11:21 Jianqiang Bao Views(578) Comments(0) Edit
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...Read More
posted @ 2010-03-01 16:06 Jianqiang Bao Views(2401) Comments(6) Edit
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...Read More
posted @ 2010-03-01 11:00 Jianqiang Bao Views(1394) Comments(0) Edit
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...Read More
posted @ 2010-02-28 00:15 Jianqiang Bao Views(1314) Comments(0) Edit
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...Read More
posted @ 2010-02-27 18:18 Jianqiang Bao Views(1117) Comments(0) Edit
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...Read More
posted @ 2010-02-27 16:09 Jianqiang Bao Views(1227) Comments(0) Edit
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...Read More
posted @ 2010-02-26 22:56 Jianqiang Bao Views(1499) Comments(2) Edit
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 ...Read More
posted @ 2010-02-26 17:36 Jianqiang Bao Views(1343) Comments(0) Edit
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 ...Read More
posted @ 2010-02-26 02:30 Jianqiang Bao Views(750) Comments(0) Edit
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)); ImageiRead More
posted @ 2010-02-26 00:48 Jianqiang Bao Views(1399) Comments(0) Edit
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 Jianqiang Bao Views(1169) Comments(1) 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 Jianqiang Bao Views(1514) Comments(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 Jianqiang Bao Views(1099) Comments(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 Jianqiang Bao Views(1504) Comments(0) 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 Jianqiang Bao Views(1339) Comments(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 Jianqiang Bao Views(2546) Comments(2) 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 Jianqiang Bao Views(971) Comments(0) Edit
    WOW, Silverlight can also be used in OOMRPG programming, isn’t it?   &#...Read More
posted @ 2010-02-21 19:02 Jianqiang Bao Views(1498) Comments(1) Edit
1.关于图片,Resource和Content的区别 2.Clip和WriteableBitmap的适用场合Read More
posted @ 2010-02-02 23:05 Jianqiang Bao Views(2996) Comments(13) Edit
声明,本文所有11道算法题目,覆盖了基本上所有常见的二叉树问题,全都用C#实现,并测试通过,代码下载:BinNode.zip目录:1.二叉树三种周游(traversal)方式:2.怎样从顶部开始逐层打印二叉树结点数据3.如何判断一棵二叉树是否是平衡二叉树4.设计一个算法,找出二叉树上任意两个节点的最近共同父结点,复杂度如果是O(n2)则不得分。 5.如何不用递归实现二叉树的前序/后序/中序遍历?6...Read More
posted @ 2009-12-28 00:00 Jianqiang Bao Views(4913) Comments(25) Edit
Ice break:拍七游戏(10分钟) 这是我们十几个人经常聚会吃吃喝喝,在喝酒的时候玩的一个游戏 规则介绍:大家围成一个圈,从1到100逆时针轮流报数,遇到7的倍数或者带7的数字就拍手, 输的学生站起来鞠躬。然后随便报一个数字,继续玩下去。到100再重新从1开始。 第2步:加大难度,拍手后反转报数方向。 第3步:教学生一些小技巧,比如从44或58或68开始都是害人的,而其他数字会害到...Read More
posted @ 2011-10-20 16:35 Jianqiang Bao Views(282) Comments(0) Edit
第一部分 QuickStart(30页)第一章 相关技术简介(15页)(一)Silverlight(二)Prism(三)MVC, MVP和MVVM(四)Unity(五)MEF(六)UT for Silverlight (七)SOA/WCF(八)UIA简单介绍以上8个技术点,原理,历史,下载地址。第二章 第一个Prism程序(6页)http://www.cnblogs.com/Jax/archive/2009/05/30/1491921.html第三章 搭建Service框架(8页)为第2章创建的Prism程序搭建Service,并完善项目结构。第二部分 Prism研究(83页)第四章 UnitRead More
posted @ 2011-10-19 10:51 Jianqiang Bao Views(343) Comments(3) Edit
在这之前,我做了很多准备工作,包括买了几本介绍798的书籍,浏览了798的官方网站,甚至,还留起了小胡子冒充艺术家,但就在走进去的那一刹那,我还是被深深的surprise了。厌倦了南锣鼓巷的狭小拥挤并且千篇一律,迷惘于簋街的餐馆林立却如出一辙,所以,我曾经认为798也不过尔尔,所以,虽然它就位于微软左近,这一年多来,我却从来没有去过。打车到酒仙桥,这里有2个入口,一般大家会选择从2号口直接进入繁华区,另一个4号口则门可罗雀身世冷清。我逛街一向喜欢去清静的地方,所以选择了4号口,以下是798全景图: 右边那张图则是我这次逛798的路线图,事后发现,走了很多冤枉路,尤其是浪费了很多时间在一些小店里Read More
posted @ 2011-08-09 22:35 Jianqiang Bao Views(484) Comments(1) Edit
官方论坛:Build Automation ForumTeam Foundation Server 2010 SDK各种文章:Extending Team Foundation使用 MSBuild 和 Windows Installer XML 执行自动发布MSBuild的深入认识自动构造--MSBuild和Team Foundation Build基础Creating a Chm build using SandcastleAIT Build Suite 2010 一份有趣的文档Solution:使用Team Build 2010 RC对SIlverlight项目进行持续集成Team BuiRead More
posted @ 2011-03-20 11:21 Jianqiang Bao Views(578) Comments(0) Edit
作为三部曲之一,本文介绍的是如何增加AssemblyVersion中的版本号。 每个项目都有一个AssemblyVersion.cs文件,其中,里面有2行是我们所需要的版本号。 对于一个编译生成的文件(这里以BuildEngine.dll为例),AssemblyVersion和AssemblyFileVersion会展示在它的Property面板中: 下面我们就要在Build的时候控制这两个值,...Read More
posted @ 2011-02-10 11:05 Jianqiang Bao Views(483) Comments(1) Edit
PendingRead More
posted @ 2011-02-10 11:04 Jianqiang Bao Views(350) Comments(0) Edit
也许你还对上一节中我天马行空的介绍带有疑惑,比如说,上个Demo我只使用到了string类型,对于集合啦、自定义实体来并没有触及——我准备在另外的文章中再cover这些细节。还有,很多文章都会述及那个神奇的Metadata,可我却只字未提,因为这个Argument还有很多细节需要细细介绍, 除此之外,我想读者更好奇的莫过于VSTF Team为我们提供的那些用于Build的Activity了。 上...Read More
posted @ 2011-02-10 10:59 Jianqiang Bao Views(464) Comments(0) Edit
思路逐渐清晰了,Build Workflow的solution就是:修改Build Template(就是那个XAML),最后看Build的输出结果。 二话不说,我们先做一个Demo: 1.双击打开Build Template Workflow还是我们之前看到的那个,没有变化,但是,请留意左下角的那三个蓝底白字的Tab:分别是Variables、Arguments和Imports 2. 点击A...Read More
posted @ 2011-02-10 01:23 Jianqiang Bao Views(351) Comments(0) Edit
书接上文,我要介绍的Workflow在哪了呢? 打开我们之前创建的Build: 我们在Process这个Tab中,看到VSTF为默认指定了一个Template,这是一个Wrokflow XAML文件,它位于根目录下的BuildProcessTemplates目录中。 按图索骥,我们在VSTF中找到了这个XAML文件: 这个xaml记载了我们在执行一个build时所要做的所有工作以及顺序,下面让我...Read More
posted @ 2011-02-09 17:45 Jianqiang Bao Views(425) Comments(0) Edit
话说,该如何简要介绍一下我的这个topic呢? 我们知道,在VSTF2010之前,我们都是使用msbuild这个指令专门来deploy项目的。此外,什么xcopy啦,可以将deploy好的项目复制到指定的路径,哦,还有WIX,用于制作软件安装包。为此,我们要手动写很多条诸如DOS的指令,才能把我们做好的软件Release给客户。 这是一件很繁琐的工作,以至于很多程序员不愿干这事。当然这并不完全...Read More
posted @ 2011-02-09 17:25 Jianqiang Bao Views(418) Comments(2) Edit