Results 1 to 3 of 3

Thread: Slider Help

  1. #1
    Join Date
    Dec 2009

    Slider Help

    I've been working on a skin, and one of the stylistic aspects of this skin is the slider appearance. However, as I am new to this, I'm having some difficulty going from vision to reality.

    What I am trying to accomplish is to have the "bar" behind the pointer have a different color depending on whether it is located to the left or the right of the pointer. See youtube videos for an example - the slider bar is bright red to the left of the pointer, and it is dull red to the right of the pointer.

    In creating the background images for the skin, I have incorporated the two different slider bar appearances (bright and dark) into the respective off and on/down skin images. I expected that, as the slider progressed, it would display anything to the left of the pointer as "on" or "down", but it appears that my assumption was incorrect.

    All of my searching has come up with nothing related, and I have not found an existing skin with this behavior to use as a template.

    Is this possible in RR? Am I chasing something that cannot be done? Has anyone seen this before?

    I can't imagine that this is somehow unprecedented...

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Toronto, Canada
    There are three types of slider "styles" currently supported in RR:

    1-Blank: The slider shows just the pointer, nothing behind it (just the off layer of the screen itself)
    2-Single Image: The slider shows an image that is displayed UP TO the pointer position and the remainder shows whatever is on the off screen layer)
    3-Multi Image: The slider shows one of 21 images based on the position of the pointer.

    Based on your description, seems like you want to use "2", and have one type of color/drawing for the OFF layer of the screen (where the slider is) and have another color/drawing for the image that will be displayed up to the pointer position.

    This is explained in Skin commands.txt, but basically you'd have:

    IMAGE.PNG is the image used to fill the slider up to the pointer (Pointer.PNG) and anything else will be "empty" displaying whatever is on the OFF layer of the screen at the slider position.

    If this isn't what you're looking for, please provide images to explain what you intend to do.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  3. #3
    Join Date
    Dec 2009
    Thanks Guino!

    #2 is precisely what I'm trying to accomplish. In fact, I plan to have pointer.png fully transparent, so all that happens is the bar "lights up" as the progress continues.

    I had heard of this skin commands.txt file, but hadn't been able to find it - thought I must be missing it. Somehow the "documentation" folder didn't stand out as a good place to look. I can't explain how that happened. Now that I've found it, I imagine the rest should fall into place pretty quickly.

    Thanks again!

Similar Threads

  1. Variable slider problem
    By efun in forum Road Runner
    Replies: 6
    Last Post: 04-18-2009, 05:46 AM
  2. Slider on Slider action
    By Enforcer in forum RR Bug Tracker
    Replies: 26
    Last Post: 09-11-2008, 05:00 PM
  3. Retreiving Custom SLider value help needed
    By JohnWPB in forum Road Runner
    Replies: 6
    Last Post: 02-21-2008, 05:24 PM
  4. Volume Slider
    By garto in forum Road Runner
    Replies: 0
    Last Post: 05-13-2007, 01:11 PM
  5. Slider GIFs
    By Grazor in forum RR Skins
    Replies: 2
    Last Post: 06-01-2005, 07:30 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts