Your sci-fi fans may be impressed by the subtitle effects of Star Wars, the film's subtitling techniques once swept the size of American films, and even Superman films and TVs used to do opening and closing subtitles, and today I'm going to make this effect in blend to tell you that the following is a picture of Star Wars:
Maybe everyone thinks this makes a game development skill a bit far-fetched, I plan to use this as the introduction, draws out regarding the Silverlight special effects production The key knowledge Point--projection, in the direct translation is the projection meaning, but generally we call it the 3D transformation, RenderTransform is typically a 2D transformation and can be very interesting if you use projection.
It is not difficult to find it, you can find it in the attribute by selecting any control within the blend.
So we start with a project, add a user control starcaption, you can use Starcaption as the basic container for the caption control, this size can be fixed or not fixed, now add a TextBlock to LayoutRoot, Make all margins stretch automatically.
It is more intuitive to set the alignment of the text to Center (center), and adjust the size and font of the text until it is satisfied, plus some test text.
Now select projection to set the rotation parameters to the same as the following.
Now set the Y of global offset to 150 and the Y of Lacol offset to 400.
OK, now just need to adjust lacol offset will be able to see the effect of how good it is, and finally open the storyboard, do an animation, such as a minute length of Lacol offset properties of the displacement operation.
OK, add the control to the mainpage, do a simple design to complete this special effect, the following successive several are related to projection, although simple, but suggested that you have a better understanding.
The source code download address is as follows: Click to download directly
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.