Skip to content

Commit

Permalink
补充如何使用拓展积木文档。
Browse files Browse the repository at this point in the history
  • Loading branch information
junhuanchen committed Jun 6, 2019
1 parent 6d1ba4e commit a539c65
Show file tree
Hide file tree
Showing 13 changed files with 52 additions and 2 deletions.
51 changes: 51 additions & 0 deletions source/bpi-web/modules/basic.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# 使用方法

## 载入拓展积木

> 以此示例模板为例:[webduino-blockly-template](https://bpi.org.cn/webduino-blockly-template/)
进入 [ webduino blockly Bit ](https://bit.webduino.com.cn/blockly/?lang=zh-hans)

![](basic/0.png)

点击左下角的 菜单键(设置) 然后可以看到 使用自有积木。

![](basic/1.png)

在该框粘贴拓展 `https://bpi.org.cn/webduino-blockly-template/blockly.json` 地址并点击 汇入 即可。

![](basic/2.png)

汇入成功,再次点击 左下角的 × 返回主页吧。

![](basic/3.png)

此时你可以在主页的菜单们看到它们了。

![](basic/4.png)

## 载入使用范例

> 标准的积木示例中应该提供 blockly.xml 供他人参考和使用。
如果提供的示例积木,可以通过下载项目的 demos/blockly.xml 文件并导入。

![](basic/5.png)

选择文件后,点击汇入即可载入使用范例。

![](basic/6.png)

可以看到如下效果

![](basic/7.png)

可以点击右上角运行按钮,运行查看效果。

![](basic/8.png)

修改一下提问参数,再次运行得到新的结果。

![](basic/9.png)

如果想要自己制作和设计积木,可以参考[开发者文档](http://dev.bpi.org.cn)
2 changes: 0 additions & 2 deletions source/bpi-web/modules/basic.rst

This file was deleted.

Binary file added source/bpi-web/modules/basic/0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/bpi-web/modules/basic/1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/bpi-web/modules/basic/2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/bpi-web/modules/basic/3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/bpi-web/modules/basic/4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/bpi-web/modules/basic/5.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/bpi-web/modules/basic/6.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/bpi-web/modules/basic/7.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/bpi-web/modules/basic/8.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/bpi-web/modules/basic/9.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions source/bpi-web/modules/itpk_robot.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
茉莉机器人
========================================

0 comments on commit a539c65

Please sign in to comment.