Descriptive Problem Summary:
Hit detection still fails in various situations
Demo: http://www.angelfire.com/hero/straygames/ByondBugs/ HitDetectionFails_src.zip
The black and red squares should be dense in that demo. However, collision only occurs when the top right corner of the red player collides with the bottom left corner of the black mobs. The red player will, however, still collide with the blue mobs. The only difference between them is 32x32 vs 96x96 icons, and therefore different bounds - but they should still yield the same results.
EDIT: According to additional tests, if the moving square is 32x32, it will not properly collide with the 96x96 squares, even though it works in reverse.
Numbered Steps to Reproduce Problem:
Walk squares into each other
Code Snippet (if applicable) to Reproduce Problem:
Entire squares collide
Only certain parts of certain squares collide, and only in certain movement situations.
Does the problem occur:
Every time? Or how often? Every
In other games? Yes
In other user accounts? Most likely
On other computers? Most likely
When does the problem NOT occur?
It only happens with specific bounds/icon sizes.
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.)
I doubt it, unless it was working and you somehow broke it with that last collision fix.
Design your game using differently sized icons?
Previously Resolved Report: http://www.byond.com/members/ BYONDHelp?command=view_tracker_issue&tracker_issue=3344