Delta Hedgehog Posted March 18, 2010 Report Share Posted March 18, 2010 Ok. Whenever I try to look up a tutorial on how to make this, I always get the wrong thing. I'm trying to make a text box as my pause menu, but I always get a tutorial for how to make an RPG styled text box instead. I'm trying to make a text box like the one in the picture (The menu used is from Sonic Reloaded demo) Anyone know how to make a text box? (BTW, I know this question is EXTREMELY noobish, but I'm stumped. So if your gonna say something harsh, go ahead!) Link to comment Share on other sites More sharing options...
Asuma Posted March 18, 2010 Report Share Posted March 18, 2010 If you're using the SW Engine, there's already a pause feature. If you want to replace the pause graphic, it's rather simple. Unlock the top-msot layer, and just replace the pause graphic. Link to comment Share on other sites More sharing options...
Delta Hedgehog Posted March 18, 2010 Author Report Share Posted March 18, 2010 I'm not. MMF2 was becoming to confusing so I decided to go back to Game Maker again. Link to comment Share on other sites More sharing options...
Kirs Posted March 18, 2010 Report Share Posted March 18, 2010 This engine have a pause feature included. you may check it out: http://www.sonicfangameshq.com/forum/showthread.php?t=6077 The idea is to take an screenshot and use it as background and then deactivate all instances. After deactivating them you can create all objects or buttons you want. Then, to resume the game, delete all objects you created in pause menu and re-activate all instances again. Link to comment Share on other sites More sharing options...
Delta Hedgehog Posted March 18, 2010 Author Report Share Posted March 18, 2010 NOt what I had in mind but I'll try it. Link to comment Share on other sites More sharing options...
OverbounD Posted March 19, 2010 Report Share Posted March 19, 2010 http://www.yoyogames.com/games/15032 http://gmc.yoyogames.com/index.php?showtopic=450722 I think the trick is to deactivate the instances and take a snap shot. Remember to put what you are using to create the game when you ask for help to get good help. Link to comment Share on other sites More sharing options...
Delta Hedgehog Posted March 19, 2010 Author Report Share Posted March 19, 2010 Ok then. Link to comment Share on other sites More sharing options...
Delta Hedgehog Posted March 21, 2010 Author Report Share Posted March 21, 2010 Crap, that didn't work like I hoped it would. Link to comment Share on other sites More sharing options...
toaster1 Posted March 21, 2010 Report Share Posted March 21, 2010 No, there is actually a built in function that looks incredibly similar to that screenshot. show_message() or something like that? You're going to have to search in GM help for the parameters, however. EDIT: This is what you want. show_message("PAUSED") message_background(background01) background01 is a backrgound used as a backing for the message. show_message will work on it's own, but message_background won't. Link to comment Share on other sites More sharing options...
Delta Hedgehog Posted March 21, 2010 Author Report Share Posted March 21, 2010 Hey thanks. Where do I put each code? (Create, Draw, etc.) Link to comment Share on other sites More sharing options...
toaster1 Posted March 21, 2010 Report Share Posted March 21, 2010 Put it in a Button Press event. It can be any button as long as it's not one that controls the player. Link to comment Share on other sites More sharing options...
Delta Hedgehog Posted March 21, 2010 Author Report Share Posted March 21, 2010 Hooray! It works! I just need to figure out how to align it center. make the background any color, and add a custom font too. Link to comment Share on other sites More sharing options...
toaster1 Posted March 22, 2010 Report Share Posted March 22, 2010 Really, why don't you just search 'message' up in help? Don't tell me you can't do that... Link to comment Share on other sites More sharing options...
OverbounD Posted March 22, 2010 Report Share Posted March 22, 2010 Go to the GMC novice questions forum. You'll have better luck there. Link to comment Share on other sites More sharing options...
DimensionWarped Posted March 22, 2010 Report Share Posted March 22, 2010 Here's where the real programming world is just awesome. This assumes you have a thread for rendering, a thread for audio control, a thread for the main game logic, and a thread for checking inputs. mainThread.stop() pause audio. Or not, it might not be necessary create/position pause graphics then when you want to resume the game, just... clear pause graphics resume audio mainThread.start() Link to comment Share on other sites More sharing options...
Delta Hedgehog Posted March 22, 2010 Author Report Share Posted March 22, 2010 I know. I've looked thorugh the help section. I know what to do. Link to comment Share on other sites More sharing options...
Recommended Posts