Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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