Changed Orientation

Where game and project announcements are made.
Post Reply
User avatar
natsuki
Novice
Novice
Posts: 105
Joined: Sat May 22, 2004 9:35 pm
Contact:

Changed Orientation

Post by natsuki » Thu Jun 03, 2004 10:42 pm

noticed the y orientation (-y going up, +y down) but in ro it is (+y going up -y down) when going up y should increase but the reason why it is not that way was allegros form of drawing graphics taking upperleft as 0,0 so x is correct (-x0+x) but y is (-y0+y) contrary to ro view (as what i know) it can be something like:
allegro but ro is
(0,0)
-y +y
-x 0 +x -x 0 +x
+y -y
(0,0)

so all further graphics will look v flipped, the player is not much affected as it is the focus, but all others are

so now it draws it like implementing a v flip to make it look roish and also movement is changed too for the 'flip' to be followed correctly by the server^^

hope it helps, as what i know thats how ro works also the server
^^いつも笑顔でもっとよろこび。。^^
-- shimokawa natsuki --
User avatar
natsuki
Novice
Novice
Posts: 105
Joined: Sat May 22, 2004 9:35 pm
Contact:

Post by natsuki » Fri Jun 04, 2004 12:34 am

^^いつも笑顔でもっとよろこび。。^^
-- shimokawa natsuki --
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: Tue Apr 13, 2004 8:11 pm
Location: Italy
Contact:

Post by ElvenProgrammer » Fri Jun 04, 2004 4:21 pm

Yeah I noticed that when implementing the walking routines, but I didnt think was a problem, it's only a diferent point of view... also the server will use the old coodinates to move but if you like it I'll keep your code.
User avatar
natsuki
Novice
Novice
Posts: 105
Joined: Sat May 22, 2004 9:35 pm
Contact:

Post by natsuki » Fri Jun 04, 2004 5:56 pm

the player not much problem, it not noticeable
but npcs are, they look v flipped especially if they are many and form patterns, so it quite confusing where the correct position of npcs
^^いつも笑顔でもっとよろこび。。^^
-- shimokawa natsuki --
User avatar
natsuki
Novice
Novice
Posts: 105
Joined: Sat May 22, 2004 9:35 pm
Contact:

Post by natsuki » Fri Jun 04, 2004 6:37 pm

did not notice there should be a change in the map blitting too

i might try to fix it later, but if someone can it nice^^
^^いつも笑顔でもっとよろこび。。^^
-- shimokawa natsuki --
User avatar
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: Tue Apr 13, 2004 8:11 pm
Location: Italy
Contact:

Post by ElvenProgrammer » Fri Jun 04, 2004 6:49 pm

I'm sorry nat but I don't agree with you because also npcs have their coords (the tile they stands on) that don't change wherever you look from, so I won't change the orientation until I find the evidence that is really necessary because in the way you coded also the keys are inverted... :D
User avatar
natsuki
Novice
Novice
Posts: 105
Joined: Sat May 22, 2004 9:35 pm
Contact:

Post by natsuki » Fri Jun 04, 2004 7:05 pm

it would seem like that because the map blitting too is -y0+y that's why
it dont follow the changed orientation of y yet so it counters the coordinates
^^いつも笑顔でもっとよろこび。。^^
-- shimokawa natsuki --
Post Reply