也許你還對上一節中我天馬行空的介紹帶有疑惑,比如說,上個Demo我只使用到了string類型,對於集合啦、自訂實體來並沒有觸及——我準備在另外的文章中再cover這些細節。還有,很多文章都會述及那個神奇的Metadata,可我卻隻字未提,因為這個Argument還有很多細節需要細細介紹,除此之外,我想讀者更好奇的莫過於VSTF Team為我們提供的那些用於Build的Activity了。 上一個Demo中,我們使用到了Team Foundation Build
WOW, Silverlight can also be used in OOMRPG programming, isn’t it? What a surprise! But it is true. As you know, game is base on a series of coherent pictures, and Silverlight is just good at animation design, especially in Vector Animations.
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 CompositionTarget, the frequency is not controlled, but
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, I need to replace the object with a living sprite. I
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’s Flash, no difference”. If you follow this style, it
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 left to right, we can see the sprite’s complete
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 words, the animation created by