Skip to content

Text bubbles are counted for "touching color" purposes in 3.0, but not in 2.0 #577

Closed
@adroitwhiz

Description

@adroitwhiz

In Scratch 2.0, text bubbles don't count for the purposes of "touching color" blocks, e.g. if a sprite is touching a text bubble, that doesn't count as touching white or grey or any other color on that text bubble; they are ignored completely.

In Scratch 3.0, however, "touching color" blocks can return true if the sprite is touching a text bubble's color.

This raises the question: should this be noted as a compatibility change between 2.0 and 3.0 and the current behavior kept, or should the behavior be changed to match 2.0?

A unit test was supposed to verify that this is the case in 3.0 as well, but...

Due to a series of weird coincidences and oversights, this unit test has erroneously passed when it should not have, and text bubbles have been part of "touching color" tests for, as far as I can tell, the entire 3.0 lifespan.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions