I asked a question a week or so earlier, about pausing the game to access an inventory or map screen, and I got a lot of useful responses:
1) deactivate all event groups
2) dialogue box pop-up
3) sub-application object
I decided against the first two because I have a huge number of event groups which are categorized the way they are for organizational purposes (and are spread out among frames, global events, and object behaviors), and the dialogue popup doesn't seem to allow for another application to appear.
So I finally got around to trying to make that inventory screen work, and I messed around with the subapp object. But I can't find a way to pause the game while the subapp is open. Does anyone have any quick tips?
I'm not sure, but I think someone made an extension that could pause games/apps. Not sure which one does that, though. Could be the ControlX object.
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.
Pete Nattress Cheesy Bits img src/uploads/sccheesegif
Registered 23/09/2002
Points 4811
27th December, 2003 at 05:46:52 -
getting the question/answer object to ask a question pauses the game. s just make it ask a question with the answer "resume" then bring up the sub-app, so when the sub app is closed it'll appear. i think that'll work.
enter the subappsetup by rightclicking and choosing edit,and in the setup check the "modal" in the windows style field.
in this way the mainframe is paused when the subapp is running.
hmm, mmf 1.2 ...
do yourself a favour and buy 1.5 ... loots better features and less bugs and crashes
i think there was also this option in the subapp of 1.2 .but i am not sure, i canīt remember ... it is this long ago that i have used 1.2 ...
so maybe this feature wasnīt inside .in this case i would suggest to switch back to the first ideaeactivate groups.
but not ALL groups. normally it is enough to stop the groups with movents in it ...
keep the Inventory as a temp data.file create the inventory as a seperate program! which runs on top (wait til end). and when running it from game sat a glob val to 1 (meaning it has to update inventory dat when it continues after pause..
- Eternal Life, Or Your Money Back -
http://www.befun.dk/
Currently looking for a home (team)
It's easy to do pausing by deactivating groups. Just tell it to deactivate the groups that make the game run, make any movement extensions you may have pause, and then resume all of them after being unpaused.
Project Progress:
1.: Droid Runner (5% Complete)
Finishing Up Game Engine
Using a question object and a sub-app can lead to problems with the sub-app. I had a problem where the timer became messed up in the sub-app when you paused using the question object.
Deactivating groups in my case is very annoying since I have over 20 groups dictating the behavior of the character and his weapon. Stopping the movement loops won't stop the animations and so on. I understand that deactivating groups allows for much more flexibility, but I'd have to manually program a deactivation event for each frame, which is annoying (there will be a lot of frames). I will try out timerx and see if that works. I'd much rather open another supapp to modify an .ini then, once quitting the subapp, load all the information back in.
The sub application object is by far the easiest and best way to pause the game, guys. TimeX is buggy, so it's out of the question. I will admit though, that I am not sure if you can do it using MMF 1.2, you may have to use MMF 1.5.
99 percent chance that the above post is 100 percent correct.
Just use Pete's method. The question will pause the original frame while the sub app will continue to work (just make sure the sub app does't cover the question). Otherwise you could try using a Diablo II style method where the inventory (it can still be a sub app) appears on the right and the game continues to play while it's open.
Why the hell am I on the computer at 1 in the morning? No, don't answer.