Changed Orientation

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

Changed Orientation

Post by natsuki » 03 Jun 2004, 22:42

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: 22 May 2004, 21:35
Contact:

Post by natsuki » 04 Jun 2004, 00:34

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

Post by ElvenProgrammer » 04 Jun 2004, 16:21

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: 22 May 2004, 21:35
Contact:

Post by natsuki » 04 Jun 2004, 17:56

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: 22 May 2004, 21:35
Contact:

Post by natsuki » 04 Jun 2004, 18:37

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: 13 Apr 2004, 20:11
Location: Italy
Contact:

Post by ElvenProgrammer » 04 Jun 2004, 18:49

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: 22 May 2004, 21:35
Contact:

Post by natsuki » 04 Jun 2004, 19:05

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