简体   繁体   中英

curve movement animation in wp7

I use Blend 4 (storyboard) to create animation movement for a wisp. But now I was required to have the wisp move in curve path. I have found some solution in code (from programming windows phone 7 book) Part III chapter 2 XNA. However I just wonder if we can make curve movement by Blend 4 or any other easier way?

Animation storyboards are the easiest way to go but if you're trying to animate along a complex path like a curvy line then the best way to go is to use the PathListBox class (MSDN). The PathListBox class basically will let you easily animate an object along path no matter how crazy the path may be.

Here are some links for you to check out.

It depends on how dynamic you want the animation. Using Blend, you can use Storyboards to create that type of animation very easily. The downside to storyboards is that they are quite limited in terms of flexibility. If the curves will always be the same, I recommend using the Storyboard approach. If you need a lot of flexibility in the animation (in real time), then you'll have to do it in code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM