Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,631 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Automatically Show F11 Panel #434453
12/19/13 01:07
12/19/13 01:07
Joined: Jun 2013
Posts: 108
Alberta, Canada
C
CanadianDavid Offline OP
Member
CanadianDavid  Offline OP
Member
C

Joined: Jun 2013
Posts: 108
Alberta, Canada
I don't know if it's a bug in my code, but I notice sometimes that if I do not start the F11 debug panel immediately after starting my game, it will not show up (although I can hear the beep() sound). Is there an easy way to automatically show this panel on startup?

Re: Automatically Show F11 Panel [Re: CanadianDavid] #434466
12/19/13 08:02
12/19/13 08:02
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Open the include folder of your GStudio installation, then open default.c. There you will find def_debug() which is the function in question to show the debug panel.

Your problem may be related to other things, for example when you press Alt+Tab to leave your game, (edit a shader, check your e-mails or whatever) then click your game window again, the engine will think that you are still pressing Alt. As a result, when pressing F11 only the following code will be executed:

Code:
void def_debug() 
{
    beep();
    if(key_alt) 
    { 
        diag_status(); 
        return; 
    }
    ...
}



"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Automatically Show F11 Panel [Re: Superku] #434475
12/19/13 09:16
12/19/13 09:16
Joined: Jun 2013
Posts: 108
Alberta, Canada
C
CanadianDavid Offline OP
Member
CanadianDavid  Offline OP
Member
C

Joined: Jun 2013
Posts: 108
Alberta, Canada
You're right, it is due to alt-tabbing out of the window! Pressing alt again restores its functionality. Thanks Superku!


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