seeksongtitle.maki
For a seeker as simple as the one in Echo, you do not need maki. All you need is some graphics and xml.
But for some funkier ones, you may need it.
Here is an example of a seeker which gradually changes its color from green at the beginning of a song to orange at the end.
1. Create an image for the animated seeker and one for the seek map. The images should be of equal widths. The attached zip contains three different images for the animated seeker and one for the seek map.
2. In player-elements.xml, replace these lines:
3. In player-normal-group.xml, this is all you need:
The width of the SeekAnim layer should be the same as the width of the bitmaps. The height should be the same as the height of one row in animseek-chameleon.png
4. Copy seeksongtitle.m and seeksongtitle.maki into your scripts folder.
Try it out with animseek-gradient.png and animseek-blink.png, too.
For a seeker as simple as the one in Echo, you do not need maki. All you need is some graphics and xml.
But for some funkier ones, you may need it.
Here is an example of a seeker which gradually changes its color from green at the beginning of a song to orange at the end.
1. Create an image for the animated seeker and one for the seek map. The images should be of equal widths. The attached zip contains three different images for the animated seeker and one for the seek map.
2. In player-elements.xml, replace these lines:
with these:code:
<bitmap id="player.anim.seek" file="player/songbar2.png" gammagroup="vis"/>
<bitmap id="player.map.seek" file="player/seek_map2.png"/>
PHP Code:
<bitmap id="player.anim.seek" file="player/animseek-chameleon.png"/>
<bitmap id="player.map.seek" file="player/seekmap-samewidth.png"/>
PHP Code:
<groupdef id="seeker">
<AnimatedLayer
id="SeekAnim" image="player.anim.seek"
x="0" y="6" w="137" h="5" move="0" autoplay="0" autoreplay="0"
/>
<script id="seeksongtitle" file="scripts/seeksongtitle.maki"/>
</groupdef>
4. Copy seeksongtitle.m and seeksongtitle.maki into your scripts folder.
Try it out with animseek-gradient.png and animseek-blink.png, too.
Comment