{"id":2708,"date":"2020-04-19T09:07:48","date_gmt":"2020-04-19T00:07:48","guid":{"rendered":"http:\/\/taki-lab.site\/bocci\/?p=2708"},"modified":"2020-04-19T09:07:51","modified_gmt":"2020-04-19T00:07:51","slug":"%e3%80%90c%e3%80%91%e3%80%90altseed%e3%80%91%e3%80%90%e6%95%b0%e7%8b%ac%e3%80%91%e3%83%91%e3%83%ac%e3%83%83%e3%83%88%e3%81%abx%e3%82%92%e8%bf%bd%e5%8a%a0%e3%80%82","status":"publish","type":"post","link":"https:\/\/taki-lab.site\/bocci\/?p=2708","title":{"rendered":"\u3010C#\u3011\u3010ALTSEED\u3011\u3010\u6570\u72ec\u3011\u30d1\u30ec\u30c3\u30c8\u306b\u00d7\u3092\u8ffd\u52a0\u3002"},"content":{"rendered":"\n<p>\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-\u81ea\u5206\u3001\u307c\u3063\u3061\u3067\u3059\u304c\u4f55\u304b\uff1f\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"zYQrSsfx7d\"><a href=\"https:\/\/taki-lab.site\/bocci\/?p=2702\">\u3010C#\u3011\u3010ALTSEED\u3011\u3010\u6570\u72ec\u3011\u30d1\u30ec\u30c3\u30c8\u306e\u4f5c\u6210<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;\u3010C#\u3011\u3010ALTSEED\u3011\u3010\u6570\u72ec\u3011\u30d1\u30ec\u30c3\u30c8\u306e\u4f5c\u6210&#8221; &#8212; \u81ea\u5206\u3001\u307c\u3063\u3061\u3067\u3059\u304c\u4f55\u304b\uff1f\" src=\"https:\/\/taki-lab.site\/bocci\/?p=2702&#038;embed=true#?secret=XahbyYPdvI#?secret=zYQrSsfx7d\" data-secret=\"zYQrSsfx7d\" width=\"474\" height=\"267\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u6700\u65b0\u30bd\u30fc\u30b9\u306f\u3053\u3061\u3089(gitHub)<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/takishita2nd\/sudokuGUI\">https:\/\/github.com\/takishita2nd\/sudokuGUI<\/a><\/p>\n\n\n\n<p>\u5f15\u304d\u7d9a\u304d\u3001\u30d1\u30ec\u30c3\u30c8\u306e\u4e2d\u8eab\u3092\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d1\u30ec\u30c3\u30c8\u306b\u00d7\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u00d7\u306e\u30d5\u30a9\u30f3\u30c8\u3092\u30d5\u30a9\u30f3\u30c8\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u3067\u4f5c\u6210\u3057\u3066\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    static class Resource\n    {\n        private static asd.Font _fontBatsu = null;\n\n        public static asd.Font getFontBatsu()\n        {\n            if (_fontBatsu == null)\n            {\n                _fontBatsu = asd.Engine.Graphics.CreateFont(\"batsu.aff\");\n            }\n            return _fontBatsu;\n        }\n<\/code><\/pre>\n\n\n\n<p>\u3053\u308c\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30af\u30e9\u30b9\u306f\u30fb\u30fb\u30fbPaletteSquareObject\u3092\u62e1\u5f35\u3057\u307e\u3057\u3087\u3046\u304b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    class PaletteBatsuSquareObject : PaletteSquareObject\n    {\n        public PaletteBatsuSquareObject(int row, int col) : base(row, col)\n        {\n            _valueText.Font = Resource.getFontBatsu();\n        }\n\n        public void showBatsu()\n        {\n            _valueText.Text = \"\u00d7\";\n        }\n\n        public new void setPosition(asd.Vector2DF pos)\n        {\n            _x = _row * width + (int)pos.X;\n            _y = _col * height + (int)pos.Y;\n\n            _backTexture.Position = new asd.Vector2DF(_x, _y);\n            _valueText.Position = new asd.Vector2DF(_x + fontOffsetX - 8, _y + fontOffsetY);\n        }\n    }\n<\/code><\/pre>\n\n\n\n<p>\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3067\u3001\u30d5\u30a9\u30f3\u30c8\u3092\u8ffd\u52a0\u3057\u305f\u7269\u306b\u6307\u5b9a\u3001showBatsu()\u3067\u00d7\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u00d7\u306e\u8868\u793a\u4f4d\u7f6e\u3092\u8abf\u6574\u3059\u308b\u305f\u3081\u3001setPosition()\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    class SquareObject\n    {\n\n        public void hide()\n        {\n            _valueText.Text = \"\";\n        }\n<\/code><\/pre>\n\n\n\n<p>SquareObject\u30af\u30e9\u30b9\u306bhide()\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3067\u308f\u304b\u308a\u3084\u3059\u304f\u6587\u5b57\u3092\u6d88\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3089\u3092Palette\u30af\u30e9\u30b9\u306b\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    class Palette\n    {\n        PaletteBatsuSquareObject PaletteBatsuSquareObject = new PaletteBatsuSquareObject(0, -1);\n\n        public void setEngine()\n        {\n            asd.Engine.AddObject2D(_texture);\n            for (int row = 0; row &lt; 3; row++)\n            {\n                for (int col = 0; col &lt; 3; col++)\n                {\n                    asd.Engine.AddObject2D(paletteSquareObjects&#91;row, col].getBackTexture());\n                    asd.Engine.AddObject2D(paletteSquareObjects&#91;row, col].getTextObject());\n                }\n            }\n            asd.Engine.AddObject2D(PaletteBatsuSquareObject.getBackTexture());\n            asd.Engine.AddObject2D(PaletteBatsuSquareObject.getTextObject());\n        }\n\n        public void show(asd.Vector2DF pos)\n        {\n            palettePosition = new asd.Vector2DF(pos.X, pos.Y - 64);\n            _texture.Position = palettePosition;\n            _texture.Texture = Resource.getPalette();\n            int value = 1;\n            for (int row = 0; row &lt; 3; row++)\n            {\n                for (int col = 0; col &lt; 3; col++)\n                {\n                    paletteSquareObjects&#91;row, col].setPosition(pos);\n                    paletteSquareObjects&#91;row, col].setValue(value);\n                    value++;\n                }\n            }\n            PaletteBatsuSquareObject.setPosition(pos);\n            PaletteBatsuSquareObject.showBatsu();\n        }\n\n        public void hide()\n        {\n            _texture.Texture = null;\n            for (int row = 0; row &lt; 3; row++)\n            {\n                for (int col = 0; col &lt; 3; col++)\n                {\n                    paletteSquareObjects&#91;row, col].hide();\n                }\n            }\n            PaletteBatsuSquareObject.hide();\n        }\n<\/code><\/pre>\n\n\n\n<p>\u3084\u308b\u3053\u3068\u306f\u4ed6\u306e\u6587\u5b57\u3068\u540c\u3058\u3067\u3001Altseed\u30a8\u30f3\u30b8\u30f3\u3078\u306e\u8ffd\u52a0\u3001\u8868\u793a\u3001\u6d88\u53bb\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5b9f\u884c\u7d50\u679c\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"http:\/\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/04\/20200419085757.mp4\"><\/video><\/figure>\n\n\n\n<p>\u307e\u3042\u307e\u3042\u3067\u3059\u304b\u306d\u3002<\/p>\n\n\n\n<a href=\"\/\/blog.with2.net\/link\/?2023426:1010\" target=\"_blank\" rel=\"noopener noreferrer\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2019\/12\/03a6eee54039f74ded0b8f7548b1868f.png?w=474\" title=\"\u30d1\u30bd\u30b3\u30f3\u30e9\u30f3\u30ad\u30f3\u30b0\"><\/a>\n\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 \u6700\u65b0\u30bd\u30fc\u30b9\u306f\u3053\u3061\u3089(gitHub) https:\/\/github.com\/takishita2nd\/sudokuGUI \u5f15\u304d\u7d9a\u304d\u3001\u30d1\u30ec\u30c3\u30c8\u306e\u4e2d\u8eab\u3092\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3059\u3002 \u30d1\u30ec\u30c3\u30c8\u306b\u00d7\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002  &hellip; <a href=\"https:\/\/taki-lab.site\/bocci\/?p=2708\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u3010C#\u3011\u3010ALTSEED\u3011\u3010\u6570\u72ec\u3011\u30d1\u30ec\u30c3\u30c8\u306b\u00d7\u3092\u8ffd\u52a0\u3002<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u3010C#\u3011\u3010ALTSEED\u3011\u3010\u6570\u72ec\u3011\u30d1\u30ec\u30c3\u30c8\u306b\u00d7\u3092\u8ffd\u52a0\u3002\n#TechCommit\n","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[174,3],"tags":[184,137,175],"class_list":["post-2708","post","type-post","status-publish","format-standard","hentry","category-c","category-3","tag-altseed","tag-c","tag-175"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8SDbY-HG","jetpack-related-posts":[{"id":2677,"url":"https:\/\/taki-lab.site\/bocci\/?p=2677","url_meta":{"origin":2708,"position":0},"title":"\u3010C#\u3011\u3010ALTSEED\u3011\u3010\u6570\u72ec\u3011\u30de\u30b9\u30af\u30e9\u30b9\u3092\u5b9f\u88c5\u3059\u308b\u3002","author":"taki","date":"2020\u5e744\u670814\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2669 \u3067\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/04\/eb20e3bee78b032b77926fcbc1da0f69.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/04\/eb20e3bee78b032b77926fcbc1da0f69.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/04\/eb20e3bee78b032b77926fcbc1da0f69.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/04\/eb20e3bee78b032b77926fcbc1da0f69.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":2688,"url":"https:\/\/taki-lab.site\/bocci\/?p=2688","url_meta":{"origin":2708,"position":1},"title":"\u3010C#\u3011\u3010ALTSEED\u3011\u3010\u6570\u72ec\u3011\u30d1\u30ec\u30c3\u30c8\u306e\u8868\u793a\u3001\u975e\u8868\u793a","author":"taki","date":"2020\u5e744\u670816\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2682 \u6700\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/04\/palette.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2752,"url":"https:\/\/taki-lab.site\/bocci\/?p=2752","url_meta":{"origin":2708,"position":2},"title":"\u3010C#\u3011\u3010ALTSEED\u3011\u3010\u6570\u72ec\u3011\u89e3\u6790\u524d\u306e\u5165\u529b\u30c7\u30fc\u30bf\u306b\u8aa4\u308a\u304c\u3042\u3063\u305f\u5834\u5408\u306e\u5bfe\u51e6","author":"taki","date":"2020\u5e744\u670828\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2741 \u6700\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/01\/ac15c7bfbcb71ae0137aba3065984908.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2715,"url":"https:\/\/taki-lab.site\/bocci\/?p=2715","url_meta":{"origin":2708,"position":3},"title":"\u3010C#\u3011\u3010ALTSEED\u3011\u3010\u6570\u72ec\u3011\u30d1\u30ec\u30c3\u30c8\u304b\u3089\u6570\u5b57\u3092\u5165\u529b\u3059\u308b","author":"taki","date":"2020\u5e744\u670821\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2708 \u6700\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2702,"url":"https:\/\/taki-lab.site\/bocci\/?p=2702","url_meta":{"origin":2708,"position":4},"title":"\u3010C#\u3011\u3010ALTSEED\u3011\u3010\u6570\u72ec\u3011\u30d1\u30ec\u30c3\u30c8\u306e\u4f5c\u6210","author":"taki","date":"2020\u5e744\u670818\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2688 \u6700\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2653,"url":"https:\/\/taki-lab.site\/bocci\/?p=2653","url_meta":{"origin":2708,"position":5},"title":"\u3010C#\u3011\u3010ALTSEED\u3011\u3010\u6570\u72ec\u3011\u6587\u5b57\u5217\u3092\u8868\u793a\u3059\u308b","author":"taki","date":"2020\u5e744\u670810\u65e5","format":false,"excerpt":"\u524d\u56de\u307e\u3067\u306e\u72b6\u6cc1\u306f\u3053\u3061\u3089\u3002 https:\/\/taki-lab.site\/bocci\/?p=2640 \u5b9f\u2026","rel":"","context":"C#","block_context":{"text":"C#","link":"https:\/\/taki-lab.site\/bocci\/?cat=174"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/04\/b7fb36bcf16ff04b872a24262a2a9187.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/04\/b7fb36bcf16ff04b872a24262a2a9187.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/04\/b7fb36bcf16ff04b872a24262a2a9187.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/taki-lab.site\/bocci\/wp-content\/uploads\/2020\/04\/b7fb36bcf16ff04b872a24262a2a9187.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]}],"jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2708"}],"version-history":[{"count":1,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2708\/revisions"}],"predecessor-version":[{"id":2710,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=\/wp\/v2\/posts\/2708\/revisions\/2710"}],"wp:attachment":[{"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taki-lab.site\/bocci\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}