By Dylan Fortune (aka DFortun81)
This is an extension that adds RMXP's window skin capabilities to Game Maker. In RMXP, a "window" is created using a single background, the same is now possible for GM. WinSkin provides easy to use Window skinning and you can even modify some of the settings.
An example is provided in the main download. If you have any further questions pertaining to this extension, please post your question or PM it to me.
WinSkin takes a background that looks like this:
And can turn it into something like this if you get good enough: (NOTE: Different Window skin used in this picture)

Functions List:
To Initialize:
winskin_init(fillalpha, borderalpha, tilesides, tilefill, winskin);
winskin_set_tile_sides(tilesides);
winskin_set_fillalpha(alpha);
winskin_set_tile_fill(tilefill);
winskin_set_borderalpha(alpha);
winskin_set_winskin(back);
To Draw:
draw_arrow_down_skinned(x, y);
draw_arrow_left_skinned(x, y);
draw_arrow_right_skinned(x, y);
draw_arrow_up_skinned(x, y);
draw_continue_skinned(x, y);
draw_pointer_skinned(x, y, animate, xscale, yscale);
draw_selectionbox_skinned(x1, y1, x2, y2);
draw_selectionbox_skinned_ext(centerx, centery, w, h);
draw_window_skinned(x1, y1, x2, y2);
To Animate:
winskin_step();
To Access Settings:
winskin_get_tile_sides();
winskin_get_tile_fill();
winskin_get_fillalpha();
winskin_get_borderalpha();
winskin_get_winskin();
Programs/Games currently using the WinSkin Extension:
DIA RPG Builder - DFortun81
Peacekeeper - DFortun81
Begemed 2 - DFortun81
Helion - jakman4242
...
Do you have a game using this extension? Provide the name and a link and I'll include it in this list.
Download:

Enjoy,
-DF81
Edited by DFortun81, 21 July 2007 - 04:29 AM.












