Skip to content

"Touching" blocks on CPU path do not apply pixelate effect #573

@adroitwhiz

Description

@adroitwhiz

Expected Behavior

"Touching" blocks should take effects into account.

Actual Behavior

When using the CPU path for "touching" blocks (touching color, touching sprite, touching mouse), the pixelate effect is not taken into account, and as such there is a discrepancy between the pixels the sprite is supposed to cover and the pixels that count as being "touched".

For instance, see this project, which stamps a 1x1 purple sprite whenever it touches the cat:
image

Steps to Reproduce

  1. Set a sprite's pixelate effect to a positive value
  2. Try using a "touching" block in combination with that sprite
  3. Notice a discrepancy between the sprite's appearance and the parts of the sprite that can be "touched"

Operating System and Browser

All

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions