接下来我所要讲解的,是一个宏大的主题,结合了我这些年来从事UI端编程的经验,我将用一系列文章来搭建用户界面(UI)的底层框架,这里我使用的技术实现是Silverlight,但是,你将会发现,我所介绍的都是UI端的设计思想,所以是超越于语言,是不局限于技术实现的,所以,它将适用于Windows Form, WPF, FLEX, HTML5,以及所有手机编程领域Phone7, IOS, A...Read More
posted @ 2012-03-12 10:45 Jianqiang Bao Views(2739) Comments(14) 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(724) 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(2488) 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(1437) 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(1353) 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(1166) 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(1283) 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(1547) 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(1411) 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(775) 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(1453) 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(1201) 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(1626) 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(1128) 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(1646) 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(1379) 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(2637) 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(1028) 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(1575) Comments(1) Edit
1.关于图片,Resource和Content的区别
2.Clip和WriteableBitmap的适用场合Read More
posted @ 2010-02-02 23:05 Jianqiang Bao Views(3107) Comments(13) Edit
接下来我所要讲解的,是一个宏大的主题,结合了我这些年来从事UI端编程的经验,我将用一系列文章来搭建用户界面(UI)的底层框架,这里我使用的技术实现是Silverlight,但是,你将会发现,我所介绍的都是UI端的设计思想,所以是超越于语言,是不局限于技术实现的,所以,它将适用于Windows Form, WPF, FLEX, HTML5,以及所有手机编程领域Phone7, IOS, A...Read More
posted @ 2012-03-12 10:45 Jianqiang Bao Views(2739) Comments(14) 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(468) 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(563) Comments(4) Edit
在这之前,我做了很多准备工作,包括买了几本介绍798的书籍,浏览了798的官方网站,甚至,还留起了小胡子冒充艺术家,但就在走进去的那一刹那,我还是被深深的surprise了。厌倦了南锣鼓巷的狭小拥挤并且千篇一律,迷惘于簋街的餐馆林立却如出一辙,所以,我曾经认为798也不过尔尔,所以,虽然它就位于微软左近,这一年多来,我却从来没有去过。打车到酒仙桥,这里有2个入口,一般大家会选择从2号口直接进入繁华区,另一个4号口则门可罗雀身世冷清。我逛街一向喜欢去清静的地方,所以选择了4号口,以下是798全景图: 右边那张图则是我这次逛798的路线图,事后发现,走了很多冤枉路,尤其是浪费了很多时间在一些小店里Read More
posted @ 2011-08-09 22:35 Jianqiang Bao Views(629) 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(724) Comments(0) Edit
作为三部曲之一,本文介绍的是如何增加AssemblyVersion中的版本号。 每个项目都有一个AssemblyVersion.cs文件,其中,里面有2行是我们所需要的版本号。 对于一个编译生成的文件(这里以BuildEngine.dll为例),AssemblyVersion和AssemblyFileVersion会展示在它的Property面板中: 下面我们就要在Build的时候控制这两个值,...Read More
posted @ 2011-02-10 11:05 Jianqiang Bao Views(610) Comments(1) Edit
PendingRead More
posted @ 2011-02-10 11:04 Jianqiang Bao Views(462) Comments(0) Edit
也许你还对上一节中我天马行空的介绍带有疑惑,比如说,上个Demo我只使用到了string类型,对于集合啦、自定义实体来并没有触及——我准备在另外的文章中再cover这些细节。还有,很多文章都会述及那个神奇的Metadata,可我却只字未提,因为这个Argument还有很多细节需要细细介绍, 除此之外,我想读者更好奇的莫过于VSTF Team为我们提供的那些用于Build的Activity了。 上...Read More
posted @ 2011-02-10 10:59 Jianqiang Bao Views(581) 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(457) Comments(0) Edit

