{"id":641,"date":"2021-02-27T23:59:56","date_gmt":"2021-02-27T14:59:56","guid":{"rendered":"https:\/\/con3.com\/sc2scratch\/?p=641"},"modified":"2021-04-19T11:44:39","modified_gmt":"2021-04-19T02:44:39","slug":"scratch3-0-mod-%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83-2","status":"publish","type":"post","link":"https:\/\/con3.com\/sc2scratch\/?p=641","title":{"rendered":"Scratch3.0 mod \u958b\u767a\u74b0\u5883 (2)"},"content":{"rendered":"\n<p>Scratch3.0\u7528\u306e\u62e1\u5f35\u6a5f\u80fd\u3092\u958b\u767a\u3059\u308b\u305f\u3081\u306bScratch3.0 mod\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u300cGit\u300d\u300cNode\u300d\u300cYarn\u300d\u3068\u3044\u3046\u30c4\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001\u3044\u3088\u3044\u3088GitHub\u304b\u3089Scratch3.0\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30af\u30ed\u30fc\u30f3\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u5fc5\u305a\u3057\u3082\u958b\u304f\u5fc5\u8981\u306f\u306a\u3044\u3067\u3059\u304c\u3001GitHub\u30b5\u30a4\u30c8\u306e\u3082\u3068\u306e\u30da\u30fc\u30b8\u306f\u4ee5\u4e0b\u306eURL\u306b\u3042\u308a\u3001\u305d\u306e\u4e2d\u306e\u30ea\u30f3\u30af\u60c5\u5831\u3092\u4f7f\u3063\u3066\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/LLK\/scratch-vm\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/LLK\/scratch-vm<\/a><br><a href=\"https:\/\/github.com\/LLK\/scratch-gui\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/LLK\/scratch-gui<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"578\" src=\"https:\/\/con3.com\/sc2scratch\/wp-content\/uploads\/2021\/02\/image-1024x578.png\" alt=\"\" class=\"wp-image-642\" srcset=\"https:\/\/con3.com\/sc2scratch\/wp-content\/uploads\/2021\/02\/image-1024x578.png 1024w, https:\/\/con3.com\/sc2scratch\/wp-content\/uploads\/2021\/02\/image-300x169.png 300w, https:\/\/con3.com\/sc2scratch\/wp-content\/uploads\/2021\/02\/image-768x433.png 768w, https:\/\/con3.com\/sc2scratch\/wp-content\/uploads\/2021\/02\/image-1536x867.png 1536w, https:\/\/con3.com\/sc2scratch\/wp-content\/uploads\/2021\/02\/image.png 1542w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u8d77\u52d5\u3057\u3066\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u3010GitHub\u306eScratch3.0\u3092\u30af\u30ed\u30fc\u30f3\u3011<br>$ mkdir {\u4f55\u304b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d}<br>$ cd {\u4f55\u304b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d}<br>$ git clone --depth 1 https:\/\/github.com\/LLK\/scratch-vm.git<br>$ git clone --depth 1 https:\/\/github.com\/LLK\/scratch-gui.git<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">\u3010yarn\u3067\u69cb\u7bc9\u3011<br>$ cd scratch-vm<br>$ yarn install<br>$ yarn link<br><br>$ cd ..\/scratch-gui<br>$ yarn install<br>$ yarn link scratch-vm<\/pre>\n\n\n\n<p>\u3053\u3053\u307e\u3067\u554f\u984c\u306a\u304f\u5b8c\u4e86\u3059\u308c\u3070\u3001\u3042\u3068\u306fScratch3.0 mod\u74b0\u5883\u3092\u8d77\u52d5\u3057\u3066\u3001\u72ec\u81ea\u306e\u30a2\u30c9\u30ec\u30b9\u3092Web\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068Scratch3.0\u304c\u4f7f\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3082\u3057\u554f\u984c\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306f\u3001\u30a8\u30e9\u30fc\u539f\u56e0\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u5927\u4e8b\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u305f\u3068\u3048\u3070Node\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u90fd\u5408\u304c\u60aa\u3044\u5834\u5408\u306f\u5207\u308a\u66ff\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3057\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u66f4\u65b0\u3084Yarn\u7b49\u30c4\u30fc\u30eb\u306e\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5fc5\u8981\u306b\u306a\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>Scratch3.0 mod\u74b0\u5883\u3092\u8d77\u52d5\u3059\u308b\u306b\u306f\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ npm start<\/pre>\n\n\n\n<p>\u3057\u3070\u3089\u304f\u30b3\u30f3\u30d1\u30a4\u30eb\u306e\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u304c\u3001\u305d\u308c\u304c\u5b8c\u4e86\u3059\u308c\u3070\u3001Web\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u3010\u540c\u3058\u7aef\u672b\u4e0a\u306eWeb\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3011<br>http:\/\/localhost:8601\/<\/pre>\n\n\n\n<p>Raspberry Pi\u306a\u3069\u3092\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066\u4ed6\u306e\u7aef\u672b\u306eWeb\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5834\u5408\u306fRaspberry Pi\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u8abf\u3079\u3066\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u301010.55.0.1\u30a2\u30c9\u30ec\u30b9\u306eRaspberry Pi\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3011\nhttp:\/\/10.55.0.1:8601\/<\/pre>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>PaSoRich\u306e\u3088\u3046\u306b\u30c7\u30d0\u30a4\u30b9\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u7279\u6b8a\u306a\u3053\u3068\u3092\u3057\u3066\u3044\u308b\u62e1\u5f35\u6a5f\u80fd\u306e\u5834\u5408\u306f\u3001\u3053\u306e\u307e\u307e\u3067\u306f\u52d5\u4f5c\u3057\u307e\u305b\u3093\u3002https\u63a5\u7d9a\u3092\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>https\u63a5\u7d9a\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306b\u306f webpack-dev-server\u3068\u547c\u3070\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u8d77\u52d5\u3059\u308b\u969b\u306b\u300c&#8211;https\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u3010scratch-gui\u306epackage.json\u5185\u3092\u7de8\u96c6\u3011<br>\"start\": \"webpack-dev-server\",<br>\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u2193<br>\"start\": \"webpack-dev-server --https\",<\/pre>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u4ee5\u4e0a\u3067Scratch3.0 mod\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u3001\u8d77\u52d5\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>Raspberry Pi\u3092\u5c02\u7528\u30b5\u30fc\u30d0\u30fc\u3068\u3059\u308c\u3070\u3001\u958b\u767a\u74b0\u5883\u3092\u3042\u3061\u3053\u3061\u6301\u3061\u904b\u3076\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001<a href=\"https:\/\/code.visualstudio.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Visual Studio Code<\/a>\u3068\u3044\u3046\u958b\u767a\u7528\u30a8\u30c7\u30a3\u30bf\u3092\u5229\u7528\u3059\u308c\u3070\u3001Raspberry Pi\u74b0\u5883\u3092\u30ea\u30e2\u30fc\u30c8\u3067\u64cd\u4f5c\u30fb\u4f5c\u696d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scratch3.0\u7528\u306e\u62e1\u5f35\u6a5f\u80fd\u3092\u958b\u767a\u3059\u308b\u305f\u3081\u306bScratch3.0 mod\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002 \u300cGit\u300d\u300cNode\u300d\u300cYarn\u300d&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-641","post","type-post","status-publish","format-standard","hentry","category-7","clearfix"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/con3.com\/sc2scratch\/index.php?rest_route=\/wp\/v2\/posts\/641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/con3.com\/sc2scratch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/con3.com\/sc2scratch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/con3.com\/sc2scratch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/con3.com\/sc2scratch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=641"}],"version-history":[{"count":1,"href":"https:\/\/con3.com\/sc2scratch\/index.php?rest_route=\/wp\/v2\/posts\/641\/revisions"}],"predecessor-version":[{"id":643,"href":"https:\/\/con3.com\/sc2scratch\/index.php?rest_route=\/wp\/v2\/posts\/641\/revisions\/643"}],"wp:attachment":[{"href":"https:\/\/con3.com\/sc2scratch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/con3.com\/sc2scratch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/con3.com\/sc2scratch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}