Treble Knob Script using Rotation
//-----------------------------------------------------------------------------
// Trebleknob.m
//
// Example of a Treble Knob using rotation
// Has Simple and Advanced Modes controlled by a right-click menu
//
// created by FrisbeeMonkey
//-----------------------------------------------------------------------------
// USING THIS SCRIPT:
//*****************************************************************************
// 1. Define the following in your XML:
// <layer id="TrebleKnob" image="player.TrebleKnob" x="409" y="7" move="0"/>
//
// Change the position(x,y) of "TrebleKnob" to the specifics
// of your layer. Make sure the image is facing where you want 0 to be.
// 2. Define your gradient map with your other elements using:
// <bitmap id="player.map.Trebleknob" file="player/TrebleKnobMap.png"/>
// If you need help creating a map file, check:
// http://www.stefanweb.com/wa3/tutorials.html#UsingMaps
// 3. Make sure your ticker is called "SongTicker" and is in the same group as
// "TrebleKnob" If you don't have a ticker, add one now.
// 4. Copy this script (and Trebleknob.maki) to your scripts folder.
// 5. If you don't have Trebleknob.maki, compile this script.
// 6. Add this line to the group that contains your knob layer
// <script id="Trebleknob" file="scripts/Trebleknob.maki"/>
// 7. Refresh your skin(F5) and try it out.
//*****************************************************************************
//-----------------------------------------------------------------------------
// Trebleknob.m
//
// Example of a Treble Knob using rotation
// Has Simple and Advanced Modes controlled by a right-click menu
//
// created by FrisbeeMonkey
//-----------------------------------------------------------------------------
// USING THIS SCRIPT:
//*****************************************************************************
// 1. Define the following in your XML:
// <layer id="TrebleKnob" image="player.TrebleKnob" x="409" y="7" move="0"/>
//
// Change the position(x,y) of "TrebleKnob" to the specifics
// of your layer. Make sure the image is facing where you want 0 to be.
// 2. Define your gradient map with your other elements using:
// <bitmap id="player.map.Trebleknob" file="player/TrebleKnobMap.png"/>
// If you need help creating a map file, check:
// http://www.stefanweb.com/wa3/tutorials.html#UsingMaps
// 3. Make sure your ticker is called "SongTicker" and is in the same group as
// "TrebleKnob" If you don't have a ticker, add one now.
// 4. Copy this script (and Trebleknob.maki) to your scripts folder.
// 5. If you don't have Trebleknob.maki, compile this script.
// 6. Add this line to the group that contains your knob layer
// <script id="Trebleknob" file="scripts/Trebleknob.maki"/>
// 7. Refresh your skin(F5) and try it out.
//*****************************************************************************
Comment