Accesso rapido:  

Forum: VirtualDJ Skins

Topic: Can someone help!

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

hi Im need help on this.
well im try to (get loaded song color )
using a visual but for some reason, only get square shape!
I draw a clip mask to get a circle shape so far not work or i'm doing something wrong on the script..
any help will apreciated..

btw for a long time i'm not do skins, so all new code vdj 2020 engine it new for me now..

Heres it mt script i'm using
<visual type="color" source="get_loaded_song 'color' " visibility="0.6" tooltip="">
<pos x="+0" y="+0"/>
<size width="142" height="142"/>
<clipmask x="10" y="174" width="142" height="142"/>
</visual>

Thank you
 

Inviato Tue 05 Nov 19 @ 6:30 pm
 

Inviato Tue 05 Nov 19 @ 6:42 pm
Thanks for your fast respond. yeah for a circle or square shape, it only take specific colors.
not actions like (get_loaded_song 'color')

anyway I will keep learning the new code. thank you
 

Inviato Tue 05 Nov 19 @ 7:11 pm
The clipmask code just requires x and y locations - no size. The mask itself should be a black circle in a white square.
 

Inviato Tue 05 Nov 19 @ 10:05 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Should be <mask> (with just x="" y="") not <clipmask>
As for its graphics, if the B/W doesnt work, try white (or black) shape on transparent background.
 

Inviato Tue 05 Nov 19 @ 10:44 pm
Thanks djdad
That's worked perfect..
 

Inviato Wed 06 Nov 19 @ 4:59 pm
I see both mask and clipmask are used in the default skin(s), but mask has height and width - clipmask only has x & y.
 

Inviato Wed 06 Nov 19 @ 5:39 pm
NicotuxHome userMember since 2014
In fact clipmask only needs weight and/or height in case it have to resize before to apply. really usefull

<video width="1920" height="1080" visibility="var $jvfull 0"><clipmask x="[CLIPX]" y="[CLIPY]" width="640" height="360"/></video>
will display a fullHD video in a shape which original size is 640x360 on top of master

as any other bitmap, when the sizes match it don't need to be specified

Usefull to grow/ shrink / transform ratio of a pattern when resolution is not a problem
i.e. smaller slider with same specific look, buttons with same look but larger/higher...
no need to redraw as many size as needed
 

Inviato Wed 06 Nov 19 @ 6:33 pm


(Vecchi argomenti e forum sono automaticamente chiusi)