{"id":5321,"date":"2026-04-26T17:02:55","date_gmt":"2026-04-26T08:02:55","guid":{"rendered":"https:\/\/blog2.dypg.jp\/wp\/?p=5321"},"modified":"2026-04-26T17:03:50","modified_gmt":"2026-04-26T08:03:50","slug":"5321","status":"publish","type":"post","link":"https:\/\/blog2.dypg.jp\/wp\/?p=5321","title":{"rendered":"Let\u2019s Learn to Code \u3010\u51fa\u5c4b\u6577\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u3011\uff12\uff10\uff12\uff16\u5e74\uff10\uff14\u6708\uff12\uff16\u65e5\u3010\u3064\u304b\u3057\u3093\u6388\u696d\u5831\u544a\u3011"},"content":{"rendered":"<p>\u5909\u6570\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u307b\u304b\u306e\u30b9\u30d7\u30e9\u30a4\u30c8\u9023\u643a\u3057\u3066\u52d5\u4f5c\u3092\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u5909\u6570\u304c\uff10\u306e\u6642\u306f\u3001\u30d0\u30c3\u30bf\u30fc\u304c\u7acb\u3063\u3066\u3044\u308b\u72b6\u614b\u3002\uff11\u306e\u6642\u306f\u30dc\u30fc\u30eb\u304c\u6253\u3061\u3042\u304c\u3063\u3066\u72b6\u614b\u3001\u3068\u3044\u3046\u611f\u3058\u3067<br \/>\n\u5909\u6570\u3092\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u3067\u3001\u5404\u30b9\u30d7\u30e9\u30a4\u30c8\u306e\u51e6\u7406\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u3067\u3059\u3002<br \/>\n\u5909\u6570\u3092\u305f\u304f\u3055\u3093\u4f5c\u308b\u3068\u8907\u96d1\u306b\u306a\u308b\u306e\u3067\u3001\u30eb\u30fc\u30eb\u306f\u4f5c\u3063\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u306d\u3002<\/p>\n<p>By using variables, you can coordinate the behavior of multiple sprites.<br \/>\nFor example, when the variable is set to 0, it represents a state in which the batter is standing. When it is set to 1., it indicates that the balll has been hit and is rising.<br \/>\nBy switching the value of the variable, you can change howeach sprite behaves.<br \/>\nHowever,using too many variables can make the system complex, so it is important to establish clear rules for managing them.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u6b21\u56de<\/p>\n<p><a href=\"https:\/\/www.dypg.jp\/\">\u51fa\u5c4b\u6577\u6559\u5ba4\u3000\uff10\uff15<\/a><a href=\"https:\/\/www.dypg.jp\/\">\u6708\uff10\uff19<\/a><a href=\"https:\/\/www.dypg.jp\/\">\u65e5<\/a><\/p>\n<p><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukasin\/4687348\/\">\u3064\u304b\u3057\u3093\u6559\u5ba4\u3000\uff10\uff15\u6708\uff12\uff14\u65e5<\/a><\/p>\n<p><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukaguti\/1976224\/\">\u585a\u53e3\u3055\u3093\u3055\u3093\u30bf\u30a6\u30f3\u6559\u5ba4\u3000\uff10\uff15<\/a><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukaguti\/1976224\/\">\u6708\uff13\uff11<\/a><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukaguti\/1976224\/\">\u65e5<\/a><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/04\/IMG_8525.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5322\" src=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/04\/IMG_8525.jpg\" alt=\"Let\u2019s Learn to Code \u3010\u51fa\u5c4b\u6577\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u3011\uff12\uff10\uff12\uff16\u5e74\uff10\uff14\u6708\uff12\uff16\u65e5\u3010\u3064\u304b\u3057\u3093\u6388\u696d\u5831\u544a\u3011\" width=\"400\" height=\"300\" srcset=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/04\/IMG_8525.jpg 400w, https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/04\/IMG_8525-300x225.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n ","protected":false},"excerpt":{"rendered":"<p>\u5909\u6570\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u307b\u304b\u306e\u30b9\u30d7\u30e9\u30a4\u30c8\u9023<\/p>\n","protected":false},"author":1,"featured_media":5322,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,3,68,67,16,69],"tags":[],"class_list":["post-5321","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-73","category-3","category-68","category-67","category-16","category-69"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5321"}],"version-history":[{"count":2,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5321\/revisions"}],"predecessor-version":[{"id":5324,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5321\/revisions\/5324"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/media\/5322"}],"wp:attachment":[{"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}