Skip to content
This repository was archived by the owner on Jun 10, 2026. It is now read-only.
This repository was archived by the owner on Jun 10, 2026. It is now read-only.

CPU touching color does not always match GPU/Scratch 2 #1029

Description

@Xeltalliv

In 2017 (scratch 2) I made this project that scans a costume using touching color blocks and constructs a 3D level based on it. Scanning costume in the project is small, so scratch uses CPU collision.

Expected Behavior

Scratch 2, GPU collision of Scratch 3, unofficial alternative players like Forkphorus all produce the same correct result:
image

Actual Behavior

CPU collision which scratch uses in this case produces different incorrect results:
image

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to 'https://scratch.mit.edu/projects/137870287/'
  2. Launch the project
  3. Look around using arrow keys. The level was scanned incorrectly
  4. Open browser console
  5. Obtain vm object
  6. Run vm.renderer.setUseGpuMode('ForceGPU')
  7. Launch the project again
  8. Look around using arrow keys. The level was scanned correctly

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions