My final RPG Maker project

(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):

  1.  
  2. # I add this code to my scene, in the main/start method:
  3. @guiwindow = Window_Base.new(0, 0, 200, 200, true)
  4. #                                            x, y,width,height,draggable?
  5. @button = Button.new(@guiwindow, "Click me!", "Click this button...", 32, 32, 64, 32)
  6. #                                parent, label, tooltip,     x,  y,   width,  height
  7. @button.mouse_over { do_stuff_on_mouseover }
  8. @button.mouse_out { do_stuff_on_mouseout }
  9. @button.mouse_left { do_stuff_on_mouse_leftclick }
  10.  
  11. #it doesn't even require you to update the widgets, only the window, the widgets will update on their own
  12.  
Expand to see the code.


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 😀
yeah, i think this place isn't really the perfect one, i think this one fits in more.
viewforum.php?f=179
Yeah, probably.

Anyway, did you try it? I'd like some opinion on it...
yeah its working, i can drag it, though I find the flashing pictures creepy...
haha, they're there to test the mouse events. Like, the assassin guy appears if you have your mouse over the button, and disappears if you don't. Right click the button, see what happens, left click the button, see what happens.

And there is a quite large glitch with the windows and resizing them - it's like an easter egg, first one to find it wins 😀
The window and the button act weird if you make the window too small:
Image

And the window is a bit laggy if you make it very large, but that's just RM i guess.. (or my pc, lol)

But for a first demo this is really good :). I'd like to see more of this good work!
The window issue can be fixed if he adds minimum dimension constraints.

It'd be even better if the constraints could be a property of the window, have a default set of values, and are easy to change.
Alexander Morou wrote:
The window issue can be fixed if he adds minimum dimension constraints.

It'd be even better if the constraints could be a property of the window, have a default set of values, and are easy to change.


Not only that, but the window should contain an instance of the RMVX viewport class, so that items in the window will be hidden if the window is too small.
I know how to fix the window, I actually just forgot about it before I made the first demo.

And thank you Glitch, that was part of the Window bug(as far as I'm concerned anyway), and I was actually planning to fix that before the next release.

And here, this is a list of widget I plan to add in the next release:

Button (the one in the demo is actually an instance of the base Widget class xD)
CheckBox
RadioButton / RadioGroup
TextBar (Not a textbox, textbox is going to be last one I do)
So, you're gonna tell me, that no one has any interest in this at all?
I can't even download the .exe. :( If you can reupload it I will try it out for you. :D

Also, no one has really been active here anymore...forums for RMXP are starting to go out which is making me very angry because I love browsing through what people have to say, and now everything is asking for help, or from 2-5 years ago, you know what I mean?
The download works fine for me. Try it again, and if it won't work, I'll host it on mediafire or somewhere.
Alright, must have been my connection, thanks.

Edit: Alright, this seems to be really neat, and I messed around with it some, but I really think that you should do it for XP more than VX because a lot of people still prefer XP over VX...or maybe make it for both because it is a really cool idea if we can make windows and scenes with this! I would really like it because I am one that I don't like to code the windows, but I really like to use what the windows can do.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=69386