Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 559 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 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