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
Permanently left the Game Maker Community.

#3 chrismanquiz

chrismanquiz

    GMC Member

  • GMC Member
  • 38 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
Screw everyone who puts my quotes in his signature to make fun out of me.

#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
Jamie

#10 everydayghost

everydayghost

    Break Free

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

Posted 03 May 2008 - 06:20 AM

how do i use it?
  • 0

Watching the world burn.
Dancing in the flames.


#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


Game Maker 8 Pro
-------------------------------------------------------------

YAY NEW WEBSITE !
Click to visit my website

#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

Assuming I helped you out in a questions and answers topic won't you return the favour by helping me with one my coding problems, or recommend some one who can chat to me over pms about helping and how to overcome my obstacles, after all lets just say I did help you or them or many people with similar problems, in that topic.

Here i have a topic for those of you struggling with type writer text and mugshots in your games especially if it is a rpg see the link below for more info

http://gmc.yoyogames...howtopic=619103

almost no code needed, only uses two events.

click here for the l8est version of feed the alien pizza, it has some major polished up features.


#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

Assuming I helped you out in a questions and answers topic won't you return the favour by helping me with one my coding problems, or recommend some one who can chat to me over pms about helping and how to overcome my obstacles, after all lets just say I did help you or them or many people with similar problems, in that topic.

Here i have a topic for those of you struggling with type writer text and mugshots in your games especially if it is a rpg see the link below for more info

http://gmc.yoyogames...howtopic=619103

almost no code needed, only uses two events.

click here for the l8est version of feed the alien pizza, it has some major polished up features.


#31 game_makin_guy

game_makin_guy

    GMC Member

  • New Member
  • 23 posts

Posted 11 October 2008 - 11:55 AM

It definitely works with GM7, both registered and unregistered, because at some point i've used it on both, what exactly have you done and in what way is it not working?

One other note
I was thinking about maybe doing anther update, which would allow an unlimited number of options and an image as a selector, I probably won't be able to get around to it for a few weeks but would anyone be interested?
  • 0

#32 Stiny

Stiny

    GMC Member

  • New Member
  • 21 posts

Posted 11 October 2008 - 02:56 PM

That would be awsome! :GM031:

Oh and i love this lib. It's been extremely useful to me. :D

Edited by Stiny, 11 October 2008 - 02:58 PM.

  • 0
Need Ideas for simple games to create. Full credit will be given and they will be uploaded to my new site :)

#33 taylorsnead

taylorsnead

    GMC Member

  • New Member
  • 22 posts

Posted 27 October 2008 - 06:40 AM

I am making a character selection page and i would love it if you gave it the feature to let sprites be the options instead of words! :) :medieval: <_<
  • 0

#34 game_makin_guy

game_makin_guy

    GMC Member

  • New Member
  • 23 posts

Posted 03 November 2008 - 04:59 PM

Now released version 3! To add more than six options simply place more than 1 "menu names" action. I haven't put sprite selectors and sprites as slots on this one though, that'll come in a 3.1, which should be soon-ish.

Edited by game_makin_guy, 28 July 2009 - 04:34 PM.

  • 0

#35 game_makin_guy

game_makin_guy

    GMC Member

  • New Member
  • 23 posts

Posted 23 January 2009 - 08:13 AM

D'OH dead links...


Its just the site I think, if you try to go to the 64Digits homepage it says moving server but it says back up on 3rd Jan

Just incase it is gonna be down for a while can someone plz send me a copy or upload it to another site (I thought if I was eva gonna make modifications I could just d/load it again so theirs nothing I can really do [lol]) ^_^
  • 0

#36 reigalius

reigalius

    Generally Awesome

  • New Member
  • 1170 posts

Posted 07 March 2009 - 06:20 PM

This is really good.
  • 0

#37 narutoman400

narutoman400

    GMC Member

  • New Member
  • 46 posts

Posted 09 March 2009 - 12:59 AM

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



Hey this is sorta off topic, but how do you make your site so ..good?
like the game things like how?
  • 0



#38 Blue Leader

Blue Leader

    GMC Member

  • New Member
  • 467 posts

Posted 13 March 2009 - 11:04 PM

Hmm... When I run your example and try to click on something I get various error messages...

When I try to click on "Menu"...

ERROR in
action number 1
of Draw Event
for object Dropdowns1:

Error in code at line 17:
while(slotdraw<=slot_max){draw_text(argument1,argument2+(menu_
font_size+4)*slotdraw-(menu_font_size/5),menuname[slotdraw])

at position 105: Unknown variable menuname or array index out of bounds


When I click on "Extras"....

ERROR in
action number 1
of Draw Event
for object Dropdowns2:

Error in code at line 17:
while(slotdraw<=slot_max){draw_text(argument1,argument2+(menu_
font_size+4)*slotdraw-(menu_font_size/5),menuname[slotdraw])

at position 105: Unknown variable menuname or array index out of bounds


When I click on the small blue box in the corner and than click on "Main Menu"...

ERROR in
action number 1
of Draw Event
for object Big Dropdown:

Error in code at line 17:
while(slotdraw<=slot_max){draw_text(argument1,argument2+(menu_
font_size+4)*slotdraw-(menu_font_size/5),menuname[slotdraw])

at position 105: Unknown variable menuname or array index out of bounds


And when I click on the small blue box in the corner, and than click on the same box again...

ERROR in
action number 1
of Draw Event
for object Standard:

Error in code at line 5:
if(menuname[0]=true){

at position 5: Unknown variable menuname


It looks like it's not finding any variable called "menuname".

Edited by Blue Leader, 13 March 2009 - 11:06 PM.

  • 0

#39 game_makin_guy

game_makin_guy

    GMC Member

  • New Member
  • 23 posts

Posted 21 March 2009 - 05:05 PM

I don't know why it does that, ill have a look soon if i remember but its probably because they were made with different versions (i think i just kept a fairly old example when i went for unlimited options which was an almost complete rewrite), if their are any actions in the example which give the message about action ot existing then thats probably the case. Thx for the feedback.
  • 0

#40 Tasty Ham Games

Tasty Ham Games

    GMC Member

  • GMC Member
  • 34 posts

Posted 20 June 2009 - 04:20 AM

Wow this LIB is quite useful... I'll be using it in my upcoming game.
  • 0
Visit the Tasty Ham Games website today!

© 2009 Tasty Ham Games. All Rights Reserved, and violators will have there games reported.

#41 game_makin_guy

game_makin_guy

    GMC Member

  • New Member
  • 23 posts

Posted 08 January 2010 - 07:26 PM

Reuploaded and reopened! :( (now on host-a.net as advised)
  • 0

#42 game_makin_guy

game_makin_guy

    GMC Member

  • New Member
  • 23 posts

Posted 05 August 2011 - 09:57 AM

Been over a year, I think i'm allowed a bump :P
  • 0

#43 2001IAS

2001IAS

    GMC Member

  • New Member
  • 10 posts
  • Version:GM8

Posted 19 April 2013 - 09:33 PM

I was looking for something like this for my RPG game.

I´m going to use the ExtensionMaker to get the action´s codes and use it in my scripts.

I´m going to give you credit, thanks you a lot for poting this!


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users