Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Scratch features #1353

Open
nighca opened this issue Feb 19, 2025 · 2 comments
Open

Missing Scratch features #1353

nighca opened this issue Feb 19, 2025 · 2 comments
Assignees

Comments

@nighca
Copy link
Collaborator

nighca commented Feb 19, 2025

Game

  • ChangeEffect, SetEffect, ClearGraphicEffects: 82.208% [P1]

  • ChangeSoundEffect, SetSoundEffect, ClearSoundEffects: 10.826% [P2]

  • Timer, ResetTimer: 37.210% [P2]

    考虑接口设计

  • On[...]Over: 14.786% [P2]

    这是一个可以简化用户“监听某个数据的值符合某个条件”实现逻辑的接口;否则用户可能需要通过 onStart 实现一个无限循环,定时检查。

    在 Scratch 中,这个只能用来监听 loudness & timer 的值,且只能处理“大于”特定值的情况

    我们可以选择下列选项其一:

    1. 像 Scratch 一样只支持少有的几种场景
    2. 支持更多的数据源和条件,这可能会导致接口变得更抽象
  • Ask, Answer: 10.465% [P2]

  • Username: 11.221%

    计划暂不支持,需要向 spx 运行时注入 Builder 的用户信息

Sprite

  • ChangeEffect, SetEffect, ClearGraphicEffect [P1]

    同上 Game ChangeEffect, SetEffect, ClearGraphicEffects

  • GoTo[Front|Back]Layer, Go[Forward|Backward]Layer: 81.025% [P1]

    spx 已支持,需要在 Builder 中支持

  • ColorTouchingColor: 1.840%

    计划不支持:使用的项目少,且性能代价高

  • TouchingColor: 6.966% [P3]

    spx1 已支持,spx2 未支持;低优先级支持:使用的项目少,性能代价高

  • SetDragMode: 4.436%

    计划不支持:使用的项目少,且该 feature 对交互模式有假设(鼠标点击),会影响跨端支持

Extensions

  • Music: 3.384%

    计划暂不支持:使用的项目少,且实现成本高

  • Pen: 12.699% [P2]

    spx1 已支持,spx2 未支持

  • Video Sensing: 0.279%

    计划不支持:使用的项目极少

  • 其他 Extensions

    计划不支持,基本都是依赖第三方云服务的能力,且使用的项目极少

Dependent on #1370.

P.S.

@nighca nighca self-assigned this Feb 19, 2025
@nighca nighca changed the title Missing scratch features Missing Scratch features Feb 19, 2025
@nighca

This comment has been minimized.

@nighca

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant