Make Video Games 2018 ►
In this video we learn how to create a pause menu in our game. If you have any questions then be sure to leave a comment or contact me on twitter; realtutsgml. If you learned something then be sure to leave a like, comment, and favorite.
I’m the founder of codingmadesimple.com that hosts high quality, fun to learn and straight to the point course material for game developers. I’d really appreciate it if you’d check out my content.
Twitter ►
Google+ ►
Patreon ►
Have fun learning!
Nguồn: https://shaarique.com/
Xem thêm bài viết khác: https://shaarique.com/game/
Raiyan Danial
June 29, 2020tq….so much my game in running well with your tutorial…. thank god i have found the most easy way to code it…thnx once again
bonbeixx
June 29, 2020sweet boy
Jhonny Stevenson
June 29, 2020Multiple rooms?
wynywonhd
June 29, 2020I want you to change the room and pause it to change the pause image
How do i do?
Jushtan
June 29, 2020paused = !paused would save a few lines.
pupypup
June 29, 2020THANKYOU! this is the pause menu i wanted!
Mark
June 29, 2020what if I have multiple rooms, and they're levels? how do I make it go back to the room they were last on?
Jack Gadsby
June 29, 2020What if there are moving features to the room, they will keep moving. You need to make a video that actually makes a pause menu not a roomswitch
Mystery Cup of Joe
June 29, 2020Thank-you.
sirtrevis42
June 29, 2020The room_goto(#) command works for one room, but what if I have multiple rooms and i want to return to which ever one the player is in currently when the game is paused? I assume at this point having a pause room rather than a controller that just draws a menu would not work as well?
K12 Gamer
June 29, 2020Why the hell don't they just include a simple drag and drop pause function/menu with Game maker studio?
In Gamemaker 8…You could simply press (F1) to pause and bring up an INfo screen.
NizarPlayz
June 29, 2020YAY! THIS wasen't helpful cause im getting error and errorS!!!!!!!!!!!!!!! help
PronomicalArtist
June 29, 2020i didn't want a pause menu i want a pause button in the game, when you click it everything freezes..
Captain America
June 29, 2020What to do if I have more than 1 room?
Carpetwurm
June 29, 2020My game is just a box moving around..
Ghostie432
June 29, 2020The reason this tutorial isn't very useful is because say you have multiple rooms, when you click back on the pause menu it will just return to the room you set it to return to. what you want is for it to return to the room that you are in when you paused it. Can someone PLEASE PLEASE PLEASE help me with this?! P.S sorry if this comment came out to be rude 😛
Strobelight Productions
June 29, 2020"If your game is just a box moving around, I'm sorry to hear that…"
That's exactly what my game is. Download here: squarophobia_video_game.rar | strobeltproduction Password to the RAR file is password (that's not a typo)
TunnelMan'sAfro
June 29, 2020I have a randomly generated game so this does not work out. The the level stays the same unless I restart. Could you make an updated tutorial where it just freezes the game please?
Lucky
June 29, 2020Thanks man, works perfectly. 😀
Miguel
June 29, 2020That isn't a pause.
H3XED
June 29, 2020Would this be the solution to making a drag and drop menu for my game where he can select his weapon element?
Просто Канал
June 29, 2020am russian я Россиянен
James Korvenius
June 29, 2020Please make more tutorials for enemys.
Gibby2143
June 29, 20200:25 OMG! i loughed so fucking hard i cant even believe i dont know why but thats one of the most hilarious things i ever heard every time i thing of that i lol so and its pretty hard to explane SO DAMN YOU REALTUTS!!!
colnusca
June 29, 20202:13 easier way to do that:
paused = !paused
Midnight Sparkle
June 29, 2020i found an issue with that what if we have multiple rooms? becasue i found out that if i pause say on level 2 and un pause it would go to level 1 how do i fix that?
Clayton Brown II
June 29, 2020I have a problem with whenever I have moving text in a textbox. The position or origin of the text resets itself for some reason. How do I fix that?
YOS127
June 29, 2020I literally jumped out of my chair at the end! That music is WAY too loud! ├¥¼┐√
Conor McKernan
June 29, 2020When i am doing different codes, I have found that it occasionally says assignment operator expected, and i says that the error is where the { or } key is, can anyway tell me why this is? And what i have done wrong, because I have been following RealTuts' code.
Sammy
June 29, 2020can you make a tut vid of how to make a pause menu that can display your player stats? or skill to wich you could add skill points for your player??
RealTutsGML
June 29, 2020That seems a bit complex just for that effect. It can be done much easier but that's one of the perks of programming, the same task can be done thousands of different ways! I love it!
Regen
June 29, 2020What about a way to pause the game within the same room?
Mason Dydyk - Compeau
June 29, 2020Do you know the code for persistance? Im trying to make a quit to menu function but my character is persistant, so when i quit to menu, my character is still on the menu screen
SynforgeGames
June 29, 2020Nice tutorial I didn't know about this technique before. This was the technique I ended up using in the fighting game, it was much better than the one I would have used instead.
Kasper S.
June 29, 2020But what if you have enemies following you? How do you freeze them?
manman1235
June 29, 2020that shouldn't be a problem since the pause screen's a different room altogether.
manman1235
June 29, 2020You'd still have to change the code to make it go to the previous room.
FurBohen
June 29, 2020Make the controller persistent.
Reecer9714
June 29, 2020What if your game has multiple rooms?
WTFZOMG
June 29, 2020the dubstep at the end blew up my headphones.
Яни Вичев
June 29, 2020nvm
Яни Вичев
June 29, 2020How do you do buttons?
Arūnas Mikalauskas
June 29, 2020Nice tut, thanks. Btw, how to temporary mute all sounds while game paused?
bloodpondstudios
June 29, 2020How do you do buttons?
Jimsy Boma
June 29, 2020dude i need to know how to pause with buttons and a highscore and when you loose the game it goes back to pause menu please someone help me with those 3 things pls.
xlord tk
June 29, 2020Ok cool, also for reference I never disagreed with your tut, but what I did say was that I wasn't sure :). The reason I stated this was because when changing back everything was reset, so it kinda gave that impression. Also a request on how to handle a surface with multiple view? Thanks Bro, and sorry if I lead you to believe that I was disagreeing.