Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
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 (dBc), 17,435 guests, and 5 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
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 | 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