When using tile-based movement and Bump(), bumping something that appears to be set larger than world.icon_size will be bumped twice. See also this post.
Numbered Steps to Reproduce Problem:
Download demo
- Run the game.
- Bump into the single tile enemies. Bump() is called once.
- Bump into the large enemies. Bump() is called twice.
Code Snippet (if applicable) to Reproduce Problem:
n/a, demo provided.
Expected Results:
Bump() is only called once on the large mobs.
Actual Results:
Bump() is called twice.
Does the problem occur:
Every time? Or how often? Every time.
In other games? Untested.
In other user accounts? Untested.
On other computers? Untested.
When does the problem NOT occur?
Never.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? Untested, though I suspect it's from the more recent versions due to bounding boxes being involved.
Workarounds:
Forum_account provided a workaround here.