{"id":3540,"date":"2011-09-04T02:42:01","date_gmt":"2011-09-03T17:42:01","guid":{"rendered":"http:\/\/mimumimu.net\/blog\/2011\/09\/04\/%e3%82%b9%e3%83%9e%e3%83%bc%e3%83%88%e3%83%95%e3%82%a9%e3%83%b3%e5%8b%89%e5%bc%b7%e4%bc%9a%ef%bc%a0%e9%96%a2%e6%9d%b1-14%e3%80%80%e3%81%a7%e8%a9%b1%e3%81%97%e3%81%a6%e3%81%8d%e3%81%9f%e3%80%82\/"},"modified":"2012-04-21T18:23:42","modified_gmt":"2012-04-21T09:23:42","slug":"%e3%82%b9%e3%83%9e%e3%83%bc%e3%83%88%e3%83%95%e3%82%a9%e3%83%b3%e5%8b%89%e5%bc%b7%e4%bc%9a%ef%bc%a0%e9%96%a2%e6%9d%b1-14%e3%80%80%e3%81%a7%e8%a9%b1%e3%81%97%e3%81%a6%e3%81%8d%e3%81%9f%e3%80%82","status":"publish","type":"post","link":"https:\/\/mimumimu.net\/blog\/2011\/09\/04\/%e3%82%b9%e3%83%9e%e3%83%bc%e3%83%88%e3%83%95%e3%82%a9%e3%83%b3%e5%8b%89%e5%bc%b7%e4%bc%9a%ef%bc%a0%e9%96%a2%e6%9d%b1-14%e3%80%80%e3%81%a7%e8%a9%b1%e3%81%97%e3%81%a6%e3%81%8d%e3%81%9f%e3%80%82\/","title":{"rendered":"\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u52c9\u5f37\u4f1a\uff20\u95a2\u6771 #14\u3000\u3067\u8a71\u3057\u3066\u304d\u305f\u3002&ndash;XNA \u3068 WP7 \u306e\u306f\u306a\u3057\u3002"},"content":{"rendered":"<p>\u3069\u3046\u3082\u307f\u3080\u3089\u3067\u3059\u3002<\/p>\n<p>\u305d\u3093\u306a\u308f\u3051\u3067\u3001\u5148\u65e5\u3001    <br \/><a title=\"http:\/\/sumaben.jp\/?SPWorkshopKanto14\" href=\"http:\/\/sumaben.jp\/?SPWorkshopKanto14\">http:\/\/sumaben.jp\/?SPWorkshopKanto14<\/a><\/p>\n<p>IIJ \u306b\u3066 Windows Phone 7 \u3067 XNA \u3092\u4f7f\u3063\u305f\u30b2\u30fc\u30e0\u958b\u767a\u3092\u3061\u3087\u3063\u3068\u59cb\u3081\u3066\u898b\u308b\u306e\u3082\u3044\u3044\u3093\u3058\u3083\u306a\u3044\u3002    <br \/>\u3068\u3044\u3046\u3088\u3046\u306a\u30d7\u30ec\u30bc\u30f3\u3092\u3057\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>&#160;<\/p>\n<p>\u306a\u306b\u3084\u3089\u3001Ustream \u4e0a\u306b\u306f\u9332\u753b\u304c\u6b8b\u3063\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u3067\u3001   <br \/>\u898b\u305f\u3044\u4eba\u306f\u3069\u3046\u305e\u3002<\/p>\n<p><a title=\"http:\/\/www.ustream.tv\/recorded\/16899244\" href=\"http:\/\/www.ustream.tv\/recorded\/16899244\">http:\/\/www.ustream.tv\/recorded\/16899244<\/a><\/p>\n<div style=\"width: 425px\" id=\"__ss_9104761\"><strong style=\"margin: 12px 0px 4px; display: block\"><a title=\"Windows Phone 7 \u3068 XNA \u306e\u4e16\u754c\" href=\"http:\/\/www.slideshare.net\/SatoshiMimura\/windows-phone-7-xna-9104761\" target=\"_blank\">Windows Phone 7 \u3068 XNA \u306e\u4e16\u754c<\/a><\/strong> <iframe loading=\"lazy\" height=\"355\" marginheight=\"0\" src=\"http:\/\/www.slideshare.net\/slideshow\/embed_code\/9104761\" frameborder=\"0\" width=\"425\" marginwidth=\"0\" scrolling=\"no\"><\/iframe>    <\/p>\n<div style=\"padding-bottom: 12px; padding-left: 0px; padding-right: 0px; padding-top: 5px\">View more <a href=\"http:\/\/www.slideshare.net\/\" target=\"_blank\">presentations<\/a> from <a href=\"http:\/\/www.slideshare.net\/SatoshiMimura\" target=\"_blank\">Satoshi Mimura<\/a> <\/div>\n<\/p><\/div>\n<p>\u30d7\u30ec\u30bc\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3068\u304b\u3092\u5b8c\u5168\u306b\u5207\u3063\u3066\u3082\u554f\u984c\u306b\u306a\u3089\u306a\u3044\u7a0b\u5ea6\u306b\u306f\u3057\u305f\u3064\u3082\u308a\u3067\u3059\u304c\u3001   <br \/>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3068\u5143\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u53d6\u3063\u3066\u6765\u308c\u307e\u3059\u306e\u3067\u3001\u6c17\u306b\u306a\u308b\u65b9\u306f\u305d\u3061\u3089\u304b\u3089\u3002<\/p>\n<p>&#160;<\/p>\n<p>\u79c1\u306e\u30d7\u30ec\u30bc\u30f3\u306e\u524d\u306b\u3001Corona \u306b\u3088\u308b\u3055\u304f\u3055\u304f\u958b\u767a\u3092\u3084\u3089\u308c\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u3001    <br \/>\u975e\u5e38\u306b\u3084\u308a\u3065\u3089\u304b\u3063\u305f\u306e\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u306a\u3093\u3068\u304b\u3084\u3063\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u30d7\u30ec\u30bc\u30f3\u306e\u30c7\u30fc\u30bf\u306f\u3001\u6d41\u308c\u308b\u3088\u3046\u306b\u3068\u3044\u3046\u3053\u3068\u3092\u610f\u8b58\u3057\u3066\u3001    <br \/>\u4e0a\u304b\u3089\u8aad\u3093\u3067\u3044\u304f\u3068\u3046\u307e\u304f\u3044\u304f\u4ed5\u639b\u3051\u306b\u306f\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u307e\u3041\u3001\u9762\u5012\u304f\u3055\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u8981\u70b9\u3092\u7e8f\u3081\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\uff11\uff0e\u8aad\u307f\u8fbc\u307f\u51e6\u7406\u3092 LoadContent \u306b\u66f8\u304f\u3002<\/p>\n<p>\uff12\uff0e\u63cf\u753b\u51e6\u7406\u3092 Draw \u306b\u66f8\u304f\u3002<\/p>\n<p>\u3053\u306e\uff12\u70b9\u3060\u3051\u77e5\u3063\u3066\u3001\u3042\u3068\u306f\u304c\u308a\u304c\u308a\u66f8\u3051\u3070\u66f8\u3051\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&#160;<\/p>\n<p>\u3042\u3068\u3044\u304f\u3064\u304b\u30b5\u30f3\u30d7\u30eb\u3002<\/p>\n<p>&#160;<\/p>\n<h4>1\uff0e\u753b\u50cf\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3002<\/h4>\n<p>1.1. \u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u30a8\u30af\u30b9\u30d7\u30ed\u30fc\u30e9\u306e\u300c\uff5eContent(Content)\u300d\u3068\u306a\u3063\u3066\u3044\u308b\u6240\u306b\u6295\u3052\u8fbc\u3080\u3002<\/p>\n<p><a href=\"http:\/\/mimumimu.net\/blog\/wp-content\/uploads\/2011\/09\/image.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/mimumimu.net\/blog\/wp-content\/uploads\/2011\/09\/image_thumb.png\" width=\"501\" height=\"383\" \/><\/a><\/p>\n<p>1.2. \u8aad\u307f\u8fbc\u3080\u30b3\u30fc\u30c9\u3092 \u300c LoadContent \u300d\u306b\u8ffd\u8a18\u3059\u308b\u3002<\/p>\n<div style=\"padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px\" id=\"scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:ee72d484-1a6d-499f-8949-6cf0da05bcc3\" class=\"wlWriterEditableSmartContent\">\n<pre class=\"brush: c#;\">this.texture = this.Content.Load&lt;Texture2D&gt;(\"pics\");<\/pre>\n<\/div>\n<p>\uff08\u30c0\u30d6\u30eb\u30af\u30a9\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3067\u56f2\u308f\u308c\u305f\u300cpics\u300d\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u306b\u5408\u308f\u305b\u3066\u4fee\u6b63\u3059\u308b\u3002\uff09<\/p>\n<p>1.3. \u63cf\u753b\u3059\u308b\u30b3\u30fc\u30c9\u3092\u300c Draw \u300d\u306b\u8ffd\u8a18\u3059\u308b\u3002<\/p>\n<div style=\"padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px\" id=\"scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:c50359c4-adf5-46a9-930f-3a1871f5991f\" class=\"wlWriterEditableSmartContent\">\n<pre class=\"brush: c#;\">spriteBatch.Begin();\nspriteBatch.Draw(this.texture, Vector2.Zero,Color.White);\nspriteBatch.End();\n<\/pre>\n<\/div>\n<p>spriteBatch \u306f\u30012D \u7cfb\u306e\u63cf\u753b\u7cfb\u3067\u4f7f\u3046\u3082\u306e\u3068\u6355\u3089\u3048\u3066\u304a\u3044\u3066\u9802\u3051\u308c\u3070\u3002<br \/>\n  <br \/>Begin() \u3067\u59cb\u3081\u3066\u3001\u63cf\u753b\u3057\u3066\u3001 End() \u3067\u7d42\u3048\u307e\u3059\u3002<\/p>\n<p>&#160;<\/p>\n<h4>\uff12\uff0eWindows Phone 7 \u306e\u30bf\u30c3\u30c1\u3092\u4f7f\u3046\u306b\u306f\u3002<\/h4>\n<p>2.1. \u53c2\u7167\u3092\u8ffd\u52a0<\/p>\n<div style=\"padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px\" id=\"scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:7146a732-7444-4a74-b2fb-5ba529ad4234\" class=\"wlWriterEditableSmartContent\">\n<pre class=\"brush: c#;\">using Microsoft.Xna.Framework.Input.Touch;<\/pre>\n<\/div>\n<p>2.2. Initalize \u306b\u3001\u30c9\u30e9\u30c3\u30b0\u51e6\u7406(FreeDrag) \u3092\u6709\u52b9\u306b\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<div style=\"padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px\" id=\"scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:e4b4be22-ee6b-46b1-80c7-2b09948c415c\" class=\"wlWriterEditableSmartContent\">\n<pre class=\"brush: c#;\">TouchPanel.EnabledGestures = GestureType.FreeDrag;\n<\/pre>\n<\/div>\n<p>2.3. Update \u306e\u4e2d\u3067\u3001 TouchPanel.IsGestureAvailable \u304cTrue \u304b\u3069\u3046\u304b\uff08\u30b8\u30a7\u30b9\u30c1\u30e3\u304c\u5b58\u5728\u3059\u308b\u304b\u3069\u3046\u304b\uff09\u3092\u8abf\u3079\u3066\u3001<br \/>\n  <br \/>\u3042\u308c\u3070\uff08\u52d5\u304d\u304c\u3042\u308c\u3070\uff09 ReadGesture() \u3067\u53d6\u5f97\u3057\u3066\u3001\u5ea7\u6a19\u3092\u683c\u7d0d\u3059\u308b\u3002<\/p>\n<div style=\"padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px\" id=\"scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:8e937513-dee9-4a9d-8abb-2368cce60f01\" class=\"wlWriterEditableSmartContent\">\n<pre class=\"brush: c#;\">if (TouchPanel.IsGestureAvailable)\n\tthis.vec = TouchPanel.ReadGesture().Position<\/pre>\n<\/div>\n<p>2.4. \u63cf\u753b\u6642\u306b\u3001\u4e0a\u8a18\u3067\u53d6\u5f97\u3057\u305f\u5ea7\u6a19\u3092\u4f7f\u3063\u3066\u63cf\u753b\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<div style=\"padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px\" id=\"scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:32addaf1-d03a-4e7c-b50b-f5872855ab9b\" class=\"wlWriterEditableSmartContent\">\n<pre class=\"brush: text;\">spriteBatch.Begin();\nspriteBatch.Draw(this.texture, this.vec, Color.White);\nspriteBatch.End();<\/pre>\n<\/div>\n<p>&#160;<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u3001\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n<p>\u3042\u304f\u307e\u3067\u3082\u3055\u304f\u3063\u3068\u3001\u521d\u3081\u3066\u306e\u4eba\u304c\u8208\u5473\u3092\u6301\u3063\u3066\u3082\u3089\u3048\u308c\u3070\u3068\u3044\u3046\u6c17\u6301\u3061\u3067\u4f5c\u3063\u305f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306a\u306e\u3067\u3001<br \/>\n  <br \/>\u304b\u306a\u308a\u8db3\u308a\u306a\u3044\u90e8\u5206\u3084\u3001\u7269\u8db3\u308a\u306a\u3044\u90e8\u5206\u304c\u3042\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u3001<\/p>\n<p>\u305d\u306e\u8fba\u308a\u306f\u8abf\u3079\u3066\u9802\u304f\u304b\u3001\u805e\u3044\u3066\u9802\u3051\u308c\u3070\u304a\u7b54\u3048\u3067\u304d\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3046\u3082\u307f\u3080\u3089\u3067\u3059\u3002 \u305d\u3093\u306a\u308f\u3051\u3067\u3001\u5148\u65e5\u3001 http:\/\/sumaben.jp\/?SPWorkshopKanto14 IIJ \u306b\u3066 Windows Phone 7 \u3067 XNA \u3092\u4f7f\u3063\u305f\u30b2\u30fc\u30e0\u958b\u767a\u3092\u3061\u3087\u3063\u3068\u59cb\u3081\u3066\u898b\u308b\u306e\u3082\u3044\u3044 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,7],"tags":[156,159,157,158],"class_list":["post-3540","post","type-post","status-publish","format-standard","hentry","category-wp7-dev","category-dev","tag-wp7","tag-xna","tag-157","tag-158"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/posts\/3540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/comments?post=3540"}],"version-history":[{"count":0,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/posts\/3540\/revisions"}],"wp:attachment":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/media?parent=3540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/categories?post=3540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/tags?post=3540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}