HSP¥Ý¡¼¥¿¥ë
¥µ¥¤¥È¥Þ¥Ã¥× ¤ªÌ䤤¹ç¤ï¤»


HSPTV!·Ç¼¨ÈÄ


̤²ò·è ²ò·è Ää»ß ºï½üÍ×ÀÁ

2013
0327
kukuÅö¤¿¤êȽÄê¤Î¤ä¤êÊý5²ò·è


kuku

¥ê¥ó¥¯

2013/3/27(Wed) 23:30:17|NO.53290

¶ë·Á¤ÎȽÄê¤Î¤ä¤êÊý¤¬¡¢¿§¡¹Ä´¤Ù¤Æ¤â¤ï¤«¤é¤Ê¤¤¤Ç¤¹
¤Ç¤­¤¿¤é¶µ¤¨¤Æ²¼¤µ¤¤

»Í³Ñ¤¤¤â¤ÎƱ»Î¤ÎÅö¤¿¤êȽÄê¤Ç¤¹



¤³¤Îµ­»ö¤ËÊÖ¿®¤¹¤ë


¥Ä¥Î¥ó

¥ê¥ó¥¯

2013/3/28(Thu) 09:39:49|NO.53294

user32.dll ¤Î IntersectRect ´Ø¿ô¤ò»ÈÍѤ¹¤ë¤È²Äǽ¤Ç¤¹¡£
²¼¤Ï¥¹¥¯¥ê¥×¥È¡£

#include "user32.as" rc = 10,10,100,100 rc2= 50,50,120,120 dim rt,4 drawrc rc color 255 drawrc rc2 IntersectRect varptr(rt),varptr(rc),varptr(rc2) if(stat){ color ,255 drawrc rt dialog "ÀÜ¿¨¤·¤Æ¤¤¤ë" } stop #deffunc drawrc array rc_ boxf rc_,rc_.1,rc_.2,rc_.3 return
¥¹¥¯¥ê¥×¥È¤Ï¿ʬ¤³¤ó¤Ê´¶¤¸¤À¤È»×¤¤¤Þ¤¹¡£
Æó¤Ä¤Î»Í³Ñ·Á¤ÎĺÅÀ¤ò¤½¤ì¤¾¤ìÄ´¤Ù¤Æ¡¢°ì¤Ä¤Ç¤â¤â¤¦ÊÒÊý¤Î»Í³Ñ·Á¤ÎÆ⦤ËÆþ¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢½Å¤Ê¤Ã¤Æ¤¤¤ë¤ÈȽÃǤ·¤Æ¤¤¤Þ¤¹¡£

#module #define global ctype ptinrc(%1,%2,%3,%4,%5,%6)\ ((%3<=%1) and (%4<=%2) and (%5>=%1) and (%6>=%2)) #const ISL_ 1<<0 #const IST_ 1<<1 #const ISR_ 1<<2 #const ISB_ 1<<3 #const ISL_2_ 1<<4 #const IST_2_ 1<<5 #const ISR_2_ 1<<6 #const ISB_2_ 1<<7 #const MASKL_ 0b00010001 #const MASKT_ 0b00100010 #const MASKR_ 0b01000100 #const MASKB_ 0b10001000 #define ctype push(%1)\ r%1_=%1_:i_|=IS%1_ #define ctype push2(%1)\ r%1_=%1_2_:i_|=IS%1_2_ #define ctype setrtvar(%1,%2) \ if(ptinrc(%1_,%2_,l_2_,t_2_,r_2_,b_2_)){push(%1):push(%2)} #define ctype setrtvar2(%1,%2) \ if(ptinrc(%1_2_,%2_2_,l_,t_,r_,b_)){push2(%1):push2(%2)} #define ctype check(%1,%2) \ if(i_&MASK%1_)==0{if(i_&IS%2_2_){push(%1)}else{push2(%1)}} // »Í³Ñ·ÁƱ»Î¤¬ÀÜ¿¨¤·¤Æ¤¤¤ë¤«¤òȽÄꤷ¤Æ¡£ // ÀÜ¿¨¤·¤Æ¤¤¤ë»Í³Ñ·Á¤òÊÖ¤¹¡£ #deffunc rect_Intersect \ int l_ , int t_ , int r_ , int b_ , \ int l_2_ , int t_2_ , int r_2_ , int b_2_ , \ var rl_ , var rt_ , var rr_ , var rb_ , \ local i_ setrtvar(l,t) setrtvar(r,t) setrtvar(r,b) setrtvar(l,b) setrtvar2(l,t) setrtvar2(r,t) setrtvar2(r,b) setrtvar2(l,b) if(i_){ check(l,r) else:check(t,b) else:check(r,l) else:check(b,t) } return i_ #global px=200:py=200 title "¥Þ¥¦¥¹¤ò°ÜÆ°¤µ¤»¤Æ»Í³Ñ·ÁƱ»Î¤òÀÜ¿¨¤µ¤»¤Æ¤ß¤Æ²¼¤µ¤¤¡£" repeat redraw 0 color 255,255,255 boxf bx = mousex by = mousey color 255,255 boxf bx,by,bx+100-1,by+100-1 color 255 boxf px,py,px+50-1,py+50-1 rect_Intersect px,py,px+50,py+50,bx,by,bx+100,by+100 , rl , rt , rr , rb if(stat){ color ,255,255 boxf rl , rt , rr , rb } redraw 1 await 30 loop
°ÊÁ°½ÐÍè¤ë¤À¤±Â®ÅÙ¤ò¾å¤²¤è¤¦¤È¤·¤¿¤½¤ì¤Ê¤Î¤Ç¡¢¥¹¥¯¥ê¥×¥È¤Ï¤³¤ó¤Ê´¶¤¸¤Ç¤¹¤¬¡£
°ì±þÆ°¤¯¤Î¤Ç¥¢¥Ã¥×¤·¤Þ¤¹¡£



¤¢¤ê

¥ê¥ó¥¯

2013/3/28(Thu) 10:31:21|NO.53299

¶ë·ÁƱ»Î¤ÎȽÄê¤Ê¤é°ì¹Ô¤Ç¤¹¤ß¤Þ¤¹¡£
¼°¤Î°ÕÌ£¤Ï¡Ø»Í³Ñ¡¡Åö¤¿¤êȽÄê¡ÙÅù¤Ç¸¡º÷¤¹¤ì¤Ð²òÀâ¥Ú¡¼¥¸¤¬Âô»³½Ð¤Æ¤¯¤ë¤Î¤Ç
¤½¤Á¤é¤ò»²¾È²¼¤µ¤¤¡£

; ¼«µ¡¤Î¶ë·Á¥µ¥¤¥º #const X1 -50 #const X2 50 #const Y1 -50 #const Y2 50 ; µ­½Ò´ÊάÍÑ¥Þ¥¯¥í #define CX1 x + X1 #define CX2 x + X2 #define CY1 y + Y1 #define CY2 y + Y2 ; Ũ¤Î¶ë·Á¥µ¥¤¥º #const TX1 350 #const TX2 550 #const TY1 200 #const TY2 400 x = 120 y = 120 gsel 0, 1 *main redraw 0 color 255, 255, 255 : boxf stick key, 15 if key & 1 : x - 1 if key & 2 : y - 1 if key & 4 : x + 1 if key & 8 : y + 1 ; ¶ë·Á¤ÎÅö¤¿¤êȽÄê TC = 155, 255, 0 if (CX1 <= TX2) & (TX1 <= CX2) & (CY1 <= TY2) & (TY1 <= CY2) = 1 : TC = 0, 0, 255 ; Ũ¶ë·Áɽ¼¨ color TC(0), TC(1), TC(2) : boxf TX1, TY1, TX2, TY2 pos TX1 - 28, TY1 - 20 : mes "(" + TX1 + "," + TY1 + ")" pos TX2 - 34, TY1 - 20 : mes "(" + TX2 + "," + TY1 + ")" pos TX1 - 28, TY2 + 4 : mes "(" + TX1 + "," + TY2 + ")" pos TX2 - 34, TY2 + 4 : mes "(" + TX2 + "," + TY2 + ")" ; ¼«µ¡¶ë·Áɽ¼¨ color 255, 0, 0 circle x - 5, y - 5, x + 5, y + 5 line CX1, CY1, CX2, CY1 line CX2, CY2, CX1, CY2 line CX1, CY2, CX1, CY1 line CX2, CY1, CX2, CY2 pos x - 36, y + 8 : mes "(" + x + "," + y + ")" pos CX1 - 28, CY1 - 20 : mes "(" + (CX1) + "," + (CY1) + ")" pos CX2 - 34, CY1 - 20 : mes "(" + (CX2) + "," + (CY1) + ")" pos CX1 - 28, CY2 + 4 : mes "(" + (CX1) + "," + (CY2) + ")" pos CX2 - 34, CY2 + 4 : mes "(" + (CX2) + "," + (CY2) + ")" redraw 1 await 10 goto *main



FunnyMaker

¥ê¥ó¥¯

2013/3/28(Thu) 11:10:19|NO.53303

²ò·è¤·¤½¤¦¤ÊÀª¤¤¤Ç¤¹¤Í¡£

¤¬¡¢¤Á¤ç¤Ã¤Èºî¤Ã¤Æ¤·¤Þ¤Ã¤¿¤â¤Î¤¬¤¢¤Ã¤Æ¤É¤¦¤·¤Æ¤â¾Ò²ð¤·¤¿¤¤¤Î¤Ç¡¢ºÜ¤»¤Á¤ã¤¤¤Þ¤¹¡£

Ǥ°Õ¤Î»Í³Ñ·Á¤ÇȽÄ꤬²Äǽ¤Ç¤¹¡£¤æ¤¬¤ó¤Ç¤¤¤ë»Í³Ñ·Á¤Ç¤âÆñ¤Ê¤¯È½Äê¤Ç¤­¤ë¤È¤¤¤¦¤³¤È¤Ç¤¹¡£
¸¶Íý¤È¤·¤Æ¤Ï¡¢»Í³Ñ·Á¤ò2¤Ä¤Î»°³Ñ·Á¤Ëʬ³ä¤·¤Æ¸ÄÊ̤ËȽÄꤷ¤Æ¤¤¤Þ¤¹¡£
»°³Ñ·ÁƱ»Î¤ÎÎΰè¤Î¥·¥§¥¢¥Á¥§¥Ã¥¯¤ÏÌÌÅݤʼê½ç¤òƧ¤ß¤Þ¤¹¤¬¡¢ ¹âÅù³Ø¹»¿ô³Ø­¶ ¤Þ¤Ç¤ä¤Ã¤Æ¤¤¤ì¤Ð³ä¤È´Êñ¤Ç¤¹¡£
¸¶Íý¤ÎÀâÌÀ¤ÎPDF¤âÆþ¤Ã¤Æ¤¤¤Þ¤¹¡£

http://kie.nu/UT9

¾åµ­¤ÎURL¤«¤é¡Ötest.zip¡×¤òDL¤·¤Æ²òÅह¤ë¤È¡Ö¤³¤ó¤Ê´¶¤¸¡©.hsp¡×¤È¤¤¤¦¥µ¥ó¥×¥ë¤¬½Ð¤Þ¤¹¡£
¤½¤ì¤ò¼Â¹Ô¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

¥â¥¸¥å¡¼¥ë²½¤·¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢¤è¤«¤Ã¤¿¤é»È¤Ã¤Æ¤ä¤Ã¤Æ¤¯¤À¤µ¤¤¡£



kuku

¥ê¥ó¥¯

2013/3/28(Thu) 12:08:40|NO.53306

¥Ä¥Î¥ó¤µ¤ó¡¢¤¢¤ê¤µ¤ó¡¢FunnyMaker¤µ¤ó
¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
¤è¤¯Æɤó¤ÇÊÙ¶¯¤·¤Þ¤¹¡ª



YSR

¥ê¥ó¥¯

2013/3/30(Sat) 01:21:27|NO.53341

>NO.53306
°ì±þÊä­¤À¤±¤É¡¢
NO.53294¤äNO.53299¤Ï¡ÖÊÕ¤¬ºÂɸ¼´¤ËÊ¿¹Ô¤ÊĹÊý·ÁƱ»Î¤ÎÅö¤¿¤êȽÄê¡×¡¢
NO.53303¤Ï¡ÖǤ°Õ¤Î»Í³Ñ·ÁƱ»Î¤ÎÅö¤¿¤êȽÄê¡×¤Ç¤¢¤ë¤³¤È¤ËÃí°Õ¤Ê

ÅöÁ³¸å¼Ô¤ÎÊý¤¬½Å¤¤(ȽÄê¤Ë»þ´Ö¤¬³Ý¤«¤ë)¤«¤é¡¢
Á°¼Ô¤Ç½½Ê¬¤Ê¤â¤Î¤Ë¸å¼Ô¤Î¥¢¥ë¥´¥ê¥º¥à»È¤Ã¤Æ¤â»þ´Ö¤Î̵ÂÌ
(¸å¼Ô¤¬É¬Íפʤé»ÅÊý¤¬¤Ê¤¤¤¬)

Æä˥·¥å¡¼¥Æ¥£¥ó¥°¤ä¥¢¥¯¥·¥ç¥ó¤Î¤è¤¦¤Ë¥ê¥¢¥ë¥¿¥¤¥àÀ­¤¬µá¤á¤é¤ì¤ë
¥²¡¼¥à¤òºî¤ë»þ¤Ê¤ó¤«¤Ï¡¢¤½¤¦¤·¤¿Åö¤¿¤êȽÄê¤Î¼è¼ÎÁªÂò¤¬¤È¤Æ¤âÂçÀÚ¤À¤Ã¤¿¤ê¤¹¤ë



ONION software Copyright 1997-2023(c) All rights reserved.