Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

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

[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:
 
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 :biggrin:
 

Ares

Member

The window and the button act weird if you make the window too small:
bugiguess.png


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":2wzqzxy8 said:
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)
 
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?
 
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.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top