Window Skin (Frame)

My help file for the Window Skin gives me a 404. After googling it I found this post http://forums.rpgmakerweb.com/index.php?/topic/15341-dealing-with-windowskins-in-ace/ but it's still not clear to me how the frame-part of the window skin works.

- It's a 64x64 section.

- The corners are cut out as 16x16 and then put in the corners of the Window_Message.

- Then .... The remaining 16x16 are used to fill up the borders? That can't be right. See the sample frame in the attachment. The 'arrow' parts are located within the center 16x32 remaining area. But they are not repeated over the window, only the center part is. Only the center 16x22 pixels are repeated and not the whole 32 pixels. I don't get it.

GoldenFrameTest.png
Directly from the helpfile:


Window skins are 128 × 128 images. You should normally use a 32-bit PNG file.


zhNpWlQ.jpg



A


Window background 1. The 64 × 64 pattern is drawn by growing or shrinking to fit the actual window. Strictly speaking, it is two pixels smaller around the window. This is done to show a natural-looking window with rounded corners.


B


Window background 2. The 64 × 64 pattern is drawn tile style so as to cover background 1.


C


Window frames and arrows. Four corners that are 16 × 16 are drawn and the remaining frame (the sides) are drawn tile style at a 16-pixel thickness to match the window. Arrows are used as marks when scrolling window content.


D


The command cursor used to show items that are selected in windows. The two pixels on the periphery are expanded/contracted horizontally and vertically, and the rest is expanded/contracted evenly to fit the size of the cursor.


E


The pause sign used to show the waiting-for-button-press state in message windows. It animates based on four 16 × 16 patterns.


F


Text colors that can be used by control characters of the Show Text event command. You can place four rows of eight 8 × 8 images (colors) each
B:

Is this one offset by 2 pixels (so does it start at coordinate (2,2) or

does it start at (0,0) and is then clipped to match the background1 size?

C:

Got it.

D:

"The two pixels on the periphery are expanded/contracted horizontally and vertically": I never noticed that. In fact I still can't find that happening. A gradient is still a gradient and kinda ignores that principle for the first pixels.
The window border works like an autotile. There's the 16x16 corners which are stagnant. Then there's the 16x32 or 32x16 sides that repeat vertically or horizontally. The center (32x32) is reserved for the arrows.


Here's a better graph:


wall_autotiles_zpsc138a529.gif



I am unsure of where you are getting 16x22 from though, unless it is a typo.
Lovely graph 🙂 . And yes it is 16x32 I realize that now.

Original thread: https://forums.rpgmakerweb.com/threads/window-skin-frame.19309/