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
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (degenerate_762, AndrewAMD), 877 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Arbitrary resolution but in fullscreen trick? #152414
09/07/07 11:40
09/07/07 11:40
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline OP
Senior Expert
PHeMoX  Offline OP
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
Hi there,

I'm currently making a game in a 256x256 resolution, but the moment I'm going fullscreen it reverts back to a 640x480 resolution. I had expected this to happen since my hardware (or no hardware for that matter?) doesn't support a fullscreen 256x256 resolution.

I'm wondering what I could do to achieve the same effect as íf I had a 256x256 resolution in fullscreen. In other words, how do I stretch a camera view in such a way that it 'becomes' 256x256 (in all it's pixely glory), but for example within a 640x480 resolution window or so? (with some black bars perhaps because of the aspect ratio) Are there any simple methods I can use for this to accomplish with 3dgs?

Cheers


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Re: Arbitrary resolution but in fullscreen trick? [Re: PHeMoX] #152415
09/07/07 12:29
09/07/07 12:29
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
I don't think that a hardware exists that supports a 256x256 fullscreen resolution.

What you could do is opening a 256x256 window, remove its border and stretch it all over the screen. That would look like 256x256 fullscreen.

Re: Arbitrary resolution but in fullscreen trick? [Re: jcl] #152416
09/07/07 15:59
09/07/07 15:59
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline OP
Senior Expert
PHeMoX  Offline OP
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
Thanks, I've been able to rescale the window like you've said and this windowed-fullscreen is working fine.

Is there a way to do this resizing automatically? Currently I'm using the Windows XP "resize screen", that's if you right-click on the window of the program that's running, just like you've explained... but it would be awesome if it would stretch out and resize to 1024x768 or so automatically. Would such a thing be possible with A6 pro?

Cheers


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Re: Arbitrary resolution but in fullscreen trick? [Re: PHeMoX] #152417
09/07/07 17:14
09/07/07 17:14
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline
Expert
lostclimate  Offline
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
maybe using a second 256 view, and rendering it to a quad, you'd have to make sure it pixelates tho and not blurs

Re: Arbitrary resolution but in fullscreen trick? [Re: lostclimate] #152418
09/07/07 17:38
09/07/07 17:38
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline OP
Senior Expert
PHeMoX  Offline OP
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
Thanks for your suggestion, but the problem was solved ..

This seems to work fine:
Code:
 video_set(256,256,32,2); video_window(vector(0,0,0),vector(1024,768,0),1,NULL);



It's not yet centered in the middle of the screen, but I can use the first vector for that.

Cheers

Last edited by PHeMoX; 09/07/07 18:00.

PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software

Moderated by  old_bill, Tobias 

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