{"id":71,"date":"2022-10-05T13:53:54","date_gmt":"2022-10-05T04:53:54","guid":{"rendered":"https:\/\/www.rtainbiim.cyou\/2022\/?p=71"},"modified":"2022-10-05T13:59:16","modified_gmt":"2022-10-05T04:59:16","slug":"rta%e8%b5%b0%e8%80%85%e9%a4%8a%e6%88%90%e3%82%b2%e3%83%bc%e3%83%a0","status":"publish","type":"post","link":"https:\/\/www.rtainbiim.cyou\/2022\/?p=71","title":{"rendered":"RTA\u8d70\u8005\u990a\u6210\u30b2\u30fc\u30e0"},"content":{"rendered":"\n<script src=\"..\/js\/game.js\"><\/script>\n\n\n\n<script>\n\/* \u30e1\u30cb\u30e5\u30fc\u753b\u9762\u306eBGM\u518d\u751f *\/\n$(function(){\n    const audio = new Audio();\n\t\taudio.preload = \"auto\";\n\t\taudio.src = \"..\/audio\/twitch_kun_bukkoro\/menu_game.mp3\";\n\t\taudio.load();\n\t\taudio.addEventListener(\"loadeddata\", function(){\n\t\t\taudio.play();\n});\n    \/* \u30b2\u30fc\u30e0\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u751f\u6210 *\/\n    let game = new MyGame();\n    \/* \u30b2\u30fc\u30e0\u958b\u59cb\u30dc\u30bf\u30f3\u62bc\u4e0b *\/\n    $(document).on(\"click\", \".game_start\", function(){\n        const char = $(this)[0].dataset.char;\n        $(\".game_menu\").css(\"display\", \"none\");\n        $(\".game_main\").css(\"display\", \"block\");\n        game.start(char, function(_time){\n            \/\/ \u30b2\u30fc\u30e0\u7528 canvas \u3092\u7834\u68c4\n            $(\".game_main\").html(\"\");\n            \/\/ \u30b2\u30fc\u30e0\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3082\u7834\u68c4\n            game = null;\n            \/\/\n            $(\".time_str\").html(_time);\n            const tweet = \"\u308f\u305f\u3057\u306f\u3064\u3044\u3063\u3061\u304f\u3093\u3092\u300e\" + _time + \"\u300f\u3067\u3076\u3063\u9803\u3057\u307e\u3057\u305f\u3002\";\n            let href  = \"https:\/\/twitter.com\/intent\/tweet?text=\" + tweet;\n                href += \"&url=https:\/\/www.rtainbiim.cyou\/\";\n                href += \"&hashtags=#RTAinBiim,Rib\";\n            $(\".time_href\").attr(\"href\", href);\n            $(\".game_main\").css(\"display\", \"none\");\n            $(\".game_result\").css(\"display\", \"block\");\n        });\n    });\n    \/* \u518d\u8d70\u30dc\u30bf\u30f3\u62bc\u4e0b *\/\n    $(document).on(\"click\", \".game_replay\", function(){\n        $(\".game_result\").css(\"display\", \"none\");\n        $(\".game_menu\").css(\"display\", \"block\");\n        \/\/ \u30b2\u30fc\u30e0\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u518d\u751f\u6210\n        game = new MyGame();\n    });\n});\n<\/script>\n    <div class=\"game_box game_menu\">\n            <h1>\u3064\u3044\u3063\u3061\u304f\u3093<\/h1>\n            <h2>\u3076\u3063\u9803\u3059\u30b2\u30fc\u30e0<\/h2>\n            <p>PLAYER SELECT<br>\u203b\u97f3\u304c\u51fa\u307e\u3059\u203b<\/p>\n            <div>\n                <figure class=\"game_start\" data-char=\"akyb\">\n                    <img src=\"..\/images\/twitch_kun_bukkoro\/x_game_akyb.png\" alt=\"\u79cb\u3052\u307c\u4e3b\u50ac\">\n                <\/figure>\n                <figure class=\"game_start\" data-char=\"biim\">\n                    <img src=\"..\/images\/twitch_kun_bukkoro\/x_game_biim.png\" alt=\"biim\u5144\u8cb4\" style=\"transform:scale(-1, 1)\">\n                <\/figure>\n            <\/div>\n            <p>-\u904a\u3073\u65b9-<br>\u753b\u9762\u30af\u30ea\u30c3\u30af\u3067\u30b8\u30e3\u30f3\u30d7\u3057\u307e\u3059<br>\u753b\u9762\u306e\u4e0a\u3092\u98db\u3093\u3067\u308b\u3064\u3044\u3063\u3061\u304f\u3093\u306b<br>5\u56de\u4f53\u5f53\u305f\u308a\u3057\u3066\u304f\u3060\u3055\u3044<\/p>\n        <\/div>\n        <div class=\"game_box game_main\" id=\"game_main\"><\/div>\n        <div class=\"game_box game_result\">\n            <h1>\u7d50\u679c<\/h1>\n            <h2 class=\"time_str\">00:00:00.000<\/h2>\n            <div>\n                <a href=\"\" class=\"time_href\" target=\"_blank\" rel=\"noopener\">\n                    <i class=\"fab fa-fw fa-twitter\"><\/i>\n                    <span>\u5b8c\u8d70\u3057\u305f\u611f\u60f3\u3092\u30c4\u30a4\u30fc\u30c8<\/span>\n                <\/a><br>\n                <span class=\"game_replay\">\n                    <i class=\"fas fa-fw fa-sync-alt\"><\/i>\n                    <span>\u518d\u8d70\u3057\u3066\u3001\u3069\u3046\u305e<\/span>\n                <\/span>\n            <\/div>\n        <\/div>\n\n\n\n<style type=\"text\/css\">\n\/* \u30b2\u30fc\u30e0\u7528\u30a8\u30ec\u30e1\u30f3\u30c8 *\/\n.game_box {\n    margin   : 0;\n    max-width: 500px;\n    padding  : 0;\n    width    : 100%;\n}\n\/* \u30b2\u30fc\u30e0\u30e1\u30cb\u30e5\u30fc *\/\n.game_menu,\n.game_result {\n    background: url(\"..\/images\/twitch_kun_bukkoro\/x_game_bg.png\");\n    height    : 400px;\n    width     : 100%;\n}\n.game_menu h1,\n.game_result h1 {\n    color      : rgb(159, 102, 253);\n    line-height: 100%;\n    padding-top: 20px;\n    text-align : center;\n    text-shadow: 0px 0px 7px rgba(40, 40, 40, 0.8);\n}\n.game_menu h2,\n.game_result h2 {\n    color: #d00;\n    font-family: serif;\n    font-size  : 3em;\n    font-weight: bolder;\n    text-align : center;\n    text-shadow: 0px 0px 7px rgba(40, 40, 40, 0.8);\n}\n.game_menu div {\n    margin-top: 30px;\n    text-align: center;\n}\n.game_menu div figure {\n    cursor: pointer;\n}\n.game_menu p {\n    line-height: 120%;\n    margin-top : 20px;\n    text-align : center;\n    text-shadow: 0px 0px 5px rgba(40, 40, 40, 0.8)\n}\n\/* \u30b2\u30fc\u30e0\u672c\u4f53 *\/\n.game_main {\n    display: none;\n}\n\/* \u30b2\u30fc\u30e0\u7d50\u679c *\/\n.game_result {\n    display: none;\n}\n.game_result div {\n    margin-top: 40px;\n    text-align: center;\n}\n.time_href,\n.game_replay {\n    border-radius: 16px;\n    color        : #fff;\n    padding      : 10px 15px;\n}\n.time_href {\n    background: #2b7bb9;\n}\n.game_replay {\n    background: #b97b2b;\n    cursor    : pointer;\n    display   : inline-block;\n    margin-top: 20px;\n}\n<\/style>\n\n\n\n<div class=\"wp-block-group yukkuri-comment-raw\"><div class=\"wp-block-group__inner-container\">\n<p class=\"akiyabo has-light-green-cyan-background-color has-background\"> \u99ac\u9e7f\u91ce\u90ce\u304a\u524d\u4ffa\u306f\u52dd\u3064\u305e\u304a\u524d <\/p>\n\n\n\n<p class=\"biim has-pale-cyan-blue-background-color has-background\">\u97f3\u91cf\u6ce8\u610f\uff08\u6fc0\u9045\uff09 <\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u3064\u3044\u3063\u3061\u304f\u3093 \u3076\u3063\u9803\u3059\u30b2\u30fc\u30e0 PLAYER SELECT\u203b\u97f3\u304c\u51fa\u307e\u3059\u203b -\u904a\u3073\u65b9-\u753b\u9762\u30af\u30ea\u30c3\u30af\u3067\u30b8\u30e3\u30f3\u30d7\u3057\u307e\u3059\u753b\u9762\u306e\u4e0a\u3092\u98db\u3093\u3067\u308b\u3064\u3044\u3063\u3061\u304f\u3093\u306b5\u56de\u4f53\u5f53\u305f\u308a\u3057\u3066\u304f\u3060\u3055\u3044 \u7d50\u679c 00:00:00.000 \u5b8c\u8d70\u3057\u305f\u611f\u60f3\u3092\u30c4\u30a4\u30fc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":78,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/www.rtainbiim.cyou\/2022\/index.php?rest_route=\/wp\/v2\/posts\/71"}],"collection":[{"href":"https:\/\/www.rtainbiim.cyou\/2022\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rtainbiim.cyou\/2022\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rtainbiim.cyou\/2022\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rtainbiim.cyou\/2022\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=71"}],"version-history":[{"count":1,"href":"https:\/\/www.rtainbiim.cyou\/2022\/index.php?rest_route=\/wp\/v2\/posts\/71\/revisions"}],"predecessor-version":[{"id":72,"href":"https:\/\/www.rtainbiim.cyou\/2022\/index.php?rest_route=\/wp\/v2\/posts\/71\/revisions\/72"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rtainbiim.cyou\/2022\/index.php?rest_route=\/wp\/v2\/media\/78"}],"wp:attachment":[{"href":"https:\/\/www.rtainbiim.cyou\/2022\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rtainbiim.cyou\/2022\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rtainbiim.cyou\/2022\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}