(note: If this is should be in another forum, please move it there xD it's technically a project though)
That's right, after this last project, I'm leaving RM*. I won't be leaving HBGames(sorry xD), but I won't be helping out on Script Support or creating projects/scripts of my own anymore.
But, I will be going out of the RM* world with a bang. I'm building my biggest(and hopefully best)RMVX project ever. I call it "VxWidgets". It's an RMVX GUI system.
Alright, so far the only progress there is, is the edits to Window_Base to be able to drag or close windows(and both these features can be turned off for certain windows), and a basic Widget class(which is easily molded into most widgets you would normally use).
Now, without further delay, the demo: (which, for now, is encrypted. just until i clean it up and add a few more things)
http://bb.xieke.com/files/!-GUI_System.exe
Here's what I have it do to make a window/widget within my scene(for now):
[rgss]
# I add this code to my scene, in the main/start method:
@guiwindow = Window_Base.new(0, 0, 200, 200, true)
# x, y,width,height,draggable?
@button = Button.new(@guiwindow, "Click me!", "Click this button...", 32, 32, 64, 32)
# parent, label, tooltip, x, y, width, height
@button.mouse_over { do_stuff_on_mouseover }
@button.mouse_out { do_stuff_on_mouseout }
@button.mouse_left { do_stuff_on_mouse_leftclick }
#it doesn't even require you to update the widgets, only the window, the widgets will update on their own
[/rgss]
The demo should be fairly bug-free(except maybe small things with checking if the mouse is ouside the screen), but tell me if you encounter one. Feel free to drop your comments here :biggrin:
That's right, after this last project, I'm leaving RM*. I won't be leaving HBGames(sorry xD), but I won't be helping out on Script Support or creating projects/scripts of my own anymore.
But, I will be going out of the RM* world with a bang. I'm building my biggest(and hopefully best)RMVX project ever. I call it "VxWidgets". It's an RMVX GUI system.
Alright, so far the only progress there is, is the edits to Window_Base to be able to drag or close windows(and both these features can be turned off for certain windows), and a basic Widget class(which is easily molded into most widgets you would normally use).
Now, without further delay, the demo: (which, for now, is encrypted. just until i clean it up and add a few more things)
http://bb.xieke.com/files/!-GUI_System.exe
Here's what I have it do to make a window/widget within my scene(for now):
[rgss]
# I add this code to my scene, in the main/start method:
@guiwindow = Window_Base.new(0, 0, 200, 200, true)
# x, y,width,height,draggable?
@button = Button.new(@guiwindow, "Click me!", "Click this button...", 32, 32, 64, 32)
# parent, label, tooltip, x, y, width, height
@button.mouse_over { do_stuff_on_mouseover }
@button.mouse_out { do_stuff_on_mouseout }
@button.mouse_left { do_stuff_on_mouse_leftclick }
#it doesn't even require you to update the widgets, only the window, the widgets will update on their own
[/rgss]
The demo should be fairly bug-free(except maybe small things with checking if the mouse is ouside the screen), but tell me if you encounter one. Feel free to drop your comments here :biggrin: