Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, dr_panther, Quad), 935 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Screen Resolution #297974
11/11/09 00:30
11/11/09 00:30
Joined: Nov 2009
Posts: 34
S
Sepiantum Offline OP
Newbie
Sepiantum  Offline OP
Newbie
S

Joined: Nov 2009
Posts: 34
Hi. How do you manually set the screen resolution? I want my game to be 550 x 400. Halp me plzkthnx.

Re: Screen Resolution [Re: Sepiantum] #297977
11/11/09 01:08
11/11/09 01:08
Joined: Jan 2005
Posts: 605
Deutschland, NRW
G
garv3 Offline
User
garv3  Offline
User
G

Joined: Jan 2005
Posts: 605
Deutschland, NRW
video_set(550,400,32,2);
See manual for more infos!


GameStudio Version: A7 Pro v7.86
Re: Screen Resolution [Re: garv3] #297978
11/11/09 01:10
11/11/09 01:10
Joined: Nov 2009
Posts: 34
S
Sepiantum Offline OP
Newbie
Sepiantum  Offline OP
Newbie
S

Joined: Nov 2009
Posts: 34
My bad, i wanted to change the window width and height, not the resolution. Sorry.

Last edited by Sepiantum; 11/11/09 01:21.
Re: Screen Resolution [Re: Sepiantum] #297984
11/11/09 02:51
11/11/09 02:51
Joined: Jul 2008
Posts: 553
Singapore
delinkx Offline
User
delinkx  Offline
User

Joined: Jul 2008
Posts: 553
Singapore
see video_window from the manual.

Quote:

video_window(VECTOR* pos,VECTOR* size,var style,STRING* title)

pos vector containing the new x and y position in pixels, or NULL for no change
size vector containing the new x and y size in pixels, or NULL for no change
title new title of the window, or NULL for no change
style 0 for no change, or a combination of the following modes:

1 no border
2 thin border
4 thick border that allows resizing the window
16 title bar and border
48 title bar with close button
112 title bar with close and minimize buttons
256 hide the window




A7 commercial Team / VC++ 2008 Pro
homepage | twitter | facebook
Re: Screen Resolution [Re: delinkx] #297987
11/11/09 04:07
11/11/09 04:07
Joined: Nov 2009
Posts: 34
S
Sepiantum Offline OP
Newbie
Sepiantum  Offline OP
Newbie
S

Joined: Nov 2009
Posts: 34
that just scales everything. i want to reset the whole window size but keep all of my models the same size. any help with that?

Re: Screen Resolution [Re: Sepiantum] #298019
11/11/09 11:29
11/11/09 11:29
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
I'm not exactly sure where you're talking about, but maybe it helps to change the camera.aspect?

Re: Screen Resolution [Re: Scorpion] #298105
11/11/09 23:06
11/11/09 23:06
Joined: Nov 2009
Posts: 34
S
Sepiantum Offline OP
Newbie
Sepiantum  Offline OP
Newbie
S

Joined: Nov 2009
Posts: 34
I want to change my window size to 550 x 400 without scaling everything like video_window() does. And I want my resolution to be 550 x 400 too.

Re: Screen Resolution [Re: Sepiantum] #298108
11/11/09 23:27
11/11/09 23:27
Joined: Oct 2004
Posts: 900
Lgh
rojart Offline
User
rojart  Offline
User

Joined: Oct 2004
Posts: 900
Lgh
Try this one:
Code:
#include <acknex.h>
#include <default.c>

function main()
{
  screen_size.x = 550;  screen_size.y = 400;
}



http://www.conitec.net/beta/ascreen_size.htm


Regards, Robert

Quote
Everything should be made as simple as possible, but not one bit simpler.
by Albert Einstein

PhysX Preview of Cloth, Fluid and Soft Body

A8.47.1P
Re: Screen Resolution [Re: rojart] #298122
11/12/09 03:49
11/12/09 03:49
Joined: Nov 2009
Posts: 34
S
Sepiantum Offline OP
Newbie
Sepiantum  Offline OP
Newbie
S

Joined: Nov 2009
Posts: 34
thanks!


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