Lenton Posted August 23, 2008 Author Share Posted August 23, 2008 I'm working on GUI's and working with the source for my game, "Mayhem Online". I thought i might as well post something so you can rate it out of 10.Main Menu![](http://www.freewebs.com/mayhemonline/Main%20Menu%20screenshot.gif)PS - The "53 Players Online" thing is a little bit of a lie. =PSo do you like it? Link to comment Share on other sites More sharing options...
Drummerpete Posted August 23, 2008 Share Posted August 23, 2008 Hmm.. 8/10May not be elaborate and insanely difficult, but it looks really good. Link to comment Share on other sites More sharing options...
Robin Posted August 23, 2008 Share Posted August 23, 2008 You ruined it with default controls. It's not hard to make a custom one with normal, mouse_over and clicked. Link to comment Share on other sites More sharing options...
xeross Posted August 23, 2008 Share Posted August 23, 2008 It looks good but would replace the default controls Link to comment Share on other sites More sharing options...
Lenton Posted August 23, 2008 Author Share Posted August 23, 2008 @Robin:> You ruined it with default controls. It's not hard to make a custom one with normal, mouse_over and clicked.Yeah, i will be making my own buttons, it was either using the TE buttons or them. (temporarily)Also i'm not sure how to make them change when mouse is over or clicked. Link to comment Share on other sites More sharing options...
Robin Posted August 23, 2008 Share Posted August 23, 2008 Double click the image you're using for the button, go to the little drop-down list on the top right and select 'Mouse Over' or 'Mouse Down'. In the code add something like this:```imgButton.picture = loadpicture(app.path & "\gfx\buttons\button_mouseover.jpg")```Obviously, that'll re-load the image every time you move your mouse, so some more advanced code is required. Basically, for Winds Whisper, I store all the button states in a type.```Type ButtonRecLogin as byteNewAcc as byteOptions as byte.etc. etc.end type```Then use that to make a global.```Public Buttons as buttonrec```Then I can simply store the states in that type, to make it optimised and it doesn't keep re-loading images.Something like this in Mouse Over:```If Buttons.Login = BUTTONMOUSEOVER then exit subIf Buttons.Login = BUTTONNORMAL thenimgLogin.picture = loadpicture(login.jpg)buttons.login = BUTTONMOUSEOVERend if``` Link to comment Share on other sites More sharing options...
Lenton Posted August 23, 2008 Author Share Posted August 23, 2008 Wow, thanks Robin. This has helped alot. Link to comment Share on other sites More sharing options...
bendavies Posted August 24, 2008 Share Posted August 24, 2008 Nice looks good, also i like the way you have the login on the mainmenu. I wish i was good with VB. =( Link to comment Share on other sites More sharing options...
Robin Posted August 24, 2008 Share Posted August 24, 2008 The amount of skill to get a custom GUI in Eclipse is being able to drag around a couple of components.You know what is a bitch to code? Resizable maps. They're a _b*tch_ to code. Link to comment Share on other sites More sharing options...
Warconn Posted August 26, 2008 Share Posted August 26, 2008 lol nice job on the GUI, i want to make something like that with the log in on the mainmenu, but all i have is VB5…. all i want is VB6 lolNice Job though Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now