View's Coordinates

Talk about making games.

View's Coordinates

Postby ingsan » Sun May 16, 2004 3:26 pm

Hello everyone :D

I'm posting this question just to be sure that what I'm doing is good ...

Am I right when I write that :

FarEast of view = view.width;
FarWest of view = xscreen;
FarNorth of view = yscreen;
FarSouth of view = view.height;

:?:
Thanks for the help !
See you :P
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby makslane » Sun May 16, 2004 3:47 pm

xscreen and yscreen are your actor position in screen coordinates
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby ingsan » Sun May 16, 2004 3:57 pm

Ok. So what are the Far Left and Far Up of my view called ?
Should I say instead that view.width = 0 and view.height = 0 ?
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby makslane » Sun May 16, 2004 8:43 pm

x and y
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby ingsan » Sun May 16, 2004 9:54 pm

:? Ok, now I got it !
Thanks Again :P
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron