The Daily Click ::. Forums ::. Klik Coding Help ::. pausing the game part II
 

Post Reply  Post Oekaki 
 

Posted By Message

wp



Registered
  22/11/2003
Points
  34
27th December, 2003 at 01:53:34 -

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?

Thanks

 
n/a

Shen

Possibly Insane

Registered
  14/05/2002
Points
  3497
27th December, 2003 at 03:26:46 -

So you're using the one pause method that doesn't actually pause the game use the first one, really, you should.

 
gone fishin'

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
27th December, 2003 at 03:30:35 -

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.

Image

Shen

Possibly Insane

Registered
  14/05/2002
Points
  3497
27th December, 2003 at 03:36:15 -

TimeX?

 
gone fishin'

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.

 
www.thenatflap.co.uk

Tiles

Possibly Insane

Registered
  06/12/2002
Points
  2339

GOTM 3TH PLACE WINNER - JANUARY 2010
27th December, 2003 at 09:11:33 -

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.

 
Free graphics,Free Games
http://www.reinerstilesets.de

Rycon



Registered
  20/09/2002
Points
  996
27th December, 2003 at 09:27:20 -

Does anybody know about CTRL + P...? Inbuilt pause.. I dunno saves alot of work.

 
We are the music makers, we are the dreamers of dreams...

Shen

Possibly Insane

Registered
  14/05/2002
Points
  3497
27th December, 2003 at 11:57:06 -

Can't access the inventory or map screen though

 
gone fishin'

Rycon



Registered
  20/09/2002
Points
  996
27th December, 2003 at 17:00:58 -

Well hey theres a problem.

 
We are the music makers, we are the dreamers of dreams...

wp



Registered
  22/11/2003
Points
  34
27th December, 2003 at 20:27:42 -

Tiles: that sounded like a really good idea. But in what version does that modal option show up? I have MMF 1.2, and I don't see that option.

Thanks

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
28th December, 2003 at 07:28:16 -

i just go to another frame, making sure to save the coordinates of the character and the level number etc

 
.

Tiles

Possibly Insane

Registered
  06/12/2002
Points
  2339

GOTM 3TH PLACE WINNER - JANUARY 2010
28th December, 2003 at 08:53:24 -

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 ...

 
Free graphics,Free Games
http://www.reinerstilesets.de

Tina Petersen



Registered
  19/09/2003
Points
  350
28th December, 2003 at 09:06:07 -

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)

Evil Monkey



Registered
  08/12/2002
Points
  598
28th December, 2003 at 10:05:33 -

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

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
28th December, 2003 at 15:34:48 -

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.

 
http://www.klik-me.com

wp



Registered
  22/11/2003
Points
  34
28th December, 2003 at 17:58:23 -

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.

 
n/a

Evil Monkey



Registered
  08/12/2002
Points
  598
28th December, 2003 at 22:40:03 -

Er... Chicken, you can't put a group in a group.

 
Project Progress:

1.: Droid Runner (5% Complete)
Finishing Up Game Engine

Mr Coffee



Registered
  04/09/2003
Points
  440
1st January, 2004 at 00:14:01 -

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.

Jimmy Brzezicki



Registered
  16/09/2003
Points
  1057
8th January, 2004 at 08:49:35 -

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.

Tina Petersen



Registered
  19/09/2003
Points
  350
8th January, 2004 at 11:26:26 -

Jimmy that would leave a trace of the subapp when u hide it again! unless the game scrolls always!

 
- Eternal Life, Or Your Money Back -
http://www.befun.dk/
Currently looking for a home (team)
   

Post Reply



 



Advertisement

Worth A Click