Changed Orientation
Posted: 03 Jun 2004, 21: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
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