¡Hola! 🖖 Este es un proyecto relacionado a Pilas Bloques ❤️. En el repositorio de ese proyecto encontrarás las guías sobre cómo contribuir y el código de conducta, que son guías que aplican también a este proyecto.
Hi! 🖖 This is a project related to Pilas Bloques ❤️. In that project's repository you'll find the contribution guidelines and the code of conduct which also apply to this project.
This Blockly plugin installs new custom procedures for blockly, with custom modifications:
- The parameters now can be easily added and removed with buttons, replacing the mutator popup.
- The arguments (
variables_get
) are associated with the procedure. All this blocks now have a$parent
field with the id of the procedure where they belong. For this to work, you must save this$parent
in the mutation ofvariables_get
. - The 'help' option was removed from the context menu.
- Procedure descriptions are disabled by default.
If you desire to use a different language than Spanish, you can define your own translations for the needed blocks using Blockly.Msg
, for example:
Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT = 'your translation';
Then proceed to call procedsBlocklyInit()
to load these new translations. Otherwise, you can use the default language by calling setDefacultLocale()
: