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

Extensions should be able to define hidden blocks for compatibility #735

Closed
ericrosenbaum opened this issue Oct 30, 2017 · 3 comments

Comments

@ericrosenbaum
Copy link
Member

commented Oct 30, 2017

Expected Behavior

Because of changes in the set of blocks between 2.0 and 3.0, we need to provide support for compatibility with older projects. Part of this support involves the ability to define 2.0-compatible blocks that do not show up in the palette, but which can load in a project that uses them.

Actual Behavior

Extensions cannot yet define hidden blocks.

@towerofnix

This comment has been minimized.

Copy link
Contributor

commented Oct 30, 2017

So, basically hacked blocks :)

I wonder if it would be better to transform old projects to use new, functionally equivalent blocks? That way there's no mysterious 2.0 "legacy" blocks floating around (which will inevitably be backpacked and used in new projects, because people love using hacked blocks).

@mrjacobbloom

This comment has been minimized.

Copy link

commented Oct 31, 2017

I wonder if it would be better to transform old projects to use new, functionally equivalent blocks?

What about conversions to different ranges? It might be confusing to open an old project in Scratch 3.0 and see something like change pen [color v] by ((variable) * (0.3922))

@paulkaplan

This comment has been minimized.

Copy link
Member

commented Nov 1, 2017

@cwillisf I see the filter property on blocks is designed to allow sprite/stage specific blocks. Do you think that could be used? Perhaps an empty array for "no targets"?

@paulkaplan paulkaplan closed this Nov 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.