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
5 registered members (AndrewAMD, alibaba, Konsti, 2 invisible), 1,418 guests, and 2 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
Page 1 of 2 1 2
video_:mode #242111
12/21/08 13:38
12/21/08 13:38
Joined: Oct 2006
Posts: 1,245
A
AlbertoT Offline OP
Serious User
AlbertoT  Offline OP
Serious User
A

Joined: Oct 2006
Posts: 1,245
Hello

I set
main()
{
video_mode = 8 ;
video_screen = 1;
wait(1);
}

but apparently it doesn't work
I get a small window rather than a full screen 1024x768

if i push F5, the window gets even smaller

any idea ?



Last edited by AlbertoT; 12/21/08 13:40.
Re: video_:mode [Re: AlbertoT] #242112
12/21/08 13:40
12/21/08 13:40
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
function main()
{
video_mode = 8 ;
video_screen = 1;
wait(1);
}

shouldn't it be like this?

Last edited by cerberi_croman; 12/21/08 13:40.


Ubi bene, ibi Patria.
Re: video_:mode [Re: croman] #242113
12/21/08 13:42
12/21/08 13:42
Joined: Oct 2006
Posts: 1,245
A
AlbertoT Offline OP
Serious User
AlbertoT  Offline OP
Serious User
A

Joined: Oct 2006
Posts: 1,245
yes, I use "function main()..."

by the way, at the beginning everything was ok
it opened a small window but with f5 I got the full screen
Then I made some changes to my map
now it opens a window with the same size as before but f5 reduce the size



Last edited by AlbertoT; 12/21/08 13:46.
Re: video_:mode [Re: AlbertoT] #242114
12/21/08 13:43
12/21/08 13:43
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline

3D Artist
rvL_eXile  Offline

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
Youll must define Video mode as Variable

Code:
Var Video_Mode=8;
Var Video_screen=1;
Var Vide_Depth=16;


cYa Sebastian


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: video_:mode [Re: rvL_eXile] #242115
12/21/08 13:44
12/21/08 13:44
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
he has to define that as var only if he uses c-script.
otherwise it's not needed.



Ubi bene, ibi Patria.
Re: video_:mode [Re: croman] #242116
12/21/08 13:49
12/21/08 13:49
Joined: Oct 2006
Posts: 1,245
A
AlbertoT Offline OP
Serious User
AlbertoT  Offline OP
Serious User
A

Joined: Oct 2006
Posts: 1,245
yes even with var, nothing changes

Re: video_:mode [Re: AlbertoT] #242117
12/21/08 13:51
12/21/08 13:51
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline

3D Artist
rvL_eXile  Offline

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
What do you want?
Do you want to disable the F5 function ? Or switch the Resolution with one Key?
Please Explain your Problem, i dont understand, what do you want to get with this Function...

cYa Sebastian


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: video_:mode [Re: rvL_eXile] #242118
12/21/08 13:57
12/21/08 13:57
Joined: Oct 2006
Posts: 1,245
A
AlbertoT Offline OP
Serious User
AlbertoT  Offline OP
Serious User
A

Joined: Oct 2006
Posts: 1,245
I want to get a full screen

Re: video_:mode [Re: AlbertoT] #242120
12/21/08 14:02
12/21/08 14:02
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline

3D Artist
rvL_eXile  Offline

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
Mhh.. ive got sometimes the Problem, that i dont can start my Project in Fullscreen. So Deactivate all Programs wich could be used your Graficcard / restart the Computer, this helped me often.

cYa Sebastian


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: video_:mode [Re: rvL_eXile] #242122
12/21/08 14:09
12/21/08 14:09
Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
Nowherebrain Offline
Serious User
Nowherebrain  Offline
Serious User

Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
under lite-c you do define and initialize the variable...

var video_mode = 8;

...also make sure you are not switching to a higher resolution than you are using on your desktop....I think this used to be an issue. I'm sure you support this resolution though.
One more thing is the wait instruction...use a while(1) tester if you are using wait(1) but place you variables before it...

fuction main()
{
var video_mode = 8;
while(1)
{
wait(1);
)
)


Everybody Poops.
here are some tutorials I made.
http://www.acknexturk.com/blender/
Page 1 of 2 1 2

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