Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
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
1 registered members (7th_zorro), 793 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
alt enter doesn't give me a full screen #312648
02/25/10 19:18
02/25/10 19:18
Joined: Mar 2009
Posts: 5
M
Maggie Offline OP
Newbie
Maggie  Offline OP
Newbie
M

Joined: Mar 2009
Posts: 5
After "run" alt +enter doesn't give me a full screen ....it sends the small window up to the top left corner. I cannot resize the window.
I have 64 bit Window 7 . Please help. Thank you

Re: alt enter doesn't give me a full screen [Re: Maggie] #312652
02/25/10 19:21
02/25/10 19:21
Joined: Feb 2010
Posts: 457
Norfolk,England
mikaldinho Offline
Senior Member
mikaldinho  Offline
Senior Member

Joined: Feb 2010
Posts: 457
Norfolk,England
i have that problem, but i have windows xp. i tried to load a game up, but it just moves it up to the left. i will post a screenshot as soon as i can.

Re: alt enter doesn't give me a full screen [Re: Maggie] #312654
02/25/10 19:31
02/25/10 19:31
Joined: Sep 2009
Posts: 993
Budapest
Aku_Aku Offline
User
Aku_Aku  Offline
User

Joined: Sep 2009
Posts: 993
Budapest
Using the Alt+Enter to switch the screen mode between full and windowed is only an commendation by MS.
Although in the Win API there is a function implemented to do this, it isnt mandatory to do that.
Conitec chose another way. The engine also has two built-in functions for changing the mode.
Refer to the wideo_switch and video_set in the manual.
If you are new to using the manual open that and type the fullscreen word in the search tab's searching field and press enter.
Review the first two hits.

Re: alt enter doesn't give me a full screen [Re: Maggie] #314117
03/05/10 19:40
03/05/10 19:40
Joined: Mar 2010
Posts: 6
Vancouver BC, CA
Ed_the_Sock Offline
Newbie
Ed_the_Sock  Offline
Newbie

Joined: Mar 2010
Posts: 6
Vancouver BC, CA
try putting this in your script:
Under Void Main()
It should force full screen. If not, change the 8 to a 7. // different scr sizes.

Although I'm using XP as well.


function fullscreen_startup()

{

while (1)

{

video_switch(8, 0, 1);

wait (1);

}

}


Re: alt enter doesn't give me a full screen [Re: Ed_the_Sock] #314162
03/06/10 10:05
03/06/10 10:05
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
yeh, use 'video_switch'/'video_set' but don't put it in a while loop like Ed_the_Sock suggested, because that is crazy smile.

You can use the 'on_enter' event to change it...
Code:
var fullscreen = FALSE;

function SwitchScreen()
{
if(key_alt == 1) 
{
if(fullscreen == TRUE)
{
video_set(0,0,0,2);
fullscreen = FALSE;
}
else
{
video_set(0,0,0,1);
fullscreen = TRUE;
}
}
}

function main()
{
on_enter = SwitchScreen;
}


I haven't tested it, but it looks ok.

Last edited by DJBMASTER; 03/06/10 10:06.
Re: alt enter doesn't give me a full screen [Re: DJBMASTER] #314213
03/06/10 17:48
03/06/10 17:48
Joined: Mar 2010
Posts: 6
Vancouver BC, CA
Ed_the_Sock Offline
Newbie
Ed_the_Sock  Offline
Newbie

Joined: Mar 2010
Posts: 6
Vancouver BC, CA
Originally Posted By: DJBMASTER
yeh, use 'video_switch'/'video_set' but don't put it in a while loop like Ed_the_Sock suggested, because that is crazy smile.


shocked
Hey HEY! I'm still uber new with GS. Gimmie a little time. So far I'm loving how its structured like C. C is my favorite language.


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