在Expression混合中设置动画多个对象 [英] Animating multiple objects in Expression blend
问题描述
您好,我是
我为Windows 8应用程序创建了一个游戏,其中一个框在屏幕上,当用户选择他们想要在其上播放的模式时时钟开始,图像将从一个框中飞出,用户必须点击它们才能获得积分。但问题是我想要一个连续的
图像流,直到用户点击50张图像。所以我所做的就是为每一个复制50张图像和单独制作的故事板然后在c#codebehind中我开始了每个故事板,如下面的示例代码:
  ;   Boximage.Begin(); //现在这只是为了启动故事板
所以我的问题是,不是制作50张相同的图像并为每张图像制作单独的故事板我可以制作一个图像并设置位置和以编程方式运行的数量?
Hello,
I created a game for windows 8 app where a box is on the screen and the when the user picks the mode they want to play on the clock starts and images will fly up from a box and the user must click on them to get points. but the problem is I want a continuous
flow of images until the user gets 50 images clicked. So what I did was copy 50 images and individually made storyboards for each one and then in the c# codebehind I began each of those storyboards like the example code below:
Boximage.Begin(); //Now this is just to start the storyboard
So my question is, instead of making 50 copies of the same image and making separate storyboards for each image can I just make one image and set the location and how many run programmatically?
推荐答案
你好,
我很高兴 看到你的问题,类似的解决方案就是我在博客上发布的博客,这可能会帮助你做很多事情
Hello ,
I am glad to see your question, similar solution is what I have blogged on my blog and that might help you a lot in doing very stuff
这是我的博客,
http://www.expression-blend.com
我希望它帮助你!
问候,
这篇关于在Expression混合中设置动画多个对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!