{"id":5206,"date":"2026-02-14T22:39:37","date_gmt":"2026-02-14T13:39:37","guid":{"rendered":"https:\/\/blog2.dypg.jp\/wp\/?p=5206"},"modified":"2026-02-14T22:39:37","modified_gmt":"2026-02-14T13:39:37","slug":"lets-learn-to-code-%e3%80%90%e5%87%ba%e5%b1%8b%e6%95%b7%e3%83%97%e3%83%ad%e3%82%b0%e3%83%a9%e3%83%9f%e3%83%b3%e3%82%b0%e6%95%99%e5%ae%a4%e3%80%91%ef%bc%92%ef%bc%90%ef%bc%92%ef%bc%96%e5%b9%b4-7","status":"publish","type":"post","link":"https:\/\/blog2.dypg.jp\/wp\/?p=5206","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\uff12\u6708\uff11\uff14\u65e5\u3010\u51fa\u5c4b\u6577\u6559\u5ba4\u6388\u696d\u5831\u544a\u3011"},"content":{"rendered":"<p>\u6c38\u9060\u306b\u5730\u9762\u3092\u6398\u308a\u7d9a\u3051\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306f\u3001<br \/>\n\u5730\u9762\u3092\u3069\u3093\u3069\u3093\u751f\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u306d\u3002<\/p>\n<p>\u6b21\u306e\u5730\u9762\u3092\u751f\u6210\u3059\u308b\u30bf\u30a4\u30df\u30f3\u30b0\u306f\u3001Y\u5ea7\u6a19\u3067\u3069\u308c\u3060\u3051\u9699\u9593\u304c\u7a7a\u3044\u305f\u304b\uff1f<br \/>\n\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u304b\u3089\u3001\u751f\u6210\u3059\u308b\u3053\u3068\u3067\u5730\u9762\u304c\u9014\u5207\u308c\u305a\u306b\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>To allow the player to dig endlessly, we needed to generate the ground continuously.<br \/>\nThe timing for generating the next ground segment is determinend by checking the gap in the Y-coordinate.<br \/>\nWhen the gap reaches a certain threshold, a new ground segment is generated.<br \/>\nBy doing this, the ground is generated seamlessly without any interruption.<\/p>\n<p>&nbsp;<\/p>\n<p>\u6b21\u56de<\/p>\n<p><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukasin\/4687348\/\">\u3064\u304b\u3057\u3093\u6559\u5ba4\u3000\uff10\uff12\u6708\uff12\uff12\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\uff13<\/a><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukaguti\/1976224\/\">\u6708\uff10\uff11<\/a><a href=\"https:\/\/www.culture.gr.jp\/detail\/tukaguti\/1976224\/\">\u65e5<\/a><\/p>\n<p><a href=\"https:\/\/www.dypg.jp\/\">\u51fa\u5c4b\u6577\u6559\u5ba4\u3000\uff10<\/a>\uff13<a href=\"https:\/\/www.dypg.jp\/\">\u6708\uff10\uff17<\/a><a href=\"https:\/\/www.dypg.jp\/\">\u65e5<\/a><\/p>\n<p><a href=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/02\/IMG_7877.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-5207\" src=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/02\/IMG_7877.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\uff12\u6708\uff11\uff14\u65e5\u3010\u51fa\u5c4b\u6577\u6559\u5ba4\u6388\u696d\u5831\u544a\u3011\" width=\"400\" height=\"300\" srcset=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/02\/IMG_7877.jpg 400w, https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/02\/IMG_7877-300x225.jpg 300w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a> <a href=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/02\/IMG_7880.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-5208\" src=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/02\/IMG_7880.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\uff12\u6708\uff11\uff14\u65e5\u3010\u51fa\u5c4b\u6577\u6559\u5ba4\u6388\u696d\u5831\u544a\u3011\" width=\"400\" height=\"300\" srcset=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/02\/IMG_7880.jpg 400w, https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/02\/IMG_7880-300x225.jpg 300w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a> <a href=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/02\/IMG_7884.jpg\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-5209\" src=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/02\/IMG_7884.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\uff12\u6708\uff11\uff14\u65e5\u3010\u51fa\u5c4b\u6577\u6559\u5ba4\u6388\u696d\u5831\u544a\u3011\" width=\"400\" height=\"300\" srcset=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/02\/IMG_7884.jpg 400w, https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/02\/IMG_7884-300x225.jpg 300w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n ","protected":false},"excerpt":{"rendered":"<p>\u6c38\u9060\u306b\u5730\u9762\u3092\u6398\u308a\u7d9a\u3051\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306f<\/p>\n","protected":false},"author":1,"featured_media":5207,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,70,67,16,69],"tags":[],"_links":{"self":[{"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5206"}],"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=5206"}],"version-history":[{"count":1,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5206\/revisions"}],"predecessor-version":[{"id":5210,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5206\/revisions\/5210"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/media\/5207"}],"wp:attachment":[{"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}