{"id":21460,"date":"2026-11-02T09:00:47","date_gmt":"2026-11-02T00:00:47","guid":{"rendered":"https:\/\/sinsei.space\/blog\/?p=21460"},"modified":"2026-11-02T09:01:26","modified_gmt":"2026-11-02T00:01:26","slug":"%e6%a8%99%e6%ba%96%e3%82%b9%e3%83%97%e3%83%a9%e3%82%a4%e3%83%88%ef%bc%88es_%e5%91%bd%e4%bb%a4%ef%bc%89%e3%81%9d%e3%81%ae2%e3%80%80%e3%82%b7%e3%83%a7%e3%83%83%e3%83%88%e3%82%92%e4%bd%9c%e3%82%8d","status":"publish","type":"post","link":"https:\/\/sinsei.space\/blog\/21460","title":{"rendered":"\u6a19\u6e96\u30b9\u30d7\u30e9\u30a4\u30c8\uff08es_\u547d\u4ee4\uff09\u305d\u306e2\u3000\u30b7\u30e7\u30c3\u30c8\u3068\u6575\u3092\u4f5c\u308a\u5f53\u305f\u308a\u5224\u5b9a\u3092\u3059\u308b"},"content":{"rendered":"<p><font size=4><br \/>\n2026\u5e74 11\u6708 2\u65e5<br \/>\n<strong>\u3000<\/strong><br \/>\n<strong>\u3000<\/strong><br \/>\n\u3000\u4eca\u56de\u306f <span style=\"color: #0000f0;\">HSP Dish<\/span>\u306e<span style=\"color: #f00000;\">\u6a19\u6e96\u30b9\u30d7\u30e9\u30a4\u30c8\uff08es_\u547d\u4ee4\uff09<\/span>\u3067\u3001\u524d\u56de\u306b\u5f15\u304d\u7d9a\u304d<span style=\"color: #00b000;\">\u30b7\u30e7\u30c3\u30c8\u3068\u6575\u3092\u8ffd\u52a0<\/span>\u3057<span style=\"color: #00b000;\">\u5f53\u305f\u308a\u5224\u5b9a<\/span>\u3092\u3084\u308a\u307e\u3059\u3002<\/p>\n<p><!--more--><br \/>\n\u3000\u3067\u306f\u30bd\u30fc\u30b9\u3092<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sinsei.space\/blog\/wp-content\/uploads\/2026\/10\/test5.png\" alt=\"\" width=\"32\" height=\"32\" class=\"alignnone size-full wp-image-21407\" \/><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">#include \"hsp3dish.as\" ; HSP3Dish\u30e9\u30f3\u30bf\u30a4\u30e0\u3092\u4f7f\u7528\u3059\u308b\r\n#include \"hspmath.as\" ; round(\u56db\u6368\u4e94\u5165)\u7528\r\n\r\n;--- initialize\uff08\u521d\u671f\uff09 ----------\r\n\r\nrag45=0.7853982\t; \u30e9\u30b8\u30a2\u30f3\u306745\u5ea6\r\nwx=320 : wy=240 ; \u753b\u9762\u5927\u304d\u3055\r\n\r\n; \u81ea\u6a5f\r\njox=16 : joy=16 ; \u81ea\u6a5f\u5927\u304d\u3055\r\njxa=0.0 : jxb=double(wx-jox) ; \u5ea7\u6a19\u7bc4\u56f2x\r\njya=0.0 : jyb=double(wy-joy) ; \u5ea7\u6a19\u7bc4\u56f2y\r\njx=wx\/2-8 : jy=wy\/2-8 ; \u81ea\u6a5f\u5ea7\u6a19\r\njxf=double(jx) : jyf=double(jy) ; \u5c0f\u6570\u70b9\u5ea7\u6a19\r\njsp=2.0 ; \u81ea\u6a5f\u30b9\u30d4\u30fc\u30c9\r\njsp2=jsp*rag45 ; \u659c\u3081\u30b9\u30d4\u30fc\u30c9\r\n\r\n; \u30b7\u30e7\u30c3\u30c8\r\nsna=1 ; \u30b9\u30d7\u30e9\u30a4\u30c8No.\u306e\u59cb\u3081\r\nsb=30 ; \u6700\u5927\u6570\r\nssp=10 ; \u30b9\u30d4\u30fc\u30c9\r\n\r\nscreen 0,wx,wy\r\n\r\nes_ini ,,360; \u30b9\u30d7\u30e9\u30a4\u30c8\u306e\u521d\u671f\u5316\r\nes_area -16,-16,wx+16,wy+16 ; \u30b9\u30d7\u30e9\u30a4\u30c8\u751f\u5b58\u30a8\u30ea\u30a2\r\n\r\nbuffer 2 : picload \"test5.png\" ; \u753b\u50cf\r\n\r\nes_size 16,16,100 ; \u5927\u304d\u3055x\u3001y\u3001\u5f53\u305f\u308a\u5224\u5b9a\u5927\u304d\u3055%\r\n\r\n; \u30ad\u30e3\u30e9\u767b\u9332\r\n es_pat 1,0,0   ; \u81ea\u6a5f\r\n es_pat 2,16,0  ; \u6575\r\n es_pat 3,0,16  ; \u30b7\u30e7\u30c3\u30c8\r\n es_pat 4,16,16 ; \u5f3e\r\n\r\n;\u30b9\u30d7\u30e9\u30a4\u30c8\u767b\u9332\uff08\u30b9\u30d7No.\u3001\u5ea7\u6a19x\u3001\u5ea7\u6a19y\u3001\u30ad\u30e3\u30e9No.\uff09\r\nes_set 0,jx,jy,1 ; \u81ea\u6a5f\r\n\r\n\r\n;--- \u30e1\u30a4\u30f3 ----------\r\n\r\ngsel 0 ; \u64cd\u4f5c\u753b\u9762\u3092\u30e1\u30a4\u30f3\u30b9\u30af\u30ea\u30fc\u30f3\u306b\u623b\u3059\r\n\r\nrepeat\r\n\r\n  stick key,31 ; \u30ad\u30fc\u5165\u529b\r\n   if key&128 : break ; [ESC]\u3067\u7d42\u4e86\r\n   repeat 1\r\n    if key&1 and key&2 : jxf-=jsp2 : jyf-=jsp2 : break ; \u5de6\u4e0a\r\n    if key&2 and key&4 : jxf+=jsp2 : jyf-=jsp2 : break ; \u53f3\u4e0a\r\n    if key&1 and key&8 : jxf+=jsp2 : jyf+=jsp2 : break ; \u5de6\u4e0b\r\n    if key&4 and key&8 : jxf+=jsp2 : jyf+=jsp2 : break ; \u53f3\u4e0b\r\n    if key&2 : jyf-=jsp ; \u4e0a\r\n    if key&8 : jyf+=jsp ; \u4e0b\r\n    if key&1 : jxf-=jsp ; \u5de6\r\n    if key&4 : jxf+=jsp ; \u53f3\r\n   loop\r\n\r\n   jxf=limitf(jxf,jxa,jxb) ; \u5ea7\u6a19\u7bc4\u56f2x\r\n   jyf=limitf(jyf,jya,jyb) ; \u5ea7\u6a19\u7bc4\u56f2y\r\n\r\n   jx=int(round(jxf)) ; \u6700\u7d42\u5ea7\u6a19x\r\n   jy=int(round(jyf)) ; \u6700\u7d42\u5ea7\u6a19y\r\n   \r\n   es_pos 0,jx,jy ; \u5ea7\u6a19\u30bb\u30c3\u30c8\r\n\r\n   if key&16 { ; \u30b7\u30e7\u30c3\u30c8\r\n    es_new spn,sna,sb-1 ; \u7a7a\u3044\u3066\u308b\u30b9\u30d7\u30e9\u30a4\u30c8No.\r\n    if spn!-1 { ; -1\u306f\u7121\u304b\u3063\u305f\u5834\u5408\r\n\t es_set spn,jx,jy,3 ; \u30b9\u30d7\u30e9\u30c8\u767b\u9332\r\n\t es_adir spn,180,ssp*100 ; \u79fb\u52d5\u65b9\u5411\r\n\t}\r\n   }\r\n\r\n;--- \u8868\u793a ----------\r\n redraw 0\r\n  color 1,1,1 : boxf\r\n  es_draw ; \u30b9\u30d7\u30e9\u30a4\u30c8\u63cf\u753b\r\n\r\n  color 255,255,255 : pos 10,10 : mes \"FPS \"+fpsn ; FPS\u8868\u793a\r\n  pos 10,50 : mes \"key \"+key\r\n redraw 1\r\n await 1000\/60 ; 60FPS\r\n\r\n; FPS\u8868\u793a\r\n tn2=gettime(6) ; \u79d2\u53d6\u5f97\r\n if tn1 not tn2 : tn1=tn2 : fpsn=fps : fps=0 ; \u30ea\u30bb\u30c3\u30c8\r\n fps+ ; FPS\u8a08\u6e2c\u5024\r\nloop\r\n\r\nend<\/pre>\n<p>&nbsp;<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sinsei.space\/blog\/wp-content\/uploads\/2026\/10\/img005817.jpg\" alt=\"\" width=\"308\" height=\"266\" class=\"alignnone size-full wp-image-21475\" srcset=\"https:\/\/sinsei.space\/blog\/wp-content\/uploads\/2026\/10\/img005817.jpg 308w, https:\/\/sinsei.space\/blog\/wp-content\/uploads\/2026\/10\/img005817-300x259.jpg 300w\" sizes=\"auto, (max-width: 308px) 85vw, 308px\" \/><\/p>\n<p>\u3000<span style=\"color: #0000f0;\">es_area<\/span>\u306f\u30b9\u30d7\u30e9\u30a4\u30c8\u304c\u751f\u5b58\u3059\u308b\u30a8\u30ea\u30a2\u3067\u3001es_area -16,-16,wx+16,wy+16\u3068\u66f8\u3044\u3066\u308b\u306e\u3067\u3001\u3053\u306e\u5834\u5408\u30b9\u30d7\u30e9\u30a4\u30c8\u306e\u5ea7\u6a19\u304c -16,-16,336,256\u306e\u5916\u306b\u306a\u3063\u305f\u5834\u5408\u3001\u305d\u306e<span style=\"color: #f00000;\">\u30b9\u30d7\u30e9\u30a4\u30c8\u3092\u81ea\u52d5\u3067\u6d88\u53bb<\/span>\u3057\u3066\u304f\u308c\u307e\u3059\u3001\u3053\u308c\u306f\u4fbf\u5229\u3002<\/p>\n<p>\u3000<span style=\"color: #00b000;\">if key&16<\/span> \u3053\u306e\u5834\u5408 SPACE\u30ad\u30fc\u3092\u62bc\u3057\u305f\u6642\u306b\u30b7\u30e7\u30c3\u30c8\u3092\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>\u3000\u307e\u305a <span style=\"color: #0000f0;\">es_new<\/span>\u547d\u4ee4\u3067\u30b9\u30d7\u30e9\u30a4\u30c8\u306e\u7a7a\u304d\u3092\u63a2\u3057\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #0000f0;\">es_new \u30b9\u30d7\u30e9\u30a4\u30c8No.,\u691c\u7d22 No.\u59cb\u3081,\u691c\u7d22\u500b\u6570<\/span><br \/>\nes_new spn,sna,sb-1<\/p>\n<p>\u3000\u30b9\u30d7\u30e9\u30a4\u30c8No.\u306f\u7a7a\u3044\u3066\u3044\u305f No.\u304c\u683c\u7d0d\u3055\u308c\u307e\u3059\u3001\u3053\u306e\u5834\u5408\u306f\u5909\u6570 spn\u3067\u3059\u3001\u7121\u304b\u3063\u305f\u5834\u5408\u306f -1\u304c\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3000\u691c\u7d22\u59cb\u3081\u306f\u30bd\u30fc\u30b9\u306e\u521d\u671f\u8a2d\u5b9a\u3067 sna=1\u306b\u306a\u3063\u3066\u307e\u3059\u3001\u691c\u7d22\u500b\u6570\u306f sb\u304c\u30b7\u30e7\u30c3\u30c8\u306e\u6700\u5927\u6570\u3067\u3001\u3053\u306e\u5834\u5408 30\u306b\u8a2d\u5b9a\u3057\u3066\u307e\u3059\u3051\u3069\u3001\u306a\u305c\u304b\u691c\u7d22\u500b\u6570\u304c\u4e00\u500b\u591a\u304f\u306a\u308b\u306e\u3067 sb-1\u306e\u69d8\u306b -1\u3057\u307e\u3059\u3002<\/p>\n<p>\u3000\u3064\u307e\u308a 3\u3068\u6307\u5b9a\u3059\u308b\u3068\u5b9f\u969b\u306b\u306f 4\u500b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000<span style=\"color: #0000f0;\">es_adir<\/span>\u3067\u79fb\u52d5\u3055\u305b\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #0000f0;\">es_adir\u3000\u30b9\u30d7\u30e9\u30a4\u30c8No.,\u79fb\u52d5\u65b9\u5411,\u79fb\u52d5\u30b9\u30d4\u30fc\u30c9<\/span><br \/>\nes_adir spn,180,ssp*100<\/p>\n<p>\u3000\u79fb\u52d5\u65b9\u5411\u306f 0\u304c\u5897\u4e0b\u3067\u534a\u6642\u8a08\u56de\u308a\u3001\u4e00\u5468\u306f es_ini\u3067\u8a2d\u5b9a\u3057\u305f 360\u306a\u306e\u3067\u771f\u4e0a\u304c 180\u306b\u306a\u308a\u307e\u3059\u3001\u53f3\u306f 90\u3067\u5de6\u306f 270\u3067\u3059\u306d\u3002<\/p>\n<p>\u3000\u305d\u306e\u65b9\u5411\u306b\u79fb\u52d5\u30b9\u30d4\u30fc\u30c9\u5206\u3060\u3051\u79fb\u52d5\u3057\u307e\u3059\u3001\u30b9\u30d4\u30fc\u30c9\u306f 0\uff5e100%\u306e\u6307\u5b9a\u306a\u306e\u3067 *100\u3092\u66f8\u304d\u307e\u3059\u3002<br \/>\n<strong>\u3000<\/strong><br \/>\n<strong>\u3000<\/strong><br \/>\n<strong>\u3000<\/strong><br \/>\n\u3000\u6b21\u306f\u6575\u3092\u51fa\u73fe\u3055\u305b\u307e\u3059\u3002<\/p>\n<p>\u3000\u57fa\u672c\u7684\u306b\u306f\u30b7\u30e7\u30c3\u30c8\u3068\u540c\u3058\u3067\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">; \u6575\r\nena=sna+sb ; \u30b9\u30d7\u30e9\u30a4\u30c8No.\u306e\u59cb\u3081\r\neb=100 ; \u6700\u5927\u6570\r\nesp=1 ; \u30b9\u30d4\u30fc\u30c9\r\nec=0 ; \u51fa\u73fe\u30ab\u30a6\u30f3\u30bf\u30fc\r\necn=10 ; \u51fa\u73fe\u9593\u9694\r\n\r\n   ec+\r\n\u3000 if ec=ecn { ; \u6575\u51fa\u73fe\r\n    ec=0\r\n    es_new spn,ena,eb-1 ; \u30b9\u30d7No.\r\n    if spn!-1 {\r\n\t ex=rnd(wx-16) : ey=-16 ; \u521d\u671f\u5ea7\u6a19\r\n\t es_set spn,ex,ey,2 ; \u30b9\u30d7\u767b\u9332\r\n\t es_adir spn,0,esp*100 ; \u79fb\u52d5\u65b9\u5411\r\n\t}\r\n   }\r\n<\/pre>\n<p>&nbsp;<br \/>\n\u3000ec\u51fa\u73fe\u30ab\u30a6\u30f3\u30bf\u30fc\u306b\u3088\u308a 10\u30d5\u30ec\u30fc\u30e0\u306b 1\u6a5f\u51fa\u73fe\u3057\u307e\u3059\u3002<\/p>\n<p>\u3000x\u5ea7\u6a19\u306f\u30e9\u30f3\u30c0\u30e0\u3001y\u5ea7\u6a19\u306f -16\u3001\u79fb\u52d5\u65b9\u5411\u306f\u771f\u4e0b\u306a\u306e\u3067 0\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sinsei.space\/blog\/wp-content\/uploads\/2026\/11\/img005821.jpg\" alt=\"\" width=\"308\" height=\"266\" class=\"alignnone size-full wp-image-21493\" srcset=\"https:\/\/sinsei.space\/blog\/wp-content\/uploads\/2026\/11\/img005821.jpg 308w, https:\/\/sinsei.space\/blog\/wp-content\/uploads\/2026\/11\/img005821-300x259.jpg 300w\" sizes=\"auto, (max-width: 308px) 85vw, 308px\" \/><br \/>\n<strong>\u3000<\/strong><br \/>\n<strong>\u3000<\/strong><br \/>\n<strong>\u3000<\/strong><br \/>\n\u3000\u6700\u5f8c\u306b\u5f53\u305f\u308a\u5224\u5b9a\u3092\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">;--- \u5f53\u305f\u308a\u5224\u5b9a ---------\r\n   es_check spn,0,,,ena,ena+eb-1\r\n   if spn!-1 : gamef=1 ; \u30b2\u30fc\u30e0\u30aa\u30fc\u30d0\u30fc<\/pre>\n<p>&nbsp;<br \/>\n\u3000\u306a\u3093\u3068\u3053\u308c\u3060\u3051\u3067\u5f53\u305f\u308a\u5224\u5b9a\u304c\u3067\u304d\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u3000<span style=\"color: #0000f0;\">es_cheak<\/span>\u3067\u5224\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #0000f0;\">es_cheak\u3000\u7d50\u679c\u3092\u5165\u308c\u308b\u5909\u6570 , \u30c1\u30a7\u30c3\u30af\u3059\u308b\u30b9\u30d7No , type\u5024 , \u5224\u5b9a\u30d5\u30e9\u30b0 , \u958b\u59cbNo. , \u7d42\u4e86No.<\/span><br \/>\nes_check spn,0,,,ena,ena+eb-1<\/p>\n<p>\u3000spn\u306b\u7d50\u679c\uff08\u91cd\u306a\u3063\u3066\u308b\u30b9\u30d7No.\uff09\u304c\u4ee3\u5165\u3055\u308c\u307e\u3059\u3001\u7121\u304b\u3063\u305f\u5834\u5408\u306f -1\u3067\u3059\u3002<\/p>\n<p>\u3000\u30c1\u30a7\u30c3\u30af\u3059\u308b\u30b9\u30d7No.\u306f\u3053\u306e\u5834\u5408\u3001\u81ea\u6a5f\u306f\u30b9\u30d7 No.0\u306a\u306e\u3067 0\u3067\u3059\u3002<\/p>\n<p>\u3000type\u5024\u306f\u3001\u4f8b\u3048\u3070\u6575\u306b type\u5024\u3092\u8a2d\u5b9a\u3057\u3066\u7f6e\u304f\u3068\u3001\u305d\u306e type\u5024\u3060\u3051\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3001\u4f8b\u3048\u3070\u7a7a\u4e2d\u7269=0\u3067\u5730\u4e0a\u7269=1\u306b\u8a2d\u5b9a\u3059\u308b\u3068\u304b\u3067\u3059\u3002<\/p>\n<p>\u3000\u5224\u5b9a\u30d5\u30e9\u30b0\u306f\u30b9\u30d7\u30e9\u30a4\u30c8\u304c\u56de\u8ee2\u8868\u793a\u3057\u3066\u308b\u6642\u306b\u659c\u3081\u306b\u6b63\u78ba\u306b\u5224\u5b9a\u3059\u308b\u305d\u3046\u3067\u3059\u3001\u5c11\u3057\u91cd\u304f\u306a\u308b\u3068\u306e\u4e8b\u3067\u3059\u3002<\/p>\n<p>\u3000\u958b\u59cbNo.\u306f ena\u3067\u6575\u30b9\u30d7\u30e9\u30a4\u30c8\u306e\u958b\u59cb No.\u3001\u7d42\u4e86 No.\u306f ena+eb\uff08\u6700\u5927\u6570\uff09-1\u3067\u3059\u3002<\/p>\n<p>\u3000\u7d42\u4e86No.\u306f\u6307\u5b9a\u3057\u305f No.\u3082\u542b\u3080\u3068\u306e\u4e8b\u3067\u3001\u51fa\u73fe\u306e\u6642\u3068\u540c\u3058\u304f -1\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sinsei.space\/blog\/wp-content\/uploads\/2026\/11\/img005819.jpg\" alt=\"\" width=\"308\" height=\"266\" class=\"alignnone size-full wp-image-21506\" srcset=\"https:\/\/sinsei.space\/blog\/wp-content\/uploads\/2026\/11\/img005819.jpg 308w, https:\/\/sinsei.space\/blog\/wp-content\/uploads\/2026\/11\/img005819-300x259.jpg 300w\" sizes=\"auto, (max-width: 308px) 85vw, 308px\" \/><br \/>\n<strong>\u3000<\/strong><br \/>\n<strong>\u3000<\/strong><br \/>\n<strong>\u3000<\/strong><br \/>\n\u3000\u30b7\u30e7\u30c3\u30c8\u3068\u6575\u306e\u5f53\u305f\u308a\u5224\u5b9a\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">   repeat sb-1 ; \u30b7\u30e7\u30c3\u30c8\r\n    spn=sna+cnt ; \u30b7\u30e7\u30c3\u30c8\u306e\u30b9\u30d7No.\r\n    es_get f,spn,0 ; \u751f\u5b58\u30d5\u30e9\u30b0\r\n     if f=0 : continue ; \u7121\u3044\r\n    es_check epn,spn,,,ena,ena+eb-1\r\n     if epn=-1 : continue ; \u7121\u304b\u3063\u305f\r\n    es_kill spn ; \u30b7\u30e7\u30c3\u30c8\u524a\u9664\r\n    es_kill epn ; \u6575\u524a\u9664\r\n    scr+=10 ; \u30b9\u30b3\u30a2\r\n   loop<\/pre>\n<p>&nbsp;<br \/>\n\u3000\u30b7\u30e7\u30c3\u30c8\u4e00\u3064\u3005\u306b\u6575\u5168\u90e8\u306e\u885d\u7a81\u5224\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u3000\u307e\u305a <span style=\"color: #0000f0;\">es_get<\/span>\u3067\u30b7\u30e7\u30c3\u30c8\u306e\u30b9\u30d7No.\u304c\u751f\u5b58\u3057\u3066\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #0000f0;\">es_get \u5024\u683c\u7d0d\u5909\u6570 , \u53c2\u7167\u30b9\u30d7No. , \u53c2\u7167\u9805\u76ee<\/span><br \/>\nes_get f,spn,0<\/p>\n<p>\u3000\u53c2\u7167\u9805\u76ee 0\u306f\u30d5\u30e9\u30b0\u3067\u3001\u751f\u5b58\u3057\u3066\u306a\u3044\u5834\u5408\u306f 0\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000\u751f\u5b58\u78ba\u8a8d\u3092\u3057\u306a\u3044\u3068\u3001\u4e00\u90e8\u306e\u30be\u30f3\u30d3\u306b\u885d\u7a81\u3057\u307e\u3059\u3001\u30d5\u30e9\u30b0\u4ee5\u5916\u306e\u6570\u5024\u306f\u305d\u306e\u307e\u307e\u6b8b\u3063\u3066\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u3000es_check epn,spn,,,ena,ena+eb-1\u3067\u6575\u3068\u306e\u885d\u7a81\u5224\u5b9a\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>\u3000epn\u306b\u885d\u7a81\u3057\u305f\u6575\u306e\u30b9\u30d7 No.\u304c\u3001\u7121\u304b\u3063\u305f\u5834\u5408\u306f epn\u306b -1\u304c\u4ee3\u5165\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3000<span style=\"color: #0000f0;\">es_kill n<\/span>\u3067\u30b9\u30d7\u30e9\u30a4\u30c8\u3092\u6d88\u53bb\u3057\u307e\u3059\u3001n\u306f\u30b9\u30d7No.\u3067\u3059\u3002<br \/>\n<strong>\u3000<\/strong><br \/>\n<strong>\u3000<\/strong><br \/>\n\u3000\u3053\u3053\u307e\u3067\u306e\u30bd\u30fc\u30b9\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">#include \"hsp3dish.as\" ; HSP3Dish\u30e9\u30f3\u30bf\u30a4\u30e0\u3092\u4f7f\u7528\u3059\u308b\r\n#include \"hspmath.as\" ; round(\u56db\u6368\u4e94\u5165)\u7528\r\n\r\n;--- initialize\uff08\u521d\u671f\uff09 ----------\r\n\r\nrag45=0.7853982\t; \u30e9\u30b8\u30a2\u30f3\u306745\u5ea6\r\nwx=320 : wy=240 ; \u753b\u9762\u5927\u304d\u3055\r\n\r\n; \u81ea\u6a5f\r\njox=16 : joy=16 ; \u81ea\u6a5f\u5927\u304d\u3055\r\njxa=0.0 : jxb=double(wx-jox) ; \u5ea7\u6a19\u7bc4\u56f2x\r\njya=0.0 : jyb=double(wy-joy) ; \u5ea7\u6a19\u7bc4\u56f2y\r\njx=wx\/2-8 : jy=wy\/2-8 ; \u81ea\u6a5f\u5ea7\u6a19\r\njxf=double(jx) : jyf=double(jy) ; \u5c0f\u6570\u70b9\u5ea7\u6a19\r\njsp=2.0 ; \u81ea\u6a5f\u30b9\u30d4\u30fc\u30c9\r\njsp2=jsp*rag45 ; \u659c\u3081\u30b9\u30d4\u30fc\u30c9\r\n\r\n; \u30b7\u30e7\u30c3\u30c8\r\nsna=1 ; \u30b9\u30d7\u30e9\u30a4\u30c8No.\u306e\u59cb\u3081\r\nsb=30 ; \u6700\u5927\u6570\r\nssp=10 ; \u30b9\u30d4\u30fc\u30c9\r\nsc=0 ; \u30ab\u30a6\u30f3\u30bf\u30fc\r\nscn=3 ; \u767a\u5c04\u9593\u9694\r\n\r\n; \u6575\r\nena=sna+sb ; \u30b9\u30d7\u30e9\u30a4\u30c8No.\u306e\u59cb\u3081\r\neb=100 ; \u6700\u5927\u6570\r\nesp=1 ; \u30b9\u30d4\u30fc\u30c9\r\nec=0 ; \u51fa\u73fe\u30ab\u30a6\u30f3\u30bf\u30fc\r\necn=10 ; \u51fa\u73fe\u9593\u9694\r\n\r\nscr=0 ; \u30b9\u30b3\u30a2\r\n\r\nscreen 0,wx,wy\r\n\r\nes_ini ,,360; \u30b9\u30d7\u30e9\u30a4\u30c8\u306e\u521d\u671f\u5316\r\nes_area -16,-16,wx+16,wy+16 ; \u30b9\u30d7\u30e9\u30a4\u30c8\u751f\u5b58\u30a8\u30ea\u30a2\r\n\r\nbuffer 2 : picload \"test5.png\" ; \u753b\u50cf\r\n\r\nes_size 16,16,100 ; \u5927\u304d\u3055x\u3001y\u3001\u5f53\u305f\u308a\u5224\u5b9a\u5927\u304d\u3055%\r\n\r\n; \u30ad\u30e3\u30e9\u767b\u9332\r\n es_pat 1,0,0   ; \u81ea\u6a5f\r\n es_pat 2,16,0  ; \u6575\r\n es_pat 3,0,16  ; \u30b7\u30e7\u30c3\u30c8\r\n es_pat 4,16,16 ; \u5f3e\r\n\r\n;\u30b9\u30d7\u30e9\u30a4\u30c8\u767b\u9332\uff08\u30b9\u30d7No.\u3001\u5ea7\u6a19x\u3001\u5ea7\u6a19y\u3001\u30ad\u30e3\u30e9No.\uff09\r\nes_set 0,jx,jy,1 ; \u81ea\u6a5f\r\n\r\n\r\n;--- \u30e1\u30a4\u30f3 ----------\r\n\r\ngsel 0 ; \u64cd\u4f5c\u753b\u9762\u3092\u30e1\u30a4\u30f3\u30b9\u30af\u30ea\u30fc\u30f3\u306b\u623b\u3059\r\n\r\nrepeat\r\n\r\n  stick key,31 ; \u30ad\u30fc\u5165\u529b\r\n   if key&128 : break ; [ESC]\u3067\u7d42\u4e86\r\n   repeat 1\r\n    if key&1 and key&2 : jxf-=jsp2 : jyf-=jsp2 : break ; \u5de6\u4e0a\r\n    if key&2 and key&4 : jxf+=jsp2 : jyf-=jsp2 : break ; \u53f3\u4e0a\r\n    if key&1 and key&8 : jxf+=jsp2 : jyf+=jsp2 : break ; \u5de6\u4e0b\r\n    if key&4 and key&8 : jxf+=jsp2 : jyf+=jsp2 : break ; \u53f3\u4e0b\r\n    if key&2 : jyf-=jsp ; \u4e0a\r\n    if key&8 : jyf+=jsp ; \u4e0b\r\n    if key&1 : jxf-=jsp ; \u5de6\r\n    if key&4 : jxf+=jsp ; \u53f3\r\n   loop\r\n\r\n   jxf=limitf(jxf,jxa,jxb) ; \u5ea7\u6a19\u7bc4\u56f2x\r\n   jyf=limitf(jyf,jya,jyb) ; \u5ea7\u6a19\u7bc4\u56f2y\r\n\r\n   jx=int(round(jxf)) ; \u6700\u7d42\u5ea7\u6a19x\r\n   jy=int(round(jyf)) ; \u6700\u7d42\u5ea7\u6a19y\r\n   \r\n   es_pos 0,jx,jy ; \u5ea7\u6a19\u30bb\u30c3\u30c8\r\n\r\n   repeat 1 ; \u30b7\u30e7\u30c3\u30c8\r\n    sc+ : if sc&lt;scn : break ; \u767a\u5c04\u9593\u9694\r\n    sc=0 ; \u30ab\u30a6\u30f3\u30bf\u30fc\r\n    if key&16 {\r\n     es_new spn,sna,sb-1 ; \u7a7a\u3044\u3066\u308b\u30b9\u30d7\u30e9\u30a4\u30c8No.\r\n      if spn=-1 : break ; -1\u306f\u7121\u304b\u3063\u305f\u5834\u5408\r\n\t es_set spn,jx,jy,3 ; \u30b9\u30d7\u30e9\u30c8\u767b\u9332\r\n\t es_adir spn,180,ssp*100 ; \u79fb\u52d5\u65b9\u5411\r\n\t}\r\n   loop\r\n\r\n; \u6575\r\n   ec+\r\n\u3000 if ec=ecn { ; \u6575\u51fa\u73fe\r\n    ec=0\r\n    es_new spn,ena,eb-1 ; \u30b9\u30d7No.\r\n    if spn!-1 {\r\n\t ex=rnd(wx-16) : ey=0 ; \u521d\u671f\u5ea7\u6a19\r\n\t es_set spn,ex,ey,2 ; \u30b9\u30d7\u767b\u9332\r\n\t es_adir spn,0,esp*100 ; \u79fb\u52d5\u65b9\u5411\r\n\t}\r\n   }\r\n\r\n;--- \u5f53\u305f\u308a\u5224\u5b9a ---------\r\n   es_check spn,0,,,ena,ena+eb-1\r\n   if spn!-1 : gamef=1 ; \u30b2\u30fc\u30e0\u30aa\u30fc\u30d0\u30fc\r\n\r\n   repeat sb-1 ; \u30b7\u30e7\u30c3\u30c8\r\n    spn=sna+cnt ; \u30b7\u30e7\u30c3\u30c8\u306e\u30b9\u30d7No.\r\n    es_get f,spn,0 ; \u751f\u5b58\u30d5\u30e9\u30b0\r\n     if f=0 : continue ; \u7121\u3044\r\n    es_check epn,spn,,,ena,ena+eb-1\r\n     if epn=-1 : continue ; \u7121\u304b\u3063\u305f\r\n    es_kill spn ; \u30b7\u30e7\u30c3\u30c8\u524a\u9664\r\n    es_kill epn ; \u6575\u524a\u9664\r\n    scr+=10 ; \u30b9\u30b3\u30a2\r\n   loop\r\n\r\n;--- \u8868\u793a ----------\r\n redraw 0\r\n  color 1,1,1 : boxf\r\n  es_draw ; \u30b9\u30d7\u30e9\u30a4\u30c8\u63cf\u753b\r\n\r\n  color 255,255,255\r\n  pos 255,220 : mes \"FPS \"+fpsn ; FPS\u8868\u793a\r\n  pos 10,220 : mes \"key \"+key\r\n  pos 10,5 : mes \"score \"+scr ; \u30b9\u30b3\u30a2\r\n  if gamef=1 : pos 140,100 : mes \"GAME OVER\"\r\n redraw 1\r\n await 1000\/60 ; 60FPS\r\n \r\nif gamef=1 : break ; \u30b2\u30fc\u30e0\u30aa\u30fc\u30d0\u30fc\r\n\r\n; FPS\u8868\u793a\r\n tn2=gettime(6) ; \u79d2\u53d6\u5f97\r\n if tn1 not tn2 : tn1=tn2 : fpsn=fps : fps=0 ; \u30ea\u30bb\u30c3\u30c8\r\n fps+ ; FPS\u8a08\u6e2c\u5024\r\nloop\r\n\r\nstop<\/pre>\n<p>&nbsp;<\/p>\n<p>\u3000\u3053\u306e\u7a0b\u5ea6\u3067\u306f FPS60\u3067\u3059\u306d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sinsei.space\/blog\/wp-content\/uploads\/2026\/11\/img005822.jpg\" alt=\"\" width=\"308\" height=\"266\" class=\"alignnone size-full wp-image-21517\" srcset=\"https:\/\/sinsei.space\/blog\/wp-content\/uploads\/2026\/11\/img005822.jpg 308w, https:\/\/sinsei.space\/blog\/wp-content\/uploads\/2026\/11\/img005822-300x259.jpg 300w\" sizes=\"auto, (max-width: 308px) 85vw, 308px\" \/><br \/>\n<strong>\u3000<\/strong><br \/>\n<strong>\u3000<\/strong><br \/>\n\u3000\u3053\u3053\u307e\u3067\u306f <span style=\"color: #f00000;\">Linux<\/span>\u3067\u3082\u52d5\u304d\u307e\u3059\u306d\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/sinsei.space\/blog\/wp-content\/uploads\/2026\/11\/img1100.jpg\" alt=\"\" width=\"321\" height=\"278\" class=\"alignnone size-full wp-image-21518\" srcset=\"https:\/\/sinsei.space\/blog\/wp-content\/uploads\/2026\/11\/img1100.jpg 321w, https:\/\/sinsei.space\/blog\/wp-content\/uploads\/2026\/11\/img1100-300x260.jpg 300w\" sizes=\"auto, (max-width: 321px) 85vw, 321px\" \/><\/p>\n<p>\u3000\u7d30\u304b\u3044\u4e8b\u3067\u3059\u3051\u3069 Linux\u3067\u306f\u5168\u89d2\u30b9\u30da\u30fc\u30b9\u306f\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n<strong>\u3000<\/strong><br \/>\n<strong>\u3000<\/strong><br \/>\n\u3000\u4eca\u56de\u306f\u4ee5\u4e0a\u3067\u3059\u3001\u6b21\u56de\u306f\u6575\u5f3e\u3092\u3084\u308a\u307e\u3059\u3002<br \/>\n<strong>\u3000<\/strong><br \/>\n<strong>\u3000<\/strong><\/p>\n<p><a id=\"anchor00\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>2026\u5e74 11\u6708 2\u65e5 \u3000 \u3000 \u3000\u4eca\u56de\u306f HSP Dish\u306e\u6a19\u6e96\u30b9\u30d7\u30e9\u30a4\u30c8\uff08es_\u547d\u4ee4\uff09\u3067\u3001\u524d\u56de\u306b\u5f15\u304d\u7d9a\u304d\u30b7\u30e7\u30c3\u30c8\u3068\u6575\u3092\u8ffd\u52a0\u3057\u5f53\u305f\u308a\u5224\u5b9a\u3092\u3084\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-21460","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/sinsei.space\/blog\/wp-json\/wp\/v2\/posts\/21460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sinsei.space\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sinsei.space\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sinsei.space\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sinsei.space\/blog\/wp-json\/wp\/v2\/comments?post=21460"}],"version-history":[{"count":64,"href":"https:\/\/sinsei.space\/blog\/wp-json\/wp\/v2\/posts\/21460\/revisions"}],"predecessor-version":[{"id":21530,"href":"https:\/\/sinsei.space\/blog\/wp-json\/wp\/v2\/posts\/21460\/revisions\/21530"}],"wp:attachment":[{"href":"https:\/\/sinsei.space\/blog\/wp-json\/wp\/v2\/media?parent=21460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sinsei.space\/blog\/wp-json\/wp\/v2\/categories?post=21460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sinsei.space\/blog\/wp-json\/wp\/v2\/tags?post=21460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}