Anmelden:     


Forum: VirtualDJ Skins

Topic: Can someone help!

Dieses Thema ist veraltet und kann veraltete oder falsche Informationen enthalten.

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
 

geposted Tue 05 Nov 19 @ 6:30 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
 

The clipmask code just requires x and y locations - no size. The mask itself should be a black circle in a white square.
 

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.
 

Thanks djdad
That's worked perfect..
 

I see both mask and clipmask are used in the default skin(s), but mask has height and width - clipmask only has x & y.
 

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
 



(Alte Themen und Foren werden automatisch geschlossen)