Gamestudio Links
Zorro Links
Newest Posts
Synthetic test data in Zorro
by clint000. 06/30/26 21:19
Ranger by Robert Pardo - now for Zorro
by TipmyPip. 06/29/26 13:47
Tradestation Multi-sessions??
by walt_Schwarz. 06/27/26 12:32
Z9 getting Error 058
by jcl. 06/26/26 14:07
ZorroGPT
by TipmyPip. 06/24/26 18:31
Lapsa's very own thread
by Lapsa. 06/20/26 18:18
Z12 live performance
by jcl. 06/19/26 11:21
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 7,664 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Ephraim, Student_64151, Koti, curry, DeepxKalsi
19220 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to display a pause screen? #95229
10/21/06 13:22
10/21/06 13:22
Joined: Sep 2005
Posts: 42
SusanJ Offline OP
Newbie
SusanJ  Offline OP
Newbie

Joined: Sep 2005
Posts: 42
Hi,

I use this piece of code someone gave me to pause my gameplay:

function pause()
{
if(freeze_mode == 2)
{
freeze_mode = 0;
}
else
{
freeze_mode = 2;
}
}
on_p = pause;

How can I alter that code so it will display a picture on the screen when the game is paused please?

Thank you x.

Re: How to display a pause screen? [Re: SusanJ] #95230
10/21/06 13:29
10/21/06 13:29
Joined: Feb 2005
Posts: 3,687
Hessen, Germany
T
Tempelbauer Offline
Expert
Tempelbauer  Offline
Expert
T

Joined: Feb 2005
Posts: 3,687
Hessen, Germany
bmap pscbmp = <file.ext>;
panel psc
{
pos_x=25;
pos_y=25;
bmap=pscbmp;
}

function pause()
{
if(freeze_mode == 2)
{
freeze_mode = 0;
psc.visible=off;
}
else
{
freeze_mode = 2;
psc.visible=on;
}
}
on_p = pause;


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1