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
1 registered members (TedMar), 1,420 guests, and 3 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
video_screen question #419465
03/10/13 16:07
03/10/13 16:07
Joined: Feb 2006
Posts: 33
Herts, UK
D
danohu Offline OP
Newbie
danohu  Offline OP
Newbie
D

Joined: Feb 2006
Posts: 33
Herts, UK

Hi

I have video_screen set to 2. When I change this to:

video_screen = 1;

then the screen is made much larger, all my buttons are no longer aligned on the screen where I expect them and more importantly, an avi that runs from my script no longer runs.

My questions are:

1. Why does my avi not play when I change to video_screen = 1?
2. What are the implications for publishing a game if you use video_screen = 2; versus video_screen = 1; i.e. Will you have a rediculously small screen if you use video_screen = 2; and is it better to use video_screen = 1;?

Thanks for your help in advance

Re: video_screen question [Re: danohu] #419467
03/10/13 16:23
03/10/13 16:23
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
video_screen only changes if the engine window is in fullscreen or windowed mode. It does not influence playback of avis or anything like this. Please post a screenshots of the buttons so we can have a look at whats wrong with them. Or were you maybe talking about video_mode or video_aspect? What resolution does your game start in? What's the aspect ratio of your screen?


Always learn from history, to be sure you make the same mistakes again...
Re: video_screen question [Re: danohu] #419468
03/10/13 16:24
03/10/13 16:24
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
1 is for fullscreen and 2 for window mode.
The avi thing stops because the device is lost on changing the reolution so you need to restart it.

Re: video_screen question [Re: Ch40zzC0d3r] #419494
03/10/13 21:25
03/10/13 21:25
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline
Member
Arrovs  Offline
Member

Joined: Apr 2006
Posts: 159
Latvija
I ran into same problems.

//setting some default video
video_switch(0, 32, 2);//window and depth
wait(1);
video_switch(8, 0, 8);//1204x768

then i found out that same resolutions works different for 4:3 and widescreens.
So you need to turn on fullscreen or window in default resolution and then switch to your desired. Of course only you know what resolution you need to keep panels in same place.


Arrovs once will publish game
Re: video_screen question [Re: Arrovs] #420286
03/22/13 12:16
03/22/13 12:16
Joined: Feb 2006
Posts: 33
Herts, UK
D
danohu Offline OP
Newbie
danohu  Offline OP
Newbie
D

Joined: Feb 2006
Posts: 33
Herts, UK
Hi

Thanks for your replies which are a bit beyond my knowledge level I think. I have been puzzling over them a while.

To clarify, my script has no video screen settings - I presume the screen goes to a default setting? Having done some reading I came across video_screen = 1; and after trying it found that my .avi file did not play and my buttons appeared in different places. My game did nowever, fill the complete screen using this setting which is something I want.

My concern is that without a video_screen = 1; setting, my game will not fill the whole screen. Is this correct? I would like to see it e.g. fill my whole TV screen.

I am not worried about the buttons as I can reset these fairly easily if I need to use the video_screen = 1; setting.

Getting the .avi to work with a video_screen = 1; setting is a problem however. Are you saying that by recreating my .avi and using a different aspect ratio e.g. 1024x768 the .avi will then be able to work?

Thanks for your help.

Re: video_screen question [Re: danohu] #420433
03/25/13 22:22
03/25/13 22:22
Joined: Feb 2006
Posts: 33
Herts, UK
D
danohu Offline OP
Newbie
danohu  Offline OP
Newbie
D

Joined: Feb 2006
Posts: 33
Herts, UK
To everyone, thanks for your help! It was resolved with:

video_set(1024,576,0,2);


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