Jump to content


Photo

Menu Creator, Has Mouse Control!


  • Please log in to reply
42 replies to this topic

#1 game_makin_guy

game_makin_guy

    GMC Member

  • New Member
  • 23 posts

Posted 09 February 2008 - 02:44 PM

Includes
Compatible with GM7 lite and pro
-Menu create (set basic setting for menu)
-Set menu names (set the options on the menu)
-Set selector (only for standard menus)
-Draw menu at position
-Mouse control (for changing the selected slot with the mouse)
-If option is clicked
-Draw dropdown menu at a position
-Dropdown mouse control
-If a dropdown option is clicked
-Move selection up (works with both menu types)
-move selection down(works with both menu types)
-If a menu slot selected (works with both menu types)
-Show dropdown menu
-Hide dropdown menu
-Toggle dropdown menu
-Unlimited options!


Updates
version 1.1
Now Supports All font sizes on standard menu

version 2
Dropdown menus, as requested, are windows type
Dropdown menu mouse control updated significantly
Dropdown menus now also support different fonts and font sizes

version 2.1
Sprites can be used instead of buttons for dropdown header
Problem with different font sizes on dropdowns solved
Keyboard controls to show, hide and toggle dropdown added
Problem with mouse selection when using large fonts on standard menus solved

version 3
Unlimited options now avaliable!

version 3.1
Major problem involving menu positioning on v3 fixed

version 3.2
Sprites now usable as selectors
Selector indent can now be turned on and off


Screenshot
Posted Image

Posted Image
1500+ Downloads from previous versions!

An example can be found here.

Edited by game_makin_guy, 08 January 2010 - 07:23 PM.

  • 0

#2 hiro-niro

hiro-niro

    GMC Member

  • New Member
  • 707 posts

Posted 09 February 2008 - 04:22 PM

aweomse i need this ill give credit
  • 0

#3 chrismanquiz

chrismanquiz

    GMC Member

  • GMC Member
  • 35 posts
  • Version:Unknown

Posted 09 February 2008 - 04:25 PM

I realy like this man! pretty cool. :GM7:
  • 0

#4 game_makin_guy

game_makin_guy

    GMC Member

  • New Member
  • 23 posts

Posted 09 February 2008 - 05:12 PM

thx, appreciate the comments
  • 0

#5 Arial

Arial

    GMC Member

  • Banned Users
  • 580 posts
  • Version:GM8

Posted 09 February 2008 - 09:01 PM

Thank you

#6 kake_fisk

kake_fisk

    GMC Member

  • GMC Member
  • 2392 posts
  • Version:GM7

Posted 09 February 2008 - 09:32 PM

what i was looking for, i'll check it out :)

Edit: credits needed?

Another Edit: oww, tought it was menu like in notepad and paint, but nice lib anyways..

Edited by kake_fisk, 09 February 2008 - 09:42 PM.

  • 0

#7 game_makin_guy

game_makin_guy

    GMC Member

  • New Member
  • 23 posts

Posted 10 February 2008 - 02:25 PM

Any ideas on how it could be improved?
  • 0

#8 nodata10101

nodata10101

    GMC Member

  • GMC Member
  • 196 posts

Posted 10 February 2008 - 08:36 PM

Does it move with the view of the room?

A couple suggestions that I think would really make this awesome.

1. Create a simple example showing how this works, and the different things you can do with this.

2. Make it so when the mouse is not over one of the selections on the menu, it unselects it, (removes the >, or whatever symbol the user decides to use)

3. Make a function to draw a background view underneath the menu. (I know that this can be achieved using other objects/backgrounds, but an easy implementation into your lib would make it all the more useful)

4. Make it so when the screen moves, so does the menu, (or at least explain how to achieve this.

Though all of these things would be ideal, I think it would at least be nice if you included an example, or a .txt file of some sort.

Congrats.

EDIT: I figured out the view thing so nevermind on that. :medieval:

Edited by nodata10101, 10 February 2008 - 09:06 PM.

  • 0

#9 madjamonline

madjamonline

    GMC Member

  • New Member
  • 76 posts

Posted 21 February 2008 - 12:00 PM

That is great!
I think that is one of the best libs that I have seen.

I thought of a suggestion though...
Possibly an option to create a menu like notepads at the top or IE or like most windows applications.

Anyway! It is great!

Best Wishes
  • 0

#10 everydayghost

everydayghost

    Break Free

  • GMC Member
  • 580 posts
  • Version:GM:Studio

Posted 03 May 2008 - 06:20 AM

how do i use it?
  • 0

#11 Blue Leader

Blue Leader

    GMC Member

  • New Member
  • 467 posts

Posted 03 May 2008 - 05:53 PM

Very nice. -_-
Though I have a question... Is there a way to get this to work in a 3D environment?
  • 0

#12 cooldude2222

cooldude2222

    GMC Member

  • New Member
  • 250 posts

Posted 05 May 2008 - 09:01 AM

Great lib!
I appreciate it!

-Cooldude2222


  • 0

#13 liverp00l

liverp00l

    GMC Member

  • New Member
  • 366 posts

Posted 07 August 2008 - 07:06 AM

example...
  • 0

#14 liverp00l

liverp00l

    GMC Member

  • New Member
  • 366 posts

Posted 12 August 2008 - 04:28 AM

Figured it out - but have one problem
When i use a font (arial, size 12) It works fine, but when i try a font at a size any bigger it squeezes the letters that are a line lower into the letters on a line higher. And any size bigger than 18 the letters overlap.
HELP!
I don't have much experience with fonts as i don't usually need them that much.
I want my text to be about size 70-90 but obviously at the moment that doesn't work.

I can't fix it :D other than that i love it
  • 0

#15 MidgetMines

MidgetMines

    GMC Member

  • New Member
  • 645 posts

Posted 17 August 2008 - 03:16 AM

I've got the same problem - please answer this...
I rate this 9/10 it'll get ten when i ca fix the above problem...
  • 0

#16 MidgetMines

MidgetMines

    GMC Member

  • New Member
  • 645 posts

Posted 19 August 2008 - 05:02 AM

please - should i PM you?
  • 0

#17 nxmx

nxmx

    GMC Member

  • New Member
  • 30 posts

Posted 19 August 2008 - 07:08 AM

Yup! I have same problem!
Waiting for answer!
  • 0

#18 MidgetMines

MidgetMines

    GMC Member

  • New Member
  • 645 posts

Posted 19 August 2008 - 07:18 AM

1 of us should PM game_makin_guy
  • 0

#19 game_makin_guy

game_makin_guy

    GMC Member

  • New Member
  • 23 posts

Posted 19 August 2008 - 06:19 PM

well, definitly a problem i didnt think of when i made this just under a year ago now, though i havnt used game maker in almost as long and only submitted this lib because i was bored one day and consiquently am only looking at this site now scimming though my links looking for something intresting but im bored tomorrow as well so might TRY and update it, need to find where to download lib maker again tho.
  • 0

#20 frog

frog

    GMC Member

  • New Member
  • 228 posts

Posted 19 August 2008 - 06:24 PM

here is the link: http://gmc.yoyogames...p?showtopic=172
  • 0

#21 MidgetMines

MidgetMines

    GMC Member

  • New Member
  • 645 posts

Posted 20 August 2008 - 03:43 AM

That would be fantastic :)
  • 0

#22 MidgetMines

MidgetMines

    GMC Member

  • New Member
  • 645 posts

Posted 22 August 2008 - 03:40 AM

How far are you? i'm really looking fowared to the finished product - please PM me when your done.
Take your time - i'm not trying to rush you...I'll give credit for the menu where-ever i use it...
  • 0

#23 game_makin_guy

game_makin_guy

    GMC Member

  • New Member
  • 23 posts

Posted 22 August 2008 - 09:31 AM

1 problem, does anyone know where i'd find the variable for font size? or how i'd find out the font size in code, i havnt used game maker in a loooooong time and in game make help its got these functions that return weatherthe font is in bold or italic or the name, but not the size!

*EDIT* Done, V1.1 released
*EDIT* Another update, V2 now released

Edited by game_makin_guy, 28 August 2008 - 09:33 AM.

  • 0

#24 MidgetMines

MidgetMines

    GMC Member

  • New Member
  • 645 posts

Posted 22 August 2008 - 09:57 PM

thanks this is really great now - as i said i'll always give this credit :P
  • 0

#25 game_makin_guy

game_makin_guy

    GMC Member

  • New Member
  • 23 posts

Posted 23 August 2008 - 03:09 PM

Thanks,
its now updated again significantly, if their are any more problems/requests please let me know. I also just added a example.
  • 0

#26 MidgetMines

MidgetMines

    GMC Member

  • New Member
  • 645 posts

Posted 23 August 2008 - 08:24 PM

thanks - your awesome :whistle:
  • 0

#27 mrsmes

mrsmes

    GMC Member

  • GMC Member
  • 1506 posts
  • Version:GM:Studio

Posted 16 September 2008 - 11:11 AM

wow, totally amazing, I really like it.
  • 0

#28 vmlweb

vmlweb

    GMC Member

  • New Member
  • 117 posts

Posted 01 October 2008 - 08:10 PM

How do I get my game to look like the screenshot
All I got is the lib and the gmk in one folder

And the gmk has unknown in all the actions
  • 0

#29 MidgetMines

MidgetMines

    GMC Member

  • New Member
  • 645 posts

Posted 01 October 2008 - 08:14 PM

go into my computer>program files>gamemaker>then paste the lib file into the lib folder.
  • 0

#30 mrsmes

mrsmes

    GMC Member

  • GMC Member
  • 1506 posts
  • Version:GM:Studio

Posted 10 October 2008 - 04:02 AM

it doesn't work 4 my, version of Game Maker, I mean I tried everything and I have Game Maker 7.0, but it just won't work...
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users