Quick Sign In:  

Forum: VirtualDJ Skins

Topic: Rhythm Zone

This topic is old and might contain outdated or incorrect information.

Need help.
http://img705.imageshack.us/img705/5961/16388422.jpg
I want create rhythm zone.
I turn on 1 button in order to show rhythm wave of first deck. (I DECK)
I turn on 3 button in order to show rhyhtm wave of third deck. (I + III DECK)
I turn off 1 button in order to remove rhythm wave of first deck and turn on 2 button in order to show rhythm wave of second deck. (II + III DECK)
Finally, I turn off 2 and 3 buttons in order to remove rhythm wave of second and third deck and turn on 1 and 4 buttons in order to show rhythm wave of first and fourth deck. (I + IV DECK)

Can you help me with code ? Thanks.
 

Posted Fri 15 Jun 12 @ 7:55 am
djdadPRO InfinityDevelopment ManagerMember since 2005
Each time you select a button a panel must be displayed. So you need to create a number of panels equal to all possible button combinations.
one panel to show deck1 , one panel to show deck 2, one panel to show decks 1+2, one panel to show decks 2+3 ..etc.
Its suggested to assign the buttons to toggle a variable (4 variable totals) and include relevant actions to visible of each rhythm panel.
 

Posted Fri 15 Jun 12 @ 3:59 pm
Can you help me with code ?

I think it's impossible for me :(
 

Posted Sun 17 Jun 12 @ 1:56 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
First you need to create 4 buttons like this ..

<button action="var_equal 'var1' 0 ? set 'var1' 1 : set 'var1' 0">
...
<button>

<button action="var_equal 'var2' 0 ? set 'var2' 1 : set 'var2' 0">
...
<button>

<button action="var_equal 'var3' 0 ? set 'var3' 1 : set 'var3' 0">
..
<button>

<button action="var_equal 'var4' 0 ? set 'var4' 1 : set 'var4' 0">
...
<button>

Then for example the panel that will show deck 1 & 3 (buttons 1,3 ON and buttons 2,4 OFF) will be ..

<panel id="decks13" groups="rhythmpansl" visible="var_equal 'var1' 1 ? var_equal 'var2' 0 ? var_equal 'var3' 1 ? var_equal 'var4' 0 ? true : false"
...
</panel>

or the panel that will show all decks will be ...
<panel id="decks1234" groups="rhythmpansl" visible="var_equal 'var1' 1 ? var_equal 'var2' 1 ? var_equal 'var3' 1 ? var_equal 'var4' 1 ? true : false"
...
</panel>

And then of course you need to create <rhythmzone>s for each panel you create.

 

Posted Sun 17 Jun 12 @ 7:57 pm
So, for example:

ONLY 1 DECK

<panel id="deck1" groups="rzone" visible="var_equal 'var1' 1 ? var_equal 'var2' 0 ? var_equal 'var3' 0 ? var_equal 'var4' 0 ? true : false"
<pos x="33" y="25"/>
<size width="958" height="75"/>
<down x="???" y="???"/>
<mask x="???" y="???"/>
</panel>

What coordinates I put into <mask> and <down> ???
 

Posted Mon 18 Jun 12 @ 1:22 am
 

Posted Mon 18 Jun 12 @ 1:47 am
djdadPRO InfinityDevelopment ManagerMember since 2005
You dont need mask for the panels.
For <down> use the same coordinates as <pos>
 

Posted Mon 18 Jun 12 @ 9:11 am


(Old topics and forums are automatically closed)