Se Connecter:     


Forum: VirtualDJ Skins

Sujet: The basic question about skin
Sorry for the basic question.
I've seen explanations about xml but nothing about png.
What is the minimum required for png images to make the skin work?
 

Posté Mon 11 Aug 25 @ 10:01 am
Τo be a valid PNG file.
To be honest right now it is possible to create a skin even without a PNG file. You may still have to define one on the first line of the skin (I don't remember) but you can definately code a simple or ultra complex skin witout referencing a raster image from the PNG even once.
 

Using vectors, the minimum that would be used is for the masks of the cues in the songpos and rhythmzone, then almost 90% can be done with code, you can use the default skin as a reference.To get an idea of how it works, greetings, I hope it helps.
 

I'm currently creating a 4-channel video skin.
It's a very easy and simple skin, which is why I'm asking this question.

Sorry for asking another question, but when I change the window size from maximized, does the bottom get cut off?
 

 

Thank you.
The bottom is no longer cut off, but the items I place are now displayed out of alignment. Is there a solution?
 

Do you have elements UNDER your browser ?
I mean, if browser is the least thing from top to bottom, then you only have to define a single breakline above the browser.
However, if you have placed elements under the browser, you may also have to define double breaklines:
<breaklines breakline1="500" breakline2="950"/>

This means that the resizable area is between 500 and 950 pixels (on skins height when running at it's native resolution, typically 1920x1080)

If none of the above is true, post a screenshot of your skin maximized, a screenshot while resized, and a snippet of your code showing the breaklines you use.

Or contact me via PM to send me the entire skin file for a quick inspection.

PS: Whatever elements exist between the breaklines, are going to get resized when resizing the skin.
So, if you have elements "next to the browser" those elements won't get resized "properly" when resizing the skin.
That's why the best practice is to have a region on your skin that nothing BUT the browser exists.

 

There's nothing under the browser.
In fact, there's no browser at all.
 

DJ HGEA wrote :
In fact, there's no browser at all.

That's your issue then..

Let me explain..

VirtualDJ uses 2 methods to resize the skin:
1) proportionally: All the skin elements are resized proportionally to their original aspect ratio.
2) Non proportionally: The browser, OR the area between the breaklines is resized without keeping the original aspect ratio.

This effectively means that all the skin elements will resize in a way that keeps their original aspect ratio, and only the browser (OR the area between the breaklines) will stretch to fill the rest of the screen.

Since your skin doesn't have a browser element, the above logic doesn't work.

Now, is this a SKIN or skin window ?

What are you after ?
Can you post a screenshot of your skin without being resized ?

 

It's unfinished, but it's a simple 4ch video skin like this.