Descriptive Problem Summary:
When using big icons, they behave erratically when changing the client dir. Pixel_y is being calculated incorrectly on both East and South client.dir. South and West client dirs show the object being offset in the opposite direction as it should be, while North and west reflect the accurate pixel offsets.
Numbered Steps to Reproduce Problem:
1) Create a 3-tile by 3-tile icon and assign it to an object.
2) Offset the pixel_x and pixel_y values by -32, in order to center the icon on the tile.
3) Rotate the direction of the client's eye by 90 degrees. Repeat.
Expected Results:
The object should remain centered on its location during all four rotations.
Actual Results:
The object remains properly centered North and West, but not South and East. It seems as though the pixel offsets are not being inverted when they ought to be.
ID:921191
Aug 9 2012, 7:47 am
|
|||||||||||||
| |||||||||||||
#1 Aug 9 2012, 8:09 am
|
|
The values given don't actually make sense. A 3x3 icon will not be centered on a tile by giving it offsets of -32,-32, unless your world.icon_size=61 which you didn't mention. I think I'll need a test project for this, because I've tested pixel offsets in the past and they've worked fine.
| |
#2 Aug 9 2012, 9:30 am
|
|
http://www.byond.com/developer/Ter13/ClientDirBugReport
Centered, as in width/2 - tile_size/2. The demo should demonstrate both of my recent bug reports. | |
#3 Aug 10 2012, 3:45 pm
|
|
So can we call this confirmed, or busted?
| |