Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (SBGuy, dr_panther, Ayumi, Quad, AndrewAMD), 920 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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 | chip programmers | 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