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
arc and ISOMETRIC view #445490
09/11/14 12:28
09/11/14 12:28
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
As far as I know, when you switch to ISOMETRIC view, ARC value changes the distance for the camera. But there is a problem, when you change resolution, ARC isn't automatically adjusted to keep the same distance (maybe it does, but the size of the window allows you to see things which didn't feet the smaller window before). I would like to ask you guys, what will be the best way to adjust ARC automatically, making it smaller and smaller as the resolution of the window increases.

Greets


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: arc and ISOMETRIC view [Re: 3run] #445491
09/11/14 13:15
09/11/14 13:15
Joined: Jul 2014
Posts: 49
Romania,vaslui
A
AceX Offline
Newbie
AceX  Offline
Newbie
A

Joined: Jul 2014
Posts: 49
Romania,vaslui
Maybe some if and else conditons in a while loop grin .

Re: arc and ISOMETRIC view [Re: AceX] #445492
09/11/14 13:20
09/11/14 13:20
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
made a helperfunc.

Code:
void set_isometric_size(VIEW * v, var quants_x, var quants_y, var size_x, var size_y)
{
	set(v, ISOMETRIC);
	
	v.top = quants_y / 2;
	v.bottom = -quants_y / 2;
	v.left = -quants_x / 2;
	v.right = quants_x / 2;
	
	v.size_x = size_x;
	v.size_y = size_y;
}



POTATO-MAN saves the day! - Random
Re: arc and ISOMETRIC view [Re: Kartoffel] #445493
09/11/14 13:33
09/11/14 13:33
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
AceX@ thank you for your valuable input tongue

Kartoffel@ thank you, I didn't think about view boarders, as I've never really had to deal with them, but as soon as I've found them in the manual (for the first time since I've ever installed Acknex), everything got pretty clear!

Greets


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: arc and ISOMETRIC view [Re: Kartoffel] #445494
09/11/14 13:34
09/11/14 13:34
Joined: Jul 2014
Posts: 49
Romania,vaslui
A
AceX Offline
Newbie
AceX  Offline
Newbie
A

Joined: Jul 2014
Posts: 49
Romania,vaslui
More better wink


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