Drip¤Ç¤¹¡£
¥¢¥¥¢¥¥Î¥Ò¥í¥í¤µ¤ó¡¢¤³¤ó¤Ë¤Á¤Ï¡£
Hgimg4¤ÎʪÍý¤ÏʪÂÎƱ»Î¤¬¤Ö¤Ä¤«¤Ã¤¿ºÝ¤Î²¡¤·½Ð¤·½èÍý¤¬¤½¤³¤Þ¤ÇÀµ³Î¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£
¥ì¡¼¥ë¤òºîÀ®¤·¤ÆʪÍýÀßÄꤷ¤¿¤È¤³¤í¤Ç¡¢¥ì¡¼¥ë¤«¤é³°¤ì¤º¤ËʪÍý°ÜÆ°¤·¤Æ¤¯¤ì¤ë³Î¾Ú¤ÏËؤɤʤ¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
Hgimg4¤Ç¤Ï¿³Ñ·Á¤è¤ê¤âΩÊýÂΤΤۤ¦¤¬°ÂÄꤷ¤¿ÊªÍýȽÄ꤬¹Ô¤¨¤ë¤è¤¦¤Ç¤¹¤¬¡¢¤½¤ì¤Ç¤â¾õ¶·¤Ë¤è¤Ã¤Æ¤Ï²¡¤·½Ð¤·¤¬ÉÔÀµ³Î¤Ê¤¿¤á¤ËÅÙ¡¹¤ª¤«¤·¤ÊÆ°ºî¤Ë¤Ê¤êÆÀ¤Þ¤¹¡£
ÆäËGPPBIND_MESH¤ÇʪÍýÀßÄꤷ¤¿¾ì¹ç¤ÏÃí°Õ¤¹¤ëɬÍפ¬¤¢¤ê¡¢¤«¤Ê¤êÊѤÊÊý¸þ¤Ë²¡¤·½Ð¤·¤¬È¯À¸¤¹¤ë¶²¤ì¤¬¤¢¤ë¤³¤È¤ò³Ð¸ç¤µ¤ì¤Æ¤¯¤À¤µ¤¤¡£
°Ê²¼¤Î¥µ¥ó¥×¥ë¤Ç¤ÏÇö¤¤ÍÆ´ï¤òºîÀ®¤·¡¢ÍÆ´ï¤Ë¤¹¤Ã¤Ý¤ê¼ý¤Þ¤ëΩÊýÂΤò250¸ÄÀ¸À®¤·¤Æ¤¤¤Þ¤¹¡£
Íƴ狼¤éÀäÂФˤ³¤Ü¤ì¤ë¤Ï¤º¤Î¤Ê¤¤È¢¤Î¤Ï¤º¤¬¡¢Ï³¤ì¤Æ¤Ð¤é¤Ð¤é¤ÈÍî¤Á¤Æ¤¤¤¯ÍͻҤ¬³Îǧ¤Ç¤¤ë¤«¤È»×¤¤¤Þ¤¹¡£
¤³¤Î˽Áö¤Ïgppset¤ägppbindÅù¤ÎÀßÄê¤Ë¤è¤Ã¤Æ¤¢¤ëÄøÅÙÍÞ¤¨¤ë¤³¤È¤Ï²Äǽ¤Ê¤Î¤Ç¤¹¤¬¡¢
Èæ³ÓŪưºî¤¬°ÂÄꤹ¤ëΩÊýÂÎ¥â¥Ç¥ë¤Ç¤¢¤Ã¤Æ¤â´°Á´¤ÊÍ޻ߤÏÉÔ²Äǽ¤Ç¤¢¤ê¡¢
¼«Í³·Á¾õ¤Ç¤¹¤È¤³¤ÎʪÍýÆ°ºî¤Ï¹¹¤ËÉÔ°ÂÄê¤Ê¤â¤Î¤È¤Ê¤ê¤Þ¤¹¡ÊÂθ³ÃÌ¡Ë¡£
//Hgimg4¤ÎʪÍý¤Ï²¡¤·½Ð¤·¤Ë¼å¤¤¥µ¥ó¥×¥ë
//ÍÆ´ï¤ÎÍÆÎ̤Ͻ¼Ê¬¤Ç¤¹¡£È¢¤¬250¸ÄÁ´ÉôÍÆ´ï¤ËÆþ¤ë¤«¤Ê¡©
#include "hgimg4.as"
chdir dir_exe+"\\sample\\hgimg4"
gpfloor id,50,4,$888888:gppbind id,0,0.5 //ÄìÌ̤òºîÀ®
gpplate id,50,100,$AABBFF:setpos id,0,50,-2:gppbind id,0,0.5 //±ü¦¤ÎÊɤòºîÀ®
gpplate id,50,100,$AABBFF:setpos id,0,50,2:setang id,m_pi:gppbind id,0,0.5 //¼êÁ°Â¦¤ÎÊɤòºîÀ®
gpplate id,10,100,$AABBFF:setpos id,25,50,0:setang id,0,-m_pi/2:gppbind id,0,0.5 //±¦Â¦¤ÎÊɤòºîÀ®
gpplate id,10,100,$AABBFF:setpos id,-25,50,0:setang id,0,m_pi/2:gppbind id,0,0.5 //º¸Â¦¤ÎÊɤòºîÀ®
setpos GPOBJ_CAMERA,-50,100,150 //¥«¥á¥éºÂɸÀßÄê
gplookat GPOBJ_CAMERA,0,50,0 //Ãí»ë°ÌÃÖ¤òÀßÄê
repeat //¥á¥¤¥ó¥ë¡¼¥×
if cnt<2500:if cnt\10=0:{ //250¸Ä¤ÎÈ¢¤ò½ù¡¹¤Ë¥ê¥ê¡¼¥¹
gpbox id,3.9,$0000FF:setpos id,0.4*(rnd(100)-50),95 //ŬÅö¤Ê°ÌÃÖ¤ËÈ¢¤òÀ¸À®
setang id,0,0,0.01*rnd(628):gppbind id,10,0.5 //ŬÅö¤Ê³ÑÅÙ¤ÇÈ¢¤ËʪÍýÀßÄê
gppset id,GPPSET_GRAVITY ,0,-100,0 //È¢¤Ë½ÅÎϤòÀßÄê
gppapply id,GPPAPPLY_IMPULSE,10*(rnd(100)-50),-500,10*(rnd(100)-50) //È¢¤ËŬÅö¤Ê¾×·â¤òÀßÄê
ct++
}
redraw 0
color:boxf
gpdraw
pos ginfo_winx/4,ginfo_winy/2:color 255,255,255:mes "box= "+ct
redraw 1
await 16
loop
°ÊÁ°¥¢¥¥¢¥¥Î¥Ò¥í¥í¤µ¤ó¤¬ÌäÂêÄ󵯤µ¤ì¤Æ¤¤¤¿ÊªÍýÆ°ºî¤¬¼Â¹Ô¤¹¤ë¤¿¤Ó¤Ë·ë²Ì¤¬Èù̯¤Ë°Û¤Ê¤ë¤Î¤â¡¢ÊªÍýÆ°ºî¤ÏHSP¤Î¥Õ¥ì¡¼¥àñ°Ì¤Ç¤Ï¤Ê¤¯ÆâÉôŪ¤Ë¥ê¥¢¥ë¥¿¥¤¥à¤ÇÆ°ºî¤·¤Æ¤¤¤ë¤³¤È¤Ëµ¯°ø¤·¤Æ¤¤¤ë¤è¤¦¤Ç¤¹¡£
¤³¤ì¤Ï¸«¤«¤±¾å¤Î¸¡¾Ú¤Ë´ð¤Å¤¯·ëÏÀ¤Ê¤Î¤Ç¤¹¤¬¡¢ÊªÂΤ¬Êɤ«¤é¾×·â¤ò¼õ¤±¤ë¤È¤¼ã´³Êɤˤá¤ê¹þ¤ß¤Þ¤¹¤¬¡¢¥ê¥¢¥ë¥¿¥¤¥à¤òÍѤ¤¤Æ°ÜÆ°Î̤ò·×»»¤·¤¿¾ì¹ç¡¢¤á¤ê¹þ¤àÎ̤â¤ï¤º¤«¤ËÊѲ½¤·¤Æ²¡¤·½Ð¤µ¤ìÊý¤âÊѤï¤Ã¤Æ¤¤Þ¤¹¤«¤é¡¢È¿È¯Êý¸þ¤Ê¤É¤Ë¥º¥ì¤¬À¸¤¸¡¢¤½¤Î¥º¥ì¤¬¼¡¡¹¤Ë½Å¤Ê¤êÁ°²ó¤ÈÁ´¤¯°ã¤¦Æ°ºî¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤³¤È¤â¤·¤Ð¤·¤Ðµ¯¤³¤êÆÀ¤Þ¤¹¡£
¤½¤Î¤Û¤«¤Ë¤â¡¢ÊªÍýÆ°ºî¤ÏÆâÉôŪ¤Ë¥ê¥¢¥ë¥¿¥¤¥à¤ÇÆ°ºî¤·¤Æ¤¤¤ë¤È¸À¤¤¤Þ¤·¤¿¤¬¡¢Àµ³Î¤Ë¤Ï¤½¤ÎÆ°ºî¤Ï¾¯¤·Ì¤Íè¤Þ¤Ç¤·¤«¥×¡¼¥ë¤µ¤ì¤Ê¤¤¤è¤¦¤Ç¤¹¡£
Î㤨¤Ðº£Äø¤Î¥µ¥ó¥×¥ë¤ò¼Â¹Ô¤·¤¿¤é»Ã¤¯¥¿¥¤¥È¥ë¥Ð¡¼¤òÄϤó¤Ç¥¹¥¯¥ê¥×¥È¤Î¼Â¹Ô¤ò°ì»þŪ¤Ë»ß¤á¤Æ¤ß¤Þ¤·¤ç¤¦¡£
¥¿¥¤¥È¥ë¥Ð¡¼¤òÎ¥¤¹¤È¡¢È¢¤Î°ÜÆ°ÃÏÅÀ¤¬´üÂÔ¤µ¤ì¤ë¼¡¤Î¥Õ¥ì¡¼¥à¤ÎÍͻҤǤϤʤ¯¡¢¾¯¤·Ì¤Íè¤Î¾õÂ֤ˤʤꡢ¼¡¤Ë¥ê¥ê¡¼¥¹¤µ¤ì¤ëÈ¢¤â¤¤¤¯¤é¤«ÃÙ¤ì¤ÆÀ¸À®¤µ¤ì¤ë¤³¤È¤Ëµ¤¤Å¤¯¤Ï¤º¤Ç¤¹¡£
¤·¤«¤·¤¤¤¯¤éĹ»þ´Ö¥¿¥¤¥È¥ë¥Ð¡¼¤òÄϤó¤Ç¤¤¤Æ¤â¡¢²¿ÉäâÀè¤Î¾õÂ֤ˤϤʤê¤Þ¤»¤ó¡£
Hgimg4¤Î¤³¤ÎÊդλÅÍͤϸ½ºßÉÔÌÀÎƤǤ¢¤ê¡¢¥Õ¥ì¡¼¥àñ°Ì¤ÎÀµ³Î¤ÊʪÍý¥Æ¥¹¥È¤ò¹Ô¤¨¤Ê¤¤¤³¤È¤Ë¤Ï¡¢Hgimg4¤ËÀµ³Î¤ÊʪÍýÆ°ºî¤ò´üÂÔ¤¹¤ë¤³¤È¤Ï¤Þ¤º¤Ç¤¤Ê¤¤¤è¤¦¤Ë»×¤Ã¤Æ¤¤¤Þ¤¹¡£
°Ê²¼¤Î¥µ¥ó¥×¥ë¤Ç¤ÏʪÍýÆ°ºî¤¬¥×¡¼¥ë¤µ¤ì¤ë»þ´Ö¤Ë¤è¤Ã¤ÆʪÍýÆ°ºî¤Î¸íº¹¤¬¸²Ãø¤Ë¸½¤ì¤ë¥µ¥ó¥×¥ë¤Ç¤¹¡£
Á´¤¯Æ±¤¸¾ò·ï¤ÇÀ¸À®¤µ¤ì¤ëÈ¢¤ÏËè²óƱ¤¸µ°Æ»¤òÉÁ¤¤¤ÆÍî¤Á¤Æ¤¤¤¯¤Ï¤º¤Ç¤¹¤¬¡¢°Ê²¼¤Î¤è¤¦¤ËʪÍýÆ°ºî¤¬¥×¡¼¥ë¤µ¤ì¤ë»þ´Ö¤¬ÊѤï¤ë¤È
Æ°ºî·ë²Ì¤ËÂç¤¤Ê¸íº¹¤¬À¸¤¸¡¢È¢¤¬¤¢¤Ã¤Á¤³¤Ã¤Á¤Ë¿á¤Èô¤ó¤Ç¹Ô¤¯ÍͻҤ¬³Îǧ¤Ç¤¤Þ¤¹¡£
#include "hgimg4.as"
chdir dir_exe+"\\sample\\hgimg4"
gosa=16
gpbox id,10:setang id,0,0,m_pi/4:setpos id,0,-30:gppbind id,0,0.5
repeat //¥á¥¤¥ó¥ë¡¼¥×
if cnt\20=0:{
gpbox id,10:setang id,0,0,m_pi/4:setpos id,0,30:gppbind id,1,0.5
gppapply id,GPPAPPLY_IMPULSE,0,-200,0
gppapply id,GPPAPPLY_TORQUE,50,100,-45.88 //¸íº¹¤¬À¸¤¸°×¤¤¾×·â¤òÍ¿¤¨¤ë
gppset id,GPPSET_GRAVITY,0,-100
}
redraw 0
color:boxf
stick a,768:gosa=((a&768)=0)
pos 30,30:color 255,255,255
mes "¡ú¥Þ¥¦¥¹¤ò²¡¤·²¼¤²¤Æ¤¤¤ë´Ö¡¢ÊªÍýÆ°ºî¤ò°ÂÄꤵ¤»¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹"
pos 100,100
if gosa:color 255:mes "º£¡¢ÊªÍý¤Î¸íº¹¤¬Â礤¤¤Ç¤¹¡£":else:color ,255,255:mes "¸íº¹¤Ï¾®¤µ¤¤¤Ç¤¹"
gpdraw
redraw 1
if gosa:await 16+rnd(16):else:await 16 //°Õ¿ÞŪ¤Ë¥Õ¥ì¡¼¥à¤òÉÔ°ÂÄê¤Ë¤·¤Þ¤¹
loop
¥¢¥¥¢¥¥Î¥Ò¥í¥í¤µ¤ó¤ÏHgimg4¤Ë¤è¤ë¥×¥é¥ì¡¼¥ëŪ¤Êʪ¤ò¹½ÁÛ¤·¤Æ¤¤¤é¤Ã¤·¤ã¤ë¤Î¤Ç¤·¤ç¤¦¤«¡£
º£¤Î¤È¤³¤í¤Ï¡Ä¤Ç¤¹¤¬¡¢¤½¤ì¤òHgimg4¤ÎʪÍý¤Ç¼Â¸½¤¹¤ë¤è¤ê¤â¡¢¼«Á°¤ÇÆ°ºî¤òÁȤ߹þ¤ó¤À¤Û¤¦¤¬°ÂÄꤷ¤¿¥ì¡¼¥ë¤ò¼Â¸½¤Ç¤¤ë¤è¤¦¤Ë»×¤¤¤Þ¤¹¡£
¤¬¤ó¤Ð¤Ã¤Æ¤¯¤À¤µ¤¤¡£