How To Create A Main Menu In GameMaker

preview_player
Показать описание
Learn how to create a main menu in GameMaker.

Downloads:

Tutorial series:

Chapters:
00:00 Intro
00:16 Assets
01:31 Button Parent
04:30 Play/Quit Buttons
06:44 Help Button (Controls)
08:59 Animate Buttons
Рекомендации по теме
Комментарии
Автор

For those wondering how to import the button sprite, drag and drop the .yymps file into your workspace to open the correct import dialog.

FrisbieLife
Автор

for people wondering how to get the play button to "click" like he shows in the last demonstration, you have to cut the left mouse press event and replace it with the alarm 0.

bluesheepwolfie
Автор

The visual scripting is a lot easier than I thought, it’s not as complicated to follow along a text based tutorials with visual scripting tho. Cool

TsukatsukiRio
Автор

Took me a bit to figure this out but at the end if you don't see the other events you made for the obj_button_parent on the children ( on obj_button_play/quit/help) then just close their respective windows. Reopening them will refresh them and you'll then see the extra greyed out events from the parent on them

wuzzems
Автор

This is a really helpful tutorial, and I love the way you have both the visual and code on screen so people can follow along either way. Appreciate your help! :)

ChrisRid
Автор

Excellent Tut - my original post claimed I had issues with the bonus content at the end - but I managed to solve it myself, so thanks for an easy guide.

Mysttic
Автор

Super helpful tutorial! Very precise and helped a lot!

glacial
Автор

Thank you! This was my first video I watched... first time GameMaker user. This video set me up for success.

missildine
Автор

Thank you, great explanation, easy to follow and learn.

ksanv
Автор

Awesome tutorial thank you. So much better than how I did it myself :p

pebkaclive
Автор

for anyone that didnt notice he used a \ and not a / for the \n command for the space in the help menu. took me a while to notice

livingToxn
Автор

amazing tutorial! Now I'm wondering if there's other tutorials based just on these "buttons" and like what more can you do with them besides creating menus

Moonlitfr
Автор

So well presented! I would love to see how you handle user input, a slider that changes values or an input field that a user can set the name of a character with.

godonholiday
Автор

Just a head's up if anyone is having problems with either the text not disappearing or the buttons not moving/coloring. If you don't have a background, whatever you put on the screen becomes the background. As such, the text will appear but not disappear, and the buttons won't react properly. Hope this helps others because it took me a long time to figure out what i was doing wrong.

TheFastflyer
Автор

For some reason, neither the Help nor Quit buttons function when I click on them, but the Play button does. All of them inherit the Left Pressed event and use Call Parent Event at the start of their sequences.

RunnerUpPhos
Автор

To delete all instances just delete the whole instance layer and then create a new one it saves a bit of time

jhua
Автор

Exactly the tutorial I was looking for (thanks for making it in GMV and loved the code view in the splitted screen).

With that being said, the "middle center" on the sprite button didnt work for me, I guess is something with the H or W of the sprite (or messed up somewhere else), had play around but the text centered with "bottom center" values for a sprite of 160w x 64h and a font size of 32

devfail
Автор

And the GML code is way easier than I thought!

ggkgcuk
Автор

dang it, it was just that extra last bit i got stuck on. Anyone figure out the last part with the seeing the start button click? I can figure out how to inherit with the code side

C.S.Argudo
Автор

Good video! But I didn't found that draw toolbox with that icons, would it be visual programming?

victor