There is another one of these floating around here, but its not too good, Here is my attempt.
It uses .png files for everything, external, I will put them in sprites later...
It uses a .png dll for alpha, so it will work in GM6.
Old Screenshot:
Other old Screenshot:
NEW Screenshot!
It contains 3 scripts, for initializing the system, drawing a window(relative to the drawing object's x,y) and minimizing a window
It also includes buttons, disables buttons, and a blur.(blur turned off in this screenshot...)
The blur slows down the same when you have several windows opened, so i added something to turn off blur if the game lags too much.
It can be disabled, All the (local) variables used are:
window_width_vwin//the width of the window window_height_vwin//the height of the window window_caption_vwin//the caption window_icon_wvin//the sprite to use as the icon window_in_x_vwin//don't touch this or any under \/ window_in_y_vwin window_pressed_vwin window_drag_vwin window_mx_vwin window_my_vwin//don't touch this or any above /\ window_bkalpha_vwin//the white rectangle's alpha window_blur_vwin//true if blur is on window_buttonsshow_vwin//true if you want the buttons to be drawn/shown window_mindisable_vwin//true if the minimize button is disabled window_maxdisable_vwin//don't touch this one, its not implemented window_closedisable_vwin//true if the close button is disabled window_minimized_vwin //FALSE if it is minimized lagtest //i reccomend that you don't touch this one checkforlag //true and it will check for lag, if not true...it wont
New Download V3:VWINv3.zip
Quote
Old Example .gmk
Quote
Video:Click Here
Enjoy
Comment about it and be sure to tell me any suggestions!
Thanks
~ReCreate
This post has been edited by Recreate: 27 August 2009 - 05:35 PM

Help

MultiQuote
(the reason i am using an image the the bk is so that you can easily notice the blur and transparency.)









