{"id":5157,"date":"2026-01-18T17:11:57","date_gmt":"2026-01-18T08:11:57","guid":{"rendered":"https:\/\/blog2.dypg.jp\/wp\/?p=5157"},"modified":"2026-01-18T17:11:57","modified_gmt":"2026-01-18T08:11:57","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-2","status":"publish","type":"post","link":"https:\/\/blog2.dypg.jp\/wp\/?p=5157","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\uff11\u6708\uff11\uff18\u65e5\u3010\u585a\u53e3\u3055\u3093\u3055\u3093\u30c0\u30a6\u30f3\u6559\u5ba4\u6388\u696d\u5831\u544a\u3011"},"content":{"rendered":"<p>\u5f53\u305f\u308a\u5224\u5b9a\u3092\u53d6\u308b\u3068\u304d\u306f\u3001\u51e6\u7406\u306e\u9806\u756a\u304c\u5927\u4e8b\u3002<br \/>\n\u5f53\u305f\u3063\u305f\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3057\u3066\u304b\u3089\u3001\u3069\u306e\u65b9\u5411\u304b\u3089\u5f53\u305f\u3063\u305f\u304b\u3092\u898b\u308b\u3068<br \/>\n\u304d\u308c\u3044\u306b\u51e6\u7406\u304c\u3064\u306a\u304c\u308a\u307e\u3059\u3002<\/p>\n<p>\u5f53\u305f\u308a\u5224\u5b9a\u304c\u3046\u307e\u304f\u884c\u304b\u306a\u3044\u5834\u5408\u306f\u51e6\u7406\u306e\u9806\u756a\u306b\u6c17\u3092\u3064\u3051\u308b\u3068\u3044\u3044\u304b\u3082\u3057\u308c\u306a\u3044\u3067\u3059\u306d\u3002<\/p>\n<p>When handling collision detection, the order of processing is important.<br \/>\nFirst, check whether a collision has occurred, and then determine the direction of the collision.<br \/>\nThis order helps keep the logic clean and easy to manage.<\/p>\n<p>If collision detection is not working well, it may be a good idea to review the processing order.<\/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\uff11<\/a><a href=\"https:\/\/www.dypg.jp\/\">\u6708\uff12\uff14<\/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\uff11\u6708\uff12\uff15\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\uff12<\/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>&nbsp;<\/p>\n<p><a href=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7748.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5158\" src=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7748.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\uff11\u6708\uff11\uff18\u65e5\u3010\u585a\u53e3\u3055\u3093\u3055\u3093\u30c0\u30a6\u30f3\u6559\u5ba4\u6388\u696d\u5831\u544a\u3011\" width=\"400\" height=\"300\" srcset=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7748.jpg 400w, https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7748-300x225.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a> <a href=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7749.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5159\" src=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7749.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\uff11\u6708\uff11\uff18\u65e5\u3010\u585a\u53e3\u3055\u3093\u3055\u3093\u30c0\u30a6\u30f3\u6559\u5ba4\u6388\u696d\u5831\u544a\u3011\" width=\"400\" height=\"300\" srcset=\"https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7749.jpg 400w, https:\/\/blog2.dypg.jp\/wp\/wp-content\/uploads\/2026\/01\/IMG_7749-300x225.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n ","protected":false},"excerpt":{"rendered":"<p>\u5f53\u305f\u308a\u5224\u5b9a\u3092\u53d6\u308b\u3068\u304d\u306f\u3001\u51e6\u7406\u306e\u9806\u756a\u304c<\/p>\n","protected":false},"author":1,"featured_media":5159,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[72,3,67,16,69],"tags":[],"class_list":["post-5157","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-72","category-3","category-67","category-16","category-69"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5157","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=5157"}],"version-history":[{"count":1,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5157\/revisions"}],"predecessor-version":[{"id":5160,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/5157\/revisions\/5160"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=\/wp\/v2\/media\/5159"}],"wp:attachment":[{"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog2.dypg.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}