首页 » 黑莓开发 » [转]How to Animate Themes

[转]How to Animate Themes

7349 4

resource from http://www.blackberryforums.com/media-center/154309-how-animate-themes.html

Step 1 – The Animation Background – Easy Version

1. Find an animated GIF file that you like and you want to make into an animated background. Download this file and remember where you put it

2. Open up PLAZMIC COMPOSER.

3. Import the animated gif you found.
As you will see, once it’s imported as a layer, it will have a RED border area, with little squares in the corners, and in the middle of the vertical/side borders. This allows you to stretch the image / gif to the size of your desired working area (dependant on the device you pick).

See Arrow A for the points you can move.
See Arrow B so you can see the size you need to make the background picture

4. Now set the frame rate and number of frames in the animation

This is easy. When you load up the animated gif, the software figures out the number of frames in the animation. Just change the the “100” to the number of frames in the animation (which are shown on the time line below) and click REAL TIME. Then, adjust the Frames Per Second (FPS) to make it the speed you want.

Finally, check the section with D on it, and make sure that the “Infinite loop” buton is clicked.

(I’m using the Bold size, 480×320 with the matrix gif I found)

Hey Presto, you should have a basic animation sorted. Now, click the PLAY button to make sure it does what you want If not, fix it, if so, continue

Finally, you need to set the CANVAS size. You will see that your animated background is probably larger than the CANVAS (The white area you can work in and see in the animation – the grey area, you WILL NOT see in the animation….

So, you need to RIGHT CLICK on the image, and this will allow you to select “Canvas Properties” at the bottom, as shown here:

Make sure you click on the TOP LEFT arrow and then tell it how big the area should be: i.e. 480×320 for a BB Bold!

STEP 2 – Saving and importing your new animated background.

So, you’re happy with what you have. Now, the next stage is to save 2 formats of what you have created. The first, is the SVG file. This is vital for the animation to work.

So, save you SVG file, via the EXPORT command, and remember where you placed it. Now, open up that file, the xxxxxxxxxxx.svg file, into note pad.

You need to enter the following command to it: repeatCount=”indefinite”

This goes in front of the command KEYTIMES=…….

This is in the [animateTransform] tag. As seen in the highlighted blue area here:

Save the file once you’ve changed it

Now, you need to save in COMPOSER and ANIMATED GIF file – I’m not sure if this is crucial, but I did it this way and it works. Remember the name of the file you saved

STEP 3 – Confirmation

Ok, so at this point, you should have 2 files that you have created, edited and saved. The first is the YOUR_FILE.GIF – The animated gif file you exported and the YOUR_FILE.SVG, which you exported and edited, then saved with the minor amendment we mentioned above.

Now it’s time to load them into the main Theme Builder.

STEP4 – Final Stage

Now, we want them into the Theme Builder. So, look at the image below and it should be fairly obvious

Arrow A – This is where you load your new ANIMATED GIF FILE (Background) as mentioned above.

Arrow B – THIS IS IMPORTANT – This is where you load your edited SVG file.

And that’s it. Go about the theme building process as you normally do.

Now, for the HARD VERSION!

Welp, it’s to late to get into that. If you have a play with the COMPOSER supplied in Plazmic, you’ll see on the right there are easier ways to create your own animation from scratch.

文章评分1次,平均分5.0

本文原始地址:https://www.tiandiyoyo.com/2009/07/%e8%bd%achow-to-animate-themes/
本站所有文章,除了特别注明外,均为本站原创,转载请注明出处来自www.tiandiyoyo.com

您可能还会对以下文章感兴趣:

评论前先开启评论开关:


4 Comments

  1. 看懂了但好像没什么用

  2. 好吧,全英文。。。。。。看不懂

    • tiandi :

      呵呵,当时做主题的时候看到的,主要是让主题带动画效果,之前我帮YOYO做过一主题,《寻找羊驼》,for 87/90机器的,带动画,不知道现在还有人研究这主题的动画制作么?

载入分页评论...