Gamestudio Links
Zorro Links
Newest Posts
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
5 registered members (AndrewAMD, alibaba, Konsti, 2 invisible), 1,418 guests, and 2 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
Fullscreen maximize call function #437624
02/20/14 14:52
02/20/14 14:52
Joined: Aug 2008
Posts: 394
Germany
Benni003 Offline OP
Senior Member
Benni003  Offline OP
Senior Member

Joined: Aug 2008
Posts: 394
Germany
Hi, I have a problem with my shadows.
Game is in Fullscreen mode. When I call the Task manager the game will minimize. After that I click on the Button down the desktop to maximize (switch back to) the Game again, but then the shadows have graphic failures. I can handle out the problem if I restart the shadows. But how does I know if the Gamer switched back to the game? I know the on_maximize, but its just working in Window mode.

Re: Fullscreen maximize call function [Re: Benni003] #437626
02/20/14 15:10
02/20/14 15:10
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
I use window_focus to test it. save the focus state in each frame in a variable, if it changes in next frame switch on/off shadowmapping.


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Fullscreen maximize call function [Re: sivan] #437630
02/20/14 16:41
02/20/14 16:41
Joined: Aug 2008
Posts: 394
Germany
Benni003 Offline OP
Senior Member
Benni003  Offline OP
Senior Member

Joined: Aug 2008
Posts: 394
Germany
hm window_focus is good, but its also set to 1 if the Game is preselected on the taskbar but not opened. Then a crash happens.

Re: Fullscreen maximize call function [Re: Benni003] #437631
02/20/14 18:22
02/20/14 18:22
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
I used it sometimes with && mouse_valid


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Fullscreen maximize call function [Re: sivan] #437639
02/20/14 21:49
02/20/14 21:49
Joined: Aug 2008
Posts: 394
Germany
Benni003 Offline OP
Senior Member
Benni003  Offline OP
Senior Member

Joined: Aug 2008
Posts: 394
Germany
yes, I thought also in this way. But the Player have to move the mouse for that a little. I hoped that I could find a better way for that, But its ok, I will do it as this!! Thank you Sivan for your help!!


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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