Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 11/13/25 14:04
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Training with the R bridge does not work
by frutza. 11/05/25 00:46
Zorro 2.70
by opm. 10/24/25 03:44
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 21,112 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sheliepaley, Blueguy, blobplayintennis, someone2, NotEBspark
19177 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