{"id":1070,"date":"2013-12-04T18:59:45","date_gmt":"2013-12-04T09:59:45","guid":{"rendered":"http:\/\/www.eximradar.jp\/wordpress\/?p=1070"},"modified":"2013-12-07T16:27:09","modified_gmt":"2013-12-07T07:27:09","slug":"hsp3-%e6%a8%aa%e3%82%b9%e3%82%af%e3%83%ad%e3%83%bc%e3%83%ab%e3%82%b7%e3%83%a5%e3%83%bc%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0","status":"publish","type":"post","link":"https:\/\/www.eximradar.jp\/?p=1070","title":{"rendered":"HSP3 \u6a2a\u30b9\u30af\u30ed\u30fc\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0"},"content":{"rendered":"<p>\u5148\u65e5\u306fHSP\u3067<a title=\"HSP3\u57fa\u790e\u7de8 \u30eb\u30fc\u30d7\u547d\u4ee4\" href=\"https:\/\/www.eximradar.jp\/wordpress\/?p=991\">\u661f\u3082\u3069\u304d\u3092\u591a\u91cd\u30b9\u30af\u30ed\u30fc\u30eb\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0<\/a>\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3057\u305f\u304c\u3001\u3042\u3042\u3044\u3046\u306e\u306f\u3044\u304b\u306b\u3082\u6a2a\u30b7\u30e5\u30fc\u306e\u80cc\u666f\u3067\u3042\u308b\u306e\u3067\u30ec\u30fc\u30b6\u30fc\u3092\u6483\u3066\u308b\u81ea\u6a5f\u3092\u4f5c\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u3001\u4ee5\u4e0b\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u306a\u304a\u3001\u4eca\u56de\u306f\u6575\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u90e8\u5206\u306f\u629c\u3044\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\" title=\"shooting sample\">\/\/Shooting Sample  (C)2013 Eximradar.net ORGN-G\r\n\r\ndim laserPosX,10\r\ndim laserPosY,10\r\ndim laserLength,10\r\n\r\n\/\/\u30b7\u30e7\u30c3\u30c8\u30d5\u30e9\u30b0\u7528\u5909\u6570\r\ndim shotFlag,10\r\n\r\ndim starPosX,60\r\ndim starPosY,60\r\n\r\n\/\/\u81ea\u6a5f\u306e\u521d\u671f\u4f4d\u7f6e\r\nmePosX = 240\r\nmePosY = 400\r\n\r\nfor i,0,60,1\r\n\tstarPosX(i) = rnd(640)\r\n\tstarPosY(i) = rnd(480)\r\nnext\r\n\r\n*drowloop\r\n\r\n\/\/\u753b\u9762\u521d\u671f\u5316\r\ncls 4\r\ncolor 255,255,255\r\npos mePosX,mePosY\r\nmes meGrafx\r\n\r\n\/\/\u30ad\u30fc\u5165\u529b\u5224\u5b9a\r\ngetkey keyRight,68\r\ngetkey keyLeft,65\r\ngetkey keyUp,87\r\ngetkey keyDown,83\r\n\r\nstick shotKey,0\r\n\r\n\/\/\u30b7\u30e7\u30c3\u30c8\u30d5\u30e9\u30b0\u3092\u7acb\u3066\u308b\r\nif shotKey&amp;16{\r\n\r\n\tfor i,0,7,1\r\n\t\tif shotLimit=0 and shotFlag(i)=0:shotFlag(i)=1:laserPosX(i)=x:laserPosY(i)=y:shotLimit=1\r\n\tnext\r\n}\r\n\r\nshotLimit=0\r\n\r\n\/\/\u81ea\u6a5f\u79fb\u52d5\r\nmeGrafx=\"^=--\"\r\n\r\nif keyRight = 1 :if mePosX&lt;=600 : mePosX = mePosX+4 : meGrafx = \"^=--\"\r\nif keyLeft  = 1 :if mePosX&gt;=10  : mePosX = mePosX-4 : meGrafx = \"^=--\"\r\nif keyUp    = 1 :if mePosY&gt;=10  : mePosY = mePosY-4 : meGrafx = \"\u4e8c\uff1e\"\r\nif keyDown  = 1 :if mePosY&lt;=470 : mePosY = mePosY+4 : meGrafx = \"\u4e8c\uff1e\"\r\n\r\n\/\/\u30ec\u30fc\u30b6\u30fc\u306e\u63cf\u753b\r\nforeach shotFlag\r\n\r\n\tif shotFlag(cnt) = 1{\r\n\r\n\t\tif   laserLength(cnt) &lt; 100 : laserLength(cnt) + 10 : laserPosX(cnt) = mePosX + 28 : laserPosY(cnt) = mePosY\r\n   \t\tline laserPosX(cnt),laserPosY(cnt)+6,laserPosX(cnt)+laserLength(cnt),laserPosY(cnt)+6\r\n   \t\tif   laserLength(cnt) = 100 : laserPosX(cnt) = laserPosX(cnt) + 10\r\n\t\tif   laserPosX(cnt) &gt;= 640 : shotFlag(cnt) = 0 : laserLength(cnt) = 0 : nfst(cnt) = 1\r\n\r\n\t}\r\nloop\r\n\r\n\/\/\u80cc\u666f\u30b9\u30af\u30ed\u30fc\u30eb\r\nforeach starPosX\r\n\r\n\t\tif 0  &lt;= cnt and cnt &lt;= 19 : starPosX(cnt) - 2 :color 253,255,100\r\n\t\tif 20 &lt;= cnt and cnt &lt;= 39 : starPosX(cnt) - 3 :color 255,146,100\r\n\t\tif 40 &lt;= cnt and cnt &lt;= 60 : starPosX(cnt) - 5 :color 255,255,255\r\n\t\tif starPosX(cnt) &lt; 0:starPosX(cnt) = 641 : starPosY(cnt) = rnd(480)\r\n\t\tpset starPosX(cnt),starPosY(cnt)\r\nloop\r\n\r\n\/\/\u753b\u9762\u306b\u53cd\u6620\r\nredraw 1\r\nwait 1\r\nredraw 0\r\n\r\ngoto *drowloop<\/pre>\n<p>&nbsp;<\/p>\n<p>\u52d5\u4f5c\u30a4\u30e1\u30fc\u30b8\u304c\u308f\u304b\u3063\u305f\u3068\u3053\u308d\u3067\u5404\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066\u8aac\u660e\u3092\u52a0\u3048\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u5404\u547d\u4ee4\u306b\u3064\u3044\u3066\u306fHSP\u306e\u547d\u4ee4\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306a\u3069\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #00ffff;\"><strong>\/\/\u30b7\u30e7\u30c3\u30c8\u30d5\u30e9\u30b0\u7528\u306e\u5909\u6570<\/strong><\/span><\/p>\n<p>\u30fb\u3053\u306e\u914d\u5217\u5909\u6570\u306b\u306f\u3001\u300c\u30ec\u30fc\u30b6\u30fc\u304c\u753b\u9762\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u304b\u300d\u306e\u30d5\u30e9\u30b0\u304c\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30fb\u4e0a\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u914d\u5217\u304c10\u3067\u3059\u306e\u3067\u3001\u753b\u9762\u4e0a\u306b\u306f\u540c\u6642\u306b10\u672c\u306e\u30ec\u30fc\u30b6\u30fc\u304c\u8868\u793a\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #00ffff;\">\/\/\u753b\u9762\u521d\u671f\u5316<\/span><\/p>\n<p>\u30fb\u6b21\u30d5\u30ec\u30fc\u30e0\u63cf\u753b\u306e\u305f\u3081\u306b\u3053\u3053\u3067\u753b\u9762\u3092\u4e00\u5ea6\u307e\u3063\u3055\u3089\u306a\u72b6\u614b\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #00ffff;\">\/\/\u30ad\u30fc\u5165\u529b\u5224\u5b9a<\/span><\/p>\n<p>\u30fbgetkey\u53ca\u3073stick\u547d\u4ee4\u3067\u30ad\u30fc\u5165\u529b\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30fbstick\u547d\u4ee4\u306f\u540c\u6642\u62bc\u3057\u5224\u5b9a\u304c\u5fc5\u8981\u306a\u6642\u306b\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #00ffff;\">\/\/\u30b7\u30e7\u30c3\u30c8\u30d5\u30e9\u30b0\u3092\u7acb\u3066\u308b<\/span><\/p>\n<p>\u30fb\u30b9\u30da\u30fc\u30b9\u30ad\u30fc\u304c\u62bc\u3055\u308c\u305f\u5834\u5408\u306b\u30b7\u30e7\u30c3\u30c8\u30d5\u30e9\u30b0\u3092\u7acb\u3066\u307e\u3059\u3002\u914d\u5217\u306e\u82e5\u3044\u65b9\u304c\u512a\u5148\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30fbshotLimit\u30671\u30d5\u30ec\u30fc\u30e0\u4e2d\u306b\u30d5\u30e9\u30b0\u3092\u7acb\u3066\u3089\u308c\u308b\u6570\u30921\u3064\u306b\u5236\u9650\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #00ffff;\">\/\/\u81ea\u6a5f\u79fb\u52d5<\/span><\/p>\n<p>\u30fb\u30ad\u30fc\u5165\u529b\u306b\u57fa\u3065\u3044\u3066\u81ea\u6a5f\u3092\u79fb\u52d5\u3057\u307e\u3059\u3002\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u4e0a\u4e0b\u5de6\u53f3\u3068\u3082\u306b\u79fb\u52d5\u901f\u5ea6\u306f4\u30c9\u30c3\u30c8\/\u30d5\u30ec\u30fc\u30e0\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #00ffff;\">\/\/\u30ec\u30fc\u30b6\u30fc\u63cf\u753b<\/span><\/p>\n<p>\u30fb\u30b7\u30e7\u30c3\u30c8\u30d5\u30e9\u30b0\u306b\u57fa\u3065\u3044\u3066\u30ec\u30fc\u30b6\u30fc\u3092\u63cf\u753b\u3057\u307e\u3059\u3002<\/p>\n<p>\u30fb\u30b5\u30f3\u30d7\u30eb\u3067\u306flaserLength(\u30ec\u30fc\u30b6\u30fc\u9577)\u306f100\u3067\u3059\u3002\u81ea\u6a5f\u306e\u524d\u306b\u7a81\u7136\u9577\u3055100\u306e\u30ec\u30fc\u30b6\u30fc\u304c\u73fe\u308c\u308b\u306e\u306f\u4e0d\u81ea\u7136\u3067\u3059\u304b\u3089\u300164\u884c\u76ee\u3067\u81ea\u6a5f\u304b\u3089\u30ec\u30fc\u30b6\u30fc\u304c\u4f38\u3073\u308b\u51e6\u7406\u3092\u3057\u3066\u3044\u307e\u3059\u3002\u30ec\u30fc\u30b6\u30fc\u9577\u304c100\u306b\u9054\u3059\u308b\u307e\u3067\u306f\u30ec\u30fc\u30b6\u30fc\u306e\u59cb\u70b9\u306f\u81ea\u6a5f\u306b\u8ffd\u5f93\u3057\u307e\u3059\u3002<\/p>\n<p>\u30fb\u30ec\u30fc\u30b6\u30fc\u306f10\u30c9\u30c3\u30c8\/1\u30d5\u30ec\u30fc\u30e0\u306e\u901f\u5ea6\u3067\u767a\u5c04\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30fb65\u884c\u76ee\u306f\u5b9f\u969b\u306bline\u547d\u4ee4\u3067\u30ec\u30fc\u30b6\u30fc\u3092\u63cf\u753b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30fb66\u884c\u76ee\u3067\u306flaserLength\u304c100\u306b\u9054\u3057\u305f\u30ec\u30fc\u30b6\u30fc\u3092\u753b\u9762\u53f3\u306b\u30b9\u30af\u30ed\u30fc\u30eb\u3057\u3066\u3044\u307e\u3059\u3002\u30ec\u30fc\u30b6\u9577\u3084\u901f\u5ea6\u3092\u5909\u66f4\u3059\u308b\u5834\u5408\u306f\u300164\u884c\u76ee\u306elaserLength\u3068laserPosX\u306b\u6570\u5024\u3092\u4e00\u81f4\u3055\u305b\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u30fb67\u884c\u76ee\u3067\u306f\u3001\u753b\u9762\u5916\u306b\u51fa\u305f\u30ec\u30fc\u30b6\u30fc\u306e\u30b7\u30e7\u30c3\u30c8\u30d5\u30e9\u30b0\u3092\u89e3\u9664\uff08\u4e0b\u308d\u3059\uff09\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #00ffff;\">\/\/\u80cc\u666f\u30b9\u30af\u30ed\u30fc\u30eb<\/span><\/p>\n<p>\u524d\u8ff0\u306e\u901a\u308a\u3001\u524d\u56de\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #00ffff;\">\/\/\u753b\u9762\u306b\u53cd\u6620<\/span><\/p>\n<p>\u30fb\u8a66\u3057\u3066\u3082\u3089\u3048\u3070\u308f\u304b\u308a\u307e\u3059\u304c\u3001redraw\u90e8\u5206\u304c\u306a\u3044\u3068\u753b\u9762\u304c\u3061\u3089\u3064\u304d\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u3056\u3063\u3068\u8aac\u660e\u3055\u305b\u3066\u3082\u3089\u3044\u307e\u3057\u305f\u304c\u3001\u4e0d\u660e\u306a\u70b9\u306a\u3069\u306f\u30b3\u30e1\u30f3\u30c8\u6b04\u306b\u304a\u5bc4\u305b\u3044\u305f\u3060\u3051\u308c\u3070\u53ef\u80fd\u306a\u9650\u308a\u304a\u7b54\u3048\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u4eca\u56de\u306f\u3053\u306e\u8fba\u3067\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5148\u65e5\u306fHSP\u3067\u661f\u3082\u3069\u304d\u3092\u591a\u91cd\u30b9\u30af\u30ed\u30fc\u30eb\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3057\u305f\u304c\u3001\u3042\u3042\u3044\u3046\u306e\u306f\u3044\u304b\u306b\u3082\u6a2a\u30b7\u30e5\u30fc\u306e\u80cc\u666f\u3067\u3042\u308b\u306e\u3067\u30ec\u30fc\u30b6\u30fc\u3092\u6483\u3066\u308b\u81ea\u6a5f\u3092\u4f5c\u3063\u3066\u307f\u307e\u3059\u3002 \u3068\u308a\u3042\u3048\u305a\u3001\u4ee5\u4e0b\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u306a\u304a\u3001\u4eca\u56de &hellip; <a href=\"https:\/\/www.eximradar.jp\/?p=1070\">\u7d9a\u304d\u3092\u8aad\u3080 <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":[],"categories":[7,5],"tags":[],"_links":{"self":[{"href":"https:\/\/www.eximradar.jp\/index.php?rest_route=\/wp\/v2\/posts\/1070"}],"collection":[{"href":"https:\/\/www.eximradar.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.eximradar.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.eximradar.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.eximradar.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1070"}],"version-history":[{"count":5,"href":"https:\/\/www.eximradar.jp\/index.php?rest_route=\/wp\/v2\/posts\/1070\/revisions"}],"predecessor-version":[{"id":1075,"href":"https:\/\/www.eximradar.jp\/index.php?rest_route=\/wp\/v2\/posts\/1070\/revisions\/1075"}],"wp:attachment":[{"href":"https:\/\/www.eximradar.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1070"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.eximradar.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1070"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.eximradar.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}