Asuma Posted May 24, 2008 Report Share Posted May 24, 2008 Anyone have and idea on how to do a megaman menu using Sub Application? Link to comment Share on other sites More sharing options...
USC Posted May 24, 2008 Report Share Posted May 24, 2008 I would guess that you'd make the menu, and as you move through the different items, set a counter to a certain value. When the Sub App is destroyed, send the value of the counter back to the main program. Link to comment Share on other sites More sharing options...
Asuma Posted May 27, 2008 Author Report Share Posted May 27, 2008 Yea, but the problems is making it pop up and freezing the game while it's up. Link to comment Share on other sites More sharing options...
DimensionWarped Posted May 27, 2008 Report Share Posted May 27, 2008 Why would you want to use a subapplication for that anyway? I always figured subapplications were for when you wanted more than one window to work with. Speaking of which, what are subapplications usually for anyway? Link to comment Share on other sites More sharing options...
Serephim Posted May 27, 2008 Report Share Posted May 27, 2008 most likely not games. Link to comment Share on other sites More sharing options...
USC Posted May 27, 2008 Report Share Posted May 27, 2008 Well, you could enclose all your movement events inside a group. When you want the menu to pop up, deactivate that group and it should effectively "pause" everything. ----------------------- Also, you could see if this pause extension will work in MMF2... http://www.clickteam.info/extensions/extview.php?id=239 Link to comment Share on other sites More sharing options...
Asuma Posted May 27, 2008 Author Report Share Posted May 27, 2008 Why would you want to use a subapplication for that anyway? I always figured subapplications were for when you wanted more than one window to work with.Speaking of which, what are subapplications usually for anyway? Well, if you know and effective way to create a in-game menu, please do share. Also, would it be better for A.I. to use Platform Movement Object as its engine? Or just use Alternate Values? Link to comment Share on other sites More sharing options...
Blue Frenzy Posted May 29, 2008 Report Share Posted May 29, 2008 It's easy. Actually the subapplication lets you pause the application. The problem making every object movement to pause is that you will always miss something. Just imagine you have an object with a bouncing ball movement that moves when it mets a condition. When unpausing the game, you will forcefully to make it start, and you cannot make a condition for each object when paused, since you'd have to make a different pause group in each level. Not talking about animations. The idea is this. You have a "play" level. In this level you just have one sub-application object where you play the game, warping at first to the first level you want to play, or to the level where you load the game. In the play-level frame you can put the pause events. If you press button 4, pause sub-application, and if you want, you can create a new sub-application in front of the current one loading the menu frame. Just remember to destroy that new subapp after you exit the menu. Be sure to keep the things into global values and share them with the sub application in order to let any subapplication to alter the other frames. Do not let the subapp to resize the frame, since it will slow down a bit and, even on the same size, it resizes a bit. Example where frame 10 is the first level and frame 3 is the menu frame. Frame 4 is an empty frame where you go after you exit the main menu, and the main app detects you exit the menu by reading you are on that frame. Link to comment Share on other sites More sharing options...
Recommended Posts