D
Devilly
Guest
We've got a spirte which is 603 pixels wide and 511 pixels high. I put it in a room at the upper left corner and make a view with width and height 603 and 511 and a port with width and height 603 and 511.
The view's x and y are the same as those of the sprite itself: 0 and 0. The port's x and y are defined as following:
view_xport[1] = windowWidth - view_wview[1];
view_yport[1] = windowHeight - view_hview[1];
This makes it getting placed in the lower right corner. Now when looking in the texture pages the sprite looks fine but when running the game the corners are all pixellated. Especially the round corners are horrible.
I would think because the view and the port are the same size it would render correctly. While fiddling I noticed that when increasing the port size to twice the size it should be the sprite is rendered like I'd want it to. Any idea as to where to look for a solution?
The view's x and y are the same as those of the sprite itself: 0 and 0. The port's x and y are defined as following:
view_xport[1] = windowWidth - view_wview[1];
view_yport[1] = windowHeight - view_hview[1];
This makes it getting placed in the lower right corner. Now when looking in the texture pages the sprite looks fine but when running the game the corners are all pixellated. Especially the round corners are horrible.
I would think because the view and the port are the same size it would render correctly. While fiddling I noticed that when increasing the port size to twice the size it should be the sprite is rendered like I'd want it to. Any idea as to where to look for a solution?