-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add 'undefined' block #756
Comments
I think inputs and block ID should be kept and the VM will still try to execute it so you don't completely break vertical projects by loading them in horizontal mode, it won't be editable but it would be a placeholdee to allow vertical projects to be edited on horizontal editor, or so modded projects don't fall apart. |
We definitely need something like this. Same colors as the current undefined custom block? |
Here is where It grabs data from Blockly.Blocks, adding the undefined block would mean adding a init function as an undefined block that uses inputs defined in it and changes it's output check and shape to adapt for where it is and stores that as an "undefined data" parameter for later use. |
For output shapes Scratch-Blocks should store the output shape in xml so it can be imported properly inside blocks. |
Currently Unknown blocks will load but be invisible I think we need to implement this so things like modded projects don't break, or broken json, I think it should also preserve shadow blocks.
The text was updated successfully, but these errors were encountered: