Skip to content

Program-AR/blockly-proceds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

¡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.

Blockly Proceds

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 of variables_get.
  • The 'help' option was removed from the context menu.
  • Procedure descriptions are disabled by default.

Usage

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():

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •