Page 1 of 1

fool screen

Posted: Sun May 27, 2018 3:48 pm
by sashapont
How I can make foolscreen? I write^ but it is not work

Code: Select all

if fullscreeenint=0
ChangeDisplayMode(#DISPMODE_FULLSCREEN)
fullscreeenint=1
else
ChangeDisplayMode(#DISPMODE_WINDOWED)
fullscreeenint=0
endif

Re: fool screen

Posted: Mon May 28, 2018 8:37 pm
by ArtBlink
Try :

Code: Select all

if fullscreeenint=0
ChangeDisplayMode(#DISPMODE_FULLSCREEN,800,600)
fullscreeenint=1
else
ChangeDisplayMode(#DISPMODE_WINDOWED)
fullscreeenint=0
endif
Your fullscreeenint variable is local or global?

If it is local try to transform it in global, just delete "local" in the declaration of this variable

Re: fool screen

Posted: Mon May 28, 2018 9:04 pm
by sashapont
I try this, but now I have error
Wrong usage/parameters for this command!
Read the documentation!
File: Dialogs.hws (current line: 1150 - In function: ChangeDisplayMode)

Re: fool screen

Posted: Mon May 28, 2018 10:19 pm
by airsoftsoftwair
I see you're using RapaGUI. Going full screen isn't supported with RapaGUI. This is only supported with Hollywood's default display adapter or plugins like GL Galore and RebelSDL. Going full screen in a GUI application doesn't really make sense.