Jump to content


Photo

Professional Menu Scripts!


  • Please log in to reply
181 replies to this topic

#121 J.S.Maker

J.S.Maker

    GMC Member

  • New Member
  • 16 posts

Posted 28 July 2008 - 10:24 PM

One question: in a commercial game, Should I pay something to you, Mordi?

Just mention me in your game. Dont put me as "Menu made by Mordi", though, since I only made the engine behind it. Many people have done this "mistake".


OK, THANKS A LOT!
I´ll put you in the credits
  • 0

#122 LoveMalvina

LoveMalvina

    GMC Member

  • New Member
  • 15 posts

Posted 24 November 2008 - 12:44 PM

Simply amazing!
Mordi, you are the GOD of GML.
I'm going to use this in my game. Thank you for creating it. ;)
  • 0

#123 dbest

dbest

    GMC Member

  • New Member
  • 62 posts

Posted 24 November 2008 - 02:47 PM

Will defn have a look at this one... Right now, I have a crappy menu...
  • 0

#124 conman124

conman124

    The Almighty!

  • New Member
  • 282 posts

Posted 18 December 2008 - 01:24 AM

Very nice!!

The only thing I wish would be changed would be some sort of function to change the name of a button. Could you add this?

--Conman124
  • 0

#125 snakedoc

snakedoc

    GMC Member

  • New Member
  • 7 posts

Posted 04 January 2009 - 11:00 PM

SOLVED- I USED THE SEARCH FUNCTION

I dont know if i missed something in the tutorial but anyways:

How do i add a button that will change to the next room? I tried
sc_menu_add_button("Back","RoomGoto(Level1)");

But it didnt work

any ideas?

If you have the same problem type this:
sc_menu_add_button("Play","room_goto(Room1)");

Edited by snakedoc, 04 January 2009 - 11:09 PM.

  • 0

#126 Mordi

Mordi

    Maker of Menus

  • New Member
  • 3635 posts

Posted 05 January 2009 - 05:14 AM

If you have the same problem type this:

sc_menu_add_button("Play","room_goto(Room1)");

Yup. The only "goto" function I made was MenuGoto (I think).
  • 0

#127 Ryan PF

Ryan PF

    GMC Member

  • New Member
  • 23 posts

Posted 25 January 2009 - 12:36 AM

The separators aren't accounted for when taking mouse input on the buttons, so the buttons' clickboxes (after the separator) are above where they should be. I really like this a lot, though.
  • 0

#128 Glen

Glen

    GMC Member

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

Posted 28 January 2009 - 10:40 PM

I continue to have problems with the menu shrinking and blurring when I merge this into a game. Is there a setting that must be kept in order for this to display properly? I made a test with multiple games of mine and didn't touch the menu code. I simply merged > moved menu room to top > and played.... Every time, it shrunk. I find this odd because when I play the menu example before its merged, it works fine. This shrinking happens after its been merged.

Before I merged: Screenshot
After I merged: Screenshot

Note: screen resolution was not changed, nor room size, views, or speed...
  • 0

#129 Mordi

Mordi

    Maker of Menus

  • New Member
  • 3635 posts

Posted 29 January 2009 - 06:39 PM

If you notice the font in your first screenshot you can see that it is Arial Black size... 18 maybe? In your other screenshot the font is Arial size 12-ish.

The menu scales automatically to fit with whatever font size you have.
  • 0

#130 melancor

melancor

    GMC Member

  • New Member
  • 104 posts

Posted 29 January 2009 - 08:23 PM

The scaling isn't very smooth, is it? To improve the scaling part, I suggest to not use draw_text_transformed. I would let the program create a sprite for each button.
  • 0

#131 Glen

Glen

    GMC Member

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

Posted 30 January 2009 - 08:33 PM

If you notice the font in your first screenshot you can see that it is Arial Black size... 18 maybe? In your other screenshot the font is Arial size 12-ish.

The menu scales automatically to fit with whatever font size you have.


It was a font problem. In your drawing code it sets the font to menu_font. I already had a font called this which was in fact a smaller font. Thanks for pointing that out.

Edited by Glen, 30 January 2009 - 08:50 PM.

  • 0

#132 Mordi

Mordi

    Maker of Menus

  • New Member
  • 3635 posts

Posted 31 January 2009 - 01:21 AM

It was a font problem. In your drawing code it sets the font to menu_font. I already had a font called this which was in fact a smaller font. Thanks for pointing that out.

Ah. Yes, some variables have common names. I didnt quite worry too much about that when I made it.
  • 0

#133 zachman

zachman

    MagicMan Productions

  • New Member
  • 212 posts

Posted 24 February 2009 - 05:00 PM

it says "sorry file does not exist"

can you re-upload please?? :)
  • 0

#134 Mordi

Mordi

    Maker of Menus

  • New Member
  • 3635 posts

Posted 27 February 2009 - 06:55 PM

If anyone else could reupload it and post the link here I would put it in first post and I'd be forever grateful. ^_^
  • 0

#135 Ryan PF

Ryan PF

    GMC Member

  • New Member
  • 23 posts

Posted 27 February 2009 - 07:06 PM

http://www.ryanpf.co...Menu_Script.zip
  • 0

#136 zachman

zachman

    MagicMan Productions

  • New Member
  • 212 posts

Posted 27 February 2009 - 10:57 PM

mordi, that it fregin' awesome! 10/10 man! The only con is that the text looks a little pixelated when you highlight it... nothing I can't fix though.

thank you ryan for uploading it!

I'm also going to mirror the script on my site if you don't mind mordi...
  • 0

#137 ZZ man

ZZ man

    GMC Member

  • New Member
  • 1745 posts

Posted 27 February 2009 - 11:51 PM

broken link...
  • 0

#138 Mordi

Mordi

    Maker of Menus

  • New Member
  • 3635 posts

Posted 28 February 2009 - 10:50 PM

I'm also going to mirror the script on my site if you don't mind mordi...

Sure, go ahead.
  • 0

#139 zachman

zachman

    MagicMan Productions

  • New Member
  • 212 posts

Posted 01 March 2009 - 07:49 PM

http://www.magicmang...Menu_Script.zip
There you go!
  • 0

#140 Ryan PF

Ryan PF

    GMC Member

  • New Member
  • 23 posts

Posted 02 March 2009 - 12:37 AM

The link in the first post has a "3" on the end of it causing it to be broken. ::lmao::
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users