{"id":11366,"date":"2022-12-24T20:47:38","date_gmt":"2022-12-24T11:47:38","guid":{"rendered":"https:\/\/www.webcyou.com\/?p=11366"},"modified":"2022-12-24T20:47:41","modified_gmt":"2022-12-24T11:47:41","slug":"2022-viva-js-world-cup-%e9%96%8b%e5%b9%95-%e3%80%9c-vue3%e3%81%a7%e4%bd%9c%e3%82%8b%e3%82%b5%e3%83%83%e3%82%ab%e3%83%bc%e3%82%b2%e3%83%bc%e3%83%a0-%e3%80%9c","status":"publish","type":"post","link":"https:\/\/www.webcyou.com\/?p=11366","title":{"rendered":"2022 VIVA JS World Cup \u958b\u5e55!! \u301c Vue3\u3067\u4f5c\u308b\u30b5\u30c3\u30ab\u30fc\u30b2\u30fc\u30e0 \u301c"},"content":{"rendered":"\n<p><script async=\"\" src=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/mathjax\/2.7.5\/MathJax.js?config=TeX-AMS_CHTML\"><\/script><\/p>\n<p><br \/>\u672c\u8a18\u4e8b\u306f<a href=\"https:\/\/qiita.com\/advent-calendar\/2022\/cocone\" target=\"_blank\" rel=\"noopener\">Cocone Advent Calendar 2022<\/a>\u306e24\u65e5\u76ee\u306e\u8a18\u4e8b\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h4>\u3053\u3093\u306b\u3061\u306f<\/h4>\n<p>\u30e1\u30ea\u30fc\u30af\u30ea\u30b9\u30de\u30b9!!<\/p>\n<p>\u3044\u3084\u3041\u3001\u3057\u304b\u3057\u5148\u9031\u306e\u65e5\u66dc\u65e5\u306f\u3001 M1\u30b0\u30e9\u30f3\u30d7\u30ea\u3084\u30ef\u30fc\u30eb\u30c9\u30ab\u30c3\u30d7\u3084\u3089\u3067\u4f55\u304b\u3068\u5fd9\u3057\u304b\u3063\u305f\u3067\u3059\u306d\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u8272\u3005\u611f\u52d5\u3057\u307e\u3057\u305f\u306d\u3002\u7279\u306b\u30ef\u30fc\u30eb\u30c9\u30ab\u30c3\u30d7\u306e\u6c7a\u52dd\u306f\u3059\u3093\u3054\u3044\u8a66\u5408\u3067\u3057\u305f\u306d\u3002<\/p>\n<p>\u6b74\u53f2\u7684\u306a\u8a66\u5408\u3067\u3059\u306d\u3002\u3042\u308c\u306f\u3002<\/p>\n<p>\u65e5\u672c\u6226\u3082\u51c4\u304b\u3063\u305f\u3067\u3059\u306d\u3041\u3002\u524d\u8a55\u5224\u306f\u826f\u304f\u306a\u304b\u3063\u305f\u65e5\u672c\u3067\u3059\u304c\u3001\u3044\u3056\u672c\u756a\u306b\u306a\u308b\u3068\u3044\u304f\u3064\u3082\u306e\u5947\u8de1\u3068\u3001\u3044\u304f\u3064\u3082\u611f\u52d5\u3068\u52c7\u6c17\u3092\u4e0e\u3048\u3066\u9802\u3044\u305f\u3068\u601d\u3044\u307e\u3059\u3002\u3068\u306b\u304b\u304f\u3001\u3042\u306e\u9811\u5f35\u308a\u59ff\u306b\u3068\u306b\u304b\u304f\u611f\u52d5\u3057\u307e\u3057\u305f\u306d\u3002\u3044\u3084\u3041\u3001\u826f\u304b\u3063\u305f\u3002<\/p>\n<p>\u4f55\u672c\u3082\u30b7\u30e5\u30fc\u30c8\u306f\u6253\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u3084\u3063\u3071\u305d\u3046\u7c21\u5358\u306b\u306f\u70b9\u304c\u5165\u3089\u306a\u3044\u306e\u304c\u30ef\u30fc\u30eb\u30c9\u30ab\u30c3\u30d7\u3002<\/p>\n<p>\u3067\u3082\u3001\u7686\u3055\u3093\u601d\u3044\u307e\u305b\u3093\u3067\u3057\u305f\uff1f<\/p>\n<p><strong>\u300c\u4eca\u306e\u30b7\u30e5\u30fc\u30c8\u3001\u30ad\u30fc\u30d1\u30fc\u304c\u3044\u306a\u304b\u3063\u305f\u3089\u70b9\u5165\u3063\u3066\u3044\u305f\u3088\u306a\u3041\u3002\u300d<\/strong><\/p>\n<p>\u3068\u3002<\/p>\n<p>\u305d\u3046\u3001\u30ad\u30fc\u30d1\u30fc\u304c\u3044\u306a\u304b\u3063\u305f\u3089\u4f55\u70b9\u306b\u306a\u3063\u3066\u3044\u305f\u304b\u5206\u304b\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u305d\u3053\u3067\u958b\u5e55\u3057\u307e\u3059\uff01\uff01\uff01<\/p>\n<h4>2022 VIVA JS World Cup \u958b\u5e55!!<\/h4>\n<p><a href=\"https:\/\/webcyou-org.github.io\/2022-VIVA-JS-WorldCup\/\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-11369\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/ss-1024x708.png\" alt=\"\" width=\"1024\" height=\"708\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/ss-1024x708.png 1024w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/ss-300x207.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/ss-768x531.png 768w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/ss-1536x1062.png 1536w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/ss.png 1750w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><br \/><strong>\u2193\u2193\u2193 \u3053\u3061\u3089\u306e\u30da\u30fc\u30b8\u3088\u308a\u30d7\u30ec\u30a4\u3067\u304d\u307e\u3059\u3002 \u2193\u2193\u2193<\/strong><\/p>\n<p><a href=\"https:\/\/webcyou-org.github.io\/2022-VIVA-JS-WorldCup\/\" target=\"_blank\" rel=\"noopener\">Let&#8217;s PLAY &#x25b6;&#x25b6;&#x25b6; 2022 VIVA JS World Cup<\/a><\/p>\n<p><strong>\u2191\u2191\u2191 \u3053\u3061\u3089\u306e\u30da\u30fc\u30b8\u3088\u308a\u30d7\u30ec\u30a4\u3067\u304d\u307e\u3059\u3002 \u2191\u2191\u2191<\/strong><\/p>\n<h5>\u00a0<\/h5>\n<h5>GitHub<\/h5>\n<p>\u30bd\u30fc\u30b9\u306f\u3053\u3061\u3089<br \/><a href=\"https:\/\/github.com\/webcyou-org\/2022-VIVA-JS-WorldCup\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/webcyou-org\/2022-VIVA-JS-WorldCup<\/a><\/p>\n<h2>\u00a0<\/h2>\n<h4>\u904a\u3073\u65b9<\/h4>\n<p>\u3055\u3041\u3001\u30ad\u30fc\u30d1\u30fc\u306e\u3044\u306a\u3044\u30d5\u30a3\u30fc\u30eb\u30c9\u3067\u30b7\u30e5\u30fc\u30c8\u306e\u7df4\u7fd2\u3057\u653e\u984c\u3060\uff01<\/p>\n<p>\u6b21\u56de\u30012026\u5e74\u306e\u30ef\u30fc\u30eb\u30c9\u30ab\u30c3\u30d7\u76ee\u6307\u3057\u3066\u3072\u305f\u3059\u3089\u7df4\u7fd2\u3060\uff01<\/p>\n<p>\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u5341\u5b57\u30ab\u30fc\u30bd\u30eb\u3067\u9078\u624b\u3092\u79fb\u52d5\u3002 x\u30ad\u30fc\u3067\u30b7\u30e5\u30fc\u30c8\u30d1\u30ef\u30fc\u3092\u8caf\u3081\u601d\u3044\u3063\u304d\u308a\u30b7\u30e5\u30fc\u30c8\uff01<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\u2191 : ArrowUp or KeyW\n\u2192 : ArrowRight or KeyD\n\u2193 : ArrowDown or KeyS\n\u2190 : ArrowLeft or KeyA\nshoot : KeyX<\/pre>\n<h4>\u4f5c\u308a\u65b9<\/h4>\n<p>\u4eca\u56de\u306f\u30b2\u30fc\u30e0\u30a8\u30f3\u30b8\u30f3\u306a\u3069\u4f7f\u7528\u305b\u305a\u3001\u8a00\u8a9e\u306fTypeScript\u3001\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u3057\u3066Vue3\u3092\u4f7f\u7528\u3057\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>vue 3.2.45<\/li>\n<li>typescript 4.7.4<\/li>\n<\/ul>\n<p>\u30b2\u30fc\u30e0\u4f5c\u6210\u306b\u6163\u308c\u3066\u3044\u308b\u65b9\u306f\u3001\u771f\u65b0\u3057\u3044\u60c5\u5831\u306f\u4e4f\u3057\u3044\u304b\u3082\u3067\u3059\u304c\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u6280\u8853\u3092\u7528\u3044\u3066\u65b0\u898f\u3067\u30b2\u30fc\u30e0\u4f5c\u6210\u3057\u305f\u3044\u3068\u601d\u3063\u3066\u3044\u308b\u65b9\u306f\u53c2\u8003\u306b\u306a\u308b\u5185\u5bb9\u304b\u3082\u3057\u308c\u306a\u306e\u3067\u3001\u3088\u308d\u3057\u3051\u308c\u3070\u3054\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h5>\u30b2\u30fc\u30e0\u30eb\u30fc\u30d7<\/h5>\n<p>\u4f55\u306f\u3068\u3082\u3042\u308c\u3001\u30b2\u30fc\u30e0\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u30b2\u30fc\u30e0\u30eb\u30fc\u30d7\u304c\u5fc5\u8981\u3067\u3042\u308b\u3002<br \/>\u304a\u91d1\u306e\u4f7f\u3044\u65b9\u3068\u3057\u3066\u3001\u6d88\u8cbb\u3001\u6295\u8cc7\u3001\u6d6a\u8cbb\u304c\u3042\u308b\u3088\u3046\u306b\u3001\u30b2\u30fc\u30e0\u30eb\u30fc\u30d7\u30823\u3064\u306e\u57fa\u672c\u306e\u8981\u7d20\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u300cInput\u300d<\/li>\n<li>\u300cUpdate\u300d<\/li>\n<li>\u300cdraw\u300d<\/li>\n<\/ul>\n<p>\u3053\u306e\u4e09\u539f\u5247\u3067\u3042\u308b\u3002<br \/>\u3044\u3064\u306e\u65e5\u3060\u3063\u3066\u3053\u308c\u304c\u57fa\u672c\u3067\u3042\u308b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">const gameInterval = setInterval(gameLoop, 1000 \/ fps);\nconst gameLoop = () =&gt; {\n    \/\/ input();\n    update();\n    draw();\n};<\/pre>\n\n<h5>\u30d7\u30ec\u30a4\u30e4\u30fc<\/h5>\n<p>\u9078\u624b\u9054\u306f\u3001Player class\u3068\u3057\u3066\u4f5c\u6210\u3057\u307e\u3059\u3002\u4e3b\u306aProps\uff08interface\uff09\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">interface PlayerProps {\n    x: number;\n    y: number;\n    width: number;\n    height: number;\n    speed: number;\n}<\/pre>\n\n<p>x, y\u5ea7\u6a19\u3068\u5171\u306b\u3001width\u3001height\u3068\u3001\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u81ea\u8eab\u306e\u30b5\u30a4\u30ba\u3082\u4fdd\u6301\u3057\u307e\u3059\u3002\u305d\u306e\u4ed6\u306b\u3001\u8d70\u308b\u30b9\u30d4\u30fc\u30c9\u3082\u521d\u671f\u306e\u6bb5\u968e\u3067\u8a2d\u5b9a\u53ef\u80fd\u3068\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<h5>\u30c9\u30c3\u30c8\u7d75\u4f5c\u6210<\/h5>\n<p>\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u306e\u30d3\u30b8\u30e5\u30a2\u30eb\u306f<strong>\u30c9\u30c3\u30c8\u7d75\uff08\u30d4\u30af\u30bb\u30eb\u30a2\u30fc\u30c8\uff09<\/strong>\u3067\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<br \/>\u4f55\u3088\u308a\u3001\u3053\u3061\u3089\u306e\u4f5c\u6210\u304c\u697d\u3057\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u6642\u9593\u639b\u304b\u308a\u307e\u304f\u3063\u305f\u5272\u306b\u306f\u3001\u6700\u7d42\u7684\u306a\u4ed5\u4e0a\u308a\u306e\u51fa\u6765\u306f\u3072\u3069\u3044\u3082\u306e\u3068\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff08\u7b11\uff09<br \/>\u3064\u304f\u3065\u304f\u3001\u4f5c\u6210\u306e\u7df4\u7fd2\u306e\u6642\u9593\u304c\u6b32\u3057\u3044\u3068\u611f\u3058\u308b\u4eca\u65e5\u3053\u306e\u9803\u3067\u3059\u3002<\/p>\n<p>\u30c9\u30c3\u30c8\u7d75\uff08\u30d4\u30af\u30bb\u30eb\u30a2\u30fc\u30c8\uff09\u3092\u4f5c\u6210\u3057\u305f\u30a2\u30d7\u30ea\u306f\u3001\u4ee5\u4e0b\u306e\u901a\u308a\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u00a0<\/p>\n<p><a href=\"https:\/\/apps.apple.com\/jp\/app\/pixel-studio-for-pixel-art\/id1404203859\" target=\"_blank\" rel=\"noopener\">Pixel Studio for pixel art<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-11370\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/app.png\" alt=\"\" width=\"177\" height=\"177\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/app.png 460w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/app-300x300.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/app-150x150.png 150w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/app-120x120.png 120w\" sizes=\"auto, (max-width: 177px) 100vw, 177px\" \/><\/p>\n<p>\u3053\u3061\u3089\u3001\u7121\u6599\u4e14\u3064\u3001iPad\u5bfe\u5fdc\u30a2\u30d7\u30ea\u306a\u306e\u3067 Apple Pencil\u3067\u66f8\u304d\u66f8\u304d\u304c\u53ef\u80fd\u3067\u3001\u30c9\u30c3\u30c8\u7d75\uff08\u30d4\u30af\u30bb\u30eb\u30a2\u30fc\u30c8\uff09\u3092\u30b5\u30af\u30c3\u3068\u4f5c\u6210\u3059\u308b\u306b\u306f\u3082\u3063\u3066\u3053\u3044\u306e\u30a2\u30d7\u30ea\u3060\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\u3053\u3061\u3089\u306e\u30a2\u30d7\u30ea\u3067\u30c9\u30c3\u30c8\u7d75\u306e\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3057\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306a\u3069\u4ed5\u4e0a\u3052\u306e\u70ba\u3001<strong>aseprite<\/strong>\u00a0\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.aseprite.org\/\" target=\"_blank\" rel=\"noopener\">aseprite<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-11371\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/aseprite-1024x412.png\" alt=\"\" width=\"1024\" height=\"412\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/aseprite-1024x412.png 1024w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/aseprite-300x121.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/aseprite-768x309.png 768w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/aseprite-1536x617.png 1536w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/aseprite.png 1936w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><br \/>\u3053\u3061\u3089\u3082\u30c9\u30c3\u30c8\u7d75\u4f5c\u6210\u30a2\u30d7\u30ea\u3068\u3057\u3066\u6709\u540d\u306a\u30a2\u30d7\u30ea\u3068\u306a\u3063\u3066\u304a\u308a\u3001\u75d2\u3044\u3068\u3053\u308d\u307e\u3067\u624b\u304c\u5c4a\u304f\u8272\u3093\u306a\u4e8b\u304c\u884c\u3048\u308b\u30a2\u30d7\u30ea\u3068\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u3002<br \/>Windows\u3001Mac\u3001Ubuntu\u3068\u69d8\u3005\u306aOS\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p>\u6b8b\u5ff5\u306a\u304c\u3089\u7121\u6599\u3067\u306f\u306a\u304f\u3001 <strong>$19.99 USD<\/strong> \u3068\u304a\u91d1\u304c\u304b\u304b\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u304c\u3001\u7121\u6599\u3067\u4f7f\u3048\u308b<a href=\"https:\/\/www.aseprite.org\/trial\/\" target=\"_blank\" rel=\"noopener\">trial<\/a>\u30d0\u30fc\u30b8\u30e7\u30f3\u3082\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u307e\u305a\u306f\u7121\u6599\u3067trial\u3092\u4f7f\u7528\u3057\u3001\u6c17\u306b\u5165\u3063\u305f\u3089\u8cfc\u5165\u3057\u3066\u3082\u826f\u3044\u304b\u3082\u3067\u3059\u306d\u3002<\/p>\n\n<p><strong>\u30c9\u30c3\u30c8\u7d75\u4f5c\u6210\u306e\u30d0\u30a4\u30d6\u30eb\u7684\u306a\u66f8\u7c4d<\/strong><\/p>\n<p>\u305d\u306e\u4ed6\u306b\u3001\u30c9\u30c3\u30c8\u7d75\u4f5c\u6210\u306e\u30d0\u30a4\u30d6\u30eb\u7684\u306a\u66f8\u7c4d\u3068\u3057\u3066\u3001\u300c<a href=\"https:\/\/pixellogicbook.com\/\" target=\"_blank\" rel=\"noopener\">Pixel Logic<\/a>\u300d\u3068\u3044\u3046\u66f8\u7c4d\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/pixellogicbook.com\/\" target=\"_blank\" rel=\"noopener\">Pixel Logic<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-11372\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/pixel_logic-1024x193.png\" alt=\"\" width=\"702\" height=\"132\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/pixel_logic-1024x193.png 1024w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/pixel_logic-300x57.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/pixel_logic-768x145.png 768w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/pixel_logic.png 1432w\" sizes=\"auto, (max-width: 702px) 100vw, 702px\" \/><\/p>\n<p>\u3053\u3061\u3089\u3001\u65e5\u672c\u8a9e\u7248\u306f\u306a\u304f\u82f1\u8a9e\u7248\u306e\u307f\u3068\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u304c\u3001\u305d\u3053\u307e\u3067\u82f1\u8a9e\u306e\u6587\u7ae0\u3082\u591a\u304f\u306a\u304f\u3001\u7d75\u304c\u591a\u304f\u5185\u5bb9\u3082\u6587\u5b57\u3092\u8aad\u307e\u306a\u304f\u3066\u3082\u7406\u89e3\u3057\u3084\u3059\u3044\u5185\u5bb9\u3068\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u3002\u30c9\u30c3\u30c8\u7d75\u306b\u95a2\u3057\u3066\u306f\u3053\u306e\u4e00\u518a\u3067\u307b\u307c\u7db2\u7f85\u3055\u308c\u3066\u3044\u308b\u611f\u3058\u306f\u3042\u308a\u307e\u3059\u3002 <strong>\u5024\u6bb5\u30829$ USD\u3068\u8cfc\u5165\u3057\u3084\u3059\u3044\u4fa1\u683c\u5e2f<\/strong>\u00a0\u306a\u306e\u3067\u6c17\u306b\u306a\u3063\u305f\u65b9\u306f\u8cfc\u5165\u3057\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<br \/>\u30d1\u30e9\u30d1\u30e9\u3068\u898b\u3066\u3044\u308b\u3060\u3051\u3067\u3082\u697d\u3057\u3044\u5185\u5bb9\u3068\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n\n<h5>\u30d7\u30ec\u30a4\u30e4\u30fc\u306e\u30b9\u30c6\u30fc\u30c8<\/h5>\n<p>\u305d\u308c\u3067\u306f\u3001\u30d7\u30ec\u30a4\u30e4\u30fc\u3092\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<br \/>\u307e\u305a\u3001\u30b2\u30fc\u30e0\u4e0a\u306e\u30d7\u30ec\u30a4\u30e4\u30fc\u306e\u30b9\u30c6\u30fc\u30c8\u3092\u8003\u3048\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30df\u30b3\u30f3\u306a\u3069\u306e\u30b5\u30c3\u30ab\u30fc\u30b2\u30fc\u30e0\u3067\u306f\u3001\uff08\u4eca\u3082\u304b\u306a\uff09\u57fa\u672c\u7684\u306b\u306f\u3001 <strong>\u30d7\u30ec\u30a4\u30e4\u30fc\u79fb\u52d5 \u2192 \u30dc\u30fc\u30eb\u306e\u5f53\u305f\u308a\u5224\u5b9a \u2192 \u30c9\u30ea\u30d6\u30eb\u30e2\u30fc\u30c9 \u2192 \u30b7\u30e5\u30fc\u30c8\u3002<\/strong> \u3068\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u3061\u3089\u306e\u5f62\u3092\u53c2\u8003\u306b\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-11373\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/player-1024x401.png\" alt=\"\" width=\"692\" height=\"271\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/player-1024x401.png 1024w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/player-300x117.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/player-768x300.png 768w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/player-1536x601.png 1536w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/player.png 1994w\" sizes=\"auto, (max-width: 692px) 100vw, 692px\" \/><br \/>\u4e3b\u306a\u51e6\u7406\u3068\u3057\u3066\u4ee5\u4e0b\u306e\u95a2\u6570\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n<p>\u30b2\u30fc\u30e0\u30eb\u30fc\u30d7\u3067\u3001mainProcess\u3092\u5b9f\u884c\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">mainProcess() {<\/pre>\n\n<p>\u79fb\u52d5\u306e\u969b\u306f\u3001moveProcess()\u304c\u5b9f\u884c\u3055\u308c\u308b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">moveProcess() {<\/pre>\n<p>\u30dc\u30fc\u30eb\u3092\u30ad\u30fc\u30d7\u3057\u3001\u30c9\u30ea\u30d6\u30eb\u30e2\u30fc\u30c9\u306e\u969b\u306f\u3001keepProcess()\u304c\u5b9f\u884c\u3055\u308c\u308b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">keepProcess() {<\/pre>\n<p>\u30b7\u30e5\u30fc\u30c8\u3067\u3001\u518d\u3073\u30d7\u30ec\u30a4\u30e4\u30fc\u79fb\u52d5\u30e2\u30fc\u30c9<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">shoot() {<\/pre>\n<p>\u3068\u8a00\u3063\u305f\u3068\u3053\u308d\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n<h5>\u30ad\u30fc\u30dc\u30fc\u30c9\u64cd\u4f5c<\/h5>\n<p>\u30ad\u30fc\u30dc\u30fc\u30c9\u3067\u64cd\u4f5c\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u306e\u30a4\u30d9\u30f3\u30c8\u30cf\u30f3\u30c9\u30e9\u30fc <strong>\u300ckeydown\u300d\u3068\u300ckeyup\u300d<\/strong>\u00a0\u3092bind\u3057\u3001\u53d6\u5f97\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\u6b8b\u5ff5\u306a\u304c\u3089\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u30a4\u30d9\u30f3\u30c8\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u3067\u53d6\u5f97\u3067\u304d\u308b\u30ad\u30fc\u60c5\u5831\u306f\u5358\u4f53\u3068\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u8907\u6570\u5165\u529b\u3055\u308c\u3066\u3082\u305d\u306e\u3059\u3079\u3066\u306e\u60c5\u5831\u306f\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\u3064\u307e\u308a\u3001 <strong>\u53f3\u4e0a\u79fb\u52d5\u306e\u969b\u306b\u300c\u53f3\u300d\u3068\u300c\u4e0a\u300d\u306e\u30ad\u30fc\u3092\u62bc\u3055\u308c\u3066\u3082\u3001\u6700\u5f8c\u306b\u62bc\u3055\u308c\u305f\u300c\u4e0a\u300d\u306e\u30ad\u30fc\u3057\u304b\u53d6\u5f97\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u62bc\u3055\u308c\u3066\u3044\u308b\u30ad\u30fc\u306e\u72b6\u614b\u3092\u4fdd\u5b58\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/strong><\/p>\n<h6>\u00a0<\/h6>\n<h6>\u30d3\u30c3\u30c8\u30de\u30b9\u30af\u306b\u3088\u308b\u72b6\u614b\u7ba1\u7406<\/h6>\n<p>\u305d\u3093\u306a\u30ad\u30fc\u64cd\u4f5c\u306e\u72b6\u614b\u7ba1\u7406\u306b\u9069\u3057\u3066\u3044\u308b\u306e\u304c\u30d3\u30c3\u30c8\u30de\u30b9\u30af\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>enum Direction\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u305d\u308c\u305e\u308c\u306e\u65b9\u5411\u306b\u30d8\u30ad\u30b5\u30ea\u30c6\u30e9\u30eb\uff0816\u9032\u6570\u8868\u8a18\uff09\u30d3\u30c3\u30c8\u5272\u5f53\u3092\u884c\u3044\u307e\u3059\u3002\uff08\u3053\u3053\u306f\u597d\u307f\u304b\u306a\uff09<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">export enum Direction {\n    NONE = 0,\n    UP = 0x0001,\n    UP_RIGHT = 0x0003,\n    RIGHT = 0x0002,\n    BOTTOM_RIGHT = 0x0006,\n    BOTTOM = 0x0004,\n    BOTTOM_LEFT = 0x000c,\n    LEFT = 0x0008,\n    UP_LEFT = 0x0009,\n}<\/pre>\n    \n<p>\u62bc\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u3092state\u306edirection\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">direction: 0x0000,<\/pre>\n\n<p><strong>\u3010\u62bc\u3055\u308c\u3066\u3044\u308b\u30ad\u30fc\u3092\u8ffd\u52a0\u3011<\/strong><\/p>\n<p>\u62bc\u3055\u308c\u3066\u3044\u308b\u30ad\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306b\u3001<strong>\u30d5\u30e9\u30b0\u3092\u7acb\u3066\u308b\u6642\u306f\u3001\u300c|\u300d\u8ad6\u7406\u548cOR<\/strong>\u3092\u7528\u3044\u3066\u30d5\u30e9\u30b0\u3092true\u306b\u3057\u307e\u3059\u3002<\/p>\n<p><strong>\u4e0a\u30ad\u30fc\u62bc\u4e0b\u6642<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">state.direction |= Direction.UP;<\/pre>\n\n<p><strong>\u300ckeyup\u300d\u30a4\u30d9\u30f3\u30c8\u3067\u30d5\u30e9\u30b0\u3092\u89e3\u9664<\/strong><\/p>\n<p>\u300ckeyup\u300d\u30a4\u30d9\u30f3\u30c8\u3067\u62bc\u3055\u308c\u3066\u3044\u308b\u30ad\u30fc\u304c\u96e2\u3055\u308c\u305f\u3068\u5224\u5b9a\u3057\u3001\u30ad\u30fc\u30d5\u30e9\u30b0\u3092\u89e3\u9664\u3057\u307e\u3059\u3002<br \/>\u305d\u306e\u969b\u3001 <strong>\u300c~\u300d\u8ad6\u7406\u5426\u5b9aNOT\u3067\u53cd\u8ee2\u3055\u305b\u3001\u300c&amp;\u300d\u8ad6\u7406\u7a4dAND\u3092\u7528\u3044\u3066\u8ad6\u7406\u7a4d\u3092\u6c42\u3081\u307e\u3059\u3002<\/strong><\/p>\n\n<p><strong>\u8ad6\u7406\u7a4d\u7528\u3044\u305f\u30d5\u30e9\u30b0\u89e3\u9664\u5f0f<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">x & ~y<\/pre>\n\n<p><strong>\u4e0a\u30ad\u30fc\u62bc\u4e0a\u6642<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">state.direction &= ~Direction.UP;<\/pre>\n<p>\u3053\u3061\u3089\u3067\u3001\u8907\u6570\u62bc\u3055\u308c\u3066\u3044\u308b\u30ad\u30fc\u306e\u72b6\u614b\u3092\u4fdd\u5b58\u3057\u3064\u3064\u3001\u30ad\u30fc\u304c\u96e2\u3055\u308c\u305f\u6642\u306b\u305d\u306e\u30ad\u30fc\u306e\u30d5\u30e9\u30b0\u306e\u89e3\u9664\u3082\u884c\u3048\u307e\u3057\u305f\u3002<\/p>\n\n<p>\u3053\u308c\u3089\u306e\u72b6\u614b\u3092Player\u306b\u6e21\u3057\u3001\u30b2\u30fc\u30e0\u30eb\u30fc\u30d7\u3067\u79fb\u52d5\u3055\u305b\u307e\u3059\u3002<\/p>\n<h5>\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc<\/h5>\n<p>\u3053\u3053\u307e\u3067\u3084\u308b\u3068\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3067\u79fb\u52d5\u3055\u305b\u305f\u304f\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u306d\u3002<br \/>\u4e00\u5bb6\u306b\u4e00\u53f0\u3042\u308bPS\uff15\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3067\u3082\u64cd\u4f5c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<br \/>\uff08PS5 \u672c\u4f53\u6301\u3063\u3066\u3044\u306a\u3044\u304c\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3060\u3051\u306f\u3042\u308b\u3002\u3002\uff09<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-11374\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/ps5.jpg\" alt=\"\" width=\"440\" height=\"300\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/ps5.jpg 800w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/ps5-300x205.jpg 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/ps5-768x524.jpg 768w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\" \/><\/p>\n<p>\u00a0<\/p>\n<p><strong>\u30b2\u30fc\u30e0\u30d1\u30c3\u30c9API<\/strong><br \/><a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Web\/API\/Gamepad_API\" target=\"_blank\" rel=\"noopener\">\u30b2\u30fc\u30e0\u30d1\u30c3\u30c9API<\/a>\u3092\u7528\u3044\u3066\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\u5b9f\u88c5\u306e\u8a73\u7d30\u306a\u3069\u306f\u5272\u611b\u3055\u305b\u3066\u9802\u304f\u3068\u3057\u3001<a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Games\/Techniques\/Controls_Gamepad_API\" target=\"_blank\" rel=\"noopener\">MDN\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u306b\u5b9f\u88c5\u65b9\u6cd5\u306a\u3069\u306e\u8a73\u7d30\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305d\u3061\u3089\u3092\u53c2\u8003\u306b\u3057\u3066\u9802\u3051\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Games\/Techniques\/Controls_Gamepad_API\" target=\"_blank\" rel=\"noopener\">MDN web docs<\/a><\/p>\n<p><a href=\"https:\/\/w3c.github.io\/gamepad\/\" target=\"_blank\" rel=\"noopener\">w3c Gamepad\u4ed5\u69d8<\/a><\/p>\n<p>\u5b9f\u88c5\u3057\u3066\u3044\u3066\u601d\u3063\u305f\u306e\u304c\u3001webkitGetGamepads\u3001webkitGetGamepads()\u304c\u3069\u3046\u3082\u3001TypeScript\u3067\u5b9a\u7fa9\u3055\u308c\u306a\u304f\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3001\u30d6\u30e9\u30a6\u30b6\u5074\u3067\u3082\u5b9f\u88c5\u3082\u3055\u308c\u3066\u3044\u306a\u3044\u304b\u3082\u3067\u3059\u306d\u3002\uff08\u5404\u30d6\u30e9\u30a6\u30b6\u3001\u304d\u3061\u3093\u3068\u78ba\u8a8d\u306f\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u306a\u3093\u3068\u3082\u3002\uff09<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">: \/\/ : navigator.webkitGetGamepads\n\/\/ ? navigator.webkitGetGamepads()<\/pre>\n\n<p>\u3053\u306e\u8fba\u308a\u306f\u524a\u9664\u3057\u307e\u3057\u305f\u3002<\/p>\n\n<h5>\u30dc\u30fc\u30eb<\/h5>\n<p>\u30dc\u30fc\u30eb\u306e\u8868\u73fe\u3092Ball Class\u3067\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>Player\u3068\u540c\u69d8\u306b\u3001x\u5ea7\u6a19\u3001y\u5ea7\u6a19\u3001\u5e45 width\u3001\u9ad8\u3055 height\u3001\u65e9\u3055 speed\u3001\u306b\u52a0\u3048\u3001\u534a\u5f84r\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">interface BallProps {\n    x: number;\n    y: number;\n    r: number;\n    width: number;\n    height: number;\n    speed: number;\n}<\/pre>\n\n<h5>\u30dc\u30fc\u30eb\u306e\u5f53\u305f\u308a\u5224\u5b9a<\/h5>\n<p>\u30dc\u30fc\u30eb\u306e\u5f53\u305f\u308a\u5224\u5b9a\u3092Player\u5074\u306b\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u00a0<\/p>\n<h5>\u30d7\u30ec\u30a4\u30e4\u30fc\u3068\u30dc\u30fc\u30eb\u306e2\u70b9\u9593\u306e\u8ddd\u96e2<\/h5>\n<p>\u307e\u305a\u3001\u30d7\u30ec\u30a4\u30e4\u30fc\u3068\u30dc\u30fc\u30eb\u306e2\u70b9\u9593\u306e\u8ddd\u96e2\u3092\u6c42\u3081\u308b\u305f\u3081\u306e\u5f0f\u3068\u3057\u3066\u3001 <strong>\u4e09\u5e73\u65b9\u306e\u5b9a\u7406\uff08\u30d4\u30bf\u30b4\u30e9\u30b9\u306e\u5b9a\u7406\uff09<\/strong>\u00a0\u3092\u7528\u3044\u3066\u8a08\u7b97\u3057\u307e\u3059\u3002<\/p>\n<p>\u300c\u76f4\u89d2\u4e09\u89d2\u5f62\u306b\u304a\u3044\u3066\u659c\u8fba\u306e\u9577\u3055\u3092c\u3001\u76f4\u89d2\u3068\u96a3\u308a\u5408\u3046\uff12\u8fba\u306e\u9577\u3055\u3092a\u3001 b\u3068\u3059\u308b\u3068\u304d <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/ql-cache\/quicklatex.com-ef89f827858a614fc36abd07e7c8e715_l3.png\" class=\"ql-img-inline-formula quicklatex-auto-format\" alt=\"&#65286;&#32;&#97;&#94;&#123;&#50;&#125;&#32;&#43;&#32;&#98;&#94;&#123;&#50;&#125;&#32;&#61;&#32;&#99;&#94;&#123;&#50;&#125;&#36;\" title=\"Rendered by QuickLaTeX.com\" height=\"17\" width=\"93\" style=\"vertical-align: -2px;\"\/> \u304c\u6210\u308a\u7acb\u3064\u3002\u300d<\/p>\n<p>\u00a0<\/p>\n<p><p class=\"ql-center-displayed-equation\" style=\"line-height: 19px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/ql-cache\/quicklatex.com-48777046b510dee085c3e94175615ac2_l3.png\" height=\"19\" width=\"93\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#36;&#36;&#97;&#94;&#123;&#50;&#125;&#32;&#43;&#32;&#98;&#94;&#123;&#50;&#125;&#32;&#61;&#32;&#99;&#94;&#123;&#50;&#125;&#36;&#36;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n<p>\u00a0<\/p>\n<p>\u3068\u3044\u3063\u305f\u516c\u5f0f\u304c\u4f7f\u3048\u308b\u306e\u3067\u4f7f\u7528\u3057\u3066\u3044\u304d\u307e\u3059\u3002\uff08\u601d\u3044\u51fa\u3057\u307e\u3057\u305f\uff1f\uff09<\/p>\n<p>\u00a0<\/p>\n<p>\u3053\u306e\u6642\u3001\u659c\u7ddac\u3092\u6c42\u3081\u308b\u5834\u5408\u3001<\/p>\n<p><p class=\"ql-center-displayed-equation\" style=\"line-height: 22px;\"><span class=\"ql-right-eqno\"> &nbsp; <\/span><span class=\"ql-left-eqno\"> &nbsp; <\/span><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.webcyou.com\/wp-content\/ql-cache\/quicklatex.com-54f94dc906ad96a1ca55202cce9d8c29_l3.png\" height=\"22\" width=\"131\" class=\"ql-img-displayed-equation quicklatex-auto-format\" alt=\"&#36;&#36;&#99;&#32;&#61;&#32;&#92;&#115;&#113;&#114;&#116;&#123;&#40;&#97;&#41;&#94;&#50;&#43;&#40;&#98;&#41;&#94;&#50;&#125;&#36;&#36;\" title=\"Rendered by QuickLaTeX.com\"\/><\/p><\/p>\n<p><br \/>\u3053\u3061\u3089\u306e\u516c\u5f0f\u304c\u4f7f\u3048\u307e\u3059\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u7528\u3044\u3066\u3001\u30d7\u30ec\u30a4\u30e4\u30fc\u3068\u30dc\u30fc\u30eb\u306e\u4f4d\u7f6e\u95a2\u4fc2\u3092\u8003\u3048\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u56f3\u306e\u3088\u3046\u306b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-11375\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/player2-1024x627.png\" alt=\"\" width=\"381\" height=\"233\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/player2-1024x627.png 1024w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/player2-300x184.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/player2-768x470.png 768w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/player2.png 1098w\" sizes=\"auto, (max-width: 381px) 100vw, 381px\" \/><\/p>\n<p>$$\uff08\u70b9A\u304b\u3089\u70b9B\u306e\u9577\u3055\uff09^{2} = (y\u306e\u5dee)^{2} + (x\u306e\u5dee)^{2}$$<\/p>\n<p>\u3068\u306a\u308a\u3001\u659c\u7ddac\uff08\u8ddd\u96e2\uff09\u3092\u6c42\u3081\u308b\u3068\u306a\u308b\u3068\u3001<\/p>\n<p>$$\u70b9A\u304b\u3089\u70b9B\u306e\u9577\u3055 = \\sqrt{(y\u306e\u5dee)^{2} + (x\u306e\u5dee)^{2}}$$<\/p>\n<p>\u3067\u3001\u6c42\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3092\u3001TypeScript\uff08JavaScript\uff09\u3067\u5b9f\u88c5\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u69d8\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><strong>Player\u306egetDistance\u95a2\u6570<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">Math.sqrt(Math.pow(x - this.footX, 2) + Math.pow(y - this.footY, 2));<\/pre>\n\uff08this.footX\u306a\u3069\u306f\u3001\u8db3\u5143\u306b\u4e2d\u5fc3\u70b9\u3092\u7f6e\u3044\u3066\u307e\u3059\u3002\uff09<\/p>\n<p>\u00a0<\/p>\n\n<h6>BallCollider<\/h6>\n<p>\u4e0a\u8a18\u306e\u8ddd\u96e2\u3092\u7528\u3044\u3066\u3001\u30dc\u30fc\u30eb\u306e\u5f53\u305f\u308a\u5224\u5b9a\u3092\u6c42\u3081\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30c3\u30ab\u30fc\u30dc\u30fc\u30eb\u306f\u5186\u5f62\u306a\u306e\u3067\u3001$\uff08x\u306e\u5dee\uff09^{2} + (y\u306e\u5dee)^{2}$\u304c\u3001\u300c\u534a\u5f84\u306e2\u4e57\u300d\u306e\u5024\u3088\u308a\u5c0f\u3055\u3044\u3068\u304d\u306b\u5f53\u305f\u308a\u3068\u3044\u3063\u305f\u5f62\u3067\u5f53\u305f\u308a\u5224\u5b9a\u3092\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n<p>$$(x\u306e\u5dee)^2+(y\u306e\u5dee)^2 < r^2$$<\/p>\n\n<p><strong>Player\u306echeckBallCollision\u95a2\u6570<\/strong><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">const dx = ball.x - this.x;\nconst dy = ball.y - this.y - this.height \/ 2;\n\nif (dx * dx + dy * dy &lt; ball.r * ball.r) {\n    ...<\/pre>\n\n<h5>\u30b4\u30fc\u30eb\u5224\u5b9a\u3092Pub\/Sub\u7684\u306bcallback<\/h5>\n<p>\u30dc\u30fc\u30eb\u304c\u30b4\u30fc\u30eb\u306b\u5165\u3063\u305f\u3068\u3044\u3046\u5224\u5b9a\u3092\u3001\u3069\u3046\u4fdd\u6301\u3055\u305b\u3088\u3046\u304b\u3068\u8003\u3048\u305f\u6642\u3001Ball Class\u306b\u4fdd\u6301\u3059\u308b\u306e\u304c\u9069\u5207\u304b\u306a\u3068\u601d\u3044\u3001Ball Class\u306b\u4fdd\u6301\u3055\u305b\u307e\u3057\u305f\u3002<br \/>\u30b4\u30fc\u30eb\u3082Player\u3084Ball\u540c\u69d8\u3001Goal class\u3068\u3057\u3066\u62bd\u8c61\u5316\u3055\u308c\u3066\u3044\u3066\u3001x\u3001y\u5ea7\u6a19\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Filed\u3082\u540c\u69d8\u3067\u3001Goal\u3068Filed\u306f\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u3068\u3057\u3066\u6271\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">isGoal(): boolean {\n    const field: Filed = Filed.getInstance();\n    const goal: Goal = Goal.getInstance();\n\n    let isGoal = false;\n    if (\n        field.x &gt; this.x + this.width &amp;&amp;\n        field.y + goal.y &lt; this.y + this.height &amp;&amp;\n        field.y + goal.y + goal.height &gt; this.y + this.height\n    ) {\n        isGoal = true;\n        this.goalCallBack();\n    }\n    return isGoal;\n}<\/pre>\n    \n<p>\u3053\u306e\u969b\u3001\u30dc\u30fc\u30eb\u81ea\u8eab\u304c\u30b4\u30fc\u30eb\u306b\u5165\u3063\u305f\u3068\u5224\u5b9a\u3067\u304d\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u3092\u77e5\u3089\u305b\u308b\u70ba\u306b\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002goalCallBack\u95a2\u6570\u3092\u5909\u6570\u3067\u5b9a\u7fa9\u3057\u3001<\/p>\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">public goalCallBack: Function = () =&gt; {};<\/pre>\nPub\/Sub\u7684\u306b\u6271\u3048\u308b\u3088\u3046\u306b\u3001addGoalCallBack\u95a2\u6570\u3067\u767b\u9332\uff08\u8cfc\u8aad\uff09\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">addGoalCallBack(fn: Function) {\n    this.goalCallBack = fn;\n}<\/pre>\n\n<p>\u3053\u308c\u3067\u3001\u30dc\u30fc\u30eb\u5074\u304b\u3089\u30b4\u30fc\u30eb\u306e\u9001\u4fe1\u3055\u308c\u308b\u3068\u3001\u30b9\u30b3\u30a2\u304c\u52a0\u7b97\u3055\u308c\u308b\u3088\u3046\u306b\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">state.balls&#x5B;i].addGoalCallBack(() =&gt; {\n    state.score++;\n    state.isGoalAnime = true;\n});<\/pre>\n<p>Pub\/Sub\u306f\u500b\u4eba\u7684\u306b\u597d\u304d\u3002<\/p>\n<h5>Vue3\u306b\u9069\u5fdc<\/h5>\n<p>\u3055\u3042\u3002\u753b\u9762\u3092\u4f5c\u6210\u3057\u3066\u3044\u304f\u305f\u3081\u306bVue3\u3092\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<br \/>Vue.js\u306f1\u306e\u6642\u4ee3\u304b\u3089\u4f7f\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001Vue3\u3092\u3061\u3083\u3093\u3068\u6271\u3046\u306e\u306f\u4f55\u6c17\u306b\u4eca\u56de\u521d\u304b\u3082\u3002<\/p>\n<p>Vue3\u306b\u306a\u308a\u3001\u5927\u304d\u306a\u5909\u5316\u3068\u3057\u3066\u3001 <strong>Options API \u2192 Composition API<\/strong>\u00a0\u3068\u306a\u308a\u3001\u66f4\u306b\u3001Vue.js 3.2 \u304b\u3089 <code>&lt;script setup&gt;<\/code> \u69cb\u6587\u304c\u4f7f\u3048\u308b\u69d8\u306b\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n\n<p>\u500b\u4eba\u7684\u306b\u306f\u3001ClassComponent\u306e\u307e\u307e\u3067\u3082\u6163\u308c\u3066\u3066\u826f\u304b\u3063\u305f\u306e\u3067\u3059\u3051\u3069\u306d\u3002<\/p>\n<p>\u69cb\u7bc9\u306e\u305f\u3081\u306bvite\u3092\u4f7f\u7528\u3057\u3066\u3044\u304d\u307e\u3059\u3002\uff08\u8a73\u7d30\u306f\u5272\u611b\uff09<\/p>\n<p><a href=\"https:\/\/vitejs.dev\/\" target=\"_blank\" rel=\"noopener\">https:\/\/vitejs.dev\/<\/a><\/p>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ npm init vue@latest<\/pre>\n\n<p>\u3053\u308c\u307e\u3067\u306eVue\u3068\u306e\u9055\u3044\u3068\u3057\u3066\u3001reactive\u3084onMounted\u30e1\u30bd\u30c3\u30c9\u306a\u3069\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3067\u3059\u304b\u306d\u3002<\/p>\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">import { ref, reactive, onMounted, onUnmounted } from \"vue\";<\/pre>\n\n<p>\u30b2\u30fc\u30e0\u306e\u72b6\u614b\u3067\u3042\u308b state\u3092\u307e\u308b\u3063\u3068\u30ea\u30a2\u30af\u30c6\u30a3\u30d6\u5316\u3055\u305b\u308b\u305f\u3081\u3001reactive\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">let state = reactive({\n    score: 0,\n    direction: 0x0000,<\/pre>\n\n<p>\u3042\u3068\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u30a4\u30d9\u30f3\u30c8\u306e\u70ba\u306ekeydown\u30a4\u30d9\u30f3\u30c8\u30ea\u30b9\u30ca\u30fc\u306a\u3069\u306f\u3001onMounted\u30e1\u30bd\u30c3\u30c9\u306b\u8a18\u8ff0\u3059\u308b\u306e\u304c\u6b63\u3089\u3057\u3044\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">onMounted(() =&gt; {<\/pre>\n    \n<p>\u30d7\u30ec\u30a4\u30e4\u30fc\u3084\u3089\u30dc\u30fc\u30eb\u3084\u3089\u306f\u3001\u5358\u4e00\u30d5\u30a1\u30a4\u30eb\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8(SFC)\u3068\u3057\u3066\u4f5c\u6210\u3002<br \/>state\u306e\u5024\u3092\u305d\u306e\u307e\u307eprops\u3067\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u53d7\u3051\u6e21\u3057\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">&lt;PlayerView\n:x=&quot;state.player.x&quot;\n:y=&quot;state.player.y&quot;\n...\n\/&gt;<\/pre>\n\n<p>SFC\u5074\u3067<code>&lt;script setup&gt;<\/code> \u69cb\u6587\u7528\u3044\u3066\u53d7\u3051\u53d6\u308a\u3001template\u306bbind\u3055\u305b\u308c\u3070\u5b8c\u6210\u3002<\/p>\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">&lt;script setup lang=&quot;ts&quot;&gt;\nconst props = defineProps&lt;{\n    x: Number;\n    y: Number;\n    ...\n}&gt;();<\/pre>\n\n<h6>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3<\/h6>\n<p>\u30dc\u30fc\u30eb\u304c\u30b4\u30fc\u30eb\u3057\u305f\u969b\u306b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u304c\u6b32\u3057\u3044\u306a\u3068\u601d\u3044\u3001CSS\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u5b9f\u88c5\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-11376\" src=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/goal.png\" alt=\"\" width=\"485\" height=\"135\" srcset=\"https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/goal.png 904w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/goal-300x84.png 300w, https:\/\/www.webcyou.com\/wp-content\/uploads\/2022\/12\/goal-768x214.png 768w\" sizes=\"auto, (max-width: 485px) 100vw, 485px\" \/><br \/>\u30dc\u30fc\u30eb\u306e\u30b4\u30fc\u30eb\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u3067\u3001state\u306eisGoalAnime\u3092true\u306b\u3057\u30a2\u30cb\u30e1\u958b\u59cb\u3002<br \/>animationend\u30a4\u30d9\u30f3\u30c8\u3067\u30a2\u30cb\u30e1\u7d42\u4e86\u30a4\u30d9\u30f3\u30c8\u3092\u53d6\u5f97\u3057\u3001state\u306eisGoalAnime\u3092false\u3002<\/p>\n<p>\u5f93\u6765\u3067\u3042\u308c\u3070\u3001DOM\uff08\u30a2\u30cb\u30e1\u306ecomponent\uff09\u306b\u30a4\u30d9\u30f3\u30c8\u3092\u8cbc\u308b\u3079\u304d\u3067\u3059\u304c\u3001\u307e\u3042\u3053\u306e\u304f\u3089\u3044\u306e\u898f\u6a21\u306a\u3089\u3068\u3001\u3053\u3053\u306f\u6a2a\u7740\u3057\u3066\u96d1\u306bwindow\u306b\u30a4\u30d9\u30f3\u30c8\u3092\u8cbc\u3063\u3061\u3083\u3063\u3066\u307e\u3059\u3002<\/p>\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">window.addEventListener(&quot;animationend&quot;, () =&gt; {\n    if (state.isGoalAnime) state.isGoalAnime = false;\n});<\/pre>\n\n<h5>\u4f55\u500b\u304b\u554f\u984c\u3082<\/h5>\n<p>SFC\u306e<code>&lt;script setup&gt;<\/code> \u69cb\u6587\u5185\u306eprops\u3067\u300c<strong>Cannot redeclare block-scoped variable<\/strong>\u300d\u304c\u767a\u751f\u3059\u308b\u3002<\/p>\n\n<p><strong>ThePlayer.vue<\/strong><\/p>\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">const props = defineProps&lt;{ <\/pre>\n\n<p>\u3053\u3061\u3089\u306f\u3001\u300c<strong>props\u306e\u5909\u6570\u306f\u65e2\u306b\u5ba3\u8a00\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u518d\u5ba3\u8a00\u3067\u304d\u306a\u3044\u3088<\/strong>\u300d\u3068\u3044\u3046Eslint\u306e\u30a8\u30e9\u30fc\u307d\u304f\u3001SFC\u304c\u5225\u3005\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u5b58\u5728\u3057\u3066\u3044\u3066\u3082\u3001\u30d5\u30a1\u30a4\u30eb\u304c <strong>\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30b3\u30fc\u30d7\u3092\u5171\u6709\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u3057\u3066\u5ba3\u8a00\u3057\u3066\u3044\u308b\u3002<\/strong>\u00a0\u3068TypeScript\u3067\u8a8d\u8b58\u3057\u3066\u3057\u307e\u3044\u767a\u751f\u3057\u3061\u3083\u3063\u3066\u3044\u308b\u307d\u3044\u3067\u3059\u3002<br \/>props\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u5909\u6570\u306e\u30b9\u30b3\u30fc\u30d7\u304c\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u3068\u8a8d\u8b58\u3057\u3066\u3057\u307e\u3063\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u5206\u3051\u3066\u3082\u540c\u69d8\u306e\u5909\u6570\u540d\u3067\u5ba3\u8a00\u3057\u305f\u5834\u5408\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3046\u3002<\/p>\n\n<p>\u56de\u907f\u306e\u70ba\u306b\u3001<code>export<\/code>\u3067\u30e2\u30b8\u30e5\u30fc\u30eb\u5316\u3059\u308b\u306a\u3069 \uff08import\u5148\u306e\u30d5\u30a1\u30a4\u30eb\u3067default Vue.extend({})\u306a\u3069\u306e\u5ba3\u8a00\uff09\u306e\u56de\u907f\u7b56\u306f\u3042\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u305d\u3082\u305d\u3082SFC\uff08<code>&lt;script setup&gt;<\/code> \u69cb\u6587\uff09\u3067\u4f5c\u6210\u3057\u3066\u3044\u308b\u306e\u306b <code>export<\/code>\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3063\u3066\u4f55\uff1f\uff08\u7b11\uff09\u3068\u601d\u3044\u3001\u305d\u306e\u307e\u307e\u306b\u3057\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<br \/>\u3053\u308c\u306b\u306f\u3001\u7686\u3055\u3093\u3082\u60a9\u307e\u3055\u305b\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3001\u56de\u907f\u7b56\u3082\u4ed6\u306b\u3082\u6319\u304c\u3063\u3066\u3044\u308b\u611f\u3058\u3067\u3057\u305f\u304c\u3001\u6839\u672c\u7684\u306a\u89e3\u6c7a\u306f\u5f85\u3064\u3057\u304b\u306a\u3055\u305d\u3046\u306a\u96f0\u56f2\u6c17\u3067\u3057\u305f\u3002<\/p>\n<p>\u3082\u3046\u3072\u3068\u3064\u3002\u3053\u3061\u3089\u3082\u540c\u69d8\u3067\u3001VScode\u306bVetur\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u5165\u308c\u3066\u3044\u307e\u3059\u304c\u3001SFC\u3092import\u3059\u308b\u969b\u306b\u300c<strong>is not a module.Vetur(2306)<\/strong>\u300d\u767a\u751f\u3002\u56de\u907f\u306e\u305f\u3081\u3001@ts-ignore\u4ed8\u3051\u3066\u3057\u307e\u3063\u305f\u3002\u3002\u3002<\/p>\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\/\/ @ts-ignore\nimport GoalAnime from \".\/components\/GoalAnime.vue\";\n\nis not a module.Vetur(2306)<\/pre>\n\n<h4>\u5b8c\u6210<\/h4>\n<p>\u3068\u8a00\u3063\u305f\u611f\u3058\u3067\u3001\u4eca\u56de\u306e\u4f5c\u6210\u306e\u5927\u307e\u304b\u306a\u3068\u3053\u308d\u306e\u307f\u89e6\u308c\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u53d6\u308a\u6562\u3048\u305a\u5b8c\u6210\u3057\u307e\u3057\u305f\u306d\u3002<\/p>\n<p>\u3042\u3002\u3002\u3053\u3053\u307e\u3067\u8aad\u3093\u3067\u9802\u3044\u305f\u4eba\u306f\u6c17\u304c\u3064\u3044\u305f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001 <strong>render\u90e8\u5206\u3067\u3059\u304cVue.js\u3058\u3083\u306a\u304f\u3001Canvas\u3067\u3082\u305d\u306e\u4ed6\u3067\u3082\u826f\u304b\u3063\u305f\u8a33\u3067\u3001Vue3\u304c\u4f7f\u3044\u305f\u304b\u3063\u305f\u3060\u3051\u3067\u7121\u7406\u3084\u308a\u4f7f\u7528\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/strong><\/p>\n<p>\u3057\u304b\u3057\u306a\u304c\u3089\u3001render\u3092Vue3\uff08DOM\uff09\u306b\u3059\u308b\u4e8b\u306b\u3088\u3063\u3066\u3001CSS\u3067\u30ec\u30a4\u30a2\u30a6\u30c8\u3067\u304d\u305f\u308a\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u305f\u308a\u3068\u3001\u30e1\u30ea\u30c3\u30c8\u3082\u305d\u308c\u306a\u308a\u306b\u3042\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u3053\u306e\u69d8\u306b\u3001View\u3068Model\u306e\u5206\u96e2\u304c\u884c\u3048\u308c\u3070\u3001\u5bb9\u6613\u306brender\u3082\u5909\u66f4\u3067\u304d\u305f\u308a\u3001Test\u3082\u66f8\u304d\u3084\u3059\u304b\u3063\u305f\u308a\u3057\u307e\u3059\u306e\u3067\u3001View\u3068Model\u306e\u5206\u96e2\u306f\u5927\u4e8b\u3067\u3059\u306d\u3002<\/p>\n\n<h4>\u6700\u5f8c\u306b<\/h4>\n<p>\u30d0\u30bf\u30d0\u30bf\u601d\u3044\u3064\u3044\u3066\u3001\u4ed5\u4e8b\u7d42\u308f\u3063\u3066\u5e30\u3063\u3066\u591c\u4e2d\u306b\u30ab\u30c1\u30ab\u30c1\u30682\u9031\u9593\u307b\u3069\u3067\u4f5c\u6210\u3057\u305f\u3053\u3068\u3082\u3042\u3063\u3066\u3001\u591a\u3005\u81f3\u3089\u306a\u3044\u3068\u3053\u308d\u3082\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u30b9\u30eb\u30fc\u3057\u3061\u3083\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u611f\u304c\u3042\u308a\u307e\u3059\u3002\u3002Player\u3068Ball\u306eframeCount\u3001currentFrame\u306e\u6271\u3044\u306e\u30d6\u30ec\u3084\u3001\u30c9\u30ea\u30d6\u30eb\u6642\u306b\u30dc\u30fc\u30eb\u3092\u8ffd\u3044\u304b\u3051\u308b\u30d7\u30ec\u30a4\u30e4\u30fc\u306e\u5411\u304d\u306b\u3088\u3063\u3066\u8fd1\u3065\u304f\u8ddd\u96e2\u3092\u624b\u8abf\u6574\u884c\u3044\u30de\u30b8\u30c3\u30af\u30ca\u30f3\u30d0\u30fc\u767a\u751f\u3057\u3066\u3044\u308b\u306e\u3068\u304b\u3001\u30d7\u30ec\u30a4\u30e4\u30fc\u306e\u72b6\u614b\u7ba1\u7406\u304c\u7518\u304f\u3001\u3061\u3087\u3063\u3068\u3057\u305f\u30d0\u30b0\u3082\u767a\u751f\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u306e\u30ec\u30d9\u30eb\u3067\u3082\u30b9\u30c6\u30fc\u30c8\u30de\u30b7\u30fc\u30f3\u3092\u5c0e\u5165\u3057\u305f\u65b9\u304c\u826f\u3055\u3052\u3068\u304b\u3068\u304b\u3068\u304b\u3002\u3002<br \/>\u3067\u3082\u3001\u5168\u90e8\u3084\u308a\u3060\u3057\u305f\u3089\u30ad\u30ea\u304c\u306a\u3044\u306e\u3067\u3053\u3053\u3067\u4e00\u65e6\u7d42\u4e86\u3068\u3057\u307e\u3057\u305f\u3002<\/p>\n\n<p>\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u4e45\u3005\u306b\u30b2\u30fc\u30e0\u307d\u3044\u306e\u3092\u5b9f\u88c5\u3057\u3066\u697d\u3057\u304b\u3063\u305f\u306e\u3068\u3001\uff08\u3053\u3093\u306a\u4e8b\u3084\u3063\u3066\u3066\u826f\u3044\u306e\u304b\u3068\u3044\u3046\u80cc\u5fb3\u611f\u306f\u3042\u308a\u3064\u3064\uff08\u7b11\uff09\uff09\u4ee5\u4e0b\u306e\u69d8\u306b\u3082\u3063\u3068\u3053\u308c\u3084\u308a\u305f\u3044\u6b32\u3082\u51fa\u3066\u304d\u305f\u306e\u306f\u4e8b\u5b9f\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u30dc\u30fc\u30eb\u8907\u6570\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u304c\u3001\u8907\u6570\u51fa\u3059UI\u3068\u304b\u306a\u3044\u3002<\/li>\n<li>\u3084\u3063\u3071\u30ad\u30fc\u30d1\u30fc\u3044\u308b\u3093\u3058\u3083\u306a\u3044\uff1f<\/li>\n<li>\u30ad\u30fc\u30d1\u30fc\u3082\u3044\u305f\u3089\u6575\u3082\u3044\u308b\u3093\u3058\u3083\u306a\u3044\uff1f<\/li>\n<li>\u30dc\u30fc\u30eb\u306e\u8ecc\u9053\u304c\u4e00\u76f4\u7dda\u306a\u306e\u3067\u3001\u5b99\u306b\u6d6e\u3044\u305f\u308a\u3001\u30ab\u30fc\u30d6\u3057\u305f\u308a\u3055\u305b\u305f\u3044<\/li>\n<li>\u6575\u3082\u4f5c\u308b\u306e\u3067\u3042\u308c\u3070\u3001\u30b5\u30fc\u30d0\u30fc\u5efa\u3066\u3066\u30012\u4eba\u3067\u30d7\u30ec\u30a4\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3044<\/li>\n<li>\u305d\u3082\u305d\u3082\u30c9\u30c3\u30c8\u7d75\u304c\u30a4\u30b1\u3066\u306a\u3044\u306e\u3067\u3001\u3086\u3063\u304f\u308a\u4f5c\u6210\u3057\u76f4\u3057\u305f\u3044\u3002\u3002<\/li>\n<li>\u30b5\u30a6\u30f3\u30c9\u3001SE\u5165\u308c\u305f\u304f\u3082\u306a\u3063\u3066\u304d\u305f<\/li>\n<\/ul>\n<p>&#8230;<\/p>\n<p>\u3068\u3001\u8003\u3048\u305f\u3089\u30ad\u30ea\u304c\u306a\u3044\u306e\u3067\u3059\u3088\u306d\u3002\u3002<br \/>\u53d6\u308a\u6562\u3048\u305a\u3001\u305d\u308c\u306a\u308a\u306b\u30b5\u30c3\u30ab\u30fc\u30b2\u30fc\u30e0\u306e\u30d9\u30fc\u30b9\u3068\u3057\u3066\u3082\u4f7f\u3048\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001\u6539\u9020\u3055\u308c\u305f\u3044\u65b9\u306a\u3069\u306fGitHub\u3088\u308a\u30d5\u30a9\u30fc\u30af\u3057\u3066\u9802\u304d\u3001\u3054\u81ea\u7531\u306b\u6539\u9020\u3057\u3066\u9802\u3051\u308c\u3070\u5e78\u3044\u3067\u3059\u3002\u307e\u305f\u3001\u30d7\u30eb\u30ea\u30af\u3082\u304a\u5f85\u3061\u3057\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/webcyou-org\/2022-VIVA-JS-WorldCup\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/webcyou-org\/2022-VIVA-JS-WorldCup<\/a><\/p>\n<p>Unity\u3067\u4f5c\u6210\u3059\u308c\u3070\u3082\u3063\u3068\u30b5\u30af\u30c3\u3068\u4f5c\u6210\u3067\u304d\u308b\u3093\u3060\u308d\u3046\u306a\u3041\u3068\u601d\u3044\u3064\u3064\u3001\u30e1\u30b8\u30e3\u30fc\u306a\u30b2\u30fc\u30e0\u30a8\u30f3\u30b8\u30f3\u4ee5\u5916\u3067\u3001\u3061\u3087\u3063\u3068\u307e\u305f\u4f5c\u6210\u3057\u305f\u3044\u3002\u3068\u3044\u3046\u6c17\u6301\u3061\u304c\u82bd\u751f\u3048\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u3001\u5225\u306e\u30b2\u30fc\u30e0\u3092\u4eca\u5f8c\u4f7f\u3063\u3066\u884c\u304f\u53ef\u80fd\u6027\u306e\u9ad8\u3044Flutter\uff08Drat\uff09\u3067\u4f5c\u6210\u3057\u3088\u3046\u304b\u3068\u8003\u3048\u3066\u3044\u308b\u4eca\u65e5\u3053\u306e\u9803\u3067\u3059\u3002<\/p>\n<p>\u00a0<\/p>\n<p>\u3067\u306f\u3067\u306f\u3002\u826f\u3044\u30af\u30ea\u30b9\u30de\u30b9\u3092\u3002\u3002\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u8a18\u4e8b\u306fCocone Advent Calendar 2022\u306e24\u65e5\u76ee\u306e\u8a18\u4e8b\u3068\u306a\u308a\u307e\u3059\u3002 \u3053\u3093\u306b\u3061\u306f \u30e1\u30ea\u30fc\u30af\u30ea\u30b9\u30de\u30b9!! \u3044\u3084\u3041\u3001\u3057\u304b\u3057\u5148\u9031\u306e\u65e5\u66dc\u65e5\u306f\u3001 M1\u30b0\u30e9\u30f3\u30d7\u30ea\u3084\u30ef\u30fc\u30eb\u30c9\u30ab\u30c3\u30d7\u3084\u3089\u3067\u4f55\u304b\u3068\u5fd9\u3057\u304b\u3063\u305f\u3067\u3059\u306d\u3002  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":11369,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-11366","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript"],"_links":{"self":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/11366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11366"}],"version-history":[{"count":46,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/11366\/revisions"}],"predecessor-version":[{"id":11420,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/posts\/11366\/revisions\/11420"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=\/wp\/v2\/media\/11369"}],"wp:attachment":[{"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcyou.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}