Programing/Blockly2017 ¤Î¥Ð¥Ã¥¯¥¢¥Ã¥×¤Î¸½ºß¤È¤Îº¹Ê¬(No.6)



  • Äɲ䵤줿¹Ô¤Ï¤³¤Î¿§¤Ç¤¹¡£
  • ºï½ü¤µ¤ì¤¿¹Ô¤Ï¤³¤Î¿§¤Ç¤¹¡£
#title(Blockly:¥Ö¥í¥Ã¥¯·¿¥×¥í¥°¥é¥à¥¨¥Ç¥£¥¿¥é¥¤¥Ö¥é¥ê 2017ǯÈÇ)

[[Programing]] > Blockly2017

Blockly1.0¤¬¥ê¥ê¡¼¥¹¤µ¤ì¤¿¤Î¤Ç¡¢¤¢¤é¤¿¤á¤Æ¿§¡¹Ä´¤Ù¤Æ¤ß¤Þ¤·¤¿¡£

#ref(blockly_top.png,nolink)
#ref(blocklyp5.js_s.png,nolink)

#contents

* ³µÍ× [#oa8b42a0]

Blockly1.0¤Ï¡¢¥Ó¥¸¥å¥¢¥ë¥×¥í¥°¥é¥ß¥ó¥°¥¨¥Ç¥£¥¿¡¼Íѥ饤¥Ö¥é¥ê¤Ç¤¹¡£
Blockly1.0¤Ï¡¢¥Ó¥¸¥å¥¢¥ë¥×¥í¥°¥é¥ß¥ó¥°¥¨¥Ç¥£¥¿¡¼Íѥ饤¥Ö¥é¥ê¤Ç¤¹¡£¤³¤ì¼«ÂΤϡ¢´°À®¤·¤¿¥¢¥×¥ê¤Ç¤Ï¤Ê¤¯¡¢³«È¯¼Ô¸þ¤±¤Î¥Ä¡¼¥ë¥­¥Ã¥È¤È¤¤¤¦°ÌÃÖÉÕ¤±¤Ç¤¹¤Í¡£

¸ø¼°¥µ¥¤¥È¤Ë¤è¤ë¤È¡¢¼¡¤ÎÆÃħ¤òÈ÷¤¨¤Æ¤¤¤Þ¤¹¡£

- ½ã¿è¤ÊJavaScript¥é¥¤¥Ö¥é¥ê¡£¥µ¥¤¥º¤Ï150Kb̤Ëþ¡£
- 100¡ó¥¯¥é¥¤¥¢¥ó¥È¥µ¥¤¥É¤ÇÆ°ºî¡£¥µ¡¼¥Ð¡¼Â¦¤Ë¤Ï°Í¸¤·¤Þ¤»¤ó¡£
- Chrome¡¢Firefox¡¢Safari¡¢Opera¡¢IE¤Ê¤É¡¢¼çÍפʥ֥饦¥¶¤ÇÆ°ºî¤·¤Þ¤¹¡£
- ¹âÅ٤ʥ«¥¹¥¿¥Þ¥¤¥ºÀ­¤È³ÈÄ¥À­¤òÈ÷¤¨¤Æ¤¤¤Þ¤¹¡£

* ºî¤Ã¤Æ¤ß¤¿ [#h135b740]

-blocklyp5.js = p5.js + blockly
--[[demo:https://ycatch.github.io/blockp5.js/]]
--[[Github:https://github.com/ycatch/blockp5.js]]

- ¤Ï¤·¤ì¡ª¥Ø¥Ã¥Ý¥³¡¼¥É - ¤¿¤À¤¤¤Þ¹©»öÃæ
-- ¥Ç¥â https://ycatch.github.io/heppo-code-running/
-- https://github.com/ycatch/heppo-code-running

* ¥Ë¥å¡¼¥¹ [#zaa1d9ab]

- 2017.08.09
--[[blockp5.js:https://ycatch.github.io/blockp5.js/]] p5.js¤òblockly¤Ç¥×¥í¥°¥é¥ß¥ó¥°¤¹¤ë¥Ç¥â
--[[Github¤Ç¸ø³«:https://github.com/ycatch/blockp5.js]]
- 2017.06.10
--[[Google¡¢¥Ö¥í¥Ã¥¯¤Ç¥×¥í¥°¥é¥ß¥ó¥° ¡ÖBlockly 1.0¡×¤ò¸ø³« | ¥Þ¥¤¥Ê¥Ó¥Ë¥å¡¼¥¹:http://news.mynavi.jp/news/2017/06/12/106/]] iOS / Android¤Ë¤âÂбþ
--[[Google Developers Blog: Introducing Blockly 1.0 for Android and iOS:https://developers.googleblog.com/2017/06/introducing-blockly-10-for-android-and.html]]

* ¸ø¼°¥µ¥¤¥È [#e87d0281]

¸ø¼°¥µ¥¤¥È¤Î¾ðÊ󤬤ޤȤޤäƤ¤¤Æ¤ï¤«¤ê¤ä¤¹¤¤¤Ç¤¹¡£GoogleËÝÌõ¤Ë¤è¤ëÆüËܸì¥Ú¡¼¥¸¤â¡¢¤±¤Ã¤³¤¦°ÕÌ£¤¬¤ï¤«¤ê¤Þ¤¹¡£

** ³«È¯¼Ô¸þ¤± [#jcb761ca]

-[[Blockly  |  Google Developers:https://developers.google.com/blockly/]]
--[[GoogleËÝÌõ¤Ë¤è¤ëÆüËܸì¥Ú¡¼¥¸:https://translate.google.co.jp/translate?hl=ja&sl=en&u=https://developers.google.com/blockly/]]

-[[Introduction to Blockly  |  Blockly  |  Google Developers:https://developers.google.com/blockly/guides/overview]]
--[[GoogleËÝÌõ¤Ë¤è¤ëÆüËܸì¥Ú¡¼¥¸:https://translate.google.co.jp/translate?hl=ja&sl=en&u=https://developers.google.com/blockly/guides/overview]]

-[[Blockly Demos:https://blockly-demo.appspot.com/static/demos/index.html]]

-[[Reference  |  Blockly  |  Google Developers:https://developers.google.com/blockly/reference/overview]]
--[[GoogleËÝÌõ¤Ë¤è¤ëÆüËܸì¥Ú¡¼¥¸:https://translate.google.co.jp/translate?hl=ja&sl=en&u=https://developers.google.com/blockly/reference/overview]]

-[[¥½¡¼¥¹¥³¡¼¥É:https://github.com/google/blockly]]

** ¥Ç¥â [#n2a44be0]

-[[Blockly Demos:https://blockly-demo.appspot.com/static/demos/index.html]]

Ʊ¤¸ÆâÍƤ¬¡¢¥À¥¦¥ó¥í¡¼¥É¤·¤¿¥Õ¥¡¥¤¥ë¤Î¡Ödemos¡×¥Õ¥©¥ë¥À¤Ë¤¢¤ê¤Þ¤¹¡£

¡ÊBDT¤Ê¤É¡¢¤¤¤¯¤Ä¤«¤Î¥Ç¥â¤Ï¡¢¥À¥¦¥ó¥í¡¼¥ÉÈǤǤÏÆ°ºî¤·¤Þ¤»¤ó¡£¡Ë

** Blockly Games [#y045fe7c]

-[[¥µ¥ó¥×¥ë¥¢¥×¥ê:https://blockly-games.appspot.com/]]
-[[¥½¡¼¥¹¥³¡¼¥É:https://github.com/google/blockly-games/wiki]]

¿¸À¸ì²½ÍѤΥ꥽¡¼¥¹¥Õ¥¡¥¤¥ë¤¬¡¢Î®ÍѤǤ­¤ë¡£

* Blockly¤Î´ðËܵ¡Ç½¤òÍý²ò¤¹¤ë [#dec228f8]

Blockly¤Î¥Ö¥í¥Ã¥¯¥¨¥Ç¥£¥¿¤Ï¡¢¥Ö¥í¥Ã¥¯(block types)¤ò³ÊǼ¤¹¤ëtoolbox¤È¡¢¥Ö¥í¥Ã¥¯¤òÇÛÃÖ¤¹¤ë¤¿¤á¤Î¥ï¡¼¥¯¥¹¥Ú¡¼¥¹¤Ç¹½À®¤µ¤ì¤Æ¤¤¤Þ¤¹

¥¬¥¤¥É¥Ú¡¼¥¸¤«¤é°Ê²¼¤ÎÀâÌÀ¤ò½çÈ֤ˤ¿¤É¤Ã¤Æ¤¤¤¯¤È¡¢Blockly¤Î´ðËܵ¡Ç½¤òÍý²ò¤Ç¤­¤Þ¤¹¡£


** Blockly¤Î¥À¥¦¥ó¥í¡¼¥É [#u21760ec]

Github¤«¤é¥¯¥í¡¼¥ó¤¹¤ë¤«¡¢¥Õ¥¡¥¤¥ë¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤Þ¤¹¡£

-[[Get Started  |  Blockly  |  Google Developers:https://developers.google.com/blockly/guides/get-started/web]]
--[[Google ËÝÌõ:https://translate.google.co.jp/translate?hl=ja&sl=en&u=https://developers.google.com/blockly/guides/get-started/web]]


** ¸ÇÄꥵ¥¤¥º¤Î¥ï¡¼¥¯¥¹¥Ú¡¼¥¹¡§fixed-sized Workspace [#ge356fb8]

Blockly¤ò¸ÇÄꥵ¥¤¥º¤Çɽ¼¨¤·¤Þ¤¹¡£

- ¥µ¥ó¥×¥ë¥Õ¥¡¥¤¥ë¡§ /blockly/demos/fixed
-[[Fixed-sized Workspace  |  Blockly  |  Google Developers:https://developers.google.com/blockly/guides/configure/web/fixed-size]]
--[[Google ËÝÌõ:https://translate.google.co.jp/translate?hl=ja&sl=en&u=https://developers.google.com/blockly/guides/configure/web/fixed-size]]

¤½¤Î¤¿¤á¤Ë¡¢HTML¥Õ¥¡¥¤¥ë¤Ë¼¡¤Î5¤Ä¤ÎÎΰè¤òµ­½Ò¤·¤Þ¤¹¡£

- Javascript¤Î¥³¡¼¥ÉÆɤ߹þ¤ß
- ¥í¥±¡¼¥ë¥Õ¥¡¥¤¥ë
- ¶õ¤Îdiv¤òÄɲäơ¢¥µ¥¤¥º¤òÀßÄꤷ¤Þ¤¹
- ¥Ä¡¼¥ë¥Ü¥Ã¥¯¥¹
- Javascript¤Ë¤è¤ë¥í¡¼¥É

** ¥µ¥¤¥ºÊѹ¹²Äǽ¤Ê¥ï¡¼¥¯¥¹¥Ú¡¼¥¹¡§Resizable Workspace [#ha2ad40f]

div¥¿¥°¤«¥Æ¡¼¥Ö¥ë¥¿¥°¤Ë¡¢id="blocklyArea"¤òÀßÃÖ¤·¤Æ¡¢¤½¤Î²¼¤Ë¡¢id="blocklyDiv"¤Îdiv¥¿¥°¤òÀßÃÖ¤·¤Þ¤¹¡£¤¢¤È¤Ï¡¢¥µ¥¤¥º¤ò¼«Æ°Ä´À°¤¹¤ë¥¹¥¯¥ê¥×¥È¤òÀßÃÖ¤·¤Þ¤¹¡£

¥µ¥ó¥×¥ë¥Õ¥¡¥¤¥ë¤Ï¡¢index.html¤Ç¤Ï¤Ê¤¯¡¢overlay.html¤ò¸«¤Æ¤ß¤Þ¤·¤ç¤¦¡£

- ¥µ¥ó¥×¥ë¥Õ¥¡¥¤¥ë¡§ /blockly/demos/resizable/overlay.html
-[[Resizable Workspace  |  Blockly  |  Google Developers:https://developers.google.com/blockly/guides/configure/web/resizable]]
--[[Google ËÝÌõ:https://translate.google.co.jp/translate?hl=ja&sl=en&u=https://developers.google.com/blockly/guides/configure/web/resizable]]


** ¥«¥¹¥¿¥à¥Ö¥í¥Ã¥¯¤ÎÄɲá§Add Custom Blocks [#j8fac1fb]

¥ª¥ê¥¸¥Ê¥ë¤Î¥Ö¥í¥Ã¥¯¤òÄɲ乤뤳¤È¤¬¤Ç¤­¤Þ¤¹¡£

-[[Add Custom Blocks  |  Blockly  |  Google Developers:https://developers.google.com/blockly/guides/configure/web/custom-blocks]]
--[[Google ËÝÌõ:https://translate.google.co.jp/translate?hl=ja&sl=en&u=https://developers.google.com/blockly/guides/configure/web/custom-blocks]]

¥«¥¹¥¿¥à¥Ö¥í¥Ã¥¯¤òÄɲ乤ë¤Ë¤Ï¡¢¼¡¤Î3¤Ä¤òÍÑ°Õ¤·¤Þ¤¹¡£

- ¥Ö¥í¥Ã¥¯ÄêµÁ(/blocks¤Ëɸ½à¥Ö¥í¥Ã¥¯¤¬¤¢¤ë)
- ¥Ä¡¼¥ë¥Ü¥Ã¥¯¥¹¥ê¥Õ¥¡¥ì¥ó¥¹(¥Ä¡¼¥ë¥Ü¥Ã¥¯¥¹¤«¤é¥Ö¥í¥Ã¥¯ÄêµÁ¤ò»²¾È)
- ¥¸¥§¥Í¥ì¡¼¥¿(¥Ö¥í¥Ã¥¯¤«¤é¥³¡¼¥É¤òÀ¸À®)

¥Ö¥í¥Ã¥¯ÄêµÁ¤Ï¡¢[[Blockly Developer Tools:https://developers.google.com/blockly/guides/create-custom-blocks/blockly-developer-tools]]¤ÇÀ¸À®¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£

¥Ä¡¼¥ë¥Ü¥Ã¥¯¥¹¥ê¥Õ¥¡¥ì¥ó¥¹¤Ï¡¢¥ï¡¼¥¯¥¹¥Ú¡¼¥¹¤ËÄɲä·¤¿¥Ä¡¼¥ë¥Ü¥Ã¥¯¥¹¤ÈƱ¤¸¡£


** ¥Ä¡¼¥ë¥Ü¥Ã¥¯¥¹¡§Toolbox [#e449b9db]

¥Ä¡¼¥ë¥Ü¥Ã¥¯¥¹¤Ï¡¢¥µ¥¤¥É¥á¥Ë¥å¡¼¤Ë¤¢¤ëɸ½à¥Ö¥í¥Ã¥¯ÃÖ¤­¾ì¡£
Blokcs¤Ë¡¢É¸½àŪ¤Ê¥Ö¥í¥Ã¥¯¤¬¤Ò¤È¤ä¤ÞÍÑ°Õ¤µ¤ì¤Æ¤¤¤ë¡£¤½¤ì¤òtoolsbox¤ËÄɲ乤ë¤À¤±¤ÇÆ°¤¯¡£
XML¤Çµ­½Ò¤¹¤ë¤ó¤À¤±¤É¡¢¼ê½ñ¤­¤¬ÌÌÅݤʾì¹ç¤Ï¡¢[[Blockly Developer Tools:https://developers.google.com/blockly/guides/create-custom-blocks/blockly-developer-tools]]¤ÇÀ¸À®¤Ç¤­¤ë¡£
¤Þ¤¿¡¢¥«¥Æ¥´¥ê¤Îµ­½ÒÊýË¡¤â½ñ¤¤¤Æ¤¢¤ë¡£

- ¥µ¥ó¥×¥ë¥Õ¥¡¥¤¥ë¡§ /blockly/demos/toolbox
-[[Toolbox  |  Blockly  |  Google Developers:https://developers.google.com/blockly/guides/configure/web/toolbox]]
--[[Google ËÝÌõ:https://translate.google.co.jp/translate?hl=ja&sl=en&u=https://developers.google.com/blockly/guides/configure/web/toolbox]]

¤Á¤Ê¤ß¤Ë¡¢ÆäËÀâÌÀ¤¬¤Ê¤¤¤±¤ì¤É¡¢¥´¥ßÈ¢¤ò¥ª¥ó¤Ë¤¹¤ë¤Î¤Ï¡¢¤³¤ó¤Ê´¶¤¸¡£

 var workspace = Blockly.inject('blocklyDiv',
    {toolbox: document.getElementById('toolbox'), trashcan: true});

** ¥³¡¼¥É¥¸¥§¥Í¥ì¡¼¥¿¡§Code Generators [#r1f2be01]

¥Ö¥í¥Ã¥¯¤ÇÁȤó¤À¥×¥í¥°¥é¥à¤ò¥³¡¼¥É¤ËÊÑ´¹¤·¤Þ¤¹¡£

- ¥µ¥ó¥×¥ë¥Õ¥¡¥¤¥ë¡§ /blockly/demos/generator
-[[Code Generators  |  Blockly  |  Google Developers:https://developers.google.com/blockly/guides/configure/web/code-generators]]
--[[Google ËÝÌõ:https://translate.google.co.jp/translate?hl=ja&sl=en&u=https://developers.google.com/blockly/guides/configure/web/code-generators]]


** ¥°¥ê¥Ã¥É¡§Grid [#i75d07b3]

Blockly¤Î¥ï¡¼¥¯¥¹¥Ú¡¼¥¹¤Ë¤Ï¡¢¥ª¥×¥·¥ç¥ó¤Ç¥°¥ê¥Ã¥É¤òÀßÃ֤Ǥ­¤Þ¤¹¡£

-[[Grid  |  Blockly  |  Google Developers:https://developers.google.com/blockly/guides/configure/web/grid]]
--[[Google ËÝÌõ:https://translate.google.co.jp/translate?hl=ja&sl=en&u=https://developers.google.com/blockly/guides/configure/web/grid]]


** ¥º¡¼¥à¡§Zoom [#xef2be1c]

Blockly¤Î¥ï¡¼¥¯¥¹¥Ú¡¼¥¹¤Ë¤Ï¡¢¥ª¥×¥·¥ç¥ó¤Ç¥º¡¼¥à(³ÈÂç/½Ì¾®)¤òÀßÃ֤Ǥ­¤Þ¤¹¡£

-[[Zoom  |  Blockly  |  Google Developers:https://developers.google.com/blockly/guides/configure/web/zoom]]
--[[Google ËÝÌõ:https://translate.google.co.jp/translate?hl=ja&sl=en&u=https://developers.google.com/blockly/guides/configure/web/zoom]]


** ¥¤¥Ù¥ó¥È¡§Event [#x641902f]

¥ï¡¼¥¯¥¹¥Ú¡¼¥¹¾å¤Î¤¹¤Ù¤Æ¤ÎÊѹ¹¤Ï¡¢¥¤¥Ù¥ó¥È¤Î¥È¥ê¥¬¡¼¤Ë¤Ê¤ê¤Þ¤¹¡£

- ¥µ¥ó¥×¥ë¥Õ¥¡¥¤¥ë¡§ /blockly/demos/mirror
-[[Events  |  Blockly  |  Google Developers:https://developers.google.com/blockly/guides/configure/web/events]]
--[[Google ËÝÌõ:https://translate.google.co.jp/translate?hl=ja&sl=en&u=https://developers.google.com/blockly/guides/configure/web/events]]

** Cloud Storage [#gfbc9d97]

Google¤Î¥¯¥é¥¦¥É¥µ¡¼¥Ó¥¹¡§Google App engine¤Ç¥³¡¼¥É¤òÊݸ¡¦Æɤ߹þ¤ß¡¦¶¦Í­¤Ç¤­¤Þ¤¹¡£

-[[Cloud Storage  |  Blockly  |  Google Developers:https://developers.google.com/blockly/guides/configure/web/cloud-storage]]

** ¤½¤Î¾ [#r5329bdb]

- ¥µ¥ó¥×¥ë°ìÍ÷¡§ /blockly/demos/index.html
- Javascript¤äPython¡¦Lua¤Ø¤ÎÊÑ´¹¡§ /blockly/demos/code
- Javascript¥¤¥ó¥¿¥×¥ê¥¿¡§  /blockly/demos/interpreter

* ¥«¥¹¥¿¥à¥Ö¥í¥Ã¥¯¤ÎºîÀ® [#naf25190]
*  ¥«¥¹¥¿¥à¥Ö¥í¥Ã¥¯¡¿¥Ä¡¼¥ë¥Ü¥Ã¥¯¥¹¤Î¥«¥¹¥¿¥Þ¥¤¥º [#naf25190]

** ³µÍ× [#k94cc0d8]

-[[Custom Blocks  |  Blockly  |  Google Developers:https://developers.google.com/blockly/guides/create-custom-blocks/overview]]

** Blockly Developer Tools [#d8d45a28]

¥«¥¹¥¿¥à¥Ö¥í¥Ã¥¯¤ä¥ï¡¼¥¯¥¹¥Ú¡¼¥¹¤òºî¤ë¤¿¤á¡¢¼¡¤Î3¤Ä¤Îµ¡Ç½¤¬¤¢¤ê¤Þ¤¹¡£
Blockly Developer Tools¤Çºî¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤³¤³¤Ë¤Ï¡¢¥«¥¹¥¿¥à¥Ö¥í¥Ã¥¯¤ä¥ï¡¼¥¯¥¹¥Ú¡¼¥¹¤òºî¤ë¤¿¤á¡¢¼¡¤Î3¤Ä¤Îµ¡Ç½¤¬¤¢¤ê¤Þ¤¹¡£

- Block Factory¡§¥É¥é¥Ã¥°¡õ¥É¥í¥Ã¥×¤Ç¥Ö¥í¥Ã¥¯¤ò¥Ç¥¶¥¤¥ó¤¹¤ë
- Block Exporter¡§¥Ç¥¶¥¤¥ó¤·¤¿¥Ö¥í¥Ã¥¯¤ò´ÉÍý¤¹¤ë
- Workspace Factory¡§¥ï¡¼¥¯¥¹¥Ú¡¼¥¹¤ò¥Ç¥¶¥¤¥ó¤¹¤ë

-[[Blockly Developer Tools  |  Blockly  |  Google Developers:https://developers.google.com/blockly/guides/create-custom-blocks/blockly-developer-tools]]
-[[Blockly Demo: Blockly Developer Tools:https://blockly-demo.appspot.com/static/demos/blockfactory/index.html]] ¥Ä¡¼¥ë
-[[Blockly Developer Tools  |  Blockly  |  Google Developers:https://developers.google.com/blockly/guides/create-custom-blocks/blockly-developer-tools]] ÀâÌÀ(±Ñ¸ì)
-[[Block Factory - YouTube:https://www.youtube.com/watch?v=s2_xaEvcVI0]] Blockly Developer Tools¤ÎÆ°²è¥Á¥å¡¼¥È¥ê¥¢¥ë

** ºî¤êÊý [#sabfb3a0]

- [[Blockly1.0¡§¥«¥¹¥¿¥à¥Ö¥í¥Ã¥¯¤Îºî¤êÊý>Blockly/CustomBlock]]
- [[Blockly1.0¡§¥Ä¡¼¥ë¥Ü¥Ã¥¯¥¹¤È¥ï¡¼¥¯¥¹¥Ú¡¼¥¹¤ÎÀßÄêÊýË¡>Blockly/Toolbox_WorkSpace]]

* ¥Ö¥í¥Ã¥¯¤Î¸À¸ì»ØÄê [#l66d15c7]

** ´û¸¥Ö¥í¥Ã¥¯ [#fe91c131]

´û¸¥Ö¥í¥Ã¥¯¤Îɽ¼¨¸À¸ì¤Ï¡¢°Ê²¼¤ò»ØÄꤹ¤ë

https://developers.google.com/blockly/guides/configure/web/fixed-size

 <script src="msg/js/en.js"></script>

ÆüËܸì¤Î¾ì¹ç¤Ï¡¢¤³¤Á¤é¡£

 <script src="msg/js/ja.js"></script>

** ¥«¥Æ¥´¥ê [#c8131ef8]

¥Ä¡¼¥ë¥Ü¥Ã¥¯¥¹¤Î¥«¥Æ¥´¥ê¤Ï¡¢name°À­¤òÊѹ¹¤¹¤ë¡£

 <category name="¥í¥Ü¥Ã¥È" colour="#ED225D">
  <block type="run_foward"></block>
  <block type="jump_forward"></block>
  <block type="is_ball"></block>
  <block type="is_wall"></block>
 </category>

** ¥«¥¹¥¿¥à¥Ö¥í¥Ã¥¯ [#oa77d0d6]

Æȼ«¤ËÄɲä·¤¿¥«¥¹¥¿¥à¥Ö¥í¥Ã¥¯¤Îɽ¼¨¤Ï¡¢.appendField¤Ç»ØÄꤹ¤ë¡£

 Blockly.Blocks['run_foward'] = {
   init: function() {
     this.appendDummyInput()
        .appendField("Á°¤Ë¿Ê¤à");
     this.setPreviousStatement(true, null);
     this.setNextStatement(true, null);
     this.setColour(0);
  this.setTooltip("");
  this.setHelpUrl("");
   }
 };


** ¤½¤Î¾ [#id3ba696]

Ʊ¤¸¥Ú¡¼¥¸¤Ç¸À¸ì¤òÀÚ¤êÂؤ¨¤ë

https://blockly-demo.appspot.com/static/demos/code/index.html

* ¥é¥¤¥»¥ó¥¹ [#v4f869ec]

** ¥½¡¼¥¹¥³¡¼¥É¤Î¥é¥¤¥»¥ó¥¹ [#caa37bcf]

- Apache License 2.0

** Blockly¥µ¥¤¥È¤Î¥é¥¤¥»¥ó¥¹ [#f31bb2bd]

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

ÆäËÌÀµ­¤µ¤ì¤Æ¤¤¤Ê¤¤¸Â¤ê¡¢¤³¤Î¥Ú¡¼¥¸¤Î¥³¥ó¥Æ¥ó¥Ä¤ÏCreative Commons Attribution 3.0 License¤Î²¼¤Ç¥é¥¤¥»¥ó¥¹¤µ¤ì¡¢¥³¡¼¥É¥µ¥ó¥×¥ë¤ÏApache 2.0¥é¥¤¥»¥ó¥¹¤Î²¼¤Ç»ÈÍѵöÂú¤µ¤ì¤Þ¤¹¡£ ¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï¡¢ ¥µ¥¤¥È¥Ý¥ê¥·¡¼¤ò¤´Í÷¤¯¤À¤µ¤¤¡£ Java¤Ï¡¢Oracle¤ª¤è¤Ó¤½¤Î´ØÏ¢²ñ¼Ò¤ÎÅÐÏ¿¾¦É¸¤Ç¤¹¡£

* »²¹Í¤Ë¤Ê¤ë¥Ú¡¼¥¸ [#ra1b6506]

-[[2014ǯ¤´¤íÄ´¤Ù¤¿¾ðÊó¤Ï¡¢¤³¤Á¤é>Programing/Blockly2014]]

-[[000 - Blockly¤ò»È¤Ã¤¿¥ª¥ê¥¸¥Ê¥ëVisual Programming Editor¤òºî¤Ã¤Æ¤ß¤ë - Qiita:http://qiita.com/heyhachi/items/f422ffefd959a673ca7b]]
-[[001 - Blockly¤ò»È¤Ã¤¿¥ª¥ê¥¸¥Ê¥ëVisual Programming Editor¤òºî¤Ã¤Æ¤ß¤ë - Qiita:http://qiita.com/heyhachi/items/4346bde77719c5b8a7f4]]
-[[003 - Blockly¤ò»È¤Ã¤¿¥ª¥ê¥¸¥Ê¥ëVisual Programming Editor¤òºî¤Ã¤Æ¤ß¤ë - Qiita:http://qiita.com/heyhachi/items/02eb9aa843c9bd1aa0a3]]


¥È¥Ã¥×   ¿·µ¬ °ìÍ÷ ñ¸ì¸¡º÷ ºÇ½ª¹¹¿·   ¥Ø¥ë¥×   ºÇ½ª¹¹¿·¤ÎRSS