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
   

Post Reply



 



Advertisement

Worth A Click