|
| ̤²ò·è |
| ²ò·è |
| Ää»ß |
| ºï½üÍ×ÀÁ |
|
2012/3/31(Sat) 01:23:00|NO.45656
STG¤òºî¤Ã¤¿¼¡¤Ï2D¥¢¥¯¥·¥ç¥ó¤Ë¥Á¥ã¥ì¥ó¥¸¤·¤è¤¦¤È»×¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢
´°Á´¤Ë¹Ô¤µÍ¤ê¤Þ¤·¤¿¡£(»²¹Í¥¹¥¯¥ê¥×¥È¤ò¤ß¤Æ¤ä¤ëµ¤¤ò¼º¤¦¡£)
¤Ê¤Î¤Ç¡¢¤¶¤Ã¤È2D¥¢¥¯¥·¥ç¥ó¤Î»ÅÁȤߤòÃΤäƤª¤³¤¦¤È¹Í¤¨¤¿¤Î¤Ç¤¹¡£
¼«µ¡¤Î¤¢¤¿¤êȽÄê¡¢¥Þ¥Ã¥×¤Îºî¤êÊý¡¢¥¹¥¯¥í¡¼¥ë¤ÎÊýË¡¡¦¡¦¡¦
STG¤È¤Î¤¢¤¿¤êȽÄê¤Î°ã¤¤¤Ëº¤¤Ã¤Æ¤¤¤Þ¤¹¡£
¤¢¤¿¤êȽÄê¤òÊ£¿ôºî¤ë¤Ë¤Ï¶ñÂÎŪ¤Ë¤É¤¦¤·¤Æ¤¤¤¤¤«¡¦¡¦¡¦
¤È¤Ë¤«¤¯Ê¬¤«¤ê¤ä¤¹¤¯ÀâÌÀ¤·¤Æ¤¤¤¿¤À¤±¤ë¤È½õ¤«¤ê¤Þ¤¹¡£
²òÀ⤪´ê¤¤¤·¤Þ¤¹¡£
|
|
2012/3/31(Sat) 10:04:16|NO.45665
>¼«µ¡¤Î¤¢¤¿¤êȽÄê¡¢¥Þ¥Ã¥×¤Îºî¤êÊý¡¢¥¹¥¯¥í¡¼¥ë¤ÎÊýË¡¡¦¡¦¡¦
>STG¤È¤Î¤¢¤¿¤êȽÄê¤Î°ã¤¤¤Ëº¤¤Ã¤Æ¤¤¤Þ¤¹¡£
>¤¢¤¿¤êȽÄê¤òÊ£¿ôºî¤ë¤Ë¤Ï¶ñÂÎŪ¤Ë¤É¤¦¤·¤Æ¤¤¤¤¤«¡¦¡¦¡¦
¥Þ¥Ã¥×¥Ç¡¼¥¿¤Ï¿§¡¹ºî¤êÊý¤¬¤¢¤ë¤Î¤Ç¤¹¤¬¡¢
0,0,0,0,0,0
0,0,0,0,1,1
1,1,1,1,1,1
¤È¸À¤¦¤è¤¦¤ËÁ´¤Æ¤Î¥Á¥Ã¥×¤Ë£É£Ä¤ò¤Ä¤±¡¢¤½¤ì¤òʤ٤ëÊýË¡¤Ç¤¹¤Í¡£
[0]¤¬Åö¤¿¤êȽÄê¤Î̵¤¤¥Á¥Ã¥×¡¢
[1]¤¬Åö¤¿¤êȽÄê¤Î¤¢¤ë¾²¤äÊɤΥÁ¥Ã¥×¤È¸À¤¦´¶¤¸¤Ç¤¹¡£
¥Õ¥ê¡¼¥½¥Õ¥È¤Ç¾åµ¤Î¤è¤¦¤Ê¥Ç¡¼¥¿¤¬ºî¤ì¤ë¥Þ¥Ã¥×¥¨¥Ç¥£¥¿¤â¤¢¤ê¤Þ¤¹¤·³èÍѤ·¤Æ¤ß¤Æ²¼¤µ¤¤¡£
Åö¤¿¤êȽÄê¤òÊ£¿ôºî¤ëÊýË¡¤Ï¡¢¥¥ã¥é¥Ç¡¼¥¿¤òÇÛÎó¤Ë¤¹¤ë¤Î¤¬°ìÈÌŪ¤Ç¤¹¡£
¡¦Á´¥¥ã¥éƱ»Î¤ÎÅö¤¿¤êȽÄê
¡¦¼þ°Ï¥Þ¥Ã¥×¥Á¥Ã¥×¤ÎÅö¤¿¤êȽÄê
¥ë¡¼¥×¤Ê¤É¤ò»È¤Ã¤Æ£±¤Ä¤º¤ÄÁíÅö¤ê¤·¤Æ¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£
|
|
2012/4/1(Sun) 15:34:29|NO.45676
Ve¤µ¤ó²òÅú¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡ª
²¿¤È¤Ê¤¯¥¤¥á¡¼¥¸¤¬Í¯¤¤¤Æ¤¤Þ¤·¤¿¡£
¤Ç¤¹¤¬¡¢
>Åö¤¿¤êȽÄê¤òÊ£¿ôºî¤ëÊýË¡¤Ï¡¢¥¥ã¥é¥Ç¡¼¥¿¤òÇÛÎó¤Ë¤¹¤ë¤Î¤¬°ìÈÌŪ¤Ç¤¹¡£
¤È¤¤¤¦¤È¤³¤í¤¬¥¤¥Þ¥¤¥Á¤è¤¯¤ï¤«¤ê¤Þ¤»¤ó(´À)
¥Þ¥Ã¥×¤Î¥Á¥Ã¥×¤ËID¤ò¤Õ¤ë¡¦¡¦¡¦¥Þ¥Ã¥Ô¥ó¥°·Ð¸³¥¼¥í¡©¤Ç¤·¤Æ
¤½¤Î¤È¤³¤í¤Î¶ñÂÎÎã¤òµó¤²¤Æ¤¤¤¿¤À¤¤¤ÆÀâÌÀ¤·¤Æ¤¯¤À¤µ¤ë¤È½õ¤«¤ê¤Þ¤¹¡£
|
|
2012/4/1(Sun) 18:06:54|NO.45677
¤«¤¿¤Á¤À¤±¾Ò²ð¤·¤è¤¦¡£
//ʸ»úÎó¤Ë¤·¤¿¤Û¤¦¤¬¥Þ¥Ã¥×¥Ç¡¼¥¿¤Ï½ñ¤¤ä¤¹¤¤¤Ç¤¹¤è¡£
//¤Þ¤¢¡¢ºÇ½ªÅª¤Ë¤Ï¿ô»úÇÛÎó¤Î¤Û¤¦¤¬ÊØÍø¤Ç¤¹¤±¤É¡¢
//º£¤Ï¤³¤ì¤Ç£Ï£Ë
screen 0, 320, 320
sdim MapData, 5000 ;¥Þ¥Ã¥×¥Ç¡¼¥¿¤òÆþ¤ì¤ëÇÛÎó
sdim MapLine, 500 ;¥Þ¥Ã¥×¤Î¹Ô¼èÆÀ¤Î¤È¤¤Î¹Ô¼èÆÀ
dim BlockX , 100 ;¥Ö¥í¥Ã¥¯¤Î£ØºÂɸ
dim BlockY , 100 ;¥Ö¥í¥Ã¥¯¤Î£ÙºÂɸ
//¥Þ¥Ã¥×¥Ç¡¼¥¿ºîÀ®
MapData ="0000000000"+"\n"
MapData+="0000000000"+"\n"
MapData+="0000000000"+"\n"
MapData+="0000000000"+"\n"
MapData+="0000000000"+"\n"
MapData+="0000000000"+"\n"
MapData+="0011110000"+"\n"
MapData+="0000000000"+"\n"
MapData+="1111111111"+"\n"
MapData+="0000000000"
notesel MapData
noteget MapLine, 0
MapX = strlen(MapLine) ;¥Þ¥Ã¥×¤ÎX¥µ¥¤¥º
MapY = noteinfo(0) ;¥Þ¥Ã¥×¤ÎY¥µ¥¤¥º
MapSize = MapX*MapY ;¥Þ¥Ã¥×¤Î¥µ¥¤¥º
buffer 2
repeat MapSize
/*¤³¤³¤Ç²¾ÁÛ¥¦¥£¥ó¥É¥¦¤Ë¥Þ¥Ã¥×ÉÁ¼Ì*/
//°ì¹Ô¤º¤Änoteget¤Ç¼èÆÀ¤·¡¢peek¤ò»È¤ª¤¦
//peek¤ÎÊÖ¤êÃͤòswitchʸ¤ÇȽÄꤷ¤ÆÉÁ¼Ì
//¤³¤ÎºÝ¡¢1¤Î¿ô¤òÄ´¤Ù¤Æ¤ª¤¯¡£¤Þ¤¿¡¢¤¹¤Ù¤Æ¤Î¥Ö¥í¥Ã¥¯¤ÎºÂɸ¤ò¡¢
//BlockX¤ÈBlockY¤ËƱ»þ¤ËÆþ¤ì¤ë¡£
loop
gsel 0
//¥á¥¤¥ó¥ë¡¼¥×
repeat
redraw 0
//²èÌÌ¥¯¥ê¥¢
color 255, 255, 255 :boxf
//ËÜÍè¤Ê¤égosub¤ÇÈô¤Ð¤·¤Þ¤¯¤ë¤±¤Éº£²ó¤Ï¥·¥«¥È
/*¤³¤³¤Ë¼«Ê¬¤ÎÉÁ¼Ì¤ÈÆ°¤¤Î¥×¥í¥°¥é¥à¤òÁȤà*/
/*¤³¤³¤Ëbuffer 2¤ò¥³¥Ô¡¼¤¹¤ë¥×¥í¥°¥é¥à¤òÁȤà*/
/*¤³¤³¤ÇÅö¤¿¤êȽÄê¤ò½ñ¤¯*/
//Åö¤¿¤êȽÄê¤Ïrepeat~loop¤Ç1¤Î¿ô¤À¤±·«¤êÊÖ¤·¤Æ¹Ô¤¦
//Åö¤¿¤êȽÄê¤ÏBlockX¤äBlockY¤ò¶î»È¤·¤Æ¤¬¤ó¤Ð¤Ã¤Æºî¤ë
//¡Ê¼«Ê¬¤âµîǯ¤Î²Æ¶ìÏ«¤·¤Þ¤·¤¿¡£¡Ë
redraw 1
await 10
loop
¤â¤¦¤¹¤°¡¢¼«Ê¬¤Ï¼«Ê¬¤Î¤è¤¦¤Ê¥×¥í¥°¥é¥ß¥ó¥°½é¿´¼Ô¤Î¤¿¤á¤Î£È£Ð¤òΩ¤Æ¤ë¤Î¤Ç¡¢
¤ï¤«¤é¤Ê¤¯¤Ê¤Ã¤¿¤éÍè¤Æ¤¯¤À¤µ¤¤¡£¡Ê´Ø·¸¤Ê¤¤¤³¤È¤¹¤ß¤Þ¤»¤ó¡Ë
| |
|
2012/4/1(Sun) 20:05:22|NO.45678
spider¤µ¤ó¡¢¥µ¥ó¥×¥ë¥¹¥¯¥ê¥×¥È¡Ê¡©¡Ë¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
Á´¤¯¸«¤¿¤³¤È¤¬Ìµ¤¤·Á¤Ê¤Î¤Ç¤È¤Æ¤â»²¹Í¤Ë¤Ê¤ë¤È»×¤¤¤Þ¤¹¡£
Ëͤâ¼ÁÌ䤹¤ë¤Ð¤Ã¤«¤¸¤ã¤¤¤±¤Ê¤¤¤Î¤Ç²òÆɤò´èÄ¥¤é¤Ê¤¤¤È¡¦¡¦¡¦
¡Êsdim´Ø¿ô¤òÍѤ¤¤Æ¤¤¤ë2¹Ô¤¢¤¿¤ê¤«¤é¤¤¤¤Ê¤ê¤Ä¤Þ¤Å¤¤¤¿¡ª¡Ë
|
|
2012/4/1(Sun) 20:43:36|NO.45680
cats¤µ¤ó¡¢
>¿ô»ú¤À¤±¤òʤ٤ëÊýË¡¤À¤È1¤Ä¤Î²èÁü¥Õ¥¡¥¤¥ë¤«¤é10¸Ä(0¡Á9)¤Î¥Þ¥Ã¥×¥Á¥Ã¥×¤·¤«
>ɽ¼¨¤Ç¤¤Ê¤¤¤È»×¤¦¤Î¤Ç
¤¬¤è¤¯¤ï¤«¤ê¤Þ¤»¤ó(´À)
¤µ¤Ã¤½¤¯º®Íðµ¤Ì£¤Ç¤¹¡¦¡¦¡¦
spider¤µ¤ó¤Ë¤â¼ÁÌäÊÖ¤·¤Æ¤¤¤¤¤Ç¤¹¤«¡©
¡Ö+"\n"¡×¤È¤¤¤¦Éôʬ¤Ï²þ¹Ô¤È¤¤¤¦¤³¤È¤Ç¤·¤ç¤¦¤«¡¢
mes¤òÍѤ¤¤Æ¤¿¤á¤·¤Ëɽ¼¨¤·¤Æ¤ß¤¿¤È¤³¤í\n¤Îʸ»úÎ󤬾䨡¢
Âå¤ï¤ê¤Ë²þ¹Ô¤µ¤¨¤ì¤Æ¤¤¤Þ¤¹¡£
¤Ê¤ó¤À¤«¤è¤¯¤ï¤«¤é¤Ê¤¯¤Ê¤Ã¤Æ¤¤Þ¤·¤¿¡£
|
|
2012/4/1(Sun) 21:26:23|NO.45681
Î㤨¤Ð¥Ö¥í¥Ã¥¯¤Î³¨¤¬15¸Ä¤¢¤Ã¤¿¤È¤·¤Þ¤¹¡£
¤½¤Î15¸Ä¤ò0¡Á14¤Î¿ô»ú¤ËÂåÆþ¤·¤è¤¦¤È¤·¤Þ¤¹¡£
¤·¤«¤·
01234567891011121314
¤È¤¤¤¦¿ô»ú¤Î½ñ¤Êý¤À¤È¥×¥í¥°¥é¥à¤Ï
Ž¢10Ž£¤òŽ¢1¤Î¥Ö¥í¥Ã¥¯¤Î³¨¤È0¤Î¥Ö¥í¥Ã¥¯¤Î³¨Ž£¤Ëʬ¤±¤ÆÆɤ߹þ¤ó¤Ç¤·¤Þ¤¤¤Þ¤¹¡£
Ʊ¤¸¤¯Ž¢11Ž£¤âŽ¢1¤Î³¨¤È1¤Î³¨Ž£¡¢Ž¢12Ž£¤âŽ¢1¤Î³¨¤È2¤Î³¨Ž£¤È¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
¤½¤³¤Ç
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14
¤È¤¤¤¦½ñ¤Êý¤ÇŽ¢,Ž£¤Ç¶èÀڤäÆÆɤ߹þ¤Þ¤»¤ë¤È10°Ê¹ß¤Î¿ô»ú¤â¤¤Á¤ó¤ÈÆɤ߹þ¤ß¤Þ¤¹¡£
ÀâÌÀ¤¬²¼¼ê¤Ç¤¹¤ß¤Þ¤»¤ó¡¨
¤Þ¤¢Ž¢,Ž£¤¬Æþ¤ë¤È¥×¥í¥°¥é¥à¤¬Ê¬¤«¤é¤Ê¤¤¤Î¤Ê¤é¤Ð
Ž¢Ž±Ž£¤äŽ¢Ž²Ž£¤Ê¤É¤Î¥«¥Ê¤ò»È¤Ã¤Æ¤â¤«¤Þ¤¤¤Þ¤»¤ó¡£
|
|
2012/4/1(Sun) 21:51:34|NO.45684
cats¤µ¤ó¡¢¤Ê¤ë¤Û¤É¡¢¤½¤¦¤¤¤¦¤³¤È¤Ç¤¹¤«¡ª
¤½¤¦¹Í¤¨¤ë¤È
000102...2021222324¤È¤¤¤¦É÷¤Ë
Æóʸ»ú¤º¤Ä¼èÆÀ¤¹¤ë¤È¡¢Ê¸»ú¤âÆɤߤ䤹¤¯¤Æ¤¤¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡ª
(º£¤ÎËͤε»½ÑÎ̤À¤È¼Â¸½ÉԲĤÀ¤¬¡¦¡¦¡¦)
spider¤µ¤ó¤Î¥µ¥ó¥×¥ë¤Ë»È¤ï¤ì¤Æ¤¤¤ë¡¢
\n¤Î»È¤¤Êý¤¬¤¤¤Þ¤¤¤Á¤è¤¯Ê¬¤«¤ê¤Þ¤»¤ó¤¬Ã¯¤«ÀâÌÀ¤ª´ê¤¤¤·¤Þ¤¹¡£
|
|
2012/4/1(Sun) 22:17:00|NO.45688
Ž¢\nŽ£¤Ï²þ¹Ô¤Ë»È¤¤¤Þ¤¹¡£
MapData ="0000000000"+"\n"
MapData+="0000000000"+"\n"
¤Ä¤Þ¤ê"0000000000"¤¬°ì¹ÔÌܤÇ"\n"¤Ç²þ¹Ô¤·¤Æ"0000000000"¤òÆó¹ÔÌܤˤ¹¤ë¡¢
¤È¤¤¤¦¥×¥í¥°¥é¥à¤Ç¤¹¡£
(Îã)
mes "²þ¹Ô¤·¤Þ¤¹\n²þ¹Ô¤·¤Þ¤·¤¿"
|
|
2012/4/1(Sun) 22:39:55|NO.45690
¤ª¤Ã¿Ê¤ó¤Ç¤Þ¤¹¤Í¡£
Ã٤줿¤è¤¦¤Ç¤¹¤ó¤Þ¤Ø¤ó¡£
¤Ç¡¢ËÜÂê¤Ø¡£
¼«Ê¬¤ÏºÇ½é¤«¤éʸ»úÎó¼çµÁ¤Ê¤ó¤Ç¤¹¤¬¡¢
¤ä¤ê¤ä¤¹¤¤¤ä¤ê¤Ë¤¯¤¤¤Ï¸Ä¿Íº¹¤Ê¤Î¤ÇΦɴ-£Ë¤µ¤ó¤Ë¤ªÇ¤¤»¤·¤Þ¤¹¡£
¤¢¤È¡¢0¡Á15¤Þ¤Ç¤Ê¤é°·¤¨¤Þ¤¹¤è¡£¡Ê16¿Ê¿ô¤ò»È¤Ã¤Æ¡Ë
¤á¤ó¤É¤¯¤µ¤¤¤«¤é¤É¤¦¤·¤Æ¤â15¤Þ¤Ç»È¤¤¤¿¤¤¤È¤¤·¤«¤ä¤ó¤Ê¤¤¤±¤É¡¦¡¦¡¦
Buf ="ABCDE"+"\n"
Buf+="FFFFF"
String = strmid(Buf, 0, 1)
mes int(strf("$%s", String))
¤³¤Î¾ì¹ç¡¢peek¤Ï»È¤¨¤Þ¤»¤ó¡£strmid¤ò»È¤ª¤¦¡£¡Ê̵Â̤«¤â¡Ë
|
|
2012/4/1(Sun) 22:44:29|NO.45691
³¤±¤Æ¤¹¤ß¤Þ¤»¤ó¡£
¾å¤Î¤Ï¡¢¿÷·Á¤Ç¤¹¡£
¡Ê¼ÂºÝ¤Ë¥¢¥¯¥·¥ç¥ó¥²¡¼¤Ë¼è¤êÆþ¤ì¤ë¤Ë¤Ï²þ¤¤¬É¬ÍסË
¤½¤ì¤Èʸ»úÎóÆóÎó¤Ë¤Ê¤Ã¤Æ¤Æ¤¹¤¤¤Þ¤»¤ó¡£¡Ê¤¤¤ß¤Í¤§¡Ë
¤¤¤í¤¤¤í¤¢¤Û¤Ç¤¹¤ß¤Þ¤»¤ó¡£
|
|
2012/4/1(Sun) 22:55:25|NO.45692
cats¤µ¤ó¡¢\n¤Î»È¤¤Êý¤¬Ê¬¤«¤ê¤Þ¤·¤¿¡ª¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡ª
spider¤µ¤ó¤Î¥¹¥¯¥ê¥×¥È¤ØºÆÅÙ¼ÁÌ䤷¤Þ¤¹¡£
buffer 2¤Ø¤ÎÉÁ¼Ì(¥Þ¥Ã¥×ÉôÉÊ)¤Ç¤¹¤¬¡¢¶ñÂÎŪ¤Ë¤É¤¦°ÌÃÖ»ØÄꤷ¤Æ¤¤¤¤¤«¤ï¤«¤ê¤Þ¤»¤ó(´À)
¼ÁÌ䤷¤Æ¤Ð¤«¤ê¤Ç¤â¤¦¤·¤ï¤±¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢¤ä¤Ï¤ê¸«Ëܤò¸«¤Æ³Ð¤¨¤¿¤¤¤â¤Î¤Ç¤¹¡£
Ëͤξ¡¼ê¤Ê¹½ÁۤǤϰʲ¼¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¦¡¦¡¦
;°ì¹ÔÌܤÎÉÁ¼Ì
if mapsize>=0 & mapsize<=10 {
pos 0+30*mapsize,0 ;+30¤Ï¥Þ¥Ã¥×¥Á¥Ã¥×X¥µ¥¤¥º¤Îʬ
gcopy ~
}
¤ß¤¿¤¤¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£(¤Ê¤¼¤«)
¤â¤Ã¤È¸úΨ¤ÎÎɤµ¤½¤¦¤Ê°ìÈÌŪ¤Ê¥¹¥¯¥ê¥×¥È¤ÎÁȤßÊý¤È¤¤¤¦¤«¡¢
¥Þ¥Ã¥×¤ÎÉÁ¼ÌÉôʬ¤ò¤â¤¦¾¯¤·¾Ü¤·¤¯¶µ¤¨¤Æ¤¤¤¿¤À¤±¤Þ¤»¤ó¤«¡©
|
|
2012/4/1(Sun) 23:03:25|NO.45693
spider¤µ¤ó¡¢¤É¤¦¤â¥¿¥¤¥×®ÅÙ¤¬ÃÙ¤¹¤®¤ÆÊÖ¿®¤Ë´Ö¤Ë¹ç¤¤¤Þ¤»¤ó(´À)
¤Ê¤ó¤À¤«16¿Ê¿ô¤È¤«°·¤Ã¤¿¤³¤È¤¬¤Ê¤¤¤â¤Î¤¬¤Ç¤Æ¤¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡¨
¤È¤ê¤¢¤¨¤º¡¢ËͤÏʸ»úÎ󷿤οôÃͤÀ¤±¤ò¤¢»È¤¦¤³¤È¤Ë¤·¤Þ¤¹¡£
¤½¤ì¤È¡¢
>cats¤µ¤ó¡¢¤Ê¤ë¤Û¤É¡¢¤½¤¦¤¤¤¦¤³¤È¤Ç¤¹¤«¡ª
>¤½¤¦¹Í¤¨¤ë¤È
>000102...2021222324¤È¤¤¤¦É÷¤Ë
>Æóʸ»ú¤º¤Ä¼èÆÀ¤¹¤ë¤È¡¢Ê¸»ú¤âÆɤߤ䤹¤¯¤Æ¤¤¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡ª
>(º£¤ÎËͤε»½ÑÎ̤À¤È¼Â¸½ÉԲĤÀ¤¬¡¦¡¦¡¦)
¤Ï²Äǽ¤Ç¤·¤ç¤¦¤«¡¢00¢ª0¤ËÃÖ´¹¤µ¤ì¤Æ¤½¤¦¤Ê¤Î¤Ç¤¹¤¬¡¦¡¦¡¦
|
|
2012/4/2(Mon) 01:21:07|NO.45700
HSP3¥Õ¥©¥ë¥À\sample\game\¤Ë¥Þ¥Ã¥×¥Á¥Ã¥×ÉÁ²è¤Î¥µ¥ó¥×¥ë¤¬¤¢¤ë
map1.hsp
map2.hsp
>¤Ï²Äǽ¤Ç¤·¤ç¤¦¤«¡¢00¢ª0¤ËÃÖ´¹¤µ¤ì¤Æ¤½¤¦¤Ê¤Î¤Ç¤¹¤¬¡¦¡¦¡¦
ʸ»úÎó·¿(sdim,str)¤ÈÀ°¿ô·¿(dim,int)¤Î°ã¤¤¤òÍý²ò¤·¤¿Êý¤¬Îɤ¤¤È»×¤¦
|
|
2012/4/2(Mon) 06:00:57|NO.45704
²Ë¿Í¤µ¤ó¡¢ËͤϤȤƤĤâ¤Ê¤¤Çϼ¯ÌîϺ¤Ç¤·¤¿¡Ê¡Ê
ʸ»úÎ󷿤ÈÀ°¿ô·¿¤Î°ã¤¤¤Ï¤ï¤«¤Ã¤Æ¤¤¤¿¤ß¤¿¤¤¤Ê¤Î¤Ç¤¹¤¬¡¢
¤É¤³¤«¥·¥ç¡¼¥È¤·¤Æ¤¤¤¿¤è¤¦¤Ç¤¹¡Ê¡Ê¡Ê¡Ê¡Ê
¤¿¤Ö¤ó¡¢a=00¢ªa=0¤ß¤¿¤¤¤Ê¤³¤È¤òÁÛÁü¤·¤¿¤«¤é¤À¤È¡ÊÇϼ¯
a="00"¤Ï²¿¤«¤·¤Ê¤¤¸Â¤êʸ»úÎ󷿤Τޤޤʤó¤Ç¤¹¤è¤Í¡¦¡¦¡¦
¥µ¥ó¥×¥ë¤¢¤ê¤Þ¤·¤¿¤«¡¢¸å¤Ç¸«¤Æ¤ª¤¤Þ¤¹¡£
|
|
2012/4/2(Mon) 06:19:48|NO.45705
>HSP3¥Õ¥©¥ë¥À\sample\game\¤Ë¥Þ¥Ã¥×¥Á¥Ã¥×ÉÁ²è¤Î¥µ¥ó¥×¥ë¤¬¤¢¤ë
>map1.hsp
>map2.hsp
¤Îmap2.hsp¤Î28¹ÔÌܤޤǤϡ¢¤½¤ì¤Ç¤â²¿¤È¤Ê¤¯¤ï¤«¤ë¤«¤Ê¡ÁÄøÅÙ¤Î
¤â¤Î¤À¤Ã¤¿¤ó¤Ç¤¹¤±¤É¡¢29¹ÔÌܰʹߤ¬Æñ¤·¤¤¤Ç¤¹¡£
|
|
2012/4/2(Mon) 11:31:02|NO.45707
>29¹ÔÌܰʹߤ¬Æñ¤·¤¤¤Ç¤¹¡£
29¹ÔÌܤ«¤é¤Ï¥Þ¥Ã¥×¤ÎÉÁ²è¤ò¤·¤Æ¤¤¤Þ¤¹¡£
24¡Á27¹ÔÌܤοô»ú¤ÇÉÁ²è¤¹¤ë¥Á¥Ã¥×¤ò·è¤á¤Æ¤¤¤Þ¤¹¡£
²¿¤â»ØÄꤷ¤Ê¤±¤ì¤Ð0(Áð¸¶)¤Ë¤Ê¤ê¤Þ¤¹¡£
gmode 0
repeat [½Ä¤Î¥Þ¥Ã¥×¥Á¥Ã¥×¿ô(Y)]
y=cnt ;Y¤ò1¥«¥¦¥ó¥È
pos 0,y*cy ;
repeat [²£¤Î¥Þ¥Ã¥×¥Á¥Ã¥×¿ô(Y)]
x=cnt;X¤ò1¥«¥¦¥ó¥È
celput map_id,map(x,y) ;"mapbg.bmp"¤òÉÁ²è¤¹¤ë
/*¢¬¤Ç¤Ï24¡Á27¹ÔÌܤǤ¤á¤¿¾ì½ê¤Ë·è¤á¤¿¥Þ¥Ã¥×¥Á¥Ã¥×¤òÉÁ²è*/
/*Î㤨¤Ð25¹ÔÌܤËmap(2,2)=1¤òÄɲ乤ë¤È(2,2)¤Ë¿¹¤¬ÉÁ²è¤µ¤ì¤ë*/
loop
loop
¤¢¤Ècelput¤Ïgcopy¤ÈƱ¤¸¤è¤¦¤ÊÌ¿Îá¤Ç¤¹¡£
|
|
2012/4/2(Mon) 12:20:48|NO.45708
repeat~loop¤ò¤¤¤Ã¤Ú¤ó¤ËÆó²ó»È¤¦¤Î¤¬²ò¤«¤ê¤Å¤é¤±¤ì¤Ð¡¢
¼¡¤Î¤è¤¦¤Ë¤¹¤ì¤Ð°ìÅ٤Ǥ¹¤ß¤Þ¤¹¡£
screen 0, 192, 192
sdim Buf, 5000 ;³ÎÊÝ
sdim BufLine, 500 ;³ÎÊÝ
//¥Þ¥Ã¥×¥Ç¡¼¥¿ºîÀ®
Buf ="000000"+"\n"
Buf+="001100"+"\n"
Buf+="000000"+"\n"
Buf+="001100"+"\n"
Buf+="000000"+"\n"
Buf+="111111"
//ʸ»úÎó¤Î¾ðÊó¤ò¼èÆÀ
notesel Buf
noteget BufLine, 0 ;°ì¹Ô¼èÆÀ¤·¤Æ
MapX = strlen(BufLine) ;²£¤ÎŤµ¤ò¼èÆÀ
MapY = noteinfo(0) ;¹Ô¿ô¼èÆÀ
MapSize = MapX*MapY ;¥Þ¥Ã¥×¤Îʸ»ú¿ô¼èÆÀ
repeat MapSize ;ʸ»ú¿ô¤À¤±·«¤êÊÖ¤·
x = cnt\MapX ;\¤Ï;»»¤Ê¤Î¤Ç°ìʸ»ú¤º¤ÄÄ´¤Ù¤Æ¤¤¤Ã¤¿¤È¤¤Î²£¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤Ë¤Ê¤ë
y = cnt/MapX ;/¤Ï½ü»»¤Ê¤Î¤Ç°ìʸ»ú¤º¤ÄÄ´¤Ù¤Æ¤¤¤Ã¤¿¤È¤¤Î½Ä¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤Ë¤Ê¤ë
noteget BufLine, y ;¹Ô¼èÆÀ
Code = peek(BufLine, x);1byte¼èÆÀ
//Èæ³Ó¤·¤ÆÉÁ²è
switch Code
case '1' ;¥³¡¼¥É¤ÇÊÖ¤µ¤ì¤ë¤Î¤Ç¥¯¥©¡¼¥Æ¡¼¥·¥ç¥ó¤ò¤Ä¤±¤ë
boxf x*32, y*32, x*32+31, y*32+31 ;32¤Ï¥Þ¥Ã¥×¥Á¥Ã¥×¤Î¥µ¥¤¥º¤Ç¤¹
swbreak
swend
loop
|
|
2012/4/2(Mon) 19:21:34|NO.45714
¤â¤¦ºÙ¤«¤¤¤È¤³¤í¤ÏÍý²ò¤Ç¤¤Ê¤¤¤ó¤Ç¤¹¤±¤ì¤É¤â¡¢
spider¤µ¤ó¤Î¥µ¥ó¥×¥ë¤Ç¤Ï
¥Þ¥Ã¥×¤Î¤¹¤Ù¤Æ¤ò»ØÄꤷ¤Æ¤¤¤ë¤Î¤ËÂФ·¡¢
00001000 ¢¢¢¢¢¢¢£¢¢¢¢¢¢
00000000 ¢¢¢¢¢¢¢¢¢¢¢¢¢¢
11111111 ¢£¢£¢£¢£¢£¢£¢£
map2.hsp¤Î¥¹¥¯¥ê¥×¥È¤Ï¡¢ºÂɸ¤òºÙ¤«¤¯»ØÄꤷ¤Æ¡¢
ÉÁ¼Ì¤·¤Æ¤¤¤ë¤È¤¤¤¦¤³¤È¤Ç¤¹¤Í¡ª
(4,1) ¢¢¢¢¢¢¢£¢¢¢¢¢¢
(0,2) ¢¢¢¢¢¢¢¢¢¢¢¢¢¢
(1~7,3) ¢£¢£¢£¢£¢£¢£¢£
¤³¤³¤Þ¤Çʬ¤«¤Ã¤Æ¤ä¤Ï¤êÉÁ¼ÌÉôʬ¤¬Íý²ò¤Ç¤¤Ê¤¤¡¦¡¦¡¦
|
|
2012/4/2(Mon) 19:50:36|NO.45715
ÊÖ¿®ÃÙ¤ì¤Æ¤ï¤±¤ï¤«¤é¤Ê¤¯¤Ê¤é¤Ê¤¤¤è¤¦¤Ë¤¹¤ë¤¿¤á¤Ë»þ¹ï½ñ¤¤¤Æ¤ª¤¤Þ¤¹¡£
19:31
spider¤µ¤ó¤Î¥¹¥¯¥ê¥×¥È¤Î¡¦¡¦¡¦
> repeat MapSize ;ʸ»ú¿ô¤À¤±·«¤êÊÖ¤·
¤Î¤¢¤¿¤ê¤Þ¤Ç¤ÏÍý²ò¤Ç¤¤Æ...¤¤¤ë¤ó¤Ç¤¹¤±¤ì¤É
19:37
>x = cnt\MapX ;\¤Ï;»»¤Ê¤Î¤Ç°ìʸ»ú¤º¤ÄÄ´¤Ù¤Æ¤¤¤Ã¤¿¤È¤¤Î²£¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤Ë¤Ê¤ë
>y = cnt/MapX ;/¤Ï½ü»»¤Ê¤Î¤Ç°ìʸ»ú¤º¤ÄÄ´¤Ù¤Æ¤¤¤Ã¤¿¤È¤¤Î½Ä¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤Ë¤Ê¤ë
\¤ò¼°¤ËÍѤ¤¤¿¤³¤È¤¬¤Ê¤¤¤Î¤Ç¡¢»î¤·¤Æ¤ß¤¿¤ó¤Ç¤¹¤¬¡¢0\10=0 , 1\10=1 , 2\10=2...
\¤Ï³ä¤ê»»µ¹æ¤ÈƱ¤¸ÌòÌܤò»ý¤Ä¤ó¤Ç¤¹¤«¡©
¤È¤¤¤¦¤³¤È¤Ï¡¢x¤Èy¤ÏƱ¤¸¿ôÃͤˤʤë¤ó¤¸¤ã¡¦¡¦¡¦¤¢¤ì¡©
|
|
2012/4/2(Mon) 19:58:09|NO.45716
\¤Ï³ä¤Ã¤¿Í¾¤ê¤Ç¤¹¤è
mes 5\2
|
|
2012/4/2(Mon) 20:12:26|NO.45718
¤É¤Î½ç¤ÇÉÁ²è¤µ¤ì¤Æ¤¤¤ë¤Î¤«¤Ïwait¤òÆþ¤ì¤ë¤Èʬ¤«¤ê¤ä¤¹¤¤¤Ç¤¹¤Í¡£
repeat MapSize ;ʸ»ú¿ô¤À¤±·«¤êÊÖ¤·
x = cnt\MapX ;\¤Ï;»»¤Ê¤Î¤Ç°ìʸ»ú¤º¤ÄÄ´¤Ù¤Æ¤¤¤Ã¤¿¤È¤¤Î²£¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤Ë¤Ê¤ë
y = cnt/MapX ;/¤Ï½ü»»¤Ê¤Î¤Ç°ìʸ»ú¤º¤ÄÄ´¤Ù¤Æ¤¤¤Ã¤¿¤È¤¤Î½Ä¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤Ë¤Ê¤ë
noteget BufLine, y ;¹Ô¼èÆÀ
Code = peek(BufLine, x);1byte¼èÆÀ
//Èæ³Ó¤·¤ÆÉÁ²è
switch Code
case '1' ;¥³¡¼¥É¤ÇÊÖ¤µ¤ì¤ë¤Î¤Ç¥¯¥©¡¼¥Æ¡¼¥·¥ç¥ó¤ò¤Ä¤±¤ë
color 0,0,0 ;¹õ
swbreak
default
color 200,200,200 ;³¥
swend
boxf x*32, y*32, x*32+31, y*32+31 ;32¤Ï¥Þ¥Ã¥×¥Á¥Ã¥×¤Î¥µ¥¤¥º¤Ç¤¹
await 200
color 255,0,0 :pos x*32, y*32 :mes ""+Code ;ʸ»ú¥³¡¼¥É¤òÀÖ¤Çɽ¼¨
loop
|
|
2012/4/2(Mon) 20:13:16|NO.45719
spider¤µ¤ó¤Î\¤ò»È¤Ã¤¿¥¹¥¯¥ê¥×¥È¡¢¥«¥Ã¥³¤¤¤¤¤Ç¤¹!
¤è¤¯°ÕÌ£¤¬Ê¬¤«¤é¤Ê¤«¤Ã¤¿¤Î¤Ç¡¢
repeat 100
mes ""+(cnt/10)+" "+(cnt\10)
loop
¤È¤ä¤Ã¤¿¤é¡¢
´¶Æ°¤·¤Þ¤·¤¿!
½é¿´¼Ô¤Ë¤â¤ï¤«¤ê¤ä¤¹¤¤(?)
for¡Ánext¤òºÜ¤»¤È¤¤Þ¤¹
screen 0,800,450
map(0)="000000000000000000000000"
map(1)="000010000000000000000000"
map(2)="000000000000000000111111"
map(3)="001000000000000000000000"
map(4)="000000000000100000000000"
map(5)="000000000000000010000000"
map(6)="001000000000000111000000"
map(7)="001000000100001111100000"
map(8)="111111111100111111110011"
repeat 400
redraw 0
color 255,255,255:boxf
color
;ÉÁ²èÉôʬ¢§
for y,0,10
for x,0,24
if strmid(map(y),x,1)="1":boxf x*50+¤º¤ì,y*50,x*50+49+¤º¤ì,y*50+49
next
next
;ÉÁ²èÉôʬ¢¥
¤º¤ì--
redraw 1
await 20
loop
dialog "¥¯¥ê¥¢¡¼(¾Ð)":end
|
|
2012/4/2(Mon) 20:21:05|NO.45720
¤è¤¦¤ä¤¯¤³¤Î°ÕÌ£¤¬Ê¬¤«¤Ã¤¿¤è¤¦¤Êµ¤¤¬¤¹¤ë¡ª
x = cnt\MapX ;\¤Ï;»»¤Ê¤Î¤Ç°ìʸ»ú¤º¤ÄÄ´¤Ù¤Æ¤¤¤Ã¤¿¤È¤¤Î²£¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤Ë¤Ê¤ë
y = cnt/MapX ;/¤Ï½ü»»¤Ê¤Î¤Ç°ìʸ»ú¤º¤ÄÄ´¤Ù¤Æ¤¤¤Ã¤¿¤È¤¤Î½Ä¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤Ë¤Ê¤ë
|
|
2012/4/2(Mon) 20:26:49|NO.45721
¤¢¡¢TMKL¤µ¤ó¤Î²òÅú¤ò¤¤¤¿¤À¤¤¤Æ
>\¤Ï³ä¤Ã¤¿Í¾¤ê¤Ç¤¹¤è
>mes 5\2
¤ï¤«¤ê¤Þ¤·¤¿¡ª
µÕ¤Ë¡¢¼¡¤Î
>screen 0,800,450
>map(0)="000000000000000000000000"
>map(1)="000010000000000000000000"
>map(2)="000000000000000000111111"
>map(3)="001000000000000000000000"
>map(4)="000000000000100000000000"
>map(5)="000000000000000010000000"
>map(6)="001000000000000111000000"
>map(7)="001000000100001111100000"
>map(8)="111111111100111111110011"
>
>repeat 400
>redraw 0
>color 255,255,255:boxf
>color
>
>;ÉÁ²èÉôʬ¢§
>for y,0,10
>for x,0,24
>if strmid(map(y),x,1)="1":boxf x*50+¤º¤ì,y*50,x*50+49+¤º¤ì,y*50+49
>next
>next
>;ÉÁ²èÉôʬ¢¥
>
>¤º¤ì--
>redraw 1
>await 20
>loop
>
>dialog "¥¯¥ê¥¢¡¼(¾Ð)":end
¤¬Ê¬¤«¤é¤Ê¤¯¤Ê¤Ã¤¿(´À)
|
|
2012/4/2(Mon) 20:30:30|NO.45722
»ä¤Î¤Ï̵»ë¤·¤Æ¤¯¤À¤µ¤¤!
spider¤µ¤ó¤Î¥¹¥¿¥¤¥ê¥Ã¥·¥å¤Ê¥¹¥¯¥ê¥×¥È¤ò»²¹Í¤Ë¤·¤Æ¤¯¤À¤µ¤¤!!!
|
|
2012/4/2(Mon) 20:33:55|NO.45723
¤¢¡¢¥ß¥¹¤Ã¤Æ¤ë
for y,0,10 ¡ß
for y,0,9¡¡¡û
|
|
2012/4/2(Mon) 20:39:26|NO.45724
¤â¤¦¤ï¤«¤é¤Ê¤¤¡ª
¤È¤Ë¤«¤¯spider¤µ¤ó¤Î¥¹¥¯¥ê¥×¥È¤òºÆÅÙ
¸«Ä¾¤·¤Æ¤ß¤Þ¤¹¡¦¡¦¡¦
¤¿¤·¤«¡¢³ä¤ê»»¤Î;»»¤òÍøÍѤ·¤¿x,y¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹¤Î¤¢¤¿¤ê¤Þ¤Ç
Íý²ò¤·¤¿¤Ï¤º¡¦¡¦¡¦¤À¤«¤é¡¢¼¡¤Ï
|
|
2012/4/2(Mon) 20:47:38|NO.45725
¤½¤ì¤Ë¤·¤Æ¤â¡¢¥Þ¥Ã¥×¥¹¥¯¥ê¥×¥È¤òÉÁ¼Ì¤â´Þ¤á¤Æ
28¹Ô¤Ç¼ý¤á¤ë¤Ê¤ó¤Æ¡¢¥¹¥´¥¤¡¦¡¦¡¦
°ìÄ̤êÍý²ò¤Ç¤¤Æ(¤Ê¤ó¤È¤Ê¤¯¤À¤±¤ì¤É)
¤ª¤â¤ï¤ºÇï¼ê¤·¤Æ¤·¤Þ¤Ã¤¿¡Ê¡Ê
|
|
2012/4/2(Mon) 21:16:01|NO.45728
|
|
2012/4/2(Mon) 22:12:44|NO.45734
¤Þ¤¿½ÐÃÙ¤ì¤Þ¤·¤¿¡£¡Ê£È£Ð´°À®¤µ¤»¤Æ¤¿¡Ë
¤Ç¡¢¸À¤¤¤¿¤¤»ö¤Ï
¡´·¤ì¤ì¤Ð¤ß¤ó¤Ê¤è¤ê®¤¯¡¢Ã»¤¤¥¹¥¯¥ê¥×¥È¤ò¤«¤±¤Þ¤¹¤è¡£
¢²£¥¹¥¯¥í¡¼¥ë¥¢¥¯¥·¥ç¥ó¤Ë¤¹¤ë¤Ê¤é¡¢
Èó¾ï¤Ë¥·¥ó¥×¥ë¤Ê¤â¤Î¤«¤é¤Ï¤¸¤á¤Þ¤·¤ç¤¦¡£
¤½¤·¤Æ¡¢Åö¤¿¤êȽÄê¤È¤¤¤¦Êɤȥ¹¥¯¥í¡¼¥ë½èÍý¤È¤¤¤¦ÊɤË
¤Ö¤ÁÅö¤¿¤ë¤Ç¤·¤ç¤¦¡£¤¬¤ó¤Ð¤Ã¤Æ¤¯¤À¤µ¤¤¡ª¡ª¡ª
£¥È¥Û¥Û¥Ã¥Æ¥£¡¼¤µ¤ó¤Î¤è¤¦¤Ê¥¢¥¯¥·¥ç¥ó¥²¡¼¤«¤é¤Ä¤¯¤ë¤Î¤â
¥¢¥ê¤«¤â¤·¤ì¤Þ¤»¤ó¡£¤½¤ì¤Ê¤é¡¢½ÅÎϲîÅÙ¡¢¥¹¥¯¥í¡¼¥ë¡¢
ÌÊÌ©¤ÊÅö¤¿¤êȽÄê¤Ê¤É¤ÎÆñÂ꤫¤é¤Ï²òÊü¤µ¤ì¤Þ¤¹¤·¡£
|
|
2012/4/2(Mon) 23:09:35|NO.45736
¤ß¤Ê¤µ¤ó¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
¤³¤Î¥¹¥ì¤â¤À¤¤¤ÖŤ¯¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¤Î¤Ç¡¢¤È¤ê¤¢¤¨¤º¡¦¡¦¡¦
²ò·è¤·¤Þ¤·¤¿¤È¤¤¤¦¤³¤È¤Ç(¥Þ¥Ã¥Ô¥ó¥°¤Î»ÅÁȤߤÏÂçÂÎʬ¤«¤Ã¤¿)
¤Þ¤¿Ê¬¤«¤é¤Ê¤¯¤Ê¤Ã¤¿¤é¼ÁÌ䤵¤»¤Æ¤¤¤¿¤À¤¤Þ¤¹¡£
¤ß¤Ê¤µ¤óËÜÅö¤Ë¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡ª
|
|