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:
Start demo
Walk squares into each other
Code Snippet (if applicable) to Reproduce Problem:
See demo
Expected Results:
Entire squares collide
Actual Results:
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.
Workarounds:
Design your game using differently sized icons?
Previously Resolved Report: http://www.byond.com/members/ BYONDHelp?command=view_tracker_issue&tracker_issue=3344
ID:118244
Sep 6 2011, 10:58 pm (Edited on Sep 7 2011, 2:00 am)
|
|||||||||||||
Resolved
| |||||||||||||