Announcement

Collapse
No announcement yet.

How ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • for whatever reason I'm not allowed to update my 1st post, so here is the right player-elements code

    PHP Code:
    <!-- REPEAT BUTTON -->
    <
    bitmap id="button.Repeat" file="player/R6.png"/>

    <
    bitmap id="button.repeat.hover0" file="player/R6Hover.png" x="0" y="0" w="88" h="85"/>
    <
    bitmap id="button.repeat.hover1" file="player/R6-hover-all.png" x="0" y="86" w="88" h="85"/>
    <
    bitmap id="button.repeat.hover2" file="player/R6-hover-all.png" x="0" y="171" w="88" h="85"/>
    <
    bitmap id="button.Repeat0" file="player/R6-down-all.png" x="0" y="0" w="88" h="85"/>
    <
    bitmap id="button.Repeat1" file="player/R6-down-all.png" x="0" y="86" w="88" h="85"/>
    <
    bitmap id="button.Repeat2" file="player/R6-down-all.png" x="0" y="171" w="88" h="85"/> 

    Comment


    • You don't need this:
      <bitmap id="button.Repeat" file="player/R6.png"/>

      Why do you define hover bitmaps for the repeat button if you don't use them? In your NStatesButton tag for Repeat, you have this:
      hoverImage="button.repeat"

      Why not this:
      hoverImage="button.repeat.hover"
      ​?
      Ariszló @ WinCustomize & DeviantArt

      Comment


      • You were right (as usual) !

        Surely an obvious thing I can't figure out in trying to implement a volume seek.
        I've compiled volumebyframe.m and set

        player-elements
        PHP Code:
        <bitmap id="player.anim.volume" file="animseek-chameleon.png"/>
        <
        bitmap id="player.map.volume" file="player/seekmap-samewidth.png"/>
        ​ 

        player-normal
        PHP Code:
            <group id="volume" x="175" y="315" />
        ​ 


        player-normal-group
        PHP Code:
                <AnimatedLayer
                  id
        ="VolumeAnim"
                  
        x="0" y="0"
                  
        w="137" h="5"
                  
        image="player.anim.volume"
                  
        move="0"
                  
        autoplay="0"
                  
        autoreplay="0"
                
        />
                        <
        script id="volumebyframe" file="scripts/volumebyframe.maki"/>                
        ​ 

        No error but no object even if clicking where the control should be allows me to adjust the volume.

        Comment


        • Partially solved : script changed to volume.maki. Last issue : when clicking on the progress bar, it collapses to zero. Middle button rotating works tho.

          Comment


          • Next step : implementing layouts.

            I'd like to have 3 of them :
            - Standard
            - Compact
            - stick

            Is it possible to have for the first two a two states button displaying covertart/visualisation as I remember the nocover thing ?

            Comment


            • Originally Posted by parisienne17 View Post
              I've compiled volumebyframe.m and set
              ...
              No error but no object even if clicking where the control should be allows me to adjust the volume.
              You left out the hidden thumb element. Follow these instructions: horizontal volume bar

              Originally Posted by parisienne17 View Post
              Partially solved : script changed to volume.maki. Last issue : when clicking on the progress bar, it collapses to zero. Middle button rotating works tho.
              No idea why it collapses without knowing where you took volume.maki from.
              Ariszló @ WinCustomize & DeviantArt

              Comment


              • Both scripts came from here.
                As VomumeByFrame didn't worked I switched to volume maki which worked. SI decided to redo both volume and the seeksongtitle you provided me.
                All goes well besides maps...

                Comment


                • Cheating did it : took the map provided by your seeksongtitle, resized it and aaply to my gradient.
                  Until I know how to design it...

                  Comment


                  • I'm definetely not suited for this... I've succeded changing your songtitleseek but I still get a guru meditation error for the volume, and I don't see where.

                    Script.m says

                    PHP Code:
                    1. Define the following in your XML:

                    <
                    AnimatedLayer
                    id
                    ="VolumeAnim"
                    x="121" y="231"
                    w="25" h="25"
                    image="player.anim.volume"
                    move="0"
                    autoplay="0"
                    autoreplay="0"
                    />

                    <
                    slider id="HiddenVolume"
                    ACTION="Volume" x="0" y="0" w="40" h="2"
                    thumb="player.anim.volume"
                    alpha="0"
                    />
                    <
                    script id="animvolume" file="scripts/volume.maki"/>

                    2. Define your gradient map with your other elements using:
                    <
                    bitmap id="player.map.vol" file="player/player-map-volume.png"/>

                    3. Make sure your ticker is called "SongTicker" and is in the same group as
                    "VolumeAnim" and "HiddenVolume" If you don't have a ticker, add one now.
                    4. Copy this script (and volume.maki) to your scripts folder.
                    5. If you don'
                    t have volume.makicompile this script.
                    6. Add this line to the group that contains your animated layer
                    <script id="animvolume" file="scripts/volume.maki"/> 


                    I have

                    Player-elements
                    PHP Code:
                    <bitmap id="player.anim.volume" file="player/SeekVolumeCha.png"/>
                    <
                    bitmap id="player.map.vol" file="player/SeekVolumeMapCha.png"/> 

                    Player-normal
                    PHP Code:
                        <group id="Volume" x="20" y="280" /> 
                    player-normal-group
                    PHP Code:
                            <groupdef id="volume">
                            <
                    AnimatedLayer
                              id
                    ="VolumeAnim"
                              
                    x="0" y="0"
                              
                    w="137" h="12"
                              
                    image="player.anim.volume"
                              
                    move="0"
                              
                    autoplay="0"
                              
                    autoreplay="0"
                            
                    />
                                    
                                    <
                    script id="animvolume" file="scripts/volume.maki"/>
                                    
                            <
                    slider id="HiddenVolume"
                              
                    ACTION="Volume" x="0" y="0" w="40" h="2"
                              
                    thumb="player.anim.volume"
                              
                    alpha="0"
                            
                    />
                            </
                    groupdef>
                    ​ 
                    volume.maki compiled OK, in /scripts.
                    Refreshing winamp => guru meditation error null object called error in volume.maki

                    Comment


                    • Originally Posted by parisienne17 View Post
                      Until I know how to design it...
                      This is how you design a map like animseek-whatever.png:
                      • The width of your map should be the same as the length of your seeker/volume bar.
                      • The height depends on the number of frames. My animseek-whatever.png's contain 66 frames, so the height of the map is 66 times the height of my seeker/volume bar.
                      • The first frame shows what your seeker shows at 0 second or what your volume bar shows when sound is muted.
                      • The last but one frame shows the seeker when reaching the end and the last frame shows the seeker when playback has ended.
                      • The last frame should be transparent for the seeker and fully filled for the volume bar.
                      Ariszló @ WinCustomize & DeviantArt

                      Comment


                      • Originally Posted by parisienne17 View Post
                        I still get a guru meditation error for the volume, and I don't see where.
                        Since you are using a custom songticker, you should not use scripts that call a songticker different from yours. Use a script that does not call songticker at all. Get ideas from what you can find inside seek-volume.zip.
                        The "how" folder shows the steps how you can quickly create a simple and ugly seekanim.png and a simple and ugly volanim.png as described in my previous post.
                        Last edited by ariszlo; 8 May 2023, 13:48. Reason: Removed oversized seek-volume.zip
                        Ariszló @ WinCustomize & DeviantArt

                        Comment


                        • Study this skin to learn how you can use sliders with frames without guru meditations: Study_Layouts.zip
                          Last edited by ariszlo; 19 May 2023, 20:12. Reason: updated link to new zip.
                          Ariszló @ WinCustomize & DeviantArt

                          Comment


                          • "Winamop gradient map"... No result. http://www.stefanweb.com/wa3/tutorials.html#UsingMaps or ant part, neither.
                            A little problem : I'd like a multi colored volume bar, if I'm not msitaken your volume frame uses a single colored bar.

                            Comment


                            • I should have had a llok to your volanim.png before hitting "publish".
                              I assume, for an horizontal bar that I have to stack frames vertically ?

                              Comment


                              • Originally Posted by parisienne17 View Post
                                A little problem : I'd like a multi colored volume bar, if I'm not msitaken your volume frame uses a single colored bar.
                                No, it goes from to .​

                                Originally Posted by parisienne17 View Post
                                I assume, for an horizontal bar that I have to stack frames vertically ?
                                Yes.
                                Ariszló @ WinCustomize & DeviantArt

                                Comment

                                Working...
                                X
                                😀
                                🥰
                                🤢
                                😎
                                😡
                                👍
                                👎