May 30 2015, 8:20 am
Test project: http://www.mediafire.com/download/1ia2x67bsyahgqy/ layer_problem.zip
Descriptive Problem Summary:
The test project is very small, 1 page of code, it will explain everything!
I know this has been reported before but never fixed because nobody has yet provided a test game to show the bug, but I am. The bug is that in TOPDOWN_MAP with pixel movement there is a layering problem where for example if there are two players who's mobs have bound_y=0 and bound_height=23 with world.icon_size=32, and one player approaches vertically til they bump the other, they will be layered incorrectly about 50% of the time. See the picture.
Numbered Steps to Reproduce Problem:
Run the test project then approach the other mobs in it from the north til you bump into them and you will quickly see incorrect layering after bumping enough mobs.
Does the problem occur:
Every time? Or how often? 50% of the time roughly depending on step_y and step_x values
In other games? Yes
In other user accounts? Yes
On other computers? Yes
When does the problem NOT occur?
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
All versions I believe has this problem
None that I know of being that my custom layering system based on y and step_y value didn't correct the problem as expected
Copyright © 2019 BYOND Software. All rights reserved.