|
| ̤²ò·è |
| ²ò·è |
| Ää»ß |
| ºï½üÍ×ÀÁ |
|
2020/1/15(Wed) 14:16:12|NO.89253
¤É¤¦¤â¤³¤ó¤Ë¤Á¤Ï¡£
¤¤¤Ä¤â¤É¤ª¤êhspdxfix.as¥×¥é¥°¥¤¥ó¤Çºî¤Ã¤¿¡¢STG¥²¡¼¥à¤Î¼ÁÌä¤Ë¤Ê¤ê¤Þ¤¹¡£
ŨÃƤò¡Ö¿¼¡¸µÇÛÎ󤫤é°ì¼¡¸µÇÛÎó¡×¤Ë¤·¤¿¤Î¤Ç¤¹¤¬¡¢
ŨÃƤˡ֤¯¤Ã¤Ä¤¤¤Æ¤¤¤ëʪÂÎ(°Ê²¼¥°¥ì¥¤¥º)¡×¤â¡¢¡Ö¿¼¡¸µÇÛÎ󤫤é°ì¼¡¸µÇÛÎó¡×¤Ë¤·¤¿¤¤¤È»×¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢
¤Þ¤À¡Ö¿¼¡¸µÇÛÎ󤫤é°ì¼¡¸µÇÛÎó¡×¤Ë¤¹¤ë½èÍý¤Ë´·¤ì¤Æ¤¤¤Ê¤¤¤¿¤á¡¢¤É¤Î¤è¤¦¤Ë¤·¤¿¤é¤¤¤¤¤Î¤«¤ï¤«¤é¤Ê¤¤¤Ç¤¹¡£
°ì±þ»ÅÍÍÄ̤ê¤ËÆ°¤¯¥½¡¼¥¹¤òÍÑ°Õ¤·¤Þ¤·¤¿¤¬¡¢¥°¥ì¥¤¥º¤Î¤ßÆ󼡸µÇÛÎó¤Ç½èÍý¤·¤Æ¤¤¤Þ¤¹¡£
¡¡¢£»ÅÍÍ¢£
1.¤Ç¤Ã¤«¤¤»Í³Ñ¤ä¤Ä¤¬¥°¥ì¥¤¥º¤Ç¤¹¡£²¼¤Ë¾®¤µ¤¤»Í³Ñ¤¬Å¨ÃƤǤ¹¡£
2.¥°¥ì¥¤¥º¤ÏŨÃƤ¬²èÌÌÆâ¤Ë¤¢¤ë¸Â¤ê¡¢£±ÃƤˤĤ£±²ó¤·¤«È¯À¸¤·¤Ê¤¤¡£
3.¥°¥ì¥¤¥º¤ÏŨÃƤˤ¯¤Ã¤Ä¤¤¤Æ¤¤¤ë¤Î¤Ç¡¢Å¨ÃƤÈƱ¤¸Æ°¤¤ò¤¹¤ë¡£
4.ŨÃƤ¬²èÌ̳°¤Ë¹Ô¤Ã¤¿¤é¡¢¥°¥ì¥¤¥ºÈ½Äê¤ÎÉü³è¤ò¤¹¤ë¡£
5.ŨÃƤ¬ºÆȯ¼Í¤µ¤ì¤¿¤é¡¢¥°¥ì¥¤¥ºÈ½Ä꤬ºÆÅ٤Ǥ¤ë
6.ŨÃƤϲèÌ̳°¤Ë¹Ô¤Ã¤¿¤é½é´ü¤Î°ÌÃÖ¤ËÌá¤ë¡ÊºÆȯ¼Í¡Ë
#include "hspdxfix.as" ;DX¥é¥¤¥Ö¥é¥ê»ÈÍÑ
width ,,130,200 ;¥¦¥£¥ó¥É¥¦¤Î°ÌÃÖ
es_ini 640,512,360 ;¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô¡¢¥¥ã¥é¥¯¥¿ÄêµÁ¤ÎºÇÂç¿ô,¼þ¤ÎÀºÅÙ(180*2)
es_screen 640,480 ,0,0,1,1 ;¥¹¥¯¥ê¡¼¥ó
es_window 30,10, 412,460 ;¥¹¥×¥é¥¤¥Èɽ¼¨¥¨¥ê¥¢ÀßÄê
es_area -10,-10, 432,480 ;¥¹¥×¥é¥¤¥È͸ú¥¨¥ê¥¢ÀßÄê
;---¥°¥ì¥¤¥º---
es_size 59,59, 50
es_pat 410, 265,390
;---¼«µ¡---
es_size 28,42, 100
es_pat 400, 0,0
JIKI_x = 206 : JIKI_y = 390 ;ºÂɸ
JIKISpd = 4 ;¥¹¥Ô¡¼¥É
;---Äã®---
es_size 9,9, 50
es_pat 195, 46,43
es_type 195,2
;---Ũ---
es_size 18,19, 50
es_pat 60, 0,0
;---ŨÃÆ---
es_size 17,17, 50
es_pat 65, 70,0
;Ũ
TEKI_MAX = 5 ;Ũ¤ÎºÇÂç¿ô
TEKI_Gmax = 3 ;¥°¥ë¡¼¥×¿ô
TEKI_GOKEI = TEKI_MAX * TEKI_Gmax ;Ũ¹ç·×¿ô
dim TEKI_f,TEKI_MAX,TEKI_Gmax ;¥Õ¥é¥°
dim TEKI_x,TEKI_MAX,TEKI_Gmax ;£Ø
dim TEKI_y,TEKI_MAX,TEKI_Gmax ;£Ù
dim TEKI_NO_GID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹ÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
dim TEKI_NO_DID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
;ŨÃÆ
dim TEKI_TM_f,TEKI_MAX,TEKI_Gmax;¥Õ¥é¥°
dim NOMARU_TAMA,TEKI_GOKEI ;ÃƽФ¹¥Õ¥é¥°
;¥°¥ì¥¤¥º
dim GURE_HIT_f,TEKI_MAX,TEKI_Gmax ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°
dim GURE_x,TEKI_MAX,TEKI_Gmax
dim GURE_y,TEKI_MAX,TEKI_Gmax
;¢§¢§¢§¢§¢§¢§¢§Å¨ÇÛÎ󢧢§¢§¢§¢§¢§¢§
;¥°¥ë¡¼¥×1 ±¦¾å
TEKI_x(0,0) = 390,390,390,390,390
TEKI_y(0,0) = 200,160,120,80,40
;¥°¥ë¡¼¥×2 º¸¾å
TEKI_x(0,1) = 50,50,50,50,50
TEKI_y(0,1) = 200,160,120,80,40
;¥°¥ë¡¼¥×3 º¸²¼
TEKI_x(0,2) = 230,230,230,230,230
TEKI_y(0,2) = 200,160,120,80,40
;¢£¢£¢£Å¨ÇÛÃÖ¢£¢£¢£
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(3)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
es_exnew TEKI ,80,94 ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
es_set TEKI, TEKI_x(cnt,TEK_G),TEKI_y(cnt,TEK_G), 60 ;¥¹¥×¥é¥¤¥ÈNo, X,YºÂɸ ,¥¥ã¥éNo
es_type TEKI,8192
;ŨÃƽФ·Ê¬¤±¤¹¤ë¤¿¤á¤Î½èÍý
TEKI_NO_GID(TEKI) = TEK_G ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
TEKI_DID = TEK_G * TEKI_MAX + cnt ;¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹(°ì¼¡¸µÇÛÎó¤È¤·¤¿¾ì¹ç¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹)
TEKI_NO_DID(TEKI) = TEKI_DID ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
loop
loop
;************¥á¥¤¥ó¥ë¡¼¥×***************
*¥á¥¤¥ó
es_cls ;²èÌÌ¥¯¥ê¥¢
es_draw ;¥¹¥×¥é¥¤¥ÈÉÁ²è
;************¥«¥¦¥ó¥¿¡¼******************
pos 420,20 : es_mes "TEKI_DID " + TEKI_DID
pos 430,50 : es_mes "GURE_HIT_f(0,0) " + GURE_HIT_f(0,0)
pos 430,70 : es_mes "GURE_HIT_f(1,0) " + GURE_HIT_f(1,0)
pos 430,90 : es_mes "GURE_HIT_f(2,0) " + GURE_HIT_f(2,0)
pos 430,110 : es_mes "GURE_HIT_f(3,0) " + GURE_HIT_f(3,0)
pos 430,130 : es_mes "GURE_HIT_f(4,0) " + GURE_HIT_f(4,0)
pos 430,160 : es_mes "GURE_HIT_f(0,1) " + GURE_HIT_f(0,1)
pos 430,180 : es_mes "GURE_HIT_f(1,1) " + GURE_HIT_f(1,1)
pos 430,200 : es_mes "GURE_HIT_f(2,1) " + GURE_HIT_f(2,1)
pos 430,220 : es_mes "GURE_HIT_f(3,1) " + GURE_HIT_f(3,1)
pos 430,240 : es_mes "GURE_HIT_f(4,1) " + GURE_HIT_f(4,1)
pos 430,270 : es_mes "GURE_HIT_f(0,1) " + GURE_HIT_f(0,2)
pos 430,290 : es_mes "GURE_HIT_f(1,1) " + GURE_HIT_f(1,2)
pos 430,310 : es_mes "GURE_HIT_f(2,1) " + GURE_HIT_f(2,2)
pos 430,330 : es_mes "GURE_HIT_f(3,1) " + GURE_HIT_f(3,2)
pos 430,350 : es_mes "GURE_HIT_f(4,1) " + GURE_HIT_f(4,2)
;**************************************
es_set 400, JIKI_x,JIKI_y, 400 ;¼«µ¡
gosub *¼«µ¡¤Î°ÜÆ°
gosub *ŨÃÆ°ÜÆ°
gosub *¥°¥ì¥¤¥º
es_sync ;²èÌ̹¹¿·
await 16
goto *¥á¥¤¥ó
;**************¼«µ¡¤Î°ÜÆ°*************
*¼«µ¡¤Î°ÜÆ°
stick key,15 ;¥¡¼¼èÆÀ
if key & 1 : JIKI_x = JIKI_x - JIKISpd ;¢«¤Î°ÜÆ°
if key & 2 : JIKI_y = JIKI_y - JIKISpd ;¢¬¤Î°ÜÆ°
if key & 4 : JIKI_x = JIKI_x + JIKISpd ;¢ª¤Î°ÜÆ°
if key & 8 : JIKI_y = JIKI_y + JIKISpd ;¢¤Î°ÜÆ°
return
;*************ŨÃÆ°ÜÆ°****************
*ŨÃÆ°ÜÆ°
if NOMARU_f = 0 : NOMARU_TAMA = 1,0,0 ;ÇÛÎó¤ÇÃƤò¥³¥ó¥È¥í¡¼¥ë
TEKI_no = 80 ;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
dup dup_TEKI_TM_f,TEKI_TM_f ;¿¼¡¸µÇÛÎó¤ò°ì¼¡¸µÇÛÎó¤È¤·¤Æ»ÈÍÑ
repeat
es_find TEKI, 8192, TEKI_no,94, 1 ;typeÃÍ, ³«»Ï¤¹¤ë¥¹¥×¥é¥¤¥È,½ªÎ»¤¹¤ë¥¹¥×¥é¥¤¥È, Áýʬ
if TEKI < 0 : break
TEK_G = TEKI_NO_GID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if NOMARU_TAMA(TEK_G) = 1 { ;¥³¥ó¥È¥í¡¼¥ë¤·¤¿ÃƤÀ¤±¤ò½Ð¤¹
TEKI_DID = TEKI_NO_DID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if dup_TEKI_TM_f(TEKI_DID) = 0 {
es_exnew TEKI_TM ,200,214 ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
; if TEKI_TM > 0 { ;Êݸ±
dup_TEKI_TM_f(TEKI_DID) = 1 ;°ì¼¡¸µÇÛÎó¤Ë¤·¤Æ¤ë¤Î¤ÇŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¤ò¥¡¼¤Ë¥Õ¥é¥°ÀßÄê
TAMA_NO_DID(TEKI_TM) = TEKI_DID;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ(¤³¤ì¤ÇÃƤÈŨ¥Ç¡¼¥¿¤È¤ÎɳÉÕ)
es_get TEKI_TM_x,TEKI,3 ;Ũ£Ø
es_get TEKI_TM_y,TEKI,5 ;Ũ£Ù
es_ang TEKI_TM_x,TEKI_TM_y,JIKI_x-4,JIKI_y-4;³ÑÅÙ¼èÆÀ
TEKI_TM_ang = stat ;¼«µ¡¤ÎÊý¸þ
;*******ŨÃÆȯ¼Í*******
es_set TEKI_TM, TEKI_TM_x,TEKI_TM_y,65 ;¥¹¥×¥é¥¤¥ÈÀßÄê
es_adir TEKI_TM, TEKI_TM_ang,300 ;¥¹¥×¥é¥¤¥È°ÜÆ°Êý¸þÀßÄê
es_type TEKI_TM,32
; }
}
}TEKI_no++;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
;---²èÌ̳°È½Äê---
TEKI_TM_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
repeat
es_find TEKI_TM, 32, TEKI_TM_no, 214, 1
if TEKI_TM < 0 : break
es_get TEKI_TM_x,TEKI_TM,3 ;ŨÃÆ£Ø
es_get TEKI_TM_y,TEKI_TM,5 ;ŨÃÆ£Ù
if (TEKI_TM_x < 30) or (TEKI_TM_y < 10) or (TEKI_TM_x > 412) or (TEKI_TM_y > 460) {
TEKI_DID = TAMA_NO_DID(TEKI_TM) ;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
dup_TEKI_TM_f(TEKI_DID) = 0 ;ŨÃƥե饰¡Ú½é´ü²½¡Û
es_kill TEKI_TM ;ŨÃÆ¡Úºï½ü¡Û
}TEKI_TM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
return
;*************¥°¥ì¥¤¥º****************
*¥°¥ì¥¤¥º
TKTM_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no = 410 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(3)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
if GURE_HIT_f(cnt,TEK_G) = 0 { ;¥°¥ì¥¤¥º¤Ë¥Ò¥Ã¥È¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡Ú¼Â¹Ô¡Û
es_get GURE_x(cnt,TEK_G),TKTM_no,3 ;¥°¥ì¥¤¥º£Ø
es_get GURE_y(cnt,TEK_G),TKTM_no,5 ;¥°¥ì¥¤¥º£Ù ¢ËÜÍè¤Ï-21
es_set GURE_no, GURE_x(cnt,TEK_G)-21,GURE_y(cnt,TEK_G)-51, 410
es_type GURE_no,128
}
TKTM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
loop
;---Åö¤¿¤êȽÄê---
es_check JK_VS_GURE ,400,128 ;400(¼«µ¡),128(¥°¥ì¥¤¥º)
if JK_VS_GURE != -1 {
es_kill JK_VS_GURE ;¥°¥ì¥¤¥º¡Úºï½ü¡Û
;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¤òÄ´¤Ù¤Æ¥Õ¥é¥°¤òΩ¤Æ¤Æ¤¤¤¯
GURE_no = 410 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(3)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
if JK_VS_GURE = GURE_no : GURE_HIT_f(cnt,TEK_G) = 1 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¤òΩ¤Æ¤ë
GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
loop
}
;---²èÌ̳°È½Äê---
TKTM_no = 200 ;ŨÃƤξì½ê¸¡º÷ID
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(2)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
es_get TEKI_GURE_D_x,TKTM_no,3 ;¥°¥ì¥¤¥º£Ø
es_get TEKI_GURE_D_y,TKTM_no,5 ;¥°¥ì¥¤¥º£Ù
if (TEKI_GURE_D_x < -10) or (TEKI_GURE_D_y < -10) or (TEKI_GURE_D_x > 412) or (TEKI_GURE_D_y > 460) {
GURE_HIT_f(cnt,TEK_G) = 0 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡Ú¥ê¥»¥Ã¥È¡Û
}TKTM_no++ ;ŨÃƤξì½ê¸¡º÷ID
loop
loop
return
| |
|
2020/1/17(Fri) 01:32:26|NO.89262
¤¹¤ß¤Þ¤»¤ó¤¬¡¢¼ÁÌ䤬¥¶¥Ã¥¯¥ê¤·²á¤®¤Æ¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡©
¿ʬ²¼µ¤Î£³¤Ä¤ÎÆ󼡸µÇÛÎó¤ò¤½¤ì¤¾¤ì°ì¼¡¸µÇÛÎó¤Ë¤·¤¿¤¤¤Î¤À¤È»×¤¤¤Þ¤¹¤¬
;¥°¥ì¥¤¥º
dim GURE_HIT_f,TEKI_MAX,TEKI_Gmax ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°
dim GURE_x,TEKI_MAX,TEKI_Gmax
dim GURE_y,TEKI_MAX,TEKI_Gmax
Îã¤È¤·¤Æ¡¢¥Ò¥Ã¥È¥Õ¥é¥°¡ÊGURE_HIT_f¡Ë¤À¤±¤ò°ì¼¡¸µ¤Ë¤µ¤»¤Æ¤â¤é¤¦¤È
²¼µ¤Î¤è¤¦¤Ë¥Ð¥é¥Ð¥é¤Ë¤¹¤ëÊýË¡
;Î㣱
dim GURE_HIT_G1_f,TEKI_MAX ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡¢¥°¥ë¡¼¥×£±
dim GURE_HIT_G2_f,TEKI_MAX ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡¢¥°¥ë¡¼¥×£²
dim GURE_HIT_G3_f,TEKI_MAX ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡¢¥°¥ë¡¼¥×£³
¤Þ¤¿¤Ï°ì¤Ä¤ÎÇÛÎó¤ËÁ´¤Æ¼ý¤á¤ëÊýË¡
;Î㣲
dim GURE_HIT_f,TEKI_MAX*TEKI_Gmax ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°
¹¹¤Ë£²¤ÄÌܤÎÎã¤Î¾ì¹ç¡¢¤É¤ó¤Ê½çÈÖ¤ÇÇÛÎó¤Ë¼ý¤á¤¿¤¤¤Î¤«
;Î㣲¤Î£±
¡¡¤Þ¤º¥°¥ë¡¼¥×£±¤òÁ´¤ÆÆþ¤ì¤ë
¡¡¤½¤Î¼¡¤Ë¥°¥ë¡¼¥×£²¤òÁ´¤Æ
¡¡ºÇ¸å¤Ë¥°¥ë¡¼¥×£³¤òÁ´¤Æ
¡¡¡¡¤È¤¤¤¦½çÈÖ
;Î㣲¤Î£²
¡¡¥°¥ë¡¼¥×£±¤Î£±¤ÄÌܤòÆþ¤ì¤ë
¡¡¥°¥ë¡¼¥×£²¤Î£±¤ÄÌÜ
¡¡¥°¥ë¡¼¥×£³¤Î£±¤ÄÌÜ
¡¡¥°¥ë¡¼¥×£±¤Î£²¤ÄÌÜ¡Ä¡Ä
¡¡¡¡¤È¤¤¤¦½çÈÖ
¥Ñ¥Ã¤È¹Í¤¨¤¿¤À¤±¤Ç¤â¤³¤ì¤À¤±»×¤¤¤Ä¤¤Þ¤¹¤·¡¢¤É¤ÎÊýË¡¤Ç¤â²Äǽ¤À¤È»×¤¤¤Þ¤¹¡£
¤Ä¤¤¤Ç¤Ç¤¹¤¬¡¢Å¨ÃƤ⥰¥ì¥¤¥º¤ÈƱ¤¸¤¯Æ󼡸µÇÛÎó¤Ê¤Î¤Ç
;ŨÃÆ
dim TEKI_TM_f,TEKI_MAX,TEKI_Gmax;¥Õ¥é¥°
ŨÃƤËϢư¡Ê¡©¡Ë¤¹¤ë¥°¥ì¥¤¥º¤âÆ󼡸µ¤Î¤Þ¤Þ¤ÎÊý¤¬´ÉÍý¤·¤ä¤¹¤¤¤Î¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£
| |
|
2020/1/17(Fri) 22:29:07|NO.89264
»ä¤âÆ󼡸µ¤Î¤Þ¤Þ¤ÎÊý¤¬´ÉÍý¤·¤ä¤¹¤¤¤È»×¤¦¤Î¤Ç¤¹¤¬
¿¼¡¸µÇÛÎ󤫤é°ì¼¡¸µÇÛÎó¤Ë¤·¤¿¤¤Íýͳ¤ò¤â¤¦¾¯¤·¾Ü¤·¤¯¶µ¤¨¤Æ¤¤¤¿¤À¤±¤ì¤Ð¹¬¤¤¤Ç¤¹(^^
|
|
2020/1/18(Sat) 10:12:35|NO.89271
¤¢¤é¤ä¤µ¤ó¡¢²óÅú¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
¤ï¤«¤ê¤º¤é¤«¤Ã¤¿¤Ç¤¹¤Í¡¦¡¦¡¦
>;Î㣲
> dim GURE_HIT_f,TEKI_MAX*TEKI_Gmax ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°
¹Í¤¨¤¿¤«¤È¤·¤Æ¤Ï¤³¤ì¤Ç¤¹¤Í¡£
ŨÃƤϥ°¥ë¡¼¥×£±¤Ë5ɤÆþ¤ì¤Æ¡¢¥°¥ë¡¼¥×2¤Ë5ɤÆþ¤ì¤ë¤Ã¤È¤¤¤¦½èÍý¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢
¤½¤ì¤ÈƱ¤¸¤è¤¦¤Ë¥°¥ì¥¤¥º¤â´ÉÍý¤·¤¿¤¤¤Ç¤¹¤Í¡£
¥À¥á¥À¥á¤Ê¥½¡¼¥¹¤Ç¤¹¤¬¡¢¤³¤ó¤Ê´¶¤¸¤Çºî¤Ã¤Æ¤Þ¤·¤¿¡£
Äɲò¼²Õ½ê¤Ï¡Ö---ÄɲÃ---¡×¤È¥³¥á¥ó¥È¤·¤Æ¤ª¤¤Þ¤¹¡£
#include "hspdxfix.as" ;DX¥é¥¤¥Ö¥é¥ê»ÈÍÑ
width ,,130,200 ;¥¦¥£¥ó¥É¥¦¤Î°ÌÃÖ
es_ini 640,512,360 ;¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô¡¢¥¥ã¥é¥¯¥¿ÄêµÁ¤ÎºÇÂç¿ô,¼þ¤ÎÀºÅÙ(180*2)
es_screen 640,480 ,0,0,1,1 ;¥¹¥¯¥ê¡¼¥ó
es_window 30,10, 412,460 ;¥¹¥×¥é¥¤¥Èɽ¼¨¥¨¥ê¥¢ÀßÄê
es_area -10,-10, 432,480 ;¥¹¥×¥é¥¤¥È͸ú¥¨¥ê¥¢ÀßÄê
;---¥°¥ì¥¤¥º---
es_size 59,59, 50
es_pat 410, 265,390
;---¼«µ¡---
es_size 28,42, 100
es_pat 400, 0,0
JIKI_x = 206 : JIKI_y = 390 ;ºÂɸ
JIKISpd = 4 ;¥¹¥Ô¡¼¥É
;---Äã®---
es_size 9,9, 50
es_pat 195, 46,43
es_type 195,2
;---Ũ---
es_size 18,19, 50
es_pat 60, 0,0
;---ŨÃÆ---
es_size 17,17, 50
es_pat 65, 70,0
;Ũ
TEKI_MAX = 5 ;Ũ¤ÎºÇÂç¿ô
TEKI_Gmax = 3 ;¥°¥ë¡¼¥×¿ô
TEKI_GOKEI = TEKI_MAX * TEKI_Gmax ;Ũ¹ç·×¿ô
dim TEKI_f,TEKI_MAX,TEKI_Gmax ;¥Õ¥é¥°
dim TEKI_x,TEKI_MAX,TEKI_Gmax ;£Ø
dim TEKI_y,TEKI_MAX,TEKI_Gmax ;£Ù
dim TEKI_NO_GID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹ÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
dim TEKI_NO_DID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
;ŨÃÆ
dim TEKI_TM_f,TEKI_MAX,TEKI_Gmax;¥Õ¥é¥°
dim NOMARU_TAMA,TEKI_GOKEI ;ÃƽФ¹¥Õ¥é¥°
;¥°¥ì¥¤¥º
dim GURE_HIT_f,TEKI_MAX,TEKI_Gmax ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°
dim GURE_x,TEKI_MAX,TEKI_Gmax
dim GURE_y,TEKI_MAX,TEKI_Gmax
;---ÄɲÃ---
dim GURE_NO_GID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹ÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
dim GURE_NO_DID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
;¢§¢§¢§¢§¢§¢§¢§Å¨ÇÛÎ󢧢§¢§¢§¢§¢§¢§
;¥°¥ë¡¼¥×1 ±¦¾å
TEKI_x(0,0) = 390,390,390,390,390
TEKI_y(0,0) = 200,160,120,80,40
;¥°¥ë¡¼¥×2 º¸¾å
TEKI_x(0,1) = 50,50,50,50,50
TEKI_y(0,1) = 200,160,120,80,40
;¥°¥ë¡¼¥×3 º¸²¼
TEKI_x(0,2) = 230,230,230,230,230
TEKI_y(0,2) = 200,160,120,80,40
;¢£¢£¢£Å¨ÇÛÃÖ¢£¢£¢£
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(3)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
es_exnew TEKI ,80,94 ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
es_set TEKI, TEKI_x(cnt,TEK_G),TEKI_y(cnt,TEK_G), 60 ;¥¹¥×¥é¥¤¥ÈNo, X,YºÂɸ ,¥¥ã¥éNo
es_type TEKI,8192
;ŨÃƽФ·Ê¬¤±¤¹¤ë¤¿¤á¤Î½èÍý
TEKI_NO_GID(TEKI) = TEK_G ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
TEKI_DID = TEK_G * TEKI_MAX + cnt ;¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹(°ì¼¡¸µÇÛÎó¤È¤·¤¿¾ì¹ç¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹)
TEKI_NO_DID(TEKI) = TEKI_DID ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
loop
loop
;************¥á¥¤¥ó¥ë¡¼¥×***************
*¥á¥¤¥ó
es_cls ;²èÌÌ¥¯¥ê¥¢
es_draw ;¥¹¥×¥é¥¤¥ÈÉÁ²è
;************¥«¥¦¥ó¥¿¡¼******************
pos 420,20 : es_mes "TEKI_DID " + TEKI_DID
pos 430,50 : es_mes "GURE_HIT_f(0,0) " + GURE_HIT_f(0,0)
pos 430,70 : es_mes "GURE_HIT_f(1,0) " + GURE_HIT_f(1,0)
pos 430,90 : es_mes "GURE_HIT_f(2,0) " + GURE_HIT_f(2,0)
pos 430,110 : es_mes "GURE_HIT_f(3,0) " + GURE_HIT_f(3,0)
pos 430,130 : es_mes "GURE_HIT_f(4,0) " + GURE_HIT_f(4,0)
pos 430,160 : es_mes "GURE_HIT_f(0,1) " + GURE_HIT_f(0,1)
pos 430,180 : es_mes "GURE_HIT_f(1,1) " + GURE_HIT_f(1,1)
pos 430,200 : es_mes "GURE_HIT_f(2,1) " + GURE_HIT_f(2,1)
pos 430,220 : es_mes "GURE_HIT_f(3,1) " + GURE_HIT_f(3,1)
pos 430,240 : es_mes "GURE_HIT_f(4,1) " + GURE_HIT_f(4,1)
pos 430,270 : es_mes "GURE_HIT_f(0,1) " + GURE_HIT_f(0,2)
pos 430,290 : es_mes "GURE_HIT_f(1,1) " + GURE_HIT_f(1,2)
pos 430,310 : es_mes "GURE_HIT_f(2,1) " + GURE_HIT_f(2,2)
pos 430,330 : es_mes "GURE_HIT_f(3,1) " + GURE_HIT_f(3,2)
pos 430,350 : es_mes "GURE_HIT_f(4,1) " + GURE_HIT_f(4,2)
;**************************************
es_set 400, JIKI_x,JIKI_y, 400 ;¼«µ¡
gosub *¼«µ¡¤Î°ÜÆ°
gosub *ŨÃÆ°ÜÆ°
gosub *¥°¥ì¥¤¥º
es_sync ;²èÌ̹¹¿·
await 16
goto *¥á¥¤¥ó
;**************¼«µ¡¤Î°ÜÆ°*************
*¼«µ¡¤Î°ÜÆ°
stick key,15 ;¥¡¼¼èÆÀ
if key & 1 : JIKI_x = JIKI_x - JIKISpd ;¢«¤Î°ÜÆ°
if key & 2 : JIKI_y = JIKI_y - JIKISpd ;¢¬¤Î°ÜÆ°
if key & 4 : JIKI_x = JIKI_x + JIKISpd ;¢ª¤Î°ÜÆ°
if key & 8 : JIKI_y = JIKI_y + JIKISpd ;¢¤Î°ÜÆ°
return
;*************ŨÃÆ°ÜÆ°****************
*ŨÃÆ°ÜÆ°
if NOMARU_f = 0 : NOMARU_TAMA = 1,0,0 ;ÇÛÎó¤ÇÃƤò¥³¥ó¥È¥í¡¼¥ë
TEKI_no = 80 ;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
dup dup_TEKI_TM_f,TEKI_TM_f ;¿¼¡¸µÇÛÎó¤ò°ì¼¡¸µÇÛÎó¤È¤·¤Æ»ÈÍÑ
repeat
es_find TEKI, 8192, TEKI_no,94, 1 ;typeÃÍ, ³«»Ï¤¹¤ë¥¹¥×¥é¥¤¥È,½ªÎ»¤¹¤ë¥¹¥×¥é¥¤¥È, Áýʬ
if TEKI < 0 : break
TEK_G = TEKI_NO_GID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if NOMARU_TAMA(TEK_G) = 1 { ;¥³¥ó¥È¥í¡¼¥ë¤·¤¿ÃƤÀ¤±¤ò½Ð¤¹
TEKI_DID = TEKI_NO_DID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if dup_TEKI_TM_f(TEKI_DID) = 0 {
es_exnew TEKI_TM ,200,214 ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
; if TEKI_TM > 0 { ;Êݸ±
dup_TEKI_TM_f(TEKI_DID) = 1 ;°ì¼¡¸µÇÛÎó¤Ë¤·¤Æ¤ë¤Î¤ÇŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¤ò¥¡¼¤Ë¥Õ¥é¥°ÀßÄê
TAMA_NO_DID(TEKI_TM) = TEKI_DID;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ(¤³¤ì¤ÇÃƤÈŨ¥Ç¡¼¥¿¤È¤ÎɳÉÕ)
es_get TEKI_TM_x,TEKI,3 ;Ũ£Ø
es_get TEKI_TM_y,TEKI,5 ;Ũ£Ù
es_ang TEKI_TM_x,TEKI_TM_y,JIKI_x-4,JIKI_y-4;³ÑÅÙ¼èÆÀ
TEKI_TM_ang = stat ;¼«µ¡¤ÎÊý¸þ
;*******ŨÃÆȯ¼Í*******
es_set TEKI_TM, TEKI_TM_x,TEKI_TM_y,65 ;¥¹¥×¥é¥¤¥ÈÀßÄê
es_adir TEKI_TM, TEKI_TM_ang,300 ;¥¹¥×¥é¥¤¥È°ÜÆ°Êý¸þÀßÄê
es_type TEKI_TM,32
; }
}
}TEKI_no++;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
;---²èÌ̳°È½Äê---
TEKI_TM_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
repeat
es_find TEKI_TM, 32, TEKI_TM_no, 214, 1
if TEKI_TM < 0 : break
es_get TEKI_TM_x,TEKI_TM,3 ;ŨÃÆ£Ø
es_get TEKI_TM_y,TEKI_TM,5 ;ŨÃÆ£Ù
if (TEKI_TM_x < 30) or (TEKI_TM_y < 10) or (TEKI_TM_x > 412) or (TEKI_TM_y > 460) {
TEKI_DID = TAMA_NO_DID(TEKI_TM) ;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
dup_TEKI_TM_f(TEKI_DID) = 0 ;ŨÃƥե饰¡Ú½é´ü²½¡Û
es_kill TEKI_TM ;ŨÃÆ¡Úºï½ü¡Û
}TEKI_TM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
return
;*************¥°¥ì¥¤¥º****************
*¥°¥ì¥¤¥º
;---ÄɲÃ---
TAMA_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no = 410 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(3)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
es_get GURE_x(cnt,TEK_G),TAMA_no,3 ;ŨÃÆ£Ø
es_get GURE_y(cnt,TEK_G),TAMA_no,5 ;ŨÃÆ£Ù ¢ËÜÍè¤Ï-21
es_set GURE_no, GURE_x(cnt,TEK_G)-21,GURE_y(cnt,TEK_G)-51, 410
es_type GURE_no,128
GURE_NO_GID(GURE_no) = TEK_G ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
GURE_DID = TEK_G * GURE_MAX + cnt ;¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹(°ì¼¡¸µÇÛÎó¤È¤·¤¿¾ì¹ç¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹)
GURE_NO_DID(GURE_no) = GURE_DID ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
TAMA_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
loop
TAMA_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
dup dup_GURE_HIT_f,GURE_HIT_f ;¿¼¡¸µÇÛÎó¤ò°ì¼¡¸µÇÛÎó¤È¤·¤Æ»ÈÍÑ
repeat
es_find GURE, 128, TAMA_no,214, 1 ;typeÃÍ, ³«»Ï¤¹¤ë¥¹¥×¥é¥¤¥È,½ªÎ»¤¹¤ë¥¹¥×¥é¥¤¥È, Áýʬ
if GURE < 0 : break
GURE_DID = GURE_NO_DID(GURE) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
;---Åö¤¿¤êȽÄê---
es_check JK_VS_GURE ,400,128 ;400(¼«µ¡),128(¥°¥ì¥¤¥º)
if JK_VS_GURE != -1 {
es_kill JK_VS_GURE ;¥°¥ì¥¤¥º¡Úºï½ü¡Û
;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¤òÄ´¤Ù¤Æ¥Õ¥é¥°¤òΩ¤Æ¤Æ¤¤¤¯
GURE_no = 410 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
if JK_VS_GURE = GURE_no : GURE_HIT_f(GURE_DID) = 1 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¤òΩ¤Æ¤ë
}
TAMA_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no = 410 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
/*
TKTM_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no = 410 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(3)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
if GURE_HIT_f(cnt,TEK_G) = 0 { ;¥°¥ì¥¤¥º¤Ë¥Ò¥Ã¥È¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡Ú¼Â¹Ô¡Û
es_get GURE_x(cnt,TEK_G),TKTM_no,3 ;ŨÃÆ£Ø
es_get GURE_y(cnt,TEK_G),TKTM_no,5 ;ŨÃÆ£Ù ¢ËÜÍè¤Ï-21
es_set GURE_no, GURE_x(cnt,TEK_G)-21,GURE_y(cnt,TEK_G)-51, 410
es_type GURE_no,128
}
TKTM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
loop
;---Åö¤¿¤êȽÄê---
es_check JK_VS_GURE ,400,128 ;400(¼«µ¡),128(¥°¥ì¥¤¥º)
if JK_VS_GURE != -1 {
es_kill JK_VS_GURE ;¥°¥ì¥¤¥º¡Úºï½ü¡Û
;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¤òÄ´¤Ù¤Æ¥Õ¥é¥°¤òΩ¤Æ¤Æ¤¤¤¯
GURE_no = 410 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(3)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
if JK_VS_GURE = GURE_no : GURE_HIT_f(cnt,TEK_G) = 1 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¤òΩ¤Æ¤ë
GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
loop
}
;---²èÌ̳°È½Äê---
TKTM_no = 200 ;ŨÃƤξì½ê¸¡º÷ID
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(2)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
es_get TEKI_GURE_D_x,TKTM_no,3 ;¥°¥ì¥¤¥º£Ø
es_get TEKI_GURE_D_y,TKTM_no,5 ;¥°¥ì¥¤¥º£Ù
if (TEKI_GURE_D_x < -10) or (TEKI_GURE_D_y < -10) or (TEKI_GURE_D_x > 412) or (TEKI_GURE_D_y > 460) {
GURE_HIT_f(cnt,TEK_G) = 0 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡Ú¥ê¥»¥Ã¥È¡Û
}TKTM_no++ ;ŨÃƤξì½ê¸¡º÷ID
loop
loop
*/
return
| |
|
2020/1/18(Sat) 10:20:46|NO.89272
k¤µ¤ó¡£
>>»ä¤âÆ󼡸µ¤Î¤Þ¤Þ¤ÎÊý¤¬´ÉÍý¤·¤ä¤¹¤¤¤È»×¤¦¤Î¤Ç¤¹¤¬
>>¿¼¡¸µÇÛÎ󤫤é°ì¼¡¸µÇÛÎó¤Ë¤·¤¿¤¤Íýͳ¤ò¤â¤¦¾¯¤·¾Ü¤·¤¯¶µ¤¨¤Æ¤¤¤¿¤À¤±¤ì¤Ð¹¬¤¤¤Ç¤¹(^^
»ä¤Î¤è¤¦¤Ê¿Í¤ÏÆ󼡸µÇÛÎó¤Î¤Û¤¦¤¬¤¤¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£
°ÊÁ°¤³¤Á¤é¤ÇŨÃƤβþÁ±¤ò¤ªÊ¹¤¤·¤Þ¤·¤¿¡£
http://hsp.tv/play/pforum.php?mode=all&num=88657
·Ð°Þ¤òÏ乤ȡ¢´ð½àÌ¿Îá¤Ç½èÍýÍî¤Á¤·¤Æ¤·¤Þ¤¦°Ù¡¢¥¹¥×¥é¥¤¥È¤Çºî¤êľ¤·¤Æ¤¤¤Þ¤¹¡£
·ÚÎ̲½¤ò¤·¤¿¤¤¤Î¤Ç¿¼¡¸µÇÛÎó¤Ç¤Ï¤Ê¤¯¡¢°ì¼¡¸µÇÛÎó¤ËÊÑ´¹¤¹¤ë½èÍý¤Ë¤·¤¿¤Û¤¦¤¬¤¤¤¤¤Î¤«¤Ê¡¼¤Ã¤Æ»×¤¤¤Þ¤·¤¿¡£
>>¤Þ¤À¡Ö¿¼¡¸µÇÛÎ󤫤é°ì¼¡¸µÇÛÎó¡×¤Ë¤¹¤ë½èÍý¤Ë´·¤ì¤Æ¤¤¤Ê¤¤¤¿¤á¡¢¤É¤Î¤è¤¦¤Ë¤·¤¿¤é¤¤¤¤¤Î¤«¤ï¤«¤é¤Ê¤¤¤Ç¤¹¡£
¤³¤ÎÆâÍƤò¸«¤Æ¤ï¤«¤ë¤È¤ª¤ê¡¢¤Ð¤ê¤Ð¤ê¤è¤¯¤ï¤«¤Ã¤Æ¤Ê¤¤¤Î¤Ç¡¢
°ÊÁ°»ØŦ¤µ¤ì¤¿·ÚÎ̲½°Ê³°¤Î¥á¥ê¥Ã¥È¤òÅú¤¨¤é¤ì¤Þ¤»¤ó¡¦¡¦¡¦
|
|
2020/1/19(Sun) 21:38:02|NO.89293
ºÇ½é¤Î¥½¡¼¥¹¤ÎÊý¤ò¥Ù¡¼¥¹¤Ë¤·¤Æ°ì¼¡¸µÇÛÎó¤Ë½ñ¤´¹¤¨¤Æ¤ß¤Þ¤·¤¿¡£
#include "hspdxfix.as" ;DX¥é¥¤¥Ö¥é¥ê»ÈÍÑ
width ,,130,200 ;¥¦¥£¥ó¥É¥¦¤Î°ÌÃÖ
es_ini 640,512,360 ;¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô¡¢¥¥ã¥é¥¯¥¿ÄêµÁ¤ÎºÇÂç¿ô,¼þ¤ÎÀºÅÙ(180*2)
es_screen 640,480 ,0,0,1,1 ;¥¹¥¯¥ê¡¼¥ó
es_window 30,10, 412,460 ;¥¹¥×¥é¥¤¥Èɽ¼¨¥¨¥ê¥¢ÀßÄê
es_area -10,-10, 432,480 ;¥¹¥×¥é¥¤¥È͸ú¥¨¥ê¥¢ÀßÄê
;---¥°¥ì¥¤¥º---
es_size 59,59, 50
es_pat 410, 265,390
;---¼«µ¡---
es_size 28,42, 100
es_pat 400, 0,0
JIKI_x = 206 : JIKI_y = 390 ;ºÂɸ
JIKISpd = 4 ;¥¹¥Ô¡¼¥É
;---Äã®---
es_size 9,9, 50
es_pat 195, 46,43
es_type 195,2
;---Ũ---
es_size 18,19, 50
es_pat 60, 0,0
;---ŨÃÆ---
es_size 17,17, 50
es_pat 65, 70,0
;Ũ
TEKI_MAX = 5 ;Ũ¤ÎºÇÂç¿ô
TEKI_Gmax = 3 ;¥°¥ë¡¼¥×¿ô
TEKI_GOKEI = TEKI_MAX * TEKI_Gmax ;Ũ¹ç·×¿ô
dim TEKI_f,TEKI_MAX,TEKI_Gmax ;¥Õ¥é¥°
dim TEKI_x,TEKI_MAX,TEKI_Gmax ;£Ø
dim TEKI_y,TEKI_MAX,TEKI_Gmax ;£Ù
dim TEKI_NO_GID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹ÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
dim TEKI_NO_DID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
;ŨÃÆ
dim TEKI_TM_f,TEKI_MAX,TEKI_Gmax;¥Õ¥é¥°
dim NOMARU_TAMA,TEKI_GOKEI ;ÃƽФ¹¥Õ¥é¥°
;¥°¥ì¥¤¥º
dim GURE_HIT_f,TEKI_MAX,TEKI_Gmax ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°
dim GURE_x,TEKI_MAX,TEKI_Gmax
dim GURE_y,TEKI_MAX,TEKI_Gmax
dup dup_GURE_HIT_f, GURE_HIT_f;
dup dup_GURE_x, GURE_x;
dup dup_GURE_y, GURE_y;
;---ÄɲÃ---
dim GURE_NO_GID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹ÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
dim GURE_NO_DID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
;¢§¢§¢§¢§¢§¢§¢§Å¨ÇÛÎ󢧢§¢§¢§¢§¢§¢§
;¥°¥ë¡¼¥×1 ±¦¾å
TEKI_x(0,0) = 390,390,390,390,390
TEKI_y(0,0) = 200,160,120,80,40
;¥°¥ë¡¼¥×2 º¸¾å
TEKI_x(0,1) = 50,50,50,50,50
TEKI_y(0,1) = 200,160,120,80,40
;¥°¥ë¡¼¥×3 º¸²¼
TEKI_x(0,2) = 230,230,230,230,230
TEKI_y(0,2) = 200,160,120,80,40
;¢£¢£¢£Å¨ÇÛÃÖ¢£¢£¢£
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(3)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
es_exnew TEKI ,80,94 ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
es_set TEKI, TEKI_x(cnt,TEK_G),TEKI_y(cnt,TEK_G), 60 ;¥¹¥×¥é¥¤¥ÈNo, X,YºÂɸ ,¥¥ã¥éNo
es_type TEKI,8192
;ŨÃƽФ·Ê¬¤±¤¹¤ë¤¿¤á¤Î½èÍý
TEKI_NO_GID(TEKI) = TEK_G ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
TEKI_DID = TEK_G * TEKI_MAX + cnt ;¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹(°ì¼¡¸µÇÛÎó¤È¤·¤¿¾ì¹ç¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹)
TEKI_NO_DID(TEKI) = TEKI_DID ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
loop
loop
;************¥á¥¤¥ó¥ë¡¼¥×***************
*¥á¥¤¥ó
es_cls ;²èÌÌ¥¯¥ê¥¢
es_draw ;¥¹¥×¥é¥¤¥ÈÉÁ²è
;************¥«¥¦¥ó¥¿¡¼******************
pos 420,20 : es_mes "TEKI_DID " + TEKI_DID
pos 430,50 : es_mes "GURE_HIT_f(0,0) " + GURE_HIT_f(0,0)
pos 430,70 : es_mes "GURE_HIT_f(1,0) " + GURE_HIT_f(1,0)
pos 430,90 : es_mes "GURE_HIT_f(2,0) " + GURE_HIT_f(2,0)
pos 430,110 : es_mes "GURE_HIT_f(3,0) " + GURE_HIT_f(3,0)
pos 430,130 : es_mes "GURE_HIT_f(4,0) " + GURE_HIT_f(4,0)
pos 430,160 : es_mes "GURE_HIT_f(0,1) " + GURE_HIT_f(0,1)
pos 430,180 : es_mes "GURE_HIT_f(1,1) " + GURE_HIT_f(1,1)
pos 430,200 : es_mes "GURE_HIT_f(2,1) " + GURE_HIT_f(2,1)
pos 430,220 : es_mes "GURE_HIT_f(3,1) " + GURE_HIT_f(3,1)
pos 430,240 : es_mes "GURE_HIT_f(4,1) " + GURE_HIT_f(4,1)
pos 430,270 : es_mes "GURE_HIT_f(0,1) " + GURE_HIT_f(0,2)
pos 430,290 : es_mes "GURE_HIT_f(1,1) " + GURE_HIT_f(1,2)
pos 430,310 : es_mes "GURE_HIT_f(2,1) " + GURE_HIT_f(2,2)
pos 430,330 : es_mes "GURE_HIT_f(3,1) " + GURE_HIT_f(3,2)
pos 430,350 : es_mes "GURE_HIT_f(4,1) " + GURE_HIT_f(4,2)
;**************************************
es_set 400, JIKI_x,JIKI_y, 400 ;¼«µ¡
gosub *¼«µ¡¤Î°ÜÆ°
gosub *ŨÃÆ°ÜÆ°
gosub *¥°¥ì¥¤¥º
es_sync ;²èÌ̹¹¿·
await 16
goto *¥á¥¤¥ó
;**************¼«µ¡¤Î°ÜÆ°*************
*¼«µ¡¤Î°ÜÆ°
stick key,15 ;¥¡¼¼èÆÀ
if key & 1 : JIKI_x = JIKI_x - JIKISpd ;¢«¤Î°ÜÆ°
if key & 2 : JIKI_y = JIKI_y - JIKISpd ;¢¬¤Î°ÜÆ°
if key & 4 : JIKI_x = JIKI_x + JIKISpd ;¢ª¤Î°ÜÆ°
if key & 8 : JIKI_y = JIKI_y + JIKISpd ;¢¤Î°ÜÆ°
return
;*************ŨÃÆ°ÜÆ°****************
*ŨÃÆ°ÜÆ°
if NOMARU_f = 0 : NOMARU_TAMA = 1,0,0 ;ÇÛÎó¤ÇÃƤò¥³¥ó¥È¥í¡¼¥ë
TEKI_no = 80 ;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
dup dup_TEKI_TM_f,TEKI_TM_f ;¿¼¡¸µÇÛÎó¤ò°ì¼¡¸µÇÛÎó¤È¤·¤Æ»ÈÍÑ
repeat
es_find TEKI, 8192, TEKI_no,94, 1 ;typeÃÍ, ³«»Ï¤¹¤ë¥¹¥×¥é¥¤¥È,½ªÎ»¤¹¤ë¥¹¥×¥é¥¤¥È, Áýʬ
if TEKI < 0 : break
TEK_G = TEKI_NO_GID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if NOMARU_TAMA(TEK_G) = 1 { ;¥³¥ó¥È¥í¡¼¥ë¤·¤¿ÃƤÀ¤±¤ò½Ð¤¹
TEKI_DID = TEKI_NO_DID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if dup_TEKI_TM_f(TEKI_DID) = 0 {
es_exnew TEKI_TM ,200,214 ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
; if TEKI_TM > 0 { ;Êݸ±
dup_TEKI_TM_f(TEKI_DID) = 1 ;°ì¼¡¸µÇÛÎó¤Ë¤·¤Æ¤ë¤Î¤ÇŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¤ò¥¡¼¤Ë¥Õ¥é¥°ÀßÄê
TAMA_NO_DID(TEKI_TM) = TEKI_DID;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ(¤³¤ì¤ÇÃƤÈŨ¥Ç¡¼¥¿¤È¤ÎɳÉÕ)
es_get TEKI_TM_x,TEKI,3 ;Ũ£Ø
es_get TEKI_TM_y,TEKI,5 ;Ũ£Ù
es_ang TEKI_TM_x,TEKI_TM_y,JIKI_x-4,JIKI_y-4;³ÑÅÙ¼èÆÀ
TEKI_TM_ang = stat ;¼«µ¡¤ÎÊý¸þ
;*******ŨÃÆȯ¼Í*******
es_set TEKI_TM, TEKI_TM_x,TEKI_TM_y,65 ;¥¹¥×¥é¥¤¥ÈÀßÄê
es_adir TEKI_TM, TEKI_TM_ang,300 ;¥¹¥×¥é¥¤¥È°ÜÆ°Êý¸þÀßÄê
es_type TEKI_TM,32
; }
}
}TEKI_no++;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
;---²èÌ̳°È½Äê---
TEKI_TM_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
repeat
es_find TEKI_TM, 32, TEKI_TM_no, 214, 1
if TEKI_TM < 0 : break
es_get TEKI_TM_x,TEKI_TM,3 ;ŨÃÆ£Ø
es_get TEKI_TM_y,TEKI_TM,5 ;ŨÃÆ£Ù
if (TEKI_TM_x < 30) or (TEKI_TM_y < 10) or (TEKI_TM_x > 412) or (TEKI_TM_y > 460) {
TEKI_DID = TAMA_NO_DID(TEKI_TM) ;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
dup_TEKI_TM_f(TEKI_DID) = 0 ;ŨÃƥե饰¡Ú½é´ü²½¡Û
es_kill TEKI_TM ;ŨÃÆ¡Úºï½ü¡Û
}TEKI_TM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
return
;*************¥°¥ì¥¤¥º****************
*¥°¥ì¥¤¥º
TKTM_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no = 410 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
/*
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(3)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
if GURE_HIT_f(cnt,TEK_G) = 0 { ;¥°¥ì¥¤¥º¤Ë¥Ò¥Ã¥È¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡Ú¼Â¹Ô¡Û
es_get GURE_x(cnt,TEK_G),TKTM_no,3 ;¥°¥ì¥¤¥º£Ø
es_get GURE_y(cnt,TEK_G),TKTM_no,5 ;¥°¥ì¥¤¥º£Ù ¢ËÜÍè¤Ï-21
es_set GURE_no, GURE_x(cnt,TEK_G)-21,GURE_y(cnt,TEK_G)-51, 410
es_type GURE_no,128
}
TKTM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
loop
*/
repeat TEKI_MAX*TEKI_Gmax
if dup_GURE_HIT_f(cnt) = 0 { ;¥°¥ì¥¤¥º¤Ë¥Ò¥Ã¥È¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡Ú¼Â¹Ô¡Û
es_get dup_GURE_x(cnt),TKTM_no,3 ;¥°¥ì¥¤¥º£Ø
es_get dup_GURE_y(cnt),TKTM_no,5 ;¥°¥ì¥¤¥º£Ù ¢ËÜÍè¤Ï-21
es_set GURE_no, dup_GURE_x(cnt)-21,dup_GURE_y(cnt)-51, 410
es_type GURE_no,128
//-----ÄɲÃ&½¤Àµ-----//
TEK_G = cnt / TEKI_MAX; // ¥°¥ë¡¼¥×ÈÖ¹æ¤ò·×»»¤¹¤ë(0¡Á4¤Þ¤Ç¤Ï0¡¢5¡Á9¤Þ¤Ç¤Ï1¡¢10¡Á14¤Ï2¤Ë¤Ê¤ë)
GURE_DID = TEK_G * GURE_MAX + cnt ;¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹(°ì¼¡¸µÇÛÎó¤È¤·¤¿¾ì¹ç¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹)
// ÇÛÎóÊÑ¿ôGURE_NO_GID¤Ï0¡Á14¤Þ¤Ç¤Ê¤Î¤Ç¡¢GURE_no¤òÆþ¤ì¤ë¤È410¡Á424¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤¿¤á½¤Àµ
GURE_NO_GID(GURE_DID) = TEK_G ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
// ¾åµ¤ÈƱ¤¸¤¯ÇÛÎóÊÑ¿ôGURE_NO_DID¤â0¡Á14¤Þ¤Ç¤Ê¤Î¤Ç½¤Àµ
GURE_NO_DID(GURE_DID) = GURE_no ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
}
TKTM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
;---Åö¤¿¤êȽÄê---
es_check JK_VS_GURE ,400,128 ;400(¼«µ¡),128(¥°¥ì¥¤¥º)
if JK_VS_GURE != -1 {
es_kill JK_VS_GURE ;¥°¥ì¥¤¥º¡Úºï½ü¡Û
;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¤òÄ´¤Ù¤Æ¥Õ¥é¥°¤òΩ¤Æ¤Æ¤¤¤¯
GURE_no = 410 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
/*
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(3)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
if JK_VS_GURE = GURE_no : GURE_HIT_f(cnt,TEK_G) = 1 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¤òΩ¤Æ¤ë
GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
loop
*/
repeat TEKI_MAX*TEKI_Gmax
if JK_VS_GURE = GURE_no : dup_GURE_HIT_f(cnt) = 1 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¤òΩ¤Æ¤ë
GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
}
;---²èÌ̳°È½Äê---
TKTM_no = 200 ;ŨÃƤξì½ê¸¡º÷ID
/*
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(2)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
es_get TEKI_GURE_D_x,TKTM_no,3 ;¥°¥ì¥¤¥º£Ø
es_get TEKI_GURE_D_y,TKTM_no,5 ;¥°¥ì¥¤¥º£Ù
if (TEKI_GURE_D_x < -10) or (TEKI_GURE_D_y < -10) or (TEKI_GURE_D_x > 412) or (TEKI_GURE_D_y > 460) {
GURE_HIT_f(cnt,TEK_G) = 0 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡Ú¥ê¥»¥Ã¥È¡Û
}TKTM_no++ ;ŨÃƤξì½ê¸¡º÷ID
loop
loop
*/
repeat TEKI_MAX*TEKI_Gmax
es_get TEKI_GURE_D_x,TKTM_no,3 ;¥°¥ì¥¤¥º£Ø
es_get TEKI_GURE_D_y,TKTM_no,5 ;¥°¥ì¥¤¥º£Ù
if (TEKI_GURE_D_x < -10) or (TEKI_GURE_D_y < -10) or (TEKI_GURE_D_x > 412) or (TEKI_GURE_D_y > 460) {
dup_GURE_HIT_f(cnt) = 0 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡Ú¥ê¥»¥Ã¥È¡Û
}
TKTM_no++ ;ŨÃƤξì½ê¸¡º÷ID
loop
return
°Ê²¼Äɲᦽ¤Àµ²Õ½ê
dup¤Ï°ì²ó¤ä¤Ã¤Æ¤·¤Þ¤¨¤Ð¤º¤Ã¤È»È¤¨¤ë¤Î¤ÇÇÛÎóÊÑ¿ô¤ÎÍѰդȰì½ï¤Ë¤Þ¤È¤á¤Þ¤·¤¿¡£
;¥°¥ì¥¤¥º
dim GURE_HIT_f,TEKI_MAX,TEKI_Gmax ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°
dim GURE_x,TEKI_MAX,TEKI_Gmax
dim GURE_y,TEKI_MAX,TEKI_Gmax
dup dup_GURE_HIT_f, GURE_HIT_f;
dup dup_GURE_x, GURE_x;
dup dup_GURE_y, GURE_y;
¤¢¤È¤Ï¥é¥Ù¥ë¡Ø*¥°¥ì¥¤¥º¡ÙÆâ¤Îrepeat¡Áloop¤ò
¤½¤ì¤¾¤ì°ì¼¡¸µ¥Ð¡¼¥¸¥ç¥ó¤Ë¤·¤¿¤Î¤È
ÇÛÎóÊÑ¿ô¡ÊGURE_NO_GID¤ÈGURE_NO_DID¡Ë¤Î»È¤¤Êý¤¬´Ö°ã¤Ã¤Æ¤¤¤¿²Õ½ê¤Î½¤Àµ¡£
Åö¤¿¤êȽÄê¤Î¼þÊÕ¤Ï2¤ÄÌܤΥ½¡¼¥¹¤À¤ÈÊ£»¨²½¤·¤Æ¤¤¤ë³ä¤ËÉÔ¶ñ¹ç¤¬Â¿¤«¤Ã¤¿¤Î¤Ç
ºÇ½é¤Î¥½¡¼¥¹¤ò¥Ù¡¼¥¹¤Ë¤µ¤»¤Æ¤¤¤¿¤À¤¤Þ¤·¤¿¡£
| |
|
2020/1/19(Sun) 21:53:10|NO.89294
¤¹¤ß¤Þ¤»¤ó¡¢´Ö°ã¤¨¤Þ¤·¤¿¡£
GURE_NO_GID¤ÈGURE_NO_DID¤Î²Õ½ê¡¢
¥ë¡¼¥×¤¬1¤Ä¤Ê¤Î¤Çñ¤Ëcnt¤òÆþ¤ì¤ë¤À¤±¤ÇÎɤ«¤Ã¤¿¤Ç¤¹¤Í¡Ä¡Ä
¤½¤ì¤Ëȼ¤Ã¤ÆÊÑ¿ôGURE_DID¤¬ÉÔÍפˤʤë¤Î¤Ç
²¼µ¤Î¤è¤¦¤Ë½¤Àµ¤·¤Æ¤¯¤À¤µ¤¤¡£
//-----ÄɲÃ&½¤Àµ-----//
TEK_G = cnt / TEKI_MAX; // ¥°¥ë¡¼¥×ÈÖ¹æ¤ò·×»»¤¹¤ë(0¡Á4¤Þ¤Ç¤Ï0¡¢5¡Á9¤Þ¤Ç¤Ï1¡¢10¡Á14¤Ï2¤Ë¤Ê¤ë)
;GURE_DID = TEK_G * GURE_MAX + cnt ;¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹(°ì¼¡¸µÇÛÎó¤È¤·¤¿¾ì¹ç¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹)
// ÇÛÎóÊÑ¿ôGURE_NO_GID¤Ï0¡Á14¤Þ¤Ç¤Ê¤Î¤Ç¡¢GURE_no¤òÆþ¤ì¤ë¤È410¡Á424¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤¿¤á½¤Àµ
GURE_NO_GID(cnt) = TEK_G ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
// ¾åµ¤ÈƱ¤¸¤¯ÇÛÎóÊÑ¿ôGURE_NO_DID¤â0¡Á14¤Þ¤Ç¤Ê¤Î¤Ç½¤Àµ
GURE_NO_DID(cnt) = GURE_no ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
¼ºÎ餤¤¿¤·¤Þ¤·¤¿¡£
|
|
2020/1/20(Mon) 22:48:34|NO.89300
¤¢¤é¤ä¤µ¤ó¡£²óÅú¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
getÀë¸À¸å¤Ëdup»È¤¨¤ë¤³¤È¤Ë´¶Æ°¡£
¤½¤â¤½¤â¥Õ¥é¥°¤Çdup¤Ç»È¤Ã¤Æ¤¤¤ë¤ó¤À¤«¤é¡¢Â¾¤ÎÍ×ÁǤÇÀë¸À¤Ç¤¤ë¤³¤È¤Ëµ¤¤¬¤Ä¤¯¤Ù¤¤À¤Ã¤¿¡£¤É¤¦¤âÆñ¤·¤¯¹Í¤¨¤¹¤®¤ë¡£
¤³¤Î¥½¡¼¥¹¤Ï»ä¤Î¤è¤¦¤Ê¥Ú¡¼¥Ú¡¼¤Ç¤â¡¢¥½¡¼¥¹¤ò¸«¤¿¤À¤±¤Ç¤É¤ó¤Ê½èÍý¤ò¤·¤Æ¤¤¤ë¤«¤ï¤«¤ê¤ä¤¹¤¯¤Ã¤Æ¤¤¤¤¤Ç¤¹¤Í¡ª
¼Â¤Ï£²¤Ä¤á¤Î¥ì¥¹½¤Àµ¤Ï¡¢¥ì¥¹Á°¤Ëµ¤¤¬¤Ä¤¤¤Æ¤¤¤Æ¡¢½¤Àµ¤·¤Æ¤¤¤ë¤¦¤Á¤Ë¡ÖGURE_NO_GID¡¢GURE_NO_DID¡×»È¤Ã¤Æ¤Ê¤¤¤Ê¡¼¤Ã¤Æ¤Ê¤Ã¤Á¤ã¤¤¤Þ¤·¤¿¡£
¤½¤·¤Æ¸µ¤«¤é¿§¡¹¤ª¤«¤·¤«¤Ã¤¿¤Î¤Çľ¤·¤Þ¤·¤¿¡£¥ì¥¹¤¬Ã٤줿¤Î¤¬¤³¤ì¤¬¸¶°ø¤Ç¤¹¡£
ÌäÂ꤬¤Ê¤±¤ì¤Ð¥¯¥í¡¼¥º¤·¤è¤¦¤«¤È»×¤¤¤Þ¤¹¡£
¡¦²èÌ̳°¤Î½èÍý¤ò£±¤Ä¤Ë¤Þ¤È¤á¤¿
¡¦¥°¥ì¥¤¥º¤ÎÂ礤µ¤Ë¹ç¤ï¤»¤Æ¡¢²èÌ̳°¤ÈȽÄꤵ¤ì¤ëºÂɸ¤ò½¤Àµ
¡¦¤½¤ì¤Ëȼ¤¤¥¹¥×¥é¥¤¥Èɽ¼¨¡¢Í¸ú¥¨¥ê¥¢¤ÎÈϰϽ¤Àµ
¡¦¥Ç¥Ð¥Ã¥¯¤·¤ä¤¹¤¯¤¹¤ë¤¿¤á¡¢¿¿¤óÃæ¤Î¤¤¤ëŨ¤Î°ÌÃÖ¤ò¤º¤é¤·¤Þ¤·¤¿¡£
¡¦ÃƤ¬²èÌ̳°¤Ë¹Ô¤Ã¤¿¤³¤È¤ò¤¤¤¤´¶¤¸¤Ë³Îǧ¤Ç¤¤ë¤Î¤¬¡¢¿¿¤óÃæŨ¤À¤Ã¤¿¤Î¤Ç¡¢¿¿¤óÃæ¤ÎŨ¤«¤éÃƤò½Ð¤·¤Þ¤¹
#include "hspdxfix.as" ;DX¥é¥¤¥Ö¥é¥ê»ÈÍÑ
width ,,130,200 ;¥¦¥£¥ó¥É¥¦¤Î°ÌÃÖ
es_ini 640,512,360 ;¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô¡¢¥¥ã¥é¥¯¥¿ÄêµÁ¤ÎºÇÂç¿ô,¼þ¤ÎÀºÅÙ(180*2)
es_screen 640,480 ,0,0,1,1 ;¥¹¥¯¥ê¡¼¥ó
; es_window 30,10, 412,460 ;¥¹¥×¥é¥¤¥Èɽ¼¨¥¨¥ê¥¢ÀßÄê
; es_area -10,-10, 432,480 ;¥¹¥×¥é¥¤¥È͸ú¥¨¥ê¥¢ÀßÄê
;---½¤Àµ---
es_window -13,-43, 640,480 ;¥¹¥×¥é¥¤¥Èɽ¼¨¥¨¥ê¥¢ÀßÄê
es_area -13,-43, 442,491 ;¥¹¥×¥é¥¤¥È͸ú¥¨¥ê¥¢ÀßÄê
;---¥°¥ì¥¤¥º---
es_size 59,59, 50
es_pat 410, 265,390
;---¼«µ¡---
es_size 28,42, 100
es_pat 400, 0,0
JIKI_x = 206 : JIKI_y = 390 ;ºÂɸ
JIKISpd = 4 ;¥¹¥Ô¡¼¥É
;---Äã®---
es_size 9,9, 50
es_pat 195, 46,43
es_type 195,2
;---Ũ---
es_size 18,19, 50
es_pat 60, 0,0
;---ŨÃÆ---
es_size 17,17, 50
es_pat 65, 70,0
;Ũ
TEKI_MAX = 5 ;Ũ¤ÎºÇÂç¿ô
TEKI_Gmax = 3 ;¥°¥ë¡¼¥×¿ô
TEKI_GOKEI = TEKI_MAX * TEKI_Gmax ;Ũ¹ç·×¿ô
dim TEKI_f,TEKI_MAX,TEKI_Gmax ;¥Õ¥é¥°
dim TEKI_x,TEKI_MAX,TEKI_Gmax ;£Ø
dim TEKI_y,TEKI_MAX,TEKI_Gmax ;£Ù
dim TEKI_NO_GID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹ÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
dim TEKI_NO_DID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
;ŨÃÆ
dim TEKI_TM_f,TEKI_MAX,TEKI_Gmax;¥Õ¥é¥°
dim NOMARU_TAMA,TEKI_GOKEI ;ÃƽФ¹¥Õ¥é¥°
;¥°¥ì¥¤¥º
dim GURE_HIT_f,TEKI_MAX,TEKI_Gmax ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°
dim GURE_x,TEKI_MAX,TEKI_Gmax
dim GURE_y,TEKI_MAX,TEKI_Gmax
;---°ì¼¡¸µÇÛÎó¤Ë¤¹¤ë---
dup dup_GURE_HIT_f, GURE_HIT_f ;¥Ò¥Ã¥È¥Õ¥é¥°
dup dup_GURE_x, GURE_x ;£Ø
dup dup_GURE_y, GURE_y ;£Ù
;¢§¢§¢§¢§¢§¢§¢§Å¨ÇÛÎ󢧢§¢§¢§¢§¢§¢§
;¥°¥ë¡¼¥×1 ±¦¾å
TEKI_x(0,0) = 390,390,390,390,390
TEKI_y(0,0) = 200,160,120,80,40
;¥°¥ë¡¼¥×2 º¸¾å
TEKI_x(0,1) = 50,50,50,50,50
TEKI_y(0,1) = 200,160,120,80,40
;¥°¥ë¡¼¥×3 º¸²¼¢ª¿¿¤óÃæ¤Ç¤¹¡ª ---½¤Àµ---
TEKI_x(0,2) = 190,210,230,250,270
TEKI_y(0,2) = 250,210,170,130,90
;¢£¢£¢£Å¨ÇÛÃÖ¢£¢£¢£
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(3)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
es_exnew TEKI ,80,94 ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
es_set TEKI, TEKI_x(cnt,TEK_G),TEKI_y(cnt,TEK_G), 60 ;¥¹¥×¥é¥¤¥ÈNo, X,YºÂɸ ,¥¥ã¥éNo
es_type TEKI,8192
;ŨÃƽФ·Ê¬¤±¤¹¤ë¤¿¤á¤Î½èÍý
TEKI_NO_GID(TEKI) = TEK_G ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
TEKI_DID = TEK_G * TEKI_MAX + cnt ;¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹(°ì¼¡¸µÇÛÎó¤È¤·¤¿¾ì¹ç¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹)
TEKI_NO_DID(TEKI) = TEKI_DID ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
loop
loop
;************¥á¥¤¥ó¥ë¡¼¥×***************
*¥á¥¤¥ó
es_cls ;²èÌÌ¥¯¥ê¥¢
es_draw ;¥¹¥×¥é¥¤¥ÈÉÁ²è
;************¥«¥¦¥ó¥¿¡¼******************
pos 420,20 : es_mes "TEKI_DID " + TEKI_DID
pos 430,50 : es_mes "GURE_HIT_f(0,0) " + GURE_HIT_f(0,0)
pos 430,70 : es_mes "GURE_HIT_f(1,0) " + GURE_HIT_f(1,0)
pos 430,90 : es_mes "GURE_HIT_f(2,0) " + GURE_HIT_f(2,0)
pos 430,110 : es_mes "GURE_HIT_f(3,0) " + GURE_HIT_f(3,0)
pos 430,130 : es_mes "GURE_HIT_f(4,0) " + GURE_HIT_f(4,0)
pos 430,160 : es_mes "GURE_HIT_f(0,1) " + GURE_HIT_f(0,1)
pos 430,180 : es_mes "GURE_HIT_f(1,1) " + GURE_HIT_f(1,1)
pos 430,200 : es_mes "GURE_HIT_f(2,1) " + GURE_HIT_f(2,1)
pos 430,220 : es_mes "GURE_HIT_f(3,1) " + GURE_HIT_f(3,1)
pos 430,240 : es_mes "GURE_HIT_f(4,1) " + GURE_HIT_f(4,1)
pos 430,270 : es_mes "GURE_HIT_f(0,1) " + GURE_HIT_f(0,2)
pos 430,290 : es_mes "GURE_HIT_f(1,1) " + GURE_HIT_f(1,2)
pos 430,310 : es_mes "GURE_HIT_f(2,1) " + GURE_HIT_f(2,2)
pos 430,330 : es_mes "GURE_HIT_f(3,1) " + GURE_HIT_f(3,2)
pos 430,350 : es_mes "GURE_HIT_f(4,1) " + GURE_HIT_f(4,2)
pos 430,380 : es_mes "TEKI_NO_GID(84) " + TEKI_NO_GID(84)
pos 430,400 : es_mes "TEKI_NO_GID(85) " + TEKI_NO_GID(85)
pos 430,420 : es_mes "TEKI_NO_GID(90) " + TEKI_NO_GID(90)
;**************************************
es_set 400, JIKI_x,JIKI_y, 400 ;¼«µ¡
gosub *¼«µ¡¤Î°ÜÆ°
gosub *ŨÃÆ°ÜÆ°
gosub *¥°¥ì¥¤¥º
es_sync ;²èÌ̹¹¿·
await 16
goto *¥á¥¤¥ó
;**************¼«µ¡¤Î°ÜÆ°*************
*¼«µ¡¤Î°ÜÆ°
stick key,15 ;¥¡¼¼èÆÀ
if key & 1 : JIKI_x = JIKI_x - JIKISpd ;¢«¤Î°ÜÆ°
if key & 2 : JIKI_y = JIKI_y - JIKISpd ;¢¬¤Î°ÜÆ°
if key & 4 : JIKI_x = JIKI_x + JIKISpd ;¢ª¤Î°ÜÆ°
if key & 8 : JIKI_y = JIKI_y + JIKISpd ;¢¤Î°ÜÆ°
return
;*************ŨÃÆ°ÜÆ°****************
*ŨÃÆ°ÜÆ°
if NOMARU_f = 0 : NOMARU_TAMA = 0,0,1 ;ÇÛÎó¤ÇÃƤò¥³¥ó¥È¥í¡¼¥ë
TEKI_no = 80 ;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
dup dup_TEKI_TM_f,TEKI_TM_f ;¿¼¡¸µÇÛÎó¤ò°ì¼¡¸µÇÛÎó¤È¤·¤Æ»ÈÍÑ
repeat
es_find TEKI, 8192, TEKI_no,94, 1 ;typeÃÍ, ³«»Ï¤¹¤ë¥¹¥×¥é¥¤¥È,½ªÎ»¤¹¤ë¥¹¥×¥é¥¤¥È, Áýʬ
if TEKI < 0 : break
TEK_G = TEKI_NO_GID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if NOMARU_TAMA(TEK_G) = 1 { ;¥³¥ó¥È¥í¡¼¥ë¤·¤¿ÃƤÀ¤±¤ò½Ð¤¹
TEKI_DID = TEKI_NO_DID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if dup_TEKI_TM_f(TEKI_DID) = 0 {
es_exnew TEKI_TM ,200,214 ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
; if TEKI_TM > 0 { ;Êݸ±
dup_TEKI_TM_f(TEKI_DID) = 1 ;°ì¼¡¸µÇÛÎó¤Ë¤·¤Æ¤ë¤Î¤ÇŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¤ò¥¡¼¤Ë¥Õ¥é¥°ÀßÄê
TAMA_NO_DID(TEKI_TM) = TEKI_DID;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ(¤³¤ì¤ÇÃƤÈŨ¥Ç¡¼¥¿¤È¤ÎɳÉÕ)
es_get TEKI_TM_x,TEKI,3 ;Ũ£Ø
es_get TEKI_TM_y,TEKI,5 ;Ũ£Ù
es_ang TEKI_TM_x,TEKI_TM_y,JIKI_x-4,JIKI_y-4;³ÑÅÙ¼èÆÀ
TEKI_TM_ang = stat ;¼«µ¡¤ÎÊý¸þ
;*******ŨÃÆȯ¼Í*******
es_set TEKI_TM, TEKI_TM_x,TEKI_TM_y,65 ;¥¹¥×¥é¥¤¥ÈÀßÄê
es_adir TEKI_TM, TEKI_TM_ang,300 ;¥¹¥×¥é¥¤¥È°ÜÆ°Êý¸þÀßÄê
es_type TEKI_TM,32
; }
}
}TEKI_no++;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
;---²èÌ̳°È½Äê---
TEKI_TM_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
repeat
es_find TEKI_TM, 32, TEKI_TM_no,214, 1
if TEKI_TM < 0 : break
es_get TEKI_TM_x,TEKI_TM,3 ;ŨÃÆ£Ø
es_get TEKI_TM_y,TEKI_TM,5 ;ŨÃÆ£Ù
; if (TEKI_TM_x < 30) or (TEKI_TM_y < 10) or (TEKI_TM_x > 412) or (TEKI_TM_y > 460) {
;---½¤Àµ----
if (TEKI_TM_x < -10) or (TEKI_TM_y < -40) or (TEKI_TM_x > 439) or (TEKI_TM_y > 488) {
; TEKI_DID = TAMA_NO_DID(TEKI_TM) ;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
dup_TEKI_TM_f(TEKI_DID) = 0 ;ŨÃƥե饰¡Ú½é´ü²½¡Û
es_kill TEKI_TM ;ŨÃÆ¡Úºï½ü¡Û
;---ÄɲÃ---
dup_GURE_HIT_f(cnt) = 0 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡Ú¥ê¥»¥Ã¥È¡Û
}TEKI_TM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
return
;*************¥°¥ì¥¤¥º****************
*¥°¥ì¥¤¥º
TKTM_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no = 410 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_GOKEI
if dup_GURE_HIT_f(cnt) = 0 { ;¥°¥ì¥¤¥º¤Ë¥Ò¥Ã¥È¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡Ú¼Â¹Ô¡Û
es_get dup_GURE_x(cnt),TKTM_no,3 ;¥°¥ì¥¤¥º£Ø
es_get dup_GURE_y(cnt),TKTM_no,5 ;¥°¥ì¥¤¥º£Ù
es_set GURE_no, dup_GURE_x(cnt)-21,dup_GURE_y(cnt)-21, 410
es_type GURE_no,128
}
TKTM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
;---Åö¤¿¤êȽÄê---
es_check JK_VS_GURE ,400,128 ;400(¼«µ¡),128(¥°¥ì¥¤¥º)
if JK_VS_GURE != -1 {
es_kill JK_VS_GURE ;¥°¥ì¥¤¥º¡Úºï½ü¡Û
;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¤òÄ´¤Ù¤Æ¥Õ¥é¥°¤òΩ¤Æ¤Æ¤¤¤¯
GURE_no = 410 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_GOKEI ;15
if JK_VS_GURE = GURE_no : dup_GURE_HIT_f(cnt) = 1 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¤òΩ¤Æ¤ë
GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
}
return
| |
|
2020/1/20(Mon) 23:44:52|NO.89302
ºÇ½é¤Î¥½¡¼¥¹¤Ç¤Ï¡¢²èÌ̾å¤ÎÊý¤Ç¥°¥ì¥¤¥º¤ÈÀÜ¿¨¤¹¤ë¤È
¼«µ¡¤ò²èÌ̳°¤Ë½Ð¤¹¤Þ¤Ç¥°¥ì¥¤¥º¤¬½Ð¤Ê¤¯¤Ê¤ë¤È¤¤¤¦ÉÔ¶ñ¹ç¤¬¤¢¤ê¤Þ¤·¤¿¤¬
¤½¤ì¤¬Ìµ¤¯¤Ê¤Ã¤Æ¤¤¤Þ¤¹¤Í¡£
¾¯¡¹µ¤¤Ë¤Ê¤ë¤Î¤¬¡¢
¥®¥ê¥®¥ê²èÌ̳°¤¢¤¿¤ê¤Ë¼«µ¡¤òÃÖ¤¤¤Æ¤¤¤ë¤È¥°¥ì¥¤¥º¤ÎµóÆ°¤¬¤ª¤«¤·¤¯¤Ê¤ë»ö¤Ç¤·¤ç¤¦¤«¡£
¤¿¤Þ¤Ë°ìÉô¤Î¥°¥ì¥¤¥º¤ÎÆ°¤¤¬²èÌ̤γ°¤ÎÊý¤Ç»ß¤Þ¤Ã¤Æ¤½¤Î¤Þ¤ÞÆ°¤«¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£
¤½¤Î¥°¥ì¥¤¥º¤ËÀÜ¿¨¤·¤¿¾ì¹ç¤Ï¥°¥ì¥¤¥º¼«ÂΤϾ䨤ë¤Î¤Ç¤¹¤¬¡¢
ŨÃÆ¡õ¥°¥ì¥¤¥º¤¬½Ð¤ÆÍè¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£
Ʊ¤¸¤¯¡¢¥°¥ì¥¤¥º¤ÈÀÜ¿¨¤·¤¿¤ÈȽÃǤµ¤ì¤ë¤¯¤é¤¤¤Î
¥®¥ê¥®¥ê²èÌ̳°¤Ë¤Ê¤ê¤½¤¦¤ÊÊÕ¤ê¤Ë¼«µ¡¤òÃÖ¤¤¤Æ¤¤¤ë¤È
ŨÃƤϺÆȯ¼Í¤µ¤ì¤Æ¤â¥°¥ì¥¤¥º¤¬½Ð¤ÆÍè¤Ê¤¤¤È¤¤¤¦¸½¾Ý¤â³Îǧ¤·¤Þ¤·¤¿¡£
¤³¤Á¤é¤Ï¼«µ¡¤ò¥¦¥í¥Á¥ç¥í¤µ¤»¤Æ¤¤¤ì¤ÐºÆÅÙ¥°¥ì¥¤¥º¤¬½Ð¤ÆÍè¤ë¤è¤¦¤Ç¤¹¡£
¤É¤Á¤é¤â¼«µ¡¤Î²ÄÆ°ÈϰϤò²èÌÌÆâ¤Ë¸ÂÄꤹ¤ì¤Ð²ò·è¤·¤½¤¦¤Ç¤¹¤¬¡£
|
|
2020/1/21(Tue) 22:20:49|NO.89315
¤¢¤é¤ä¤µ¤ó¡£ºÆÅÙ¤ªÊÖ»ö¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
²èÌÌ¥®¥ê¥®¥ê¤Ë´Ø¤·¤Æ¤ÏÂç¾æÉפǤ¹¤Í¡£
¼ÂºÝ¤Ë¼«µ¡¤¬Æ°¤±¤ëÈϰϤϡֺ¸31¡¢¾å12¡¢²¼459¡¢±¦410¡×¤Þ¤Ç¤È¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢
¤½¤³¤«¤é³°Â¦¤Ë¹Ô¤Ã¤Æ¤«¤é¾Ã¤¨¤ë¤è¤¦¤Ë¤·¤¿¤Ï¤º¤Ê¤Î¤ÇÆäËÌäÂê¤Ï¤º¤Ç¤¹¡£
¤³¤³¤éÊÕ¤òNo89300¤Î»þ¤Ë¸À¤Ã¤Æ¤ª¤±¤Ð¤è¤«¤Ã¤¿¤Ç¤¹¤Í¡¦¡¦¡¦
º£ÅÙ¤³¤½Âç¾æÉפʤϤº¡¦¡¦¡ª
|
|
2020/1/22(Wed) 00:20:15|NO.89316
ÀèÆü¤ÎÊó¹ð¤Ë¾¯¡¹¸í¤ê¤¬¤¢¤ê¤Þ¤·¤¿¡£
>¤¿¤Þ¤Ë°ìÉô¤Î¥°¥ì¥¤¥º¤ÎÆ°¤¤¬²èÌ̤γ°¤ÎÊý¤Ç»ß¤Þ¤Ã¤Æ¤½¤Î¤Þ¤ÞÆ°¤«¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£
>¤½¤Î¥°¥ì¥¤¥º¤ËÀÜ¿¨¤·¤¿¾ì¹ç¤Ï¥°¥ì¥¤¥º¼«ÂΤϾ䨤ë¤Î¤Ç¤¹¤¬¡¢
>ŨÃÆ¡õ¥°¥ì¥¤¥º¤¬½Ð¤ÆÍè¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£
¤³¤ì¤Ë´Ø¤·¤Æ¤Ê¤Î¤Ç¤¹¤¬¡¢
¤´¤¯¤Þ¤ì¤ËŨÃƤ¬²èÌ̳°È½Äꤵ¤ì¤ë¤è¤ê¤âÀè¤Ë
¥¹¥×¥é¥¤¥È͸ú¥¨¥ê¥¢¤Î³°¤Ë½Ð¤Æ¤·¤Þ¤¦»ö¤¬¤¢¤ë¤è¤¦¤Ç¤¹¡£
͸ú¥¨¥ê¥¢¤Î³°¤Ë½Ð¤Æ¤·¤Þ¤¦¤Èes_find¤Ç¸«¤Ä¤«¤é¤Ê¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¦¤Î¤Ç
²èÌ̳°È½Ä꤬¹Ô¤Ê¤ï¤ì¤Ê¤¤»ö¤¬¤¢¤ë¤è¤¦¤Ç¤¹¡£
²ò·èË¡¤È¤·¤Æ¤Ïñ½ã¤Ëes_area¤ÎÈϰϤò¾¯¤·¹¤²¤ë
¤â¤·¤¯¤Ï²èÌ̳°È½Äê¤ÎÎΰè¤ò¾¯¤·¶¹¤¯¤¹¤ë»ö¤Ç
Á´¤Æes_find¤ÇÊ᪽ÐÍè¤ë¤Ï¤º¤Ç¤¹¡£
°Ê¹ß¤Ï¥°¥ì¥¤¥º¤Ë´Ø¤·¤Æ¤Ç¤¹¤¬¡¢
¼«µ¡¤È¥°¥ì¥¤¥º¤È¤ÎÀÜ¿¨¤¬Å¨ÃƤΤ褦¤Ë¹¶·â¤Ë¤Ê¤ë¤Î¤«¡¢
¹¶·â¤Î¾ì¹ç¡¢°ì²óÅö¤¿¤Ã¤¿¤é¥¢¥¦¥È¤Ê¤Î¤«
¤Þ¤¿¤ÏÊ£¿ô²ó¤Ç¥¢¥¦¥È¤Ê¤Î¤«Åù¤È¤¤¤¦»ÅÍͤ˴ؤ¹¤ëÌäÂê¤â½Ð¤ÆÍè¤ë¤Î¤Ç
²¿¤È¤â¸À¤¨¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢°ì±þÊó¹ð¤µ¤»¤Æ¤¤¤¿¤À¤¤Þ¤¹¡£
¥°¥ì¥¤¥º¤ËÀÜ¿¨¤·¤¿¸å¡¢Å¨ÃƤ¬²èÌ̳°¤Ë½Ð¤¿¤È¤
¾Ã¤¨¤¿¤Ï¤º¤Î¥°¥ì¥¤¥º¤¬°ì½Ö²èÌ̤Îü¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£
¤³¤ì¤Ï²èÌ̳°È½Äê»þ¤Ë¥°¥ì¥¤¥º¤Î¥Ò¥Ã¥È¥Õ¥é¥°¤ò¥ê¥»¥Ã¥È¤·¤Æ¤¤¤ë¤Î¤Ç
¤½¤Îľ¸å¤Ë¥°¥ì¥¤¥º´ØÏ¢¤Î½èÍý¤ò¤¹¤ë¤È¤es_set¤ò¹Ô¤Ê¤Ã¤Æ¤¤¤ë¤«¤é¤Ç¤¹¡£
¤Ê¤Î¤Ç¡¢²èÌ̳°È½Äê»þ¤Ï0¤Ç¤Ï¤Ê¤¯1¤Ë¥»¥Ã¥È¤·
¡Ê1¤Ë¤¹¤ì¤ÐÀÜ¿¨¤Ë´Ø·¸¤Ê¤¯É½¼¨¤µ¤ì¤Ê¤¯¤Ê¤ë¤Î¤Ç¡Ë
ŨÃƤòºÆȯ¼Í¤¹¤ë¤È¤¤Ë0¤Ë¥ê¥»¥Ã¥È¤¹¤ëÊý¤¬Îɤ¤¤Î¤Ç¤Ï¤Ê¤¤¤«¤È»×¤¤¤Þ¤·¤¿¡£
¤â¤¦°ìÅÀ¡¢¥°¥ì¥¤¥º¤ÎÀÜ¿¨È½Äê¤Ë´Ø¤·¤Æ¤Ç¤¹¤¬
¥½¡¼¥¹¤Îή¤ìŪ¤Ë
1¥Õ¥ì¡¼¥àËè¤Ë¥°¥ì¥¤¥º1¤Ä¤Î¤ß¤ÎÀÜ¿¨È½Äê¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢
Ʊ»þ¤ËÊ£¿ô¤Î¥°¥ì¥¤¥º¤ËÀÜ¿¨¤·¤¿¾ì¹ç
¤¦¤Þ¤¯ÀÜ¿¨È½Ä꤬¹Ô¤Ê¤ï¤ì¤Ê¤¤²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£
¤³¤ì¤Ï°ì²óÀÜ¿¨¤Ç¥¢¥¦¥È¤Î¾ì¹ç¤Ë¤ÏÌäÂꤢ¤ê¤Þ¤»¤ó¤¬
Ê£¿ô²óÀÜ¿¨¤Î¥½¡¼¥¹¤òºî¤Ã¤Æ¤ß¤Þ¤·¤¿¡£
;---Åö¤¿¤êȽÄê---
GURE_no = 410 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_GOKEI ;15
es_check JK_VS_GURE ,400,128 ;400(¼«µ¡),128(¥°¥ì¥¤¥º)
if JK_VS_GURE == -1 : break;ÀÜ¿¨¤·¤Æ¤¤¤ë¥°¥ì¥¤¥º¤¬Ìµ¤±¤ì¤Ð¥ë¡¼¥×½ªÎ»
if JK_VS_GURE = GURE_no {
es_kill JK_VS_GURE ;¥°¥ì¥¤¥º¡Úºï½ü¡Û
dup_GURE_HIT_f(cnt) = 1 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¤òΩ¤Æ¤ë
}
GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
°ì²ó¤À¤±¤ÎÀÜ¿¨¤Î¾ì¹ç¤â¾¯¤·¤À¤±¸úΨ²½¤·¤Æ¤ß¤Þ¤·¤¿¡£
;---Åö¤¿¤êȽÄê---
es_check JK_VS_GURE ,400,128 ;400(¼«µ¡),128(¥°¥ì¥¤¥º)
if JK_VS_GURE != -1 {
es_kill JK_VS_GURE ;¥°¥ì¥¤¥º¡Úºï½ü¡Û
;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¤òÄ´¤Ù¤Æ¥Õ¥é¥°¤òΩ¤Æ¤Æ¤¤¤¯
GURE_no = 410 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_GOKEI ;15
if JK_VS_GURE = GURE_no {
dup_GURE_HIT_f(cnt) = 1 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¤òΩ¤Æ¤ë
break;°Ê¹ß¤Î¥ë¡¼¥×¤ÏÉÔÍפˤʤ뤿¤á¥ë¡¼¥×¤ò½ªÎ»¤¹¤ë
}
GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
}
ξÊý¤Ë¶¦Ä̤¹¤ë¤Î¤Ï½èÍý¤¬ÉÔÍפˤʤ俤ébreak¤Ç¥ë¡¼¥×¤òÈ´¤±¤ë¤è¤¦¤Ë¤·¤¿¤À¤±¤Ç¤¹¡£
°Ê¾å¡¢Ä¹¡¹¤È¼ºÎ餤¤¿¤·¤Þ¤·¤¿¡£
| |
|
2020/1/22(Wed) 20:27:24|NO.89319
Îɤ¯¹Í¤¨¤¿¤éËÜÂê¤Ï¡Ø¿¼¡¸µÇÛÎ󤫤é°ì¼¡¸µÇÛÎó¡Ù¤Î½èÍý¤Ë´Ø¤·¤Æ¤Ç¤·¤¿¤Í¡°¡°¡¨
¸åȾ¤Ï´Ø·¸Ìµ¤¤ÏäˤʤäƤ·¤Þ¤¤¿½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£
¸µ¡¹¤Î¤´¼ÁÌä¤À¤Ã¤¿¥°¥ì¥¤¥º¤ÎÇÛÎó¤Ë´Ø¤·¤Æ¤ÏÌäÂê¤Ê¤¤¤È»×¤¤¤Þ¤¹¡£
|
|
2020/1/22(Wed) 23:03:05|NO.89321
¤¢¤é¤ä¤µ¤ó¡£ºÆÅÙÊÖÅú¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡ª¡ª
>>¤´¤¯¤Þ¤ì¤ËŨÃƤ¬²èÌ̳°È½Äꤵ¤ì¤ë¤è¤ê¤âÀè¤Ë
>>¥¹¥×¥é¥¤¥È͸ú¥¨¥ê¥¢¤Î³°¤Ë½Ð¤Æ¤·¤Þ¤¦»ö¤¬¤¢¤ë¤è¤¦¤Ç¤¹¡£
¤Ê¤Ê¤Ê¤Ê¤Ê¤ó¤È¡ª
ŨÃƤΥ¹¥Ô¡¼¥É¤â¹Íθ¤·¤Æ¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡¦¡¦¡¦
>>es_area -13,-43, 442,491 ;¥¹¥×¥é¥¤¥È͸ú¥¨¥ê¥¢ÀßÄê
es_area -18,-48, 447,496 ;¥¹¥×¥é¥¤¥È͸ú¥¨¥ê¥¢ÀßÄê
5¤º¤ÄÄɲ乤ë·Á¤Ç½¤Àµ¤·¤¿¤Î¤ÇÂç¾æÉפΤϤº¤Ç¤¹¡£
>>¼«µ¡¤È¥°¥ì¥¤¥º¤È¤ÎÀÜ¿¨¤¬Å¨ÃƤΤ褦¤Ë¹¶·â¤Ë¤Ê¤ë¤Î¤«¡¢
¤³¤ì¤Ë´Ø¤·¤Æ¤âÊ䤬¤Ê¤¯¤Ã¤Æ¤¹¤¤¤Þ¤»¤ó¡¦¡¦¡¦
ÅìÊýProject¤òÂêºà¤Ëºî¤Ã¤Æ¤¤¤ë¤â¤Î¤Ë¤Ê¤ë¤Î¤Ç¡¢¡ÖÃƤò¤®¤ê¤®¤ê¤Î½ê¤ÇÈò¤±¤ë¤È¥¹¥³¥¢¤ËÅÀ¿ô¤¬²Ã»»¤µ¤ì¤ë¡×¤Ã¤Æ¤¤¤¦¤Î¤¬¥°¥ì¥¤¥º¤Ç¤¹¡£
>>¥°¥ì¥¤¥º¤ËÀÜ¿¨¤·¤¿¸å¡¢Å¨ÃƤ¬²èÌ̳°¤Ë½Ð¤¿¤È¤
>>¾Ã¤¨¤¿¤Ï¤º¤Î¥°¥ì¥¤¥º¤¬°ì½Ö²èÌ̤Îü¤Ëɽ¼¨¤µ¤ì¤Þ¤¹¡£
¡Ö¼ÂºÝ¤Ë¼«µ¡¤¬Æ°¤±¤ëÈϰϤϡֺ¸31¡¢¾å12¡¢²¼459¡¢±¦410¡×¤Þ¤Ç¤È¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¡×
¤³¤ì¡¢¢¬¤Î²óÅú¤Î»þ¤Ëµ¤¤¬¤Ä¤¤¤Æ¤Þ¤·¤¿¡£
¤³¤ÎÈϰϤ«¤é³°¤Ï¥æ¡¼¥¶¡¼¤Ë¤Ï¸«¤¨¤Ê¤¤Éôʬ¤Ê¤Î¤Ç¤¤¤¤¤«¤Ê¡¼¤È¤«´Å¤¨¤Á¤ã¤¤¤Þ¤·¤¿¤¬¡¢
¤ä¤Ã¤Ñ¤¤Á¤ó¤È½èÍý¤·¤¿¤Û¤¦¤¬¤¤¤¤¤È»×¤¤¤Þ¤·¤¿¤Î¤Ç½¤Àµ¤·¤Þ¤¹¡£
>>¤Ê¤Î¤Ç¡¢²èÌ̳°È½Äê»þ¤Ï0¤Ç¤Ï¤Ê¤¯1¤Ë¥»¥Ã¥È¤·
>>¡Ê1¤Ë¤¹¤ì¤ÐÀÜ¿¨¤Ë´Ø·¸¤Ê¤¯É½¼¨¤µ¤ì¤Ê¤¯¤Ê¤ë¤Î¤Ç¡Ë
>>ŨÃƤòºÆȯ¼Í¤¹¤ë¤È¤¤Ë0¤Ë¥ê¥»¥Ã¥È¤¹¤ëÊý¤¬Îɤ¤¤Î¤Ç¤Ï¤Ê¤¤¤«¤È»×¤¤¤Þ¤·¤¿¡£
¢£½¤ÀµÃ梣
¤³¤Á¤é¤ÎÉôʬ¤¬º£ÆüÃæ¤Ë¤Ï¤Á¤ç¤Ã¤Èľ¤»¤½¤¦¤â¤Ê¤¤¤Î¤Ç°ìö¤ªÊÖ»ö¤À¤±¡Á¡£
¡ÖÃƤò¤®¤ê¤®¤ê¤Î½ê¤ÇÈò¤±¤ë¤È¥¹¥³¥¢¤ËÅÀ¿ô¤¬²Ã»»¤µ¤ì¤ë¡×¤Ã¤Æ¤¤¤¦»ÅÍͤʤΤǡ¢
¡Öif dup_GURE_HIT_f(cnt) = 0 { ;¥°¥ì¥¤¥º¤Ë¥Ò¥Ã¥È¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡Ú¼Â¹Ô¡Û¡×
¤Ã¤Æ¤¤¤¦½èÍý¤¸¤ã¤Ê¤¯¤Ã¤Æ¤â¤¤¤¤¤Ï¤º¤Ê¤Î¤Ç¡¢ºî¤êÊý¤ò¹Í¤¨¤è¤¦¤«¤È»×¤¤¤Þ¤¹¡£
>>1¥Õ¥ì¡¼¥àËè¤Ë¥°¥ì¥¤¥º1¤Ä¤Î¤ß¤ÎÀÜ¿¨È½Äê¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢
>>Ʊ»þ¤ËÊ£¿ô¤Î¥°¥ì¥¤¥º¤ËÀÜ¿¨¤·¤¿¾ì¹ç
>>¤¦¤Þ¤¯ÀÜ¿¨È½Ä꤬¹Ô¤Ê¤ï¤ì¤Ê¤¤²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£
¥°¥ì¥¤¥ºÈ½ÄêÉôʬ¤Ï¤á¤Ã¤µ¥ª¥ê¥¸¥Ê¥ë¤Ç¤¹¤Í¡¦¡¦¡¦
¤À¤¤¤Ö¿´ÇÛ¤¢¤Ã¤¿¤Î¤Ç¤´»ØŦ½õ¤«¤ê¤Þ¤¹¡ª
>>Îɤ¯¹Í¤¨¤¿¤éËÜÂê¤Ï¡Ø¿¼¡¸µÇÛÎ󤫤é°ì¼¡¸µÇÛÎó¡Ù¤Î½èÍý¤Ë´Ø¤·¤Æ¤Ç¤·¤¿¤Í
Á´Á³ÌäÂê¤Ê¤¤¤Ç¤¹¤è¡¼¡£²èÌ̳°¤ÎÏäò»ý¤Á½Ð¤·¤¿¤Î¤Ï»ä¤Ç¤¹¤·¤ª¼÷»Ê¡£
¼ÂºÝ¤³¤Î¤ä¤Ù¤§¥½¡¼¥¹¤Î¤Þ¤Þ¤À¤Ã¤¿¤é¿§¡¹º¤¤Ã¤Æ¤¿¤Î¤Ç½õ¤«¤ê¤Þ¤·¤¿¡£
¢£½¤ÀµÃ梣°Ê³°¥Þ¡¼¥¸¤·¤¿¤â¤Î¡Á
Ì©¤«¤ËÊɤäݤ¤¸«¤¿ÌܤòÆþ¤ì¤È¤¤Þ¤·¤¿¡£
¼«µ¡¤¬²èÌÌÆâ¤Þ¤Ç¤·¤«Æ°¤±¤Ê¤¤¡Ê²èÌ̳°¤Ë¹Ô¤±¤Ê¤¤¡Ë¤Ï¥Ç¥Ð¥Ã¥¯¤¹¤ëÅÔ¹ç¾å¤¢¤¨¤ÆÆþ¤ì¤Æ¤¤¤Þ¤»¤ó¡£
#include "hspdxfix.as" ;DX¥é¥¤¥Ö¥é¥ê»ÈÍÑ
width ,,130,200 ;¥¦¥£¥ó¥É¥¦¤Î°ÌÃÖ
es_ini 640,512,360 ;¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô¡¢¥¥ã¥é¥¯¥¿ÄêµÁ¤ÎºÇÂç¿ô,¼þ¤ÎÀºÅÙ(180*2)
es_screen 640,480 ,0,0,1,1 ;¥¹¥¯¥ê¡¼¥ó
es_window -13,-43, 640,480 ;¥¹¥×¥é¥¤¥Èɽ¼¨¥¨¥ê¥¢ÀßÄê
es_area -18,-48, 447,496 ;¥¹¥×¥é¥¤¥È͸ú¥¨¥ê¥¢ÀßÄê
;---¥°¥ì¥¤¥º---
es_size 59,59, 50
es_pat 410, 265,390
;---¼«µ¡---
es_size 28,42, 100
es_pat 400, 0,0
JIKI_x = 206 : JIKI_y = 390 ;ºÂɸ
JIKISpd = 4 ;¥¹¥Ô¡¼¥É
;---Äã®---
es_size 9,9, 50
es_pat 195, 46,43
es_type 195,2
;---Ũ---
es_size 18,19, 50
es_pat 60, 0,0
;---ŨÃÆ---
es_size 17,17, 50
es_pat 65, 70,0
;---ÄɲÃ---
;Ïȳ°
;--¾å--
es_size 382,3
es_pat 50, 0,0
es_set 50, 31,12, 50
;--º¸--
es_size 3,447
es_pat 51, 0,0
es_set 51, 31,12, 51
;--²¼--
es_size 382,3
es_pat 52, 0,0
es_set 52, 31,459, 52
;--±¦--
es_size 3,447
es_pat 53, 0,0
es_set 53, 410,12, 53
;Ũ
TEKI_MAX = 5 ;Ũ¤ÎºÇÂç¿ô
TEKI_Gmax = 3 ;¥°¥ë¡¼¥×¿ô
TEKI_GOKEI = TEKI_MAX * TEKI_Gmax ;Ũ¹ç·×¿ô
dim TEKI_f,TEKI_MAX,TEKI_Gmax ;¥Õ¥é¥°
dim TEKI_x,TEKI_MAX,TEKI_Gmax ;£Ø
dim TEKI_y,TEKI_MAX,TEKI_Gmax ;£Ù
dim TEKI_NO_GID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹ÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
dim TEKI_NO_DID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
;ŨÃÆ
dim TEKI_TM_f,TEKI_MAX,TEKI_Gmax;¥Õ¥é¥°
dim NOMARU_TAMA,TEKI_GOKEI ;ÃƽФ¹¥Õ¥é¥°
;¥°¥ì¥¤¥º
dim GURE_HIT_f,TEKI_MAX,TEKI_Gmax ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°
dim GURE_x,TEKI_MAX,TEKI_Gmax
dim GURE_y,TEKI_MAX,TEKI_Gmax
;---°ì¼¡¸µÇÛÎó¤Ë¤¹¤ë---
dup dup_GURE_HIT_f, GURE_HIT_f ;¥Ò¥Ã¥È¥Õ¥é¥°
dup dup_GURE_x, GURE_x ;£Ø
dup dup_GURE_y, GURE_y ;£Ù
;¢§¢§¢§¢§¢§¢§¢§Å¨ÇÛÎ󢧢§¢§¢§¢§¢§¢§
;¥°¥ë¡¼¥×1 ±¦¾å
TEKI_x(0,0) = 390,390,390,390,390
TEKI_y(0,0) = 200,160,120,80,40
;¥°¥ë¡¼¥×2 º¸¾å
TEKI_x(0,1) = 50,50,50,50,50
TEKI_y(0,1) = 200,160,120,80,40
;¥°¥ë¡¼¥×3 ¿¿¤óÃæ
TEKI_x(0,2) = 190,210,230,250,270
TEKI_y(0,2) = 250,210,170,130,90
;¢£¢£¢£Å¨ÇÛÃÖ¢£¢£¢£
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(3)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
es_exnew TEKI ,80,94 ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
es_set TEKI, TEKI_x(cnt,TEK_G),TEKI_y(cnt,TEK_G), 60 ;¥¹¥×¥é¥¤¥ÈNo, X,YºÂɸ ,¥¥ã¥éNo
es_type TEKI,8192
;ŨÃƽФ·Ê¬¤±¤¹¤ë¤¿¤á¤Î½èÍý
TEKI_NO_GID(TEKI) = TEK_G ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
TEKI_DID = TEK_G * TEKI_MAX + cnt ;¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹(°ì¼¡¸µÇÛÎó¤È¤·¤¿¾ì¹ç¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹)
TEKI_NO_DID(TEKI) = TEKI_DID ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
loop
loop
;************¥á¥¤¥ó¥ë¡¼¥×***************
*¥á¥¤¥ó
es_cls ;²èÌÌ¥¯¥ê¥¢
es_draw ;¥¹¥×¥é¥¤¥ÈÉÁ²è
;************¥«¥¦¥ó¥¿¡¼******************
pos 430,20 : es_mes "TEKI_DID " + TEKI_DID
pos 430,50 : es_mes "GURE_HIT_f(0,0) " + GURE_HIT_f(0,0)
pos 430,70 : es_mes "GURE_HIT_f(1,0) " + GURE_HIT_f(1,0)
pos 430,90 : es_mes "GURE_HIT_f(2,0) " + GURE_HIT_f(2,0)
pos 430,110 : es_mes "GURE_HIT_f(3,0) " + GURE_HIT_f(3,0)
pos 430,130 : es_mes "GURE_HIT_f(4,0) " + GURE_HIT_f(4,0)
pos 430,160 : es_mes "GURE_HIT_f(0,1) " + GURE_HIT_f(0,1)
pos 430,180 : es_mes "GURE_HIT_f(1,1) " + GURE_HIT_f(1,1)
pos 430,200 : es_mes "GURE_HIT_f(2,1) " + GURE_HIT_f(2,1)
pos 430,220 : es_mes "GURE_HIT_f(3,1) " + GURE_HIT_f(3,1)
pos 430,240 : es_mes "GURE_HIT_f(4,1) " + GURE_HIT_f(4,1)
pos 430,270 : es_mes "GURE_HIT_f(0,1) " + GURE_HIT_f(0,2)
pos 430,290 : es_mes "GURE_HIT_f(1,1) " + GURE_HIT_f(1,2)
pos 430,310 : es_mes "GURE_HIT_f(2,1) " + GURE_HIT_f(2,2)
pos 430,330 : es_mes "GURE_HIT_f(3,1) " + GURE_HIT_f(3,2)
pos 430,350 : es_mes "GURE_HIT_f(4,1) " + GURE_HIT_f(4,2)
pos 430,380 : es_mes "TEKI_NO_GID(84) " + TEKI_NO_GID(84)
pos 430,400 : es_mes "TEKI_NO_GID(85) " + TEKI_NO_GID(85)
pos 430,420 : es_mes "TEKI_NO_GID(90) " + TEKI_NO_GID(90)
;**************************************
es_set 400, JIKI_x,JIKI_y, 400 ;¼«µ¡
gosub *¼«µ¡¤Î°ÜÆ°
gosub *ŨÃÆ°ÜÆ°
gosub *¥°¥ì¥¤¥º
es_sync ;²èÌ̹¹¿·
await 16
goto *¥á¥¤¥ó
;**************¼«µ¡¤Î°ÜÆ°*************
*¼«µ¡¤Î°ÜÆ°
stick key,15 ;¥¡¼¼èÆÀ
if key & 1 : JIKI_x = JIKI_x - JIKISpd ;¢«¤Î°ÜÆ°
if key & 2 : JIKI_y = JIKI_y - JIKISpd ;¢¬¤Î°ÜÆ°
if key & 4 : JIKI_x = JIKI_x + JIKISpd ;¢ª¤Î°ÜÆ°
if key & 8 : JIKI_y = JIKI_y + JIKISpd ;¢¤Î°ÜÆ°
return
;*************ŨÃÆ°ÜÆ°****************
*ŨÃÆ°ÜÆ°
if NOMARU_f = 0 : NOMARU_TAMA = 0,0,1 ;ÇÛÎó¤ÇÃƤò¥³¥ó¥È¥í¡¼¥ë
TEKI_no = 80 ;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
dup dup_TEKI_TM_f,TEKI_TM_f ;¿¼¡¸µÇÛÎó¤ò°ì¼¡¸µÇÛÎó¤È¤·¤Æ»ÈÍÑ
repeat
es_find TEKI, 8192, TEKI_no,94, 1 ;typeÃÍ, ³«»Ï¤¹¤ë¥¹¥×¥é¥¤¥È,½ªÎ»¤¹¤ë¥¹¥×¥é¥¤¥È, Áýʬ
if TEKI < 0 : break
TEK_G = TEKI_NO_GID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if NOMARU_TAMA(TEK_G) = 1 { ;¥³¥ó¥È¥í¡¼¥ë¤·¤¿ÃƤÀ¤±¤ò½Ð¤¹
TEKI_DID = TEKI_NO_DID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if dup_TEKI_TM_f(TEKI_DID) = 0 {
es_exnew TEKI_TM ,200,214 ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
; if TEKI_TM > 0 { ;Êݸ±
dup_TEKI_TM_f(TEKI_DID) = 1 ;°ì¼¡¸µÇÛÎó¤Ë¤·¤Æ¤ë¤Î¤ÇŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¤ò¥¡¼¤Ë¥Õ¥é¥°ÀßÄê
TAMA_NO_DID(TEKI_TM) = TEKI_DID;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ(¤³¤ì¤ÇÃƤÈŨ¥Ç¡¼¥¿¤È¤ÎɳÉÕ)
es_get TEKI_TM_x,TEKI,3 ;Ũ£Ø
es_get TEKI_TM_y,TEKI,5 ;Ũ£Ù
es_ang TEKI_TM_x,TEKI_TM_y,JIKI_x-4,JIKI_y-4;³ÑÅÙ¼èÆÀ
TEKI_TM_ang = stat ;¼«µ¡¤ÎÊý¸þ
;*******ŨÃÆȯ¼Í*******
es_set TEKI_TM, TEKI_TM_x,TEKI_TM_y,65 ;¥¹¥×¥é¥¤¥ÈÀßÄê
es_adir TEKI_TM, TEKI_TM_ang,300 ;¥¹¥×¥é¥¤¥È°ÜÆ°Êý¸þÀßÄê
es_type TEKI_TM,32
; }
}
}TEKI_no++;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
;---²èÌ̳°È½Äê---
TEKI_TM_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
repeat
es_find TEKI_TM, 32, TEKI_TM_no,214, 1
if TEKI_TM < 0 : break
es_get TEKI_TM_x,TEKI_TM,3 ;ŨÃÆ£Ø
es_get TEKI_TM_y,TEKI_TM,5 ;ŨÃÆ£Ù
if (TEKI_TM_x < -10) or (TEKI_TM_y < -40) or (TEKI_TM_x > 439) or (TEKI_TM_y > 488) {
TEKI_DID = TAMA_NO_DID(TEKI_TM) ;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
dup_TEKI_TM_f(TEKI_DID) = 0 ;ŨÃƥե饰¡Ú½é´ü²½¡Û
es_kill TEKI_TM ;ŨÃÆ¡Úºï½ü¡Û
dup_GURE_HIT_f(cnt) = 0 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°
}TEKI_TM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
return
;*************¥°¥ì¥¤¥º****************
*¥°¥ì¥¤¥º
TKTM_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no = 410 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_GOKEI
if dup_GURE_HIT_f(cnt) = 0 { ;¥°¥ì¥¤¥º¤Ë¥Ò¥Ã¥È¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡Ú¼Â¹Ô¡Û
es_get dup_GURE_x(cnt),TKTM_no,3 ;¥°¥ì¥¤¥º£Ø
es_get dup_GURE_y(cnt),TKTM_no,5 ;¥°¥ì¥¤¥º£Ù
es_set GURE_no, dup_GURE_x(cnt)-21,dup_GURE_y(cnt)-21, 410
es_type GURE_no,128
}
TKTM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
;---Åö¤¿¤êȽÄê---
GURE_no = 410 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_GOKEI ;15
es_check JK_VS_GURE ,400,128 ;400(¼«µ¡),128(¥°¥ì¥¤¥º)
if JK_VS_GURE = -1 : break ;ÀÜ¿¨¤·¤Æ¤¤¤ë¥°¥ì¥¤¥º¤¬Ìµ¤±¤ì¤Ð¥ë¡¼¥×½ªÎ»
if JK_VS_GURE = GURE_no {
es_kill JK_VS_GURE ;¥°¥ì¥¤¥º¡Úºï½ü¡Û
dup_GURE_HIT_f(cnt) = 1 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¤òΩ¤Æ¤ë
}GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
return
| |
|
2020/1/31(Fri) 15:22:49|NO.89379
¤À¤¤¤ÖÃÙ¤¯¤Ê¤ê¤Þ¤·¤¿¡£
¤Á¤ç¤¦¤ÉÍÑ»ö¤«½Å¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤¿¤Î¤ÇÃ桹¥²¡¼¥àÀ©ºî¤ò¤¹¤ë»þ´Ö¤¬¤È¤ì¤Þ¤»¤ó¤Ç¤·¤¿(¡Ž¥¦ØŽ¥`)
¤¢¤é¤ä¤µ¤ó¤Î¥Ò¥ó¥È¤ò»²¹Í¤Ë¤·¤·¤Æ½èÍý¤òÄɲ䷤Ƥߤ¿¤Î¤Ç¤¹¤¬¡¢»×¤Ã¤¿Ä̤ê¤Î½èÍý¤Ë¤Ê¤é¤Ê¤«¤Ã¤¿¤³¤È¤È¡¢
¥æ¡¼¥¶¡¼¤Ë¤Ï¸«¤¨¤Ê¤¤Éôʬ¤Ç¾°³î¡¢¥æ¡¼¥¶¡¼¤ÏÏȳ°¤Ë½Ð¤é¤ì¤Ê¤¤¤Î¤ÇÌäÂê¤Ê¤¤¤È¤¹¤ë¤³¤È¤Ë¤·¤Þ¤·¤¿¡ä¡ã
Ť¤¤ª»þ´Ö¼è¤é¤»¤¿¤Î¤Ë¤¤¤¤·ë²Ì¤ò½Ð¤»¤Ê¤¯¤Ã¤Æ¤¹¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡ä¡ã
ËÜÅö¤Ë¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡ª
#include "hspdxfix.as" ;DX¥é¥¤¥Ö¥é¥ê»ÈÍÑ
width ,,130,200 ;¥¦¥£¥ó¥É¥¦¤Î°ÌÃÖ
es_ini 640,512,360 ;¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô¡¢¥¥ã¥é¥¯¥¿ÄêµÁ¤ÎºÇÂç¿ô,¼þ¤ÎÀºÅÙ(180*2)
es_screen 640,480 ,0,0,1,1 ;¥¹¥¯¥ê¡¼¥ó
es_window -13,-43, 640,480 ;¥¹¥×¥é¥¤¥Èɽ¼¨¥¨¥ê¥¢ÀßÄê
es_area -18,-48, 447,496 ;¥¹¥×¥é¥¤¥È͸ú¥¨¥ê¥¢ÀßÄê
;---¥°¥ì¥¤¥º---
es_size 59,59, 50
es_pat 410, 265,390
;---¼«µ¡---
es_size 28,42, 100
es_pat 400, 0,0
JIKI_x = 206 : JIKI_y = 390 ;ºÂɸ
JIKISpd = 4 ;¥¹¥Ô¡¼¥É
TE_x = 206+10 : TE_y = 390+16 ;Äã®°ÌÃÖ
;---Äã®---
es_size 9,9, 50
es_pat 195, 46,43
es_type 195,2
;---Ũ---
es_size 18,19, 50
es_pat 60, 0,0
;---ŨÃÆ---
es_size 17,17, 50
es_pat 65, 70,0
;Ïȳ°
;--¾å--
es_size 382,3
es_pat 50, 0,0
es_set 50, 31,12, 50
;--º¸--
es_size 3,447
es_pat 51, 0,0
es_set 51, 31,12, 51
;--²¼--
es_size 382,3
es_pat 52, 0,0
es_set 52, 31,459, 52
;--±¦--
es_size 3,447
es_pat 53, 0,0
es_set 53, 410,12, 53
;Ũ
TEKI_MAX = 5 ;Ũ¤ÎºÇÂç¿ô
TEKI_Gmax = 3 ;¥°¥ë¡¼¥×¿ô
TEKI_GOKEI = TEKI_MAX * TEKI_Gmax ;Ũ¹ç·×¿ô
dim TEKI_f,TEKI_MAX,TEKI_Gmax ;¥Õ¥é¥°
dim TEKI_x,TEKI_MAX,TEKI_Gmax ;£Ø
dim TEKI_y,TEKI_MAX,TEKI_Gmax ;£Ù
dim TEKI_NO_GID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹ÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
dim TEKI_NO_DID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
;ŨÃÆ
dim TEKI_TM_f,TEKI_MAX,TEKI_Gmax;¥Õ¥é¥°
dim NOMARU_TAMA,TEKI_GOKEI ;ÃƽФ¹¥Õ¥é¥°
;ŨÃÆ¥°¥ì¥¤¥º
dim GURE_HIT_f,TEKI_MAX,TEKI_Gmax ;ŨÃÆ¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°
dim GURE_x,TEKI_MAX,TEKI_Gmax
dim GURE_y,TEKI_MAX,TEKI_Gmax
;°ì¼¡¸µÇÛÎó¤Ë¤¹¤ë---
dup dup_GURE_HIT_f, GURE_HIT_f ;¥Ò¥Ã¥È¥Õ¥é¥°
dup dup_GURE_x, GURE_x ;£Ø
dup dup_GURE_y, GURE_y ;£Ù
;¢§¢§¢§¢§¢§¢§¢§Å¨ÇÛÎ󢧢§¢§¢§¢§¢§¢§
;¥°¥ë¡¼¥×1 ±¦¾å
TEKI_x(0,0) = 390,390,390,390,390
TEKI_y(0,0) = 200,160,120,80,40
;¥°¥ë¡¼¥×2 º¸¾å
TEKI_x(0,1) = 50,50,50,50,50
TEKI_y(0,1) = 200,160,120,80,40
;¥°¥ë¡¼¥×3 ¿¿¤óÃæ
TEKI_x(0,2) = 190,210,230,250,270
TEKI_y(0,2) = 250,210,170,130,90
;¢£¢£¢£Å¨ÇÛÃÖ¢£¢£¢£
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(3)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
es_exnew TEKI ,80,94 ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
es_set TEKI, TEKI_x(cnt,TEK_G),TEKI_y(cnt,TEK_G), 60 ;¥¹¥×¥é¥¤¥ÈNo, X,YºÂɸ ,¥¥ã¥éNo
es_type TEKI,8192
;ŨÃƽФ·Ê¬¤±¤¹¤ë¤¿¤á¤Î½èÍý
TEKI_NO_GID(TEKI) = TEK_G ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
TEKI_DID = TEK_G * TEKI_MAX + cnt ;¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹(°ì¼¡¸µÇÛÎó¤È¤·¤¿¾ì¹ç¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹)
TEKI_NO_DID(TEKI) = TEKI_DID ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
loop
loop
;************¥á¥¤¥ó¥ë¡¼¥×***************
*¥á¥¤¥ó
es_cls ;²èÌÌ¥¯¥ê¥¢
es_draw ;¥¹¥×¥é¥¤¥ÈÉÁ²è
;************¥«¥¦¥ó¥¿¡¼******************
pos 430,20 : es_mes "TEKI_DID " + TEKI_DID
pos 430,50 : es_mes "GURE_HIT_f(0,0) " + GURE_HIT_f(0,0)
pos 430,70 : es_mes "GURE_HIT_f(1,0) " + GURE_HIT_f(1,0)
pos 430,90 : es_mes "GURE_HIT_f(2,0) " + GURE_HIT_f(2,0)
pos 430,110 : es_mes "GURE_HIT_f(3,0) " + GURE_HIT_f(3,0)
pos 430,130 : es_mes "GURE_HIT_f(4,0) " + GURE_HIT_f(4,0)
pos 430,160 : es_mes "GURE_HIT_f(0,1) " + GURE_HIT_f(0,1)
pos 430,180 : es_mes "GURE_HIT_f(1,1) " + GURE_HIT_f(1,1)
pos 430,200 : es_mes "GURE_HIT_f(2,1) " + GURE_HIT_f(2,1)
pos 430,220 : es_mes "GURE_HIT_f(3,1) " + GURE_HIT_f(3,1)
pos 430,240 : es_mes "GURE_HIT_f(4,1) " + GURE_HIT_f(4,1)
pos 430,270 : es_mes "GURE_HIT_f(0,1) " + GURE_HIT_f(0,2)
pos 430,290 : es_mes "GURE_HIT_f(1,1) " + GURE_HIT_f(1,2)
pos 430,310 : es_mes "GURE_HIT_f(2,1) " + GURE_HIT_f(2,2)
pos 430,330 : es_mes "GURE_HIT_f(3,1) " + GURE_HIT_f(3,2)
pos 430,350 : es_mes "GURE_HIT_f(4,1) " + GURE_HIT_f(4,2)
pos 430,380 : es_mes "GURE_HIT " + GURE_HIT
;**************************************
;¼«µ¡
es_set 400, JIKI_x,JIKI_y, 400
;Äã®°ÜÆ°
TE_x = JIKI_x+10 : TE_y = JIKI_y+16
es_set 195, TE_x,TE_y, 195
gosub *¼«µ¡¤Î°ÜÆ°
gosub *ŨÃÆ°ÜÆ°
gosub *¥°¥ì¥¤¥º
es_sync ;²èÌ̹¹¿·
await 16
goto *¥á¥¤¥ó
;**************¼«µ¡¤Î°ÜÆ°*************
*¼«µ¡¤Î°ÜÆ°
stick key,15 ;¥¡¼¼èÆÀ
if key & 1 : JIKI_x = JIKI_x - JIKISpd ;¢«¤Î°ÜÆ°
if key & 2 : JIKI_y = JIKI_y - JIKISpd ;¢¬¤Î°ÜÆ°
if key & 4 : JIKI_x = JIKI_x + JIKISpd ;¢ª¤Î°ÜÆ°
if key & 8 : JIKI_y = JIKI_y + JIKISpd ;¢¤Î°ÜÆ°
return
;*************ŨÃÆ°ÜÆ°****************
*ŨÃÆ°ÜÆ°
if NOMARU_f = 0 : NOMARU_TAMA = 0,0,1 ;ÇÛÎó¤ÇÃƤò¥³¥ó¥È¥í¡¼¥ë
TEKI_no = 80 ;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
dup dup_TEKI_TM_f,TEKI_TM_f ;¿¼¡¸µÇÛÎó¤ò°ì¼¡¸µÇÛÎó¤È¤·¤Æ»ÈÍÑ
repeat
es_find TEKI, 8192, TEKI_no,94, 1 ;typeÃÍ, ³«»Ï¤¹¤ë¥¹¥×¥é¥¤¥È,½ªÎ»¤¹¤ë¥¹¥×¥é¥¤¥È, Áýʬ
if TEKI < 0 : break
TEK_G = TEKI_NO_GID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if NOMARU_TAMA(TEK_G) = 1 { ;¥³¥ó¥È¥í¡¼¥ë¤·¤¿ÃƤÀ¤±¤ò½Ð¤¹
TEKI_DID = TEKI_NO_DID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if dup_TEKI_TM_f(TEKI_DID) = 0 {
es_exnew TEKI_TM ,200,214 ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
; if TEKI_TM > 0 { ;Êݸ±
dup_TEKI_TM_f(TEKI_DID) = 1 ;°ì¼¡¸µÇÛÎó¤Ë¤·¤Æ¤ë¤Î¤ÇŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¤ò¥¡¼¤Ë¥Õ¥é¥°ÀßÄê
TAMA_NO_DID(TEKI_TM) = TEKI_DID;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ(¤³¤ì¤ÇÃƤÈŨ¥Ç¡¼¥¿¤È¤ÎɳÉÕ)
es_get TEKI_TM_x,TEKI,3 ;Ũ£Ø
es_get TEKI_TM_y,TEKI,5 ;Ũ£Ù
es_ang TEKI_TM_x,TEKI_TM_y,TE_x-4,TE_y-4;³ÑÅÙ¼èÆÀ
TEKI_TM_ang = stat ;¼«µ¡¤ÎÊý¸þ
;*******ŨÃÆȯ¼Í*******
es_set TEKI_TM, TEKI_TM_x,TEKI_TM_y,65 ;¥¹¥×¥é¥¤¥ÈÀßÄê
es_adir TEKI_TM, TEKI_TM_ang,300 ;¥¹¥×¥é¥¤¥È°ÜÆ°Êý¸þÀßÄê
es_type TEKI_TM,32
;¥°¥ì¥¤¥º¤ò½é´ü²½¤¹¤ë¡¡¢ª¡¡¤³¤Î¤Þ¤Þ¤À¤È´û¤Ëȯ¼Í¤·¤Æ¤¤¤ëÃƤâ½é´ü²½¤µ¤ì¤ë
;²èÌÌÆâ¤ÎÃƤΥ°¥ì¥¤¥º¤À¤±¤ò¥ê¥»¥Ã¥È¤¹¤ë¤«¡¡¢ª¡¡¤½¤ì¤À¤È²¼¤Ç¤ä¤Ã¤Æ¤¤¤ë²èÌ̳°½èÍý¤Î°ÕÌ£¤¬¤¢¤Þ¤ê¤Ê¤¤
;¾¤Î¥Õ¥é¥°¤Ê¤É¤Ç¥³¥ó¥È¥í¡¼¥¹¤¹¤ë¤³¤È¤â¹Í¤¨¤¿¤±¤É¡¢´ÉÍý¤¹¤ë¤³¤È¤ò¹Í¤¨¤ë¤È¤³¤Î¤Þ¤Þ¤Î¤Û¤¦¤¬¤è¤µ¤½¤¦
/*
dup_GURE_HIT_f(0) = 0
dup_GURE_HIT_f(1) = 0
dup_GURE_HIT_f(2) = 0
dup_GURE_HIT_f(3) = 0
dup_GURE_HIT_f(4) = 0
*/
; }
}
}TEKI_no++;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
;---²èÌ̳°È½Äê---
TEKI_TM_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
repeat
es_find TEKI_TM, 32, TEKI_TM_no,214, 1
if TEKI_TM < 0 : break
es_get TEKI_TM_x,TEKI_TM,3 ;ŨÃÆ£Ø
es_get TEKI_TM_y,TEKI_TM,5 ;ŨÃÆ£Ù
if (TEKI_TM_x < -15) or (TEKI_TM_y < -45) or (TEKI_TM_x > 444) or (TEKI_TM_y > 493) {
TEKI_DID = TAMA_NO_DID(TEKI_TM) ;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
dup_TEKI_TM_f(TEKI_DID) = 0 ;ŨÃƥե饰¡Ú½é´ü²½¡Û
es_kill TEKI_TM ;ŨÃÆ¡Úºï½ü¡Û
dup_GURE_HIT_f(cnt) = 1 ;ŨÃÆ¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡ÚΩ¤Æ¤ë¡Û
}TEKI_TM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
return
;*************¥°¥ì¥¤¥º****************
*¥°¥ì¥¤¥º
TKTM_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no = 500 ;ŨÃÆ¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_GOKEI ;Ũ¹ç·×¿ô(15)
if dup_GURE_HIT_f(cnt) = 0 { ;ŨÃÆ¥°¥ì¥¤¥º¤Ë¥Ò¥Ã¥È¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡Ú¼Â¹Ô¡Û
es_get dup_GURE_x(cnt),TKTM_no,3 ;ŨÃÆ¥°¥ì¥¤¥º£Ø
es_get dup_GURE_y(cnt),TKTM_no,5 ;ŨÃÆ¥°¥ì¥¤¥º£Ù
es_set GURE_no, dup_GURE_x(cnt)-21,dup_GURE_y(cnt)-21, 410
es_type GURE_no,128
}
TKTM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no++ ;ŨÃÆ¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
;---Åö¤¿¤êȽÄê---
GURE_no = 500 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_GOKEI ;Ũ¹ç·×¿ô(15)
es_check JK_VS_GURE ,400,128 ;400(¼«µ¡),128(¥°¥ì¥¤¥º)
if JK_VS_GURE = -1 : break ;ÀÜ¿¨¤·¤Æ¤¤¤ë¥°¥ì¥¤¥º¤¬Ìµ¤±¤ì¤Ð¥ë¡¼¥×½ªÎ»
if JK_VS_GURE = GURE_no {
es_kill JK_VS_GURE ;¥°¥ì¥¤¥º¡Úºï½ü¡Û
dup_GURE_HIT_f(cnt) = 1 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡ÚΩ¤Æ¤ë¡Û
GURE_HIT++ ;¥°¥ì¥¤¥º¤Ë¤¢¤¿¤Ã¤¿²ó¿ô
}GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
return
| |
|
2020/1/31(Fri) 17:15:17|NO.89380
¤¹¤Ç¤Ë²ò·èºÑ¤ß¤Î¤è¤¦¤Ç¤¹¤¬¡¢¾¯¡¹¼ê¤ò²Ã¤¨¤µ¤»¤Æ¤¤¤¿¤À¤¤Þ¤·¤¿¡£
#include "hspdxfix.as" ;DX¥é¥¤¥Ö¥é¥ê»ÈÍÑ
width ,,130,200 ;¥¦¥£¥ó¥É¥¦¤Î°ÌÃÖ
es_ini 640,512,360 ;¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô¡¢¥¥ã¥é¥¯¥¿ÄêµÁ¤ÎºÇÂç¿ô,¼þ¤ÎÀºÅÙ(180*2)
es_screen 640,480 ,0,0,1,1 ;¥¹¥¯¥ê¡¼¥ó
es_window -13,-43, 640,480 ;¥¹¥×¥é¥¤¥Èɽ¼¨¥¨¥ê¥¢ÀßÄê
es_area -18,-48, 447,496 ;¥¹¥×¥é¥¤¥È͸ú¥¨¥ê¥¢ÀßÄê
;---¥°¥ì¥¤¥º---
es_size 59,59, 50
es_pat 410, 265,390
;---¼«µ¡---
es_size 28,42, 100
es_pat 400, 0,0
JIKI_x = 206 : JIKI_y = 390 ;ºÂɸ
JIKISpd = 4 ;¥¹¥Ô¡¼¥É
TE_x = 206+10 : TE_y = 390+16 ;Äã®°ÌÃÖ
;---Äã®---
es_size 9,9, 50
es_pat 195, 46,43
es_type 195,2
;---Ũ---
es_size 18,19, 50
es_pat 60, 0,0
;---ŨÃÆ---
es_size 17,17, 50
es_pat 65, 70,0
;Ïȳ°
;--¾å--
es_size 382,3
es_pat 50, 0,0
es_set 50, 31,12, 50
;--º¸--
es_size 3,447
es_pat 51, 0,0
es_set 51, 31,12, 51
;--²¼--
es_size 382,3
es_pat 52, 0,0
es_set 52, 31,459, 52
;--±¦--
es_size 3,447
es_pat 53, 0,0
es_set 53, 410,12, 53
;Ũ
TEKI_MAX = 5 ;Ũ¤ÎºÇÂç¿ô
TEKI_Gmax = 3 ;¥°¥ë¡¼¥×¿ô
TEKI_GOKEI = TEKI_MAX * TEKI_Gmax ;Ũ¹ç·×¿ô
dim TEKI_f,TEKI_MAX,TEKI_Gmax ;¥Õ¥é¥°
dim TEKI_x,TEKI_MAX,TEKI_Gmax ;£Ø
dim TEKI_y,TEKI_MAX,TEKI_Gmax ;£Ù
dim TEKI_NO_GID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹ÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
dim TEKI_NO_DID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
;ŨÃÆ
dim TEKI_TM_f,TEKI_MAX,TEKI_Gmax;¥Õ¥é¥°
dim NOMARU_TAMA,TEKI_GOKEI ;ÃƽФ¹¥Õ¥é¥°
;ŨÃÆ¥°¥ì¥¤¥º
dim GURE_HIT_f,TEKI_MAX,TEKI_Gmax ;ŨÃÆ¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°
dim GURE_x,TEKI_MAX,TEKI_Gmax
dim GURE_y,TEKI_MAX,TEKI_Gmax
;°ì¼¡¸µÇÛÎó¤Ë¤¹¤ë---
dup dup_GURE_HIT_f, GURE_HIT_f ;¥Ò¥Ã¥È¥Õ¥é¥°
dup dup_GURE_x, GURE_x ;£Ø
dup dup_GURE_y, GURE_y ;£Ù
;Äɲà ³Æ¼ïÄê¿ô ¤¤¤¯¤Ä¤«¤Ï#define¤ä#const¤Ç¤â²Ä
SP_JIKI = 400 // ¼«µ¡¥¹¥×¥é¥¤¥Èâ
SP_TEKI = 80 // Ũ¥¹¥×¥é¥¤¥È³«»Ïâ
SP_TEKI_TM = 200 // ŨÃÆ¥¹¥×¥é¥¤¥È³«»Ïâ
SP_GURE = 500 // ¥°¥ì¥¤¥º¥¹¥×¥é¥¤¥È³«»Ïâ
SP_TEKI_E = SP_TEKI + TEKI_GOKEI - 1 // Ũ¥¹¥×¥é¥¤¥È½ªÎ»â
SP_TEKI_TM_E = SP_TEKI_TM + TEKI_GOKEI - 1 // ŨÃÆ¥¹¥×¥é¥¤¥È½ªÎ»â
SP_GURE_E = SP_GURE + TEKI_GOKEI - 1 // ¥°¥ì¥¤¥º¥¹¥×¥é¥¤¥È½ªÎ»â¡Ê̤»ÈÍÑ¡Ë
SA_GURE_TM = SP_GURE - SP_TEKI_TM // ¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥Èâ¤ÈŨÃƤΥ¹¥×¥é¥¤¥Èâ¤Îº¹
;¢§¢§¢§¢§¢§¢§¢§Å¨ÇÛÎ󢧢§¢§¢§¢§¢§¢§
;¥°¥ë¡¼¥×1 ±¦¾å
TEKI_x(0,0) = 390,390,390,390,390
TEKI_y(0,0) = 200,160,120,80,40
;¥°¥ë¡¼¥×2 º¸¾å
TEKI_x(0,1) = 50,50,50,50,50
TEKI_y(0,1) = 200,160,120,80,40
;¥°¥ë¡¼¥×3 ¿¿¤óÃæ
TEKI_x(0,2) = 190,210,230,250,270
TEKI_y(0,2) = 250,210,170,130,90
;¢£¢£¢£Å¨ÇÛÃÖ¢£¢£¢£
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(3)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
es_exnew TEKI ,SP_TEKI,SP_TEKI_E ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
es_set TEKI, TEKI_x(cnt,TEK_G),TEKI_y(cnt,TEK_G), 60 ;¥¹¥×¥é¥¤¥ÈNo, X,YºÂɸ ,¥¥ã¥éNo
es_type TEKI,8192
;ŨÃƽФ·Ê¬¤±¤¹¤ë¤¿¤á¤Î½èÍý
TEKI_NO_GID(TEKI) = TEK_G ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
TEKI_DID = TEK_G * TEKI_MAX + cnt ;¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹(°ì¼¡¸µÇÛÎó¤È¤·¤¿¾ì¹ç¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹)
TEKI_NO_DID(TEKI) = TEKI_DID ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
loop
loop
;************¥á¥¤¥ó¥ë¡¼¥×***************
*¥á¥¤¥ó
es_cls ;²èÌÌ¥¯¥ê¥¢
es_draw ;¥¹¥×¥é¥¤¥ÈÉÁ²è
;************¥«¥¦¥ó¥¿¡¼******************
pos 430,20 : es_mes "TEKI_DID " + TEKI_DID
pos 430,50 : es_mes "GURE_HIT_f(0,0) " + GURE_HIT_f(0,0)
pos 430,70 : es_mes "GURE_HIT_f(1,0) " + GURE_HIT_f(1,0)
pos 430,90 : es_mes "GURE_HIT_f(2,0) " + GURE_HIT_f(2,0)
pos 430,110 : es_mes "GURE_HIT_f(3,0) " + GURE_HIT_f(3,0)
pos 430,130 : es_mes "GURE_HIT_f(4,0) " + GURE_HIT_f(4,0)
pos 430,160 : es_mes "GURE_HIT_f(0,1) " + GURE_HIT_f(0,1)
pos 430,180 : es_mes "GURE_HIT_f(1,1) " + GURE_HIT_f(1,1)
pos 430,200 : es_mes "GURE_HIT_f(2,1) " + GURE_HIT_f(2,1)
pos 430,220 : es_mes "GURE_HIT_f(3,1) " + GURE_HIT_f(3,1)
pos 430,240 : es_mes "GURE_HIT_f(4,1) " + GURE_HIT_f(4,1)
pos 430,270 : es_mes "GURE_HIT_f(0,1) " + GURE_HIT_f(0,2)
pos 430,290 : es_mes "GURE_HIT_f(1,1) " + GURE_HIT_f(1,2)
pos 430,310 : es_mes "GURE_HIT_f(2,1) " + GURE_HIT_f(2,2)
pos 430,330 : es_mes "GURE_HIT_f(3,1) " + GURE_HIT_f(3,2)
pos 430,350 : es_mes "GURE_HIT_f(4,1) " + GURE_HIT_f(4,2)
pos 430,380 : es_mes "GURE_HIT " + GURE_HIT
;**************************************
;¼«µ¡
es_set SP_JIKI, JIKI_x,JIKI_y, 400
;Äã®°ÜÆ°
TE_x = JIKI_x+10 : TE_y = JIKI_y+16
es_set 195, TE_x,TE_y, 195
gosub *¼«µ¡¤Î°ÜÆ°
gosub *ŨÃÆ°ÜÆ°
gosub *¥°¥ì¥¤¥º
es_sync ;²èÌ̹¹¿·
await 16
goto *¥á¥¤¥ó
;**************¼«µ¡¤Î°ÜÆ°*************
*¼«µ¡¤Î°ÜÆ°
stick key,15 ;¥¡¼¼èÆÀ
if key & 1 : JIKI_x = JIKI_x - JIKISpd ;¢«¤Î°ÜÆ°
if key & 2 : JIKI_y = JIKI_y - JIKISpd ;¢¬¤Î°ÜÆ°
if key & 4 : JIKI_x = JIKI_x + JIKISpd ;¢ª¤Î°ÜÆ°
if key & 8 : JIKI_y = JIKI_y + JIKISpd ;¢¤Î°ÜÆ°
return
;*************ŨÃÆ°ÜÆ°****************
*ŨÃÆ°ÜÆ°
if NOMARU_f = 0 : NOMARU_TAMA = 0,0,1 ;ÇÛÎó¤ÇÃƤò¥³¥ó¥È¥í¡¼¥ë
TEKI_no = SP_TEKI ;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
dup dup_TEKI_TM_f,TEKI_TM_f ;¿¼¡¸µÇÛÎó¤ò°ì¼¡¸µÇÛÎó¤È¤·¤Æ»ÈÍÑ
repeat
es_find TEKI, 8192, TEKI_no,SP_TEKI_E, 1 ;typeÃÍ, ³«»Ï¤¹¤ë¥¹¥×¥é¥¤¥È,½ªÎ»¤¹¤ë¥¹¥×¥é¥¤¥È, Áýʬ
if TEKI < 0 : break
TEK_G = TEKI_NO_GID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if NOMARU_TAMA(TEK_G) = 1 { ;¥³¥ó¥È¥í¡¼¥ë¤·¤¿ÃƤÀ¤±¤ò½Ð¤¹
TEKI_DID = TEKI_NO_DID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if dup_TEKI_TM_f(TEKI_DID) = 0 {
es_exnew TEKI_TM ,SP_TEKI_TM,SP_TEKI_TM_E ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
; if TEKI_TM > 0 { ;Êݸ±
dup_TEKI_TM_f(TEKI_DID) = 1 ;°ì¼¡¸µÇÛÎó¤Ë¤·¤Æ¤ë¤Î¤ÇŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¤ò¥¡¼¤Ë¥Õ¥é¥°ÀßÄê
TAMA_NO_DID(TEKI_TM) = TEKI_DID;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ(¤³¤ì¤ÇÃƤÈŨ¥Ç¡¼¥¿¤È¤ÎɳÉÕ)
es_get TEKI_TM_x,TEKI,3 ;Ũ£Ø
es_get TEKI_TM_y,TEKI,5 ;Ũ£Ù
es_ang TEKI_TM_x,TEKI_TM_y,TE_x-4,TE_y-4;³ÑÅÙ¼èÆÀ
TEKI_TM_ang = stat ;¼«µ¡¤ÎÊý¸þ
;*******ŨÃÆȯ¼Í*******
es_set TEKI_TM, TEKI_TM_x,TEKI_TM_y,65 ;¥¹¥×¥é¥¤¥ÈÀßÄê
es_adir TEKI_TM, TEKI_TM_ang,300 ;¥¹¥×¥é¥¤¥È°ÜÆ°Êý¸þÀßÄê
es_type TEKI_TM,32
;¥°¥ì¥¤¥º¤ò½é´ü²½¤¹¤ë¡¡¢ª¡¡¤³¤Î¤Þ¤Þ¤À¤È´û¤Ëȯ¼Í¤·¤Æ¤¤¤ëÃƤâ½é´ü²½¤µ¤ì¤ë
;²èÌÌÆâ¤ÎÃƤΥ°¥ì¥¤¥º¤À¤±¤ò¥ê¥»¥Ã¥È¤¹¤ë¤«¡¡¢ª¡¡¤½¤ì¤À¤È²¼¤Ç¤ä¤Ã¤Æ¤¤¤ë²èÌ̳°½èÍý¤Î°ÕÌ£¤¬¤¢¤Þ¤ê¤Ê¤¤
;¾¤Î¥Õ¥é¥°¤Ê¤É¤Ç¥³¥ó¥È¥í¡¼¥¹¤¹¤ë¤³¤È¤â¹Í¤¨¤¿¤±¤É¡¢´ÉÍý¤¹¤ë¤³¤È¤ò¹Í¤¨¤ë¤È¤³¤Î¤Þ¤Þ¤Î¤Û¤¦¤¬¤è¤µ¤½¤¦
/*
dup_GURE_HIT_f(0) = 0
dup_GURE_HIT_f(1) = 0
dup_GURE_HIT_f(2) = 0
dup_GURE_HIT_f(3) = 0
dup_GURE_HIT_f(4) = 0
*/
dup_GURE_HIT_f(TEKI_TM-SP_TEKI_TM) = 0 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡Ú¥ê¥»¥Ã¥È¡Û ÄɲÃ
; }
}
}TEKI_no++;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
;---²èÌ̳°È½Äê---
TEKI_TM_no = SP_TEKI_TM ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
repeat
es_find TEKI_TM, 32, TEKI_TM_no, TEKI_TM_no + TEKI_GOKEI - 1, 1
if TEKI_TM < 0 : break
es_get TEKI_TM_x,TEKI_TM,3 ;ŨÃÆ£Ø
es_get TEKI_TM_y,TEKI_TM,5 ;ŨÃÆ£Ù
if (TEKI_TM_x < -15) or (TEKI_TM_y < -45) or (TEKI_TM_x > 444) or (TEKI_TM_y > 493) {
TEKI_DID = TAMA_NO_DID(TEKI_TM) ;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
dup_TEKI_TM_f(TEKI_DID) = 0 ;ŨÃƥե饰¡Ú½é´ü²½¡Û
es_kill TEKI_TM ;ŨÃÆ¡Úºï½ü¡Û
dup_GURE_HIT_f(cnt) = 1 ;ŨÃÆ¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡ÚΩ¤Æ¤ë¡Û
es_kill TEKI_TM + SA_GURE_TM // Ç°¤Î¤¿¤á¥°¥ì¥¤¥º¤âºï½ü ÄɲÃ
}TEKI_TM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
return
;*************¥°¥ì¥¤¥º****************
*¥°¥ì¥¤¥º
TKTM_no = SP_TEKI_TM ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no = SP_GURE ;ŨÃÆ¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_GOKEI ;Ũ¹ç·×¿ô(15)
if dup_GURE_HIT_f(cnt) = 0 { ;ŨÃÆ¥°¥ì¥¤¥º¤Ë¥Ò¥Ã¥È¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡Ú¼Â¹Ô¡Û
es_get dup_GURE_x(cnt),TKTM_no,3 ;ŨÃÆ¥°¥ì¥¤¥º£Ø
es_get dup_GURE_y(cnt),TKTM_no,5 ;ŨÃÆ¥°¥ì¥¤¥º£Ù
es_set GURE_no, dup_GURE_x(cnt)-21,dup_GURE_y(cnt)-21, 410
es_type GURE_no,128
}
TKTM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no++ ;ŨÃÆ¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
;---Åö¤¿¤êȽÄê---
GURE_no = SP_GURE ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_GOKEI ;Ũ¹ç·×¿ô(15)
es_check JK_VS_GURE ,SP_JIKI,128 ;400(¼«µ¡),128(¥°¥ì¥¤¥º)
if JK_VS_GURE = -1 : break ;ÀÜ¿¨¤·¤Æ¤¤¤ë¥°¥ì¥¤¥º¤¬Ìµ¤±¤ì¤Ð¥ë¡¼¥×½ªÎ»
if JK_VS_GURE = GURE_no {
es_kill JK_VS_GURE ;¥°¥ì¥¤¥º¡Úºï½ü¡Û
dup_GURE_HIT_f(cnt) = 1 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡ÚΩ¤Æ¤ë¡Û
GURE_HIT++ ;¥°¥ì¥¤¥º¤Ë¤¢¤¿¤Ã¤¿²ó¿ô
}GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
return
Á°¡¹¤«¤é¤Á¤ç¤Ã¤Èµ¤¤Ë¤Ê¤Ã¤Æ¤¤¤¿¤Î¤Ç¡¢
¥¹¥×¥é¥¤¥ÈÈÖ¹æ¤ËľÀÜ¿ôÃͤòÆþ¤ì¤Æ¤¤¤ë²Õ½ê¤ò
Äê¿ôŪ¤ÊÊÑ¿ô¤Ë¤¹¤ë¤³¤È¤Ç¸å¤ÇÊѹ¹¤·¤ä¤¹¤¯¤·¤Æ¤ß¤Þ¤·¤¿¡£
;°ì¼¡¸µÇÛÎó¤Ë¤¹¤ë---
dup dup_GURE_HIT_f, GURE_HIT_f ;¥Ò¥Ã¥È¥Õ¥é¥°
dup dup_GURE_x, GURE_x ;£Ø
dup dup_GURE_y, GURE_y ;£Ù
;Äɲà ³Æ¼ïÄê¿ô ¤¤¤¯¤Ä¤«¤Ï#define¤ä#const¤Ç¤â²Ä
SP_JIKI = 400 // ¼«µ¡¥¹¥×¥é¥¤¥Èâ
SP_TEKI = 80 // Ũ¥¹¥×¥é¥¤¥È³«»Ïâ
SP_TEKI_TM = 200 // ŨÃÆ¥¹¥×¥é¥¤¥È³«»Ïâ
SP_GURE = 500 // ¥°¥ì¥¤¥º¥¹¥×¥é¥¤¥È³«»Ïâ
SP_TEKI_E = SP_TEKI + TEKI_GOKEI - 1 // Ũ¥¹¥×¥é¥¤¥È½ªÎ»â
SP_TEKI_TM_E = SP_TEKI_TM + TEKI_GOKEI - 1 // ŨÃÆ¥¹¥×¥é¥¤¥È½ªÎ»â
SP_GURE_E = SP_GURE + TEKI_GOKEI - 1 // ¥°¥ì¥¤¥º¥¹¥×¥é¥¤¥È½ªÎ»â¡Ê̤»ÈÍÑ¡Ë
SA_GURE_TM = SP_GURE - SP_TEKI_TM // ¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥Èâ¤ÈŨÃƤΥ¹¥×¥é¥¤¥Èâ¤Îº¹
Î㤨¤Ð
>es_exnew TEKI_TM ,200,214 ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
>TKTM_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
>GURE_no = 500 ;ŨÃÆ¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
¤³¤¦¤¤¤Ã¤¿½ñ¤Êý¤ò¤·¤Æ¤¤¤¿²Õ½ê¤ò
es_exnew TEKI_TM ,SP_TEKI_TM,SP_TEKI_TM_E ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
TKTM_no = SP_TEKI_TM ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no = SP_GURE ;ŨÃÆ¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
¤³¤Î¤è¤¦¤ËÊѹ¹¤µ¤»¤Æ¤¤¤¿¤À¤¤Þ¤·¤¿¡£
¤½¤·¤Æ¡¢Äê¿ô¤òÍøÍѤ¹¤ë¤³¤È¤Ç¥°¥ì¥¤¥º¤Î¥ê¥»¥Ã¥È¤äºï½ü¤âÄɲ䷤Ƥߤޤ·¤¿¡£
dup_GURE_HIT_f(TEKI_TM-SP_TEKI_TM) = 0 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡Ú¥ê¥»¥Ã¥È¡Û ÄɲÃ
es_kill TEKI_TM + SA_GURE_TM // Ç°¤Î¤¿¤á¥°¥ì¥¤¥º¤âºï½ü ÄɲÃ
°Ê¾å¤Ç¤¹
¤³¤Î¤è¤¦¤Ê·Á¤Ç¤Ï¤¤¤«¤¬¤Ç¤·¤ç¤¦¤«¡£
| |
|
2020/1/31(Fri) 20:49:36|NO.89381
¡ä¤À¤¤¤ÖÃÙ¤¯¤Ê¤ê¤Þ¤·¤¿¡£
¡ä¤Á¤ç¤¦¤ÉÍÑ»ö¤«½Å¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤¿¤Î¤ÇÃ桹¥²¡¼¥àÀ©ºî¤ò¤¹¤ë»þ´Ö¤¬¤È¤ì¤Þ¤»¤ó¤Ç¤·¤¿(¡Ž¥¦ØŽ¥`)
¥²¡¼¥àÀ©ºî¤ªÈè¤ìÍͤǤ¹(^^
»ä¤âÀΡ¢ÅìÊýProject¤Ë¶½Ì£¤¬¤¢¤Ã¤¿¤Î¤Çºî¤Ã¤Æ¤ß¤¿¤¤¤Ê¡¼¤È
¹Í¤¨¤¿¤³¤È¤¬¤¢¤Ã¤¿¤Î¤Ç¤¹¤¬
¤¢¤Î¤¹¤´¤¤ÃÆËë¤Ç¤â½èÍýÍî¤Á¤ò¤¢¤Þ¤ê¤·¤Ê¤¤¤è¤¦¤Ëºî¤ë¤Î¤Ï
ÂçÊѤÀ¤í¤¦¤ÈȽÃǤ·¤ÆÃÇÇ°¤·¤Æ¤¤¤Þ¤·¤¿¡£
¤¬¡¢ºÇ¶á¤Ï²Á³Ê¤Î°Â¤¤¥Ñ¥½¥³¥ó¤Ç¤â¤«¤Ê¤ê½èÍýǽÎϤâ
¾å¤¬¤Ã¤Æ¤¤Æ¤¤¤ë¤Î¤Çºî¤ì¤ë¤«¤â¡¡¤È¤Ä¤¤»×¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹(^^;
ÅöÁ³¡¢¤½¤ó¤Ê¤Ë´Êñ¤Ëºî¤ì¤ë¤È¤Ï»×¤Ã¤Æ¤¤¤Þ¤»¤ó¤¬¡¦¡¦¡¦
¤È¤³¤í¤Ç¡¢Í¾·×¤Ê¤ªÀ¤Ï䫤⤷¤ì¤Þ¤»¤ó¤¬
¥¢¥¤¥É¥ëÍͤÏhspdxfix¤ò»È¤Ã¤Æ¤ª¤é¤ì¤Þ¤¹¤¬
¾¤Î¥×¥é¥°¥¤¥ó¤â¸¡Æ¤¤Ê¤µ¤Ã¤¿¤Î¤Ç¤·¤ç¤¦¤«(^^
ÅìÊý¹ÈË⶿°Ê¹ß¤Î¤è¤¦¤Ê¥²¡¼¥à¤À¤È¾ÍèŪ¤Ë²Ù¤¬½Å¤¤¤è¤¦¤Ë¤â»×¤¦¤Î¤Ç¤¹
¤¢¤¯¤Þ¤Ç¸Ä¿ÍŪ¤Ê°Õ¸«¤Ç¤¹¤¬hgimg3¤È¤«¤â¸¡Æ¤¤·¤Æ¤ß¤Æ¤Ï¤É¤¦¤Ç¤·¤ç¤¦¤«¡¼¡¦¡¦
¤¸¤ã¡¼ºî¤Ã¤Æ¤¯¤ì¤È¸À¤ï¤ì¤Æ¤â¤Ä¤é¤¤¤È¤³¤í¤Ç¤Ï¤¢¤ê¤Þ¤¹¤¬¡¦¡¦¡¦¡Ê¡°¡°
|
|
2020/2/1(Sat) 08:36:25|NO.89383
k¤µ¤ó¡¢¤ªÊÖ»ö¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
HSP¤ÇÅìÊýProjectºî¤Ã¤Æ¤¤¤ë¿Í¤¬¤¤¤Ê¤«¤Ã¤¿¤Î¤Ç¡¢¼«Ê¬¤Çºî¤Ã¤Æ¤ß¤è¤¦¤Ã¤Æ»×¤Ã¤Æ¤ä¤Ã¤Æ¤Þ¤¹¤Í¡£
ÃÆËë¤òºÆ¸½¤¹¤ë¤Î¤âÆñ¤·¤¤¤±¤É¡¢Æñ¤·¤¤ÃÆËë¤ò¼«Ê¬¤¬Èò¤±¤Ê¤¤¤È¤¤¤±¤Ê¤¤¤Ã¤Æ¤¤¤¦¤È¤³¤í¤âÆñ¤·¤¤¤Ç¤¹¡£
¤Ã¤Æ¤¤¤¦¤Î¤âÀ½ºî¼Ô¤¬Èò¤±¤¿¤³¤È¤¬¤Ê¤¤¡Ê¥Î¡¼¥ß¥¹¡ËÃÆË뤬¤¢¤ë¤È¡¢¥æ¡¼¥¶¡¼¤«¤é¥Ø¥¤¥È¤òÇ㤤¤Þ¤¹¤«¤é¤Í¡Ê£±¸Ä¤°¤é¤¤¤Ê¤é¤¤¤¤¤«¤â¤À¤±¤É¡Ë
¼«Ê¬¤ÎPC¤¬£³D¥ª¥ó¥é¥¤¥ó¤Ç¤âÆ°¤¯¥Ï¥¤¥¹¥Ú¥Ã¥¯¤À¤Ã¤¿¤»¤¤¤Ç¡¢´ð½àÌ¿Îá¤Ç¤â¥¹¥à¡¼¥º¤Ë¤¦¤´¤¤¤Æ¤Þ¤·¤¿¤¬¡¢
ÉáÄ̤Υ¹¥Ú¥Ã¥¯PC¤À¤È½èÍý¤¬½Å¤«¤Ã¤¿¤Î¤Ç¥¹¥×¥é¥¤¥È¤Ç½¤Àµ¤·¤Æ¤¤¤Þ¤¹¡£
¾¤Î¥×¥é¥°¥¤¥ó¤ò¸¡Æ¤¤·¤¿¤³¤È¤¬¤Ê¤«¤Ã¤¿¤Î¤Ç¡¢¡Öhgimg3¡×¤¬»È¤¨¤ë¤«¤â¡©¤Ã¤Æ¤¤¤¦¾ðÊó¤À¤±¤Ç¤â¤¢¤ê¤¬¤¿¤¤¤Ç¤¹¡ª
|
|
2020/2/1(Sat) 18:01:34|NO.89384
¤¢¤é¤ä¤µ¤ó¡¢ºÆÅÙ¤ªÊÖ»ö¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹
>>¥¹¥×¥é¥¤¥ÈÈÖ¹æ¤ËľÀÜ¿ôÃͤòÆþ¤ì¤Æ¤¤¤ë²Õ½ê¤ò
>>Äê¿ôŪ¤ÊÊÑ¿ô¤Ë¤¹¤ë¤³¤È¤Ç¸å¤ÇÊѹ¹¤·¤ä¤¹¤¯¤·¤Æ¤ß¤Þ¤·¤¿¡£
·è¤Þ¤Ã¤Æ¤¤¤ë¿ôÃͤòÊÑ¿ô̾¤Ë¤¹¤ë¤È²¿¤¬¤Ê¤ó¤À¤«¤ï¤«¤é¤Ê¤¯¤Ê¤ë¤¿¤á¡¢º£Ãʳ¬¤Ç¤Ï¤ä¤é¤Ê¤¤¤è¤¦¤Ë¤·¤Æ¤Þ¤·¤¿¡£
¡Ê¤½¤â¤½¤â°ì¼¡¸µ²½¤¹¤ë½èÍý¤Ç¼ê´Ö¼è¤Ã¤Æ¤¤¤ë¤Î¤Ë¡¢Í¾·×¤Ë¤ï¤«¤ê¤Ë¤¯¤¤¤È´¶¤¸¤ëÍ×ÁǤÏÆþ¤ì¤¿¤¯¤Ê¤«¤Ã¤¿¡Ë
¤Á¤ç¤Ã¤È¥½¡¼¥¹¤Î²òÀϤ˻þ´Ö¤«¤«¤ê¤½¤¦¤Ê¤Î¤ÇÀè¤Ë¤ªÊÖ»ö¤À¤±¤·¤Æ¤ª¤¤Þ¤¹¡ä¡ã
|
|
2020/2/2(Sun) 00:04:25|NO.89395
hspdxfix¤ÏDirectX7À¤Âå¤Î¸Å¤¤¥×¥é¥°¥¤¥ó¤À¤«¤é
¤¹¤Ç¤Ë´Ä¶¤Ë¤è¤Ã¤Æ¤Ï¤Á¤ã¤ó¤ÈÆ°¤«¤Ê¤¤¤Ç¤¹¤·¡¢
ÃÙ¤¯¤Ê¤¤¾Íè¡¢¥µ¥Ý¡¼¥È¤¬¤µ¤ì¤Ê¤¯¤Ê¤ë²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹¡£
¼«Ê¬¤ÏºÇ¶á¡¢hspdxfix¤ÇÆ°¤«¤·¤Æ¤¤¤¿¥²¡¼¥à¤òɸ½àÌ¿Îá¤Ç½ñ¤Ä¾¤·¤Þ¤·¤¿¡£
2D¤·¤«»È¤Ã¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢¥°¥é¥Ü¤òÀѤó¤Ç¤¤¤Ê¤¤¥Î¡¼¥ÈPC¤Ç¤â;͵¤ÇÆ°¤¤¤Æ¤¤¤Þ¤¹¡£
https://www.freem.ne.jp/win/game/21910
|
|
2020/2/2(Sun) 14:01:58|NO.89400
¤¢¤é¤ä¤µ¤ó¡¢²þ¤á¤Æ¤ªÊÖ»ö¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
>>dup_GURE_HIT_f(TEKI_TM-200) = 0 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡Ú¥ê¥»¥Ã¥È¡Û
¤³¤ó¤Ê´¶¤¸¤Ç¥ê¥»¥Ã¥È¤·¤è¤¦¤È¤·¤Æºî¤Ã¤Æ¤¦¤Þ¤¯¤¤¤«¤Ê¤«¤Ã¤¿¤Ç¤¹¤¬¡Ö-200¡×¤À¤Ã¤¿¤«¡¼¡£
ÃƤÎÈÖ¹æ¤òÄ´¤Ù¤ì¤Ð¤è¤«¤Ã¤¿¤ó¤Ç¤¹¤Í¡ä¡ã
¥°¥ì¥¤¥º¤âºï½ü¤·¤¿¤Û¤¦¤¬¤è¤«¤Ã¤¿¤Ç¤¹¤Í¡£
¿§¡¹¤Èµ¤¤ò»È¤Ã¤Æ¤â¤é¤¨¤Æ¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
ZAP¤µ¤ó¡¢¤ªÊÖ»ö¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
>>hspdxfix¤ÏDirectX7À¤Âå¤Î¸Å¤¤¥×¥é¥°¥¤¥ó¤À¤«¤é
¤½¤ó¤Êµ¤ÇÛ¤¬¤¢¤ê¤Þ¤·¤¿¤¬¤ä¤Ï¤ê¡¦¡¦¡¦
´ð½àÌ¿Îá¤Ç¤¢¤½¤³¤Þ¤Ç¤ª¤½¤«¤Ã¤¿¤«¤é¤Ê¤¡¡£¼«ÎϤǷÚÎ̲½¤Ç¤¤ëµ¤¤¬¤·¤Ê¤¤¤«¤Ê¡¼
|
|
2020/2/3(Mon) 00:02:50|NO.89407
>¾¤Î¥×¥é¥°¥¤¥ó¤ò¸¡Æ¤¤·¤¿¤³¤È¤¬¤Ê¤«¤Ã¤¿¤Î¤Ç¡¢
>¡Öhgimg3¡×¤¬»È¤¨¤ë¤«¤â¡©¤Ã¤Æ¤¤¤¦¾ðÊó¤À¤±¤Ç¤â¤¢¤ê¤¬¤¿¤¤¤Ç¤¹¡ª
¤Á¤ç¤Ã¤È¥µ¥ó¥×¥ë¤Ã¤Ý¤¤¤Î¤òºî¤Ã¤Æ¤ß¤Þ¤·¤¿
»ä¤ÎPC¡ÊÂèÆóÀ¤Âåi5¤Î¥Î¡¼¥È ¥á¥â¥ê4G¡Ë¤Ç¤Ï
¥°¥ì¥¤¥º¤òÈóɽ¼¨¤Ë¤·¤Æ¤ä¤Ã¤ÈÉé²Ù£°
(½èÍý¤Ë¤«¤«¤Ã¤¿¥ß¥êÉÃñ°Ì¤Î»þ´Ö)¤Ã¤Æ´¶¤¸¤Ç¤¹
objÈÖ¹æ¤Ï¿·µ¬objÈÖ¹æ¤Ê¤Î¤ÇÂçÂΤÎobj¿ô¤¬¤ï¤«¤ê¤Þ¤¹
£³£µ£°£°¸Ä¤°¤é¤¤¤«¤Ê
repeat 10 ¤ò 20 ¤Ë¤¹¤ë¤Èobj¤¬£·£°£°£°¸Ä¤°¤é¤¤¤Ë¤Ê¤ê¤Þ¤·¤¿(^^;
Èóɽ¼¨¤Ç¤âÉé²Ù¤¬£µ¡¢£¶£°¤Ï¤¤¤¤Þ¤¹(^^;
ÅìÊý¤Ï¤¤¤¯¤Ä¤°¤é¤¤obj¤ò»È¤Ã¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦¤Í¡¼
#include "hgimg3.as"
; ¥°¥ì¥¤¥ºÈ½Äê¤Î¥µ¥ó¥×¥ë
; (¥«¡¼¥½¥ë¥¡¼¤Ç°ÜÆ°¡¢¥¹¥Ú¡¼¥¹¤Çȯ¼Í)
; (¥¨¥ó¥¿¡¼¤Ç¥°¥ì¥¤¥ºÉ½¼¨¡¢Èóɽ¼¨)
screen 0,960,640,0
cls 4
hgsetreq SYSREQ_MAXOBJ,10000
hgini
texload2 dir_exe+"/hsptv/tamadot.png" ; ¥Æ¥¯¥¹¥Á¥ã¤ÎÅÐÏ¿
texid=stat
addspr enemy_model,1,0,0,63,63,texid ; Ũ¥¥ã¥éÀßÄê
regobj enemy_obj,enemy_model,OBJ_LATE
addpos enemy_obj, 0, -100
addspr my_model,1,0,128,63,191,texid ; ¼«¥¥ã¥éÀßÄê
regobj my_obj,my_model,OBJ_LATE
addpos my_obj, 0, 100
setcoli my_obj,1,2
addspr sword_model,1,256+128,256+64,256+191,256+127,texid; ·õ¥¥ã¥éÀßÄê
graze_on=1
clscolor 128 ; ÇØ·Ê¿§¤ÎÀßÄê
setborder 960.0f, 640.0f, 200.0f ; ¥¯¥ê¥Ã¥×ÈÏ°Ï
texmake 160,128
mest = stat
font "£Í£Ó ¥´¥·¥Ã¥¯",22
color 255,255,255
gmode 2,160,128
*main
texcls mest,0
texmes "Éé²Ù¡¡"+lag+"\nobjÈֹ桡"+sword_obj+"\n¥°¥ì¥¤¥º "+graze,mest,0,0
hgdraw ; ÉÁ²è½èÍý
pos 320,240
hgrotate mest,0,0,0.0
hgsync 16 ; »þ´ÖÂÔ¤Á
lag=stat
stick k,31
if k&128 : goto *owari
if k&1 : addpos my_obj, -4, 0
if k&4 : addpos my_obj, 4, 0
if k&2 : addpos my_obj, 0, -4
if k&8 : addpos my_obj, 0, 4
if k&32 : graze_on=-graze_on
if k&16 {
repeat 10
; ¥°¥ì¥¤¥ºÈ¯¼Í
if graze_on=1 { regobj sword_obj,sword_model,OBJ_MOVE|OBJ_BORDER }
else { regobj sword_obj,sword_model,OBJ_MOVE|OBJ_BORDER|OBJ_HIDE }
setcoli sword_obj,2,1
setscale sword_obj,1.0,1.0
ang=0.001*rnd(6282)
setang sword_obj,0,0,3.14*3/4-ang
getpos enemy_obj,x,y,z
setpos sword_obj,x+sin(ang)*50.0,y+cos(ang)*50.0,z
setdir sword_obj, sin(ang)*2.0 , cos(ang)*2.0,0
;·õȯ¼Í
regobj sword_obj,sword_model,OBJ_MOVE|OBJ_BORDER
setcoli sword_obj,4,1
setscale sword_obj,0.2,0.2
setang sword_obj,0,0,3.14*3/4-ang
getpos enemy_obj,x,y,z
setpos sword_obj,x+sin(ang)*50.0,y+cos(ang)*50.0,z
setdir sword_obj, sin(ang)*2.0 , cos(ang)*2.0,0
loop
}
repeat
getcoli val,my_obj,40.0;¥°¥ì¥¤¥º¾×ÆÍȽÄê
if val!-1 : delobj val : graze+ : else : break
loop
goto *main
*owari
end
| |
|
2020/2/4(Tue) 22:52:21|NO.89417
k¤µ¤ó¥½¡¼¥¹¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
¤¹¤´¤¯¿½¤·Ìõ¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢¤Ñ¤Ã¤È¸«²¿¤ò¤·¤Æ¤¤¤ë¤Î¤«¤ï¤«¤é¤ºÊÖÅú¤¹¤ë¤Þ¤Ç¤Ë»þ´Ö¤¬¤«¤«¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£
¥¹¥Ú¡¼¥¹¥¡¼¤ò²¡¤¹¤È¤Ê¤Ë¤«¤«µ¯¤¤Æ¡¢½èÍý¤ò¸«¤ì¤ë¤Ã¤Æ´¶¤¸¤Ç¤·¤ç¤¦¤«¡£
¼Â¤ÏNO.89380¤Î¥½¡¼¥¹¤ÇÉÔ¶ñ¹ç¤¬¸«¤Ä¤«¤ê¤Þ¤·¤Æ¡¦¡¦¡¦
²èÌ̳°¤ÎȽÄê¤Ç¥°¥ì¥¤¥º¤òºï½ü¤¹¤ë½èÍý¤Ê¤ó¤Ç¤¹¤¬¡¢ºï½ü¤µ¤ì¤Æ¤¤¤Ê¤¯¤Ã¤Æ¤½¤Î¸¶°ø¤òÄ´ººÃæ¤Ç¼ê¤¬²ó¤Ã¤Æ¤¤¤Ê¤¤¤¿¤á
k¤µ¤ó¥½¡¼¥¹¤Î²òÆɤ¬¤¶¤Ã¤¯¤ê¿¨¤Ã¤¿ÄøÅÙ¤ÎÊÖÅú¤Ë¤Ê¤Ã¤Æ¤ª¤ê¤Þ¤¹¡£
¡¡¢£ÉÔ¶ñ¹çÂбþ¤Ë¤è¤ëÊѹ¹ÅÀ
¡¦¥Ç¥Ð¥Ã¥¯¤·¤ä¤¹¤¯¤¹¤ë¤¿¤á¤Ë¡¢£±Å¨£±ÃƼ¹Ԥ·¤¿¤é¼¡¤ÎÃƤòȯ¼Í¤·¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤·¤¿¡£
¡¦ºÆÅÙȯ¼Í¤µ¤»¤ë¤¿¤á¤Ë¤Ï¡Ö¥¹¥Ú¡¼¥¹¡×¤ò²¡¤»¤Ðȯ¼Í¤µ¤ì¤Þ¤¹¡£
¡¦¡Ö¥¹¥Ú¡¼¥¹¡×¤ò²¡¤·¤¿»þ¤Ë¸Â¤ê1Ũ2ÃƼ¹Ԥµ¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
¡¦¤½¤Î¾¡ÖÊѹ¹¡¢ÄɲáפϡÖ---Êѹ¹---¡×¡Ö---ÄɲÃ---¡×¤È¥³¥á¥ó¥È¤·¤Æ¤¢¤ê¤Þ¤¹
¤«¤Ê¤êĹ°ú¤¤¤¿¤Î¤È¡¢¥ì¥¹¤¬Â³¤¤¤Æ¤·¤Þ¤¤¿½¤·Ìõ¤Ê¤¤¤Ç¤¹¡¦¡¦¡¦orz
¤ª»þ´Ö¤¬¤«¤«¤ê¤½¤¦¤Ç¤¹¡£
#include "hspdxfix.as" ;DX¥é¥¤¥Ö¥é¥ê»ÈÍÑ
width ,,130,200 ;¥¦¥£¥ó¥É¥¦¤Î°ÌÃÖ
es_ini 640,512,360 ;¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô¡¢¥¥ã¥é¥¯¥¿ÄêµÁ¤ÎºÇÂç¿ô,¼þ¤ÎÀºÅÙ(180*2)
es_screen 640,480 ,0,0,1,1 ;¥¹¥¯¥ê¡¼¥ó
es_window -13,-43, 640,480 ;¥¹¥×¥é¥¤¥Èɽ¼¨¥¨¥ê¥¢ÀßÄê
;---Êѹ¹--- ¢ªÍ¸ú¥¨¥ê¥¢¤ÎÊý¤ò¿¤á¤Ë¤È¤ê¤Þ¤·¤¿---
es_area -36,-76, 449,498 ;¥¹¥×¥é¥¤¥È͸ú¥¨¥ê¥¢ÀßÄê
;YÃͤò-79¤Ë¤·¤¿¤»¤¤¤Çº¸¾å¤Ë¥°¥ì¥¤¥º¤¬¸«¤¨¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹
;ºö1¡§²èÌ̳°¤ÈȽÄꤵ¤ì¤ëÈϰϤò¾®¤µ¤¯¤¹¤ë
;ºö2¡§Å¨ÃƤ¬²èÌÌÆâ¤Ë¤¢¤ë¤È¤¤Î¤ß¡¢¥°¥ì¥¤¥º¤ò½èÍý¤¹¤ë
;¢¬¤³¤ì¤é¤Ï¡¢¥°¥ì¥¤¥º¤¬ºï½ü¤µ¤ì¤Ê¤¤ÌäÂê¤ò²ò·è¤·¤Æ¤«¤é¼è¤ê³Ý¤«¤ê¤Þ¤¹
;---¥°¥ì¥¤¥º---
es_size 59,59, 50
es_pat 410, 265,390
;---¼«µ¡---
es_size 28,42, 100
es_pat 400, 0,0
JIKI_x = 206 : JIKI_y = 390 ;ºÂɸ
JIKISpd = 4 ;¥¹¥Ô¡¼¥É
TE_x = 206+10 : TE_y = 390+16 ;Äã®°ÌÃÖ
;---Äã®---
es_size 9,9, 50
es_pat 195, 46,43
es_type 195,2
;---Ũ---
es_size 18,19, 50
es_pat 60, 0,0
;---ŨÃÆ---
es_size 17,17, 50
es_pat 65, 70,0
;Ïȳ°
;--¾å--
es_size 382,3
es_pat 50, 0,0
es_set 50, 31,12, 50
;--º¸--
es_size 3,447
es_pat 51, 0,0
es_set 51, 31,12, 51
;--²¼--
es_size 382,3
es_pat 52, 0,0
es_set 52, 31,459, 52
;--±¦--
es_size 3,447
es_pat 53, 0,0
es_set 53, 410,12, 53
;Ũ
TEKI_MAX = 5 ;Ũ¤ÎºÇÂç¿ô
TEKI_Gmax = 3 ;¥°¥ë¡¼¥×¿ô
TEKI_GOKEI = TEKI_MAX * TEKI_Gmax ;Ũ¹ç·×¿ô
dim TEKI_f,TEKI_MAX,TEKI_Gmax ;¥Õ¥é¥°
dim TEKI_x,TEKI_MAX,TEKI_Gmax ;£Ø
dim TEKI_y,TEKI_MAX,TEKI_Gmax ;£Ù
dim TEKI_NO_GID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹ÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
dim TEKI_NO_DID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
;ŨÃÆ
dim TEKI_TM_f,TEKI_MAX,TEKI_Gmax;¥Õ¥é¥°
dim NOMARU_TAMA,TEKI_GOKEI ;ÃƽФ¹¥Õ¥é¥°
;ŨÃÆ¥°¥ì¥¤¥º
dim GURE_HIT_f,TEKI_MAX,TEKI_Gmax ;ŨÃÆ¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°
dim GURE_x,TEKI_MAX,TEKI_Gmax
dim GURE_y,TEKI_MAX,TEKI_Gmax
;°ì¼¡¸µÇÛÎó¤Ë¤¹¤ë---
dup dup_GURE_HIT_f, GURE_HIT_f ;¥Ò¥Ã¥È¥Õ¥é¥°
dup dup_GURE_x, GURE_x ;£Ø
dup dup_GURE_y, GURE_y ;£Ù
;¢§¢§¢§¢§¢§¢§¢§Å¨ÇÛÎ󢧢§¢§¢§¢§¢§¢§
;¥°¥ë¡¼¥×1 ±¦¾å
TEKI_x(0,0) = 390,390,390,390,390
TEKI_y(0,0) = 200,160,120,80,40
;¥°¥ë¡¼¥×2 º¸¾å
TEKI_x(0,1) = 50,50,50,50,50
TEKI_y(0,1) = 200,160,120,80,40
;¥°¥ë¡¼¥×3 ¿¿¤óÃæ
TEKI_x(0,2) = 190,210,230,250,270
TEKI_y(0,2) = 250,210,170,130,90
;¢£¢£¢£Å¨ÇÛÃÖ¢£¢£¢£
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(3)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
es_exnew TEKI ,80,94 ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
es_set TEKI, TEKI_x(cnt,TEK_G),TEKI_y(cnt,TEK_G), 60 ;¥¹¥×¥é¥¤¥ÈNo, X,YºÂɸ ,¥¥ã¥éNo
es_type TEKI,4096
;ŨÃƽФ·Ê¬¤±¤¹¤ë¤¿¤á¤Î½èÍý
TEKI_NO_GID(TEKI) = TEK_G ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
TEKI_DID = TEK_G * TEKI_MAX + cnt ;¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹(°ì¼¡¸µÇÛÎó¤È¤·¤¿¾ì¹ç¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹)
TEKI_NO_DID(TEKI) = TEKI_DID ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
loop
loop
;************¥á¥¤¥ó¥ë¡¼¥×***************
*¥á¥¤¥ó
es_cls ;²èÌÌ¥¯¥ê¥¢
es_draw ;¥¹¥×¥é¥¤¥ÈÉÁ²è
;************¥«¥¦¥ó¥¿¡¼******************
pos 430,20 : es_mes "TEKI_DID " + TEKI_DID
pos 430,50 : es_mes "GURE_HIT_f(0,0) " + GURE_HIT_f(0,0)
pos 430,70 : es_mes "GURE_HIT_f(1,0) " + GURE_HIT_f(1,0)
pos 430,90 : es_mes "GURE_HIT_f(2,0) " + GURE_HIT_f(2,0)
pos 430,110 : es_mes "GURE_HIT_f(3,0) " + GURE_HIT_f(3,0)
pos 430,130 : es_mes "GURE_HIT_f(4,0) " + GURE_HIT_f(4,0)
;¥°¥ì¥¤¥º¤ÎºÂɸ¼èÆÀ
GURE_mes_x = 400 ;ºÂɸ
GURE_no = 500 ;ŨÃÆ¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_GOKEI ;Ũ¹ç·×¿ô(15)
es_get GURE_pos_x,GURE_no,3 ;X
es_get GURE_pos_y,GURE_no,5 ;Y
GURE_mes_x += 40 ;Ê£¿ô¸«¤ë¤¿¤á¤Ë¤º¤é¤¹
pos GURE_mes_x,160 : es_mes "" + GURE_pos_x ;X
pos GURE_mes_x,180 : es_mes "" + GURE_pos_y ;Y
GURE_no++ ;ŨÃÆ¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
pos 430,380 : es_mes "GURE_HIT " + GURE_HIT
pos 430,400 : es_mes "TAMA_one_c " + TAMA_one_c ;---ÄɲÃ---
;**************************************
;¼«µ¡
es_set 400, JIKI_x,JIKI_y, 400 ;¥¹¥×¥é¥¤¥ÈNo, X,YºÂɸ ,¥¥ã¥éNo
;Äã®°ÜÆ°
TE_x = JIKI_x+10 : TE_y = JIKI_y+16
es_set 195, TE_x,TE_y, 195
gosub *¼«µ¡¤Î°ÜÆ°
gosub *ŨÃÆ°ÜÆ°
gosub *¥°¥ì¥¤¥º
gosub *¥Ç¥Ð¥Ã¥¯ÍÑ ;---ÄɲÃ---
es_sync ;²èÌ̹¹¿·
await 16
goto *¥á¥¤¥ó
;**************¼«µ¡¤Î°ÜÆ°*************
*¼«µ¡¤Î°ÜÆ°
stick key,15 ;¥¡¼¼èÆÀ
if key & 1 : JIKI_x = JIKI_x - JIKISpd ;¢«¤Î°ÜÆ°
if key & 2 : JIKI_y = JIKI_y - JIKISpd ;¢¬¤Î°ÜÆ°
if key & 4 : JIKI_x = JIKI_x + JIKISpd ;¢ª¤Î°ÜÆ°
if key & 8 : JIKI_y = JIKI_y + JIKISpd ;¢¤Î°ÜÆ°
return
;*************ŨÃÆ°ÜÆ°****************
*ŨÃÆ°ÜÆ°
if NOMARU_f = 0 : NOMARU_TAMA = 0,0,1 ;ÇÛÎó¤ÇÃƤò¥³¥ó¥È¥í¡¼¥ë
TEKI_no = 80 ;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
dup dup_TEKI_TM_f,TEKI_TM_f ;¿¼¡¸µÇÛÎó¤ò°ì¼¡¸µÇÛÎó¤È¤·¤Æ»ÈÍÑ
repeat
es_find TEKI, 4096, TEKI_no,94, 1 ;typeÃÍ, ³«»Ï¤¹¤ë¥¹¥×¥é¥¤¥È,½ªÎ»¤¹¤ë¥¹¥×¥é¥¤¥È, Áýʬ
if TEKI < 0 : break
if TAMA_one_c <= 4 { ;---ÄɲÃ--- ²¿²ó¼Â¹Ô¤·¤¿¤«¥«¥¦¥ó¥È(¥Ç¥Ð¥Ã¥¯ÍÑ)
TEK_G = TEKI_NO_GID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if NOMARU_TAMA(TEK_G) = 1 { ;¥³¥ó¥È¥í¡¼¥ë¤·¤¿ÃƤÀ¤±¤ò½Ð¤¹
TEKI_DID = TEKI_NO_DID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if dup_TEKI_TM_f(TEKI_DID) = 0 {
es_exnew TEKI_TM ,200,214 ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
; if TEKI_TM > 0 { ;Êݸ±
dup_TEKI_TM_f(TEKI_DID) = 1 ;°ì¼¡¸µÇÛÎó¤Ë¤·¤Æ¤ë¤Î¤ÇŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¤ò¥¡¼¤Ë¥Õ¥é¥°ÀßÄê
TAMA_NO_DID(TEKI_TM) = TEKI_DID;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ(¤³¤ì¤ÇÃƤÈŨ¥Ç¡¼¥¿¤È¤ÎɳÉÕ)
es_get TEKI_TM_x,TEKI,3 ;Ũ£Ø
es_get TEKI_TM_y,TEKI,5 ;Ũ£Ù
es_ang TEKI_TM_x,TEKI_TM_y,TE_x-4,TE_y-4;³ÑÅÙ¼èÆÀ
TEKI_TM_ang = stat ;¼«µ¡¤ÎÊý¸þ
;*******ŨÃÆȯ¼Í*******
es_set TEKI_TM, TEKI_TM_x,TEKI_TM_y,65 ;¥¹¥×¥é¥¤¥ÈÀßÄê
es_adir TEKI_TM, TEKI_TM_ang,300 ;¥¹¥×¥é¥¤¥È°ÜÆ°Êý¸þÀßÄê
es_type TEKI_TM,32
dup_GURE_HIT_f(TEKI_TM-200) = 0 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡Ú¥ê¥»¥Ã¥È¡Û
TAMA_one_c++ ;---ÄɲÃ--- ²¿²ó¼Â¹Ô¤·¤¿¤«¥«¥¦¥ó¥È(¥Ç¥Ð¥Ã¥¯ÍÑ)
; }
}
}
}TEKI_no++;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
;---²èÌ̳°È½Äê---
TEKI_TM_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
repeat
es_find TEKI_TM, 32, TEKI_TM_no,214, 1
if TEKI_TM < 0 : break
es_get TEKI_TM_x,TEKI_TM,3 ;ŨÃÆ£Ø
es_get TEKI_TM_y,TEKI_TM,5 ;ŨÃÆ£Ù
;es_area -36,-76, 449,498 ;¥¹¥×¥é¥¤¥È͸ú¥¨¥ê¥¢ÀßÄê
;¼«µ¡¤¬Æ°¤±¤ëÈÏ°Ï¡§31,12 ,410,459
;¥°¥ì¥¤¥º¡§-31,-71, 418,467
if (TEKI_TM_x < -10) or (TEKI_TM_y < -50) or (TEKI_TM_x > 439) or (TEKI_TM_y > 488) {
TEKI_DID = TAMA_NO_DID(TEKI_TM) ;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
dup_TEKI_TM_f(TEKI_DID) = 0 ;ŨÃƥե饰¡Ú½é´ü²½¡Û
;¸¶°øÄ´ºº¤Î¤¿¤á¥³¥á¥ó¥È¥¢¥¦¥È
/*
es_kill TEKI_TM ;ŨÃÆ¡Úºï½ü¡Û
es_kill TEKI_TM + 300 ;¥°¥ì¥¤¥º¡Úºï½ü¡Û
*/
/*
;ŨÃƺï½ü¢ª1¸Ä³°¤Ë½Ð¤ë¤È¤À¤á
es_kill 200
es_kill 201
es_kill 202
es_kill 203
es_kill 204
*/
;¥°¥ì¥¤¥º¤¬ºï½ü¤µ¤ì¤Ê¤¤
es_kill 500
es_kill 501
es_kill 502
es_kill 503
es_kill 504
dup_GURE_HIT_f(cnt) = 1 ;ŨÃÆ¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡ÚΩ¤Æ¤ë¡Û
}TEKI_TM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
return
;*************¥°¥ì¥¤¥º****************
*¥°¥ì¥¤¥º
TKTM_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no = 500 ;ŨÃÆ¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_GOKEI ;Ũ¹ç·×¿ô(15)
if dup_GURE_HIT_f(cnt) = 0 { ;ŨÃÆ¥°¥ì¥¤¥º¤Ë¥Ò¥Ã¥È¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡Ú¼Â¹Ô¡Û
es_get dup_GURE_x(cnt),TKTM_no,3 ;ŨÃÆ¥°¥ì¥¤¥º£Ø
es_get dup_GURE_y(cnt),TKTM_no,5 ;ŨÃÆ¥°¥ì¥¤¥º£Ù
es_set GURE_no, dup_GURE_x(cnt)-21,dup_GURE_y(cnt)-21, 410
es_type GURE_no,128
}
TKTM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no++ ;ŨÃÆ¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
;---Åö¤¿¤êȽÄê---
GURE_no = 500 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_GOKEI ;Ũ¹ç·×¿ô(15)
es_check JK_VS_GURE ,400,128 ;400(¼«µ¡),128(¥°¥ì¥¤¥º)
if JK_VS_GURE = -1 : break ;ÀÜ¿¨¤·¤Æ¤¤¤ë¥°¥ì¥¤¥º¤¬Ìµ¤±¤ì¤Ð¥ë¡¼¥×½ªÎ»
if JK_VS_GURE = GURE_no {
es_kill JK_VS_GURE ;¥°¥ì¥¤¥º¡Úºï½ü¡Û
dup_GURE_HIT_f(cnt) = 1 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡ÚΩ¤Æ¤ë¡Û
GURE_HIT++ ;¥°¥ì¥¤¥º¤Ë¤¢¤¿¤Ã¤¿²ó¿ô
}GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
return
;*****¥Ç¥Ð¥Ã¥¯ÍÑ******
*¥Ç¥Ð¥Ã¥¯ÍÑ
stick keyS,16 ;¥¹¥Ú¡¼¥¹
if keyS : TAMA_one_c = 0 ;²¿²ó¼Â¹Ô¤·¤¿¤«¥«¥¦¥ó¥È(¥Ç¥Ð¥Ã¥¯ÍÑ)
return
| |
|
2020/2/8(Sat) 22:31:38|NO.89440
¤À¤¤¤ÖÃÙ¤¯¤Ê¤ê¤Þ¤·¤¿¡£
¥°¥ì¥¤¥º¤¬²èÌ̳°¤Ëºï½ü¤µ¤ì¤Ê¤¤¸¶°ø¤¬¤è¤¦¤ä¤¯¤ï¤«¤ê¤Þ¤·¤¿¡£
¡Ö¥°¥ì¥¤¥º¤ËÅö¤¿¤Ã¤Æ¤¤¤Ê¤¤ or ²èÌ̳°¡×¤À¤È¡Ödup_GURE_HIT_f(cnt)¡×¤¬¡Ö0¡×¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢
¥°¥ì¥¤¥º¤Îes_set¤¬¼Â¹Ô¤µ¤ì¤Æ¤·¤Þ¤¤¡¢¥°¥ì¥¤¥º¤¬ºï½ü¤µ¤ì¤Ê¤¯¤Ê¤Ã¤Æ¤Þ¤·¤¿¡£
¤Ê¤Î¤Ç¡¢Å¨ÃƤ¬²èÌÌÆâ¤Ë¤¢¤ë¾ì¹ç¤Î¤ß¡¢¥°¥ì¥¤¥º¤ò¥»¥Ã¥È¤¹¤ë¤³¤È¤Ë¤·¤Þ¤·¤¿¡£
¤³¤ì¤Ê¤é¤ÐÌäÂê¤Ê¤¯¥°¥ì¥¤¥º¤¬ºï½ü¤Ç¤¤Þ¤¹¡£
¤¿¤Þ¤Ëºï½ü¤Ç¤¤Þ¤»¤ó¤¬¤½¤ó¤È¤¤Ï¡Ö²èÌÌÆâ¡×¤ÈȽÄꤹ¤ëºÂɸ¤òÏ®¤¯¤ì¤Ð²ò·è¤·¤Þ¤¹¡£
º£ÅÙ¤³¤½²ò·è¤Ç¤¹¡ª(¡®¡¦¦Ø¡¦¡)
------
k¤µ¤ó¤Î¥½¡¼¥¹¤ò²þ¤á¤Æ¡£
¥½¡¼¥¹¤ÎÊý¤ò²òÆɤ·¤è¤¦¤È¤·¤¿¤Î¤Ç¤¹¤¬¡¢»È¤Ã¤¿¤³¤È¤¬¤Ê¤¤Ì¿Îá¤Ð¤«¤ê¤Î¤¿¤á¡¢²òÀϤˤ«¤Ê¤ê»þ´Ö¤«¤«¤ê¤½¤¦¤Ç¤¹¡£
¤Ê¤Î¤Ç¡¢°ìöÊÝα¤Ë¤·¤Æµ¤¤Ë¤Ê¤Ã¤¿¤È¤¤Ë¤Á¤Þ¤Á¤Þ²òÆɤ·¤Æ¤ß¤è¤¦¤«¤È»×¤¤¤Þ¤¹¡£
¤»¤Ã¤«¤¯½Ð¤·¤Æ¤¯¤ì¤¿¥½¡¼¥¹¤Ê¤Î¤Ë¡¢²òÆɤǤ¤Ê¤¯¤Ã¤Æ¤¹¤¤¤Þ¤»¤ó¡£
#include "hspdxfix.as" ;DX¥é¥¤¥Ö¥é¥ê»ÈÍÑ
width ,,130,200 ;¥¦¥£¥ó¥É¥¦¤Î°ÌÃÖ
es_ini 640,512,360 ;¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô¡¢¥¥ã¥é¥¯¥¿ÄêµÁ¤ÎºÇÂç¿ô,¼þ¤ÎÀºÅÙ(180*2)
es_screen 640,480 ,0,0,1,1 ;¥¹¥¯¥ê¡¼¥ó
es_window -36,-76, 640,480 ;¥¹¥×¥é¥¤¥Èɽ¼¨¥¨¥ê¥¢ÀßÄê
es_area -36,-76, 449,498 ;¥¹¥×¥é¥¤¥È͸ú¥¨¥ê¥¢ÀßÄê
;---¥°¥ì¥¤¥º---
es_size 59,59, 50
es_pat 410, 265,390
;---¼«µ¡---
es_size 28,42, 100
es_pat 400, 0,0
JIKI_x = 206 : JIKI_y = 390 ;ºÂɸ
JIKISpd = 4 ;¥¹¥Ô¡¼¥É
TE_x = 206+10 : TE_y = 390+16 ;Äã®°ÌÃÖ
;---Äã®---
es_size 9,9, 50
es_pat 195, 46,43
es_type 195,2
;---Ũ---
es_size 18,19, 50
es_pat 60, 0,0
;---ŨÃÆ---
es_size 17,17, 50
es_pat 65, 70,0
;Ïȳ°
;--¾å--
es_size 382,3
es_pat 50, 0,0
es_set 50, 31,12, 50
;--º¸--
es_size 3,447
es_pat 51, 0,0
es_set 51, 31,12, 51
;--²¼--
es_size 382,3
es_pat 52, 0,0
es_set 52, 31,459, 52
;--±¦--
es_size 3,447
es_pat 53, 0,0
es_set 53, 410,12, 53
;Ũ
TEKI_MAX = 5 ;Ũ¤ÎºÇÂç¿ô
TEKI_Gmax = 3 ;¥°¥ë¡¼¥×¿ô
TEKI_GOKEI = TEKI_MAX * TEKI_Gmax ;Ũ¹ç·×¿ô
dim TEKI_f,TEKI_MAX,TEKI_Gmax ;¥Õ¥é¥°
dim TEKI_x,TEKI_MAX,TEKI_Gmax ;£Ø
dim TEKI_y,TEKI_MAX,TEKI_Gmax ;£Ù
dim TEKI_NO_GID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹ÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
dim TEKI_NO_DID,15 ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò»È¤Ã¤ÆŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼÍÑ (¥¹¥×¥é¥¤¥È¤ÎºÇÂç¿ô)
;ŨÃÆ
dim TEKI_TM_f,TEKI_MAX,TEKI_Gmax;¥Õ¥é¥°
dim NOMARU_TAMA,TEKI_GOKEI ;ÃƽФ¹¥Õ¥é¥°
;ŨÃÆ¥°¥ì¥¤¥º
dim GURE_HIT_f,TEKI_MAX,TEKI_Gmax ;ŨÃÆ¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°
dim GURE_x,TEKI_MAX,TEKI_Gmax
dim GURE_y,TEKI_MAX,TEKI_Gmax
;°ì¼¡¸µÇÛÎó¤Ë¤¹¤ë---
dup dup_GURE_HIT_f, GURE_HIT_f ;¥Ò¥Ã¥È¥Õ¥é¥°
dup dup_GURE_x, GURE_x ;£Ø
dup dup_GURE_y, GURE_y ;£Ù
;¢§¢§¢§¢§¢§¢§¢§Å¨ÇÛÎ󢧢§¢§¢§¢§¢§¢§
;¥°¥ë¡¼¥×1 ±¦¾å
TEKI_x(0,0) = 390,390,390,390,390
TEKI_y(0,0) = 200,160,120,80,40
;¥°¥ë¡¼¥×2 º¸¾å
TEKI_x(0,1) = 50,50,50,50,50
TEKI_y(0,1) = 200,160,120,80,40
;¥°¥ë¡¼¥×3 ¿¿¤óÃæ
TEKI_x(0,2) = 190,210,230,250,270
TEKI_y(0,2) = 250,210,170,130,90
;¢£¢£¢£Å¨ÇÛÃÖ¢£¢£¢£
repeat TEKI_Gmax ;¥°¥ë¡¼¥×¿ô(3)
TEK_G = cnt
repeat TEKI_MAX ;Ũ¤ÎºÇÂç¿ô(5)
es_exnew TEKI ,80,94 ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
es_set TEKI, TEKI_x(cnt,TEK_G),TEKI_y(cnt,TEK_G), 60 ;¥¹¥×¥é¥¤¥ÈNo, X,YºÂɸ ,¥¥ã¥éNo
es_type TEKI,4096
;ŨÃƽФ·Ê¬¤±¤¹¤ë¤¿¤á¤Î½èÍý
TEKI_NO_GID(TEKI) = TEK_G ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
TEKI_DID = TEK_G * TEKI_MAX + cnt ;¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹(°ì¼¡¸µÇÛÎó¤È¤·¤¿¾ì¹ç¤Î¥¤¥ó¥Ç¥Ã¥¯¥¹)
TEKI_NO_DID(TEKI) = TEKI_DID ;¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ
loop
loop
;************¥á¥¤¥ó¥ë¡¼¥×***************
*¥á¥¤¥ó
es_cls ;²èÌÌ¥¯¥ê¥¢
es_draw ;¥¹¥×¥é¥¤¥ÈÉÁ²è
;************¥«¥¦¥ó¥¿¡¼******************
pos 430,20 : es_mes "TEKI_DID " + TEKI_DID
pos 430,50 : es_mes "GURE_HIT_f(0,0) " + GURE_HIT_f(0,0)
pos 430,70 : es_mes "GURE_HIT_f(1,0) " + GURE_HIT_f(1,0)
pos 430,90 : es_mes "GURE_HIT_f(2,0) " + GURE_HIT_f(2,0)
pos 430,110 : es_mes "GURE_HIT_f(3,0) " + GURE_HIT_f(3,0)
pos 430,130 : es_mes "GURE_HIT_f(4,0) " + GURE_HIT_f(4,0)
;¥°¥ì¥¤¥º¤ÎºÂɸ¼èÆÀ
GURE_mes_x = 400 ;ºÂɸ
GURE_no = 500 ;ŨÃÆ¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_GOKEI ;Ũ¹ç·×¿ô(15)
es_get GURE_pos_x,GURE_no,3 ;X
es_get GURE_pos_y,GURE_no,5 ;Y
GURE_mes_x += 40 ;Ê£¿ô¸«¤ë¤¿¤á¤Ë¤º¤é¤¹
pos GURE_mes_x,160 : es_mes "" + GURE_pos_x ;X
pos GURE_mes_x,180 : es_mes "" + GURE_pos_y ;Y
GURE_no++ ;ŨÃÆ¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
pos 430,380 : es_mes "GURE_HIT " + GURE_HIT
pos 430,400 : es_mes "TAMA_one_c " + TAMA_one_c
;**************************************
;¼«µ¡
es_set 400, JIKI_x,JIKI_y, 400 ;¥¹¥×¥é¥¤¥ÈNo, X,YºÂɸ ,¥¥ã¥éNo
;Äã®°ÜÆ°
TE_x = JIKI_x+10 : TE_y = JIKI_y+16
es_set 195, TE_x,TE_y, 195
gosub *¼«µ¡¤Î°ÜÆ°
gosub *ŨÃÆ°ÜÆ°
gosub *¥°¥ì¥¤¥º
gosub *¥Ç¥Ð¥Ã¥¯ÍÑ
es_sync ;²èÌ̹¹¿·
await 16
goto *¥á¥¤¥ó
;**************¼«µ¡¤Î°ÜÆ°*************
*¼«µ¡¤Î°ÜÆ°
stick key,15 ;¥¡¼¼èÆÀ
if key & 1 : JIKI_x = JIKI_x - JIKISpd ;¢«¤Î°ÜÆ°
if key & 2 : JIKI_y = JIKI_y - JIKISpd ;¢¬¤Î°ÜÆ°
if key & 4 : JIKI_x = JIKI_x + JIKISpd ;¢ª¤Î°ÜÆ°
if key & 8 : JIKI_y = JIKI_y + JIKISpd ;¢¤Î°ÜÆ°
return
;*************ŨÃÆ°ÜÆ°****************
*ŨÃÆ°ÜÆ°
if NOMARU_f = 0 : NOMARU_TAMA = 0,0,1 ;ÇÛÎó¤ÇÃƤò¥³¥ó¥È¥í¡¼¥ë
TEKI_no = 80 ;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
dup dup_TEKI_TM_f,TEKI_TM_f ;¿¼¡¸µÇÛÎó¤ò°ì¼¡¸µÇÛÎó¤È¤·¤Æ»ÈÍÑ
repeat
es_find TEKI, 4096, TEKI_no,94, 1 ;typeÃÍ, ³«»Ï¤¹¤ë¥¹¥×¥é¥¤¥È,½ªÎ»¤¹¤ë¥¹¥×¥é¥¤¥È, Áýʬ
if TEKI < 0 : break
if TAMA_one_c <= 4 { ;²¿²ó¼Â¹Ô¤·¤¿¤«¥«¥¦¥ó¥È(¥Ç¥Ð¥Ã¥¯ÍÑ)
TEK_G = TEKI_NO_GID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤Ë¥°¥ë¡¼¥×¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if NOMARU_TAMA(TEK_G) = 1 { ;¥³¥ó¥È¥í¡¼¥ë¤·¤¿ÃƤÀ¤±¤ò½Ð¤¹
TEKI_DID = TEKI_NO_DID(TEKI) ;Ũ¥¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
if dup_TEKI_TM_f(TEKI_DID) = 0 {
es_exnew TEKI_TM ,200,214 ;¿·µ¬¥¹¥×¥é¥¤¥ÈNo
; if TEKI_TM > 0 { ;Êݸ±
dup_TEKI_TM_f(TEKI_DID) = 1 ;°ì¼¡¸µÇÛÎó¤Ë¤·¤Æ¤ë¤Î¤ÇŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¤ò¥¡¼¤Ë¥Õ¥é¥°ÀßÄê
TAMA_NO_DID(TEKI_TM) = TEKI_DID;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹³ÊǼ(¤³¤ì¤ÇÃƤÈŨ¥Ç¡¼¥¿¤È¤ÎɳÉÕ)
es_get TEKI_TM_x,TEKI,3 ;Ũ£Ø
es_get TEKI_TM_y,TEKI,5 ;Ũ£Ù
es_ang TEKI_TM_x,TEKI_TM_y,TE_x-4,TE_y-4;³ÑÅÙ¼èÆÀ
TEKI_TM_ang = stat ;¼«µ¡¤ÎÊý¸þ
;*******ŨÃÆȯ¼Í*******
es_set TEKI_TM, TEKI_TM_x,TEKI_TM_y,65 ;¥¹¥×¥é¥¤¥ÈÀßÄê
es_adir TEKI_TM, TEKI_TM_ang,300 ;¥¹¥×¥é¥¤¥È°ÜÆ°Êý¸þÀßÄê
es_type TEKI_TM,32
dup_GURE_HIT_f(TEKI_TM-200) = 0 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡Ú¥ê¥»¥Ã¥È¡Û
TAMA_one_c++ ;²¿²ó¼Â¹Ô¤·¤¿¤«¥«¥¦¥ó¥È(¥Ç¥Ð¥Ã¥¯ÍÑ)
; }
}
}
}TEKI_no++;Ũ¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
;---²èÌ̳°È½Äê---
TEKI_TM_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
repeat
es_find TEKI_TM, 32, TEKI_TM_no,214, 1
if TEKI_TM < 0 : break
es_get TEKI_TM_x,TEKI_TM,3 ;ŨÃÆ£Ø
es_get TEKI_TM_y,TEKI_TM,5 ;ŨÃÆ£Ù
if (TEKI_TM_x < -33) or (TEKI_TM_y < -50) or (TEKI_TM_x > 439) or (TEKI_TM_y > 488) {
TEKI_DID = TAMA_NO_DID(TEKI_TM) ;ÃƤΥ¹¥×¥é¥¤¥ÈNO¤ò¥¡¼¤ËŨ¥Ç¡¼¥¿¥¤¥ó¥Ç¥Ã¥¯¥¹¼è¤ê½Ð¤·
dup_TEKI_TM_f(TEKI_DID) = 0 ;ŨÃƥե饰¡Ú½é´ü²½¡Û
es_kill TEKI_TM ;ŨÃÆ¡Úºï½ü¡Û
es_kill TEKI_TM + 300 ;¥°¥ì¥¤¥º¡Úºï½ü¡Û
dup_GURE_HIT_f(cnt) = 1 ;ŨÃÆ¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡ÚΩ¤Æ¤ë¡Û
}TEKI_TM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏNO
loop
return
;*************¥°¥ì¥¤¥º****************
*¥°¥ì¥¤¥º
TKTM_no = 200 ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no = 500 ;ŨÃÆ¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_GOKEI ;Ũ¹ç·×¿ô(15)
es_get TEKI_TM_x,TKTM_no,5 ;ŨÃÆ£Ø
es_get TEKI_TM_y,TKTM_no,5 ;ŨÃÆ£Ù
if (TEKI_TM_x < -33) or (TEKI_TM_y < -58) or (TEKI_TM_x < 443) or (TEKI_TM_y < 488) { ;--ÄɲÃ---
if dup_GURE_HIT_f(cnt) = 0 { ;ŨÃÆ¥°¥ì¥¤¥º¤Ë¥Ò¥Ã¥È¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¡Ú¼Â¹Ô¡Û
es_get dup_GURE_x(cnt),TKTM_no,3 ;ŨÃÆ¥°¥ì¥¤¥º£Ø
es_get dup_GURE_y(cnt),TKTM_no,5 ;ŨÃÆ¥°¥ì¥¤¥º£Ù
es_set GURE_no, dup_GURE_x(cnt)-21,dup_GURE_y(cnt)-21, 410
es_type GURE_no,128
}
}
TKTM_no++ ;ŨÃƤΥ¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
GURE_no++ ;ŨÃÆ¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
;---Åö¤¿¤êȽÄê---
GURE_no = 500 ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
repeat TEKI_GOKEI ;Ũ¹ç·×¿ô(15)
es_check JK_VS_GURE ,400,128 ;400(¼«µ¡),128(¥°¥ì¥¤¥º)
if JK_VS_GURE = -1 : break ;ÀÜ¿¨¤·¤Æ¤¤¤ë¥°¥ì¥¤¥º¤¬Ìµ¤±¤ì¤Ð¥ë¡¼¥×½ªÎ»
if JK_VS_GURE = GURE_no {
es_kill JK_VS_GURE ;¥°¥ì¥¤¥º¡Úºï½ü¡Û
dup_GURE_HIT_f(cnt) = 1 ;¥°¥ì¥¤¥º¥Ò¥Ã¥È¥Õ¥é¥°¡ÚΩ¤Æ¤ë¡Û
GURE_HIT++ ;¥°¥ì¥¤¥º¤Ë¤¢¤¿¤Ã¤¿²ó¿ô
}GURE_no++ ;¥°¥ì¥¤¥º¤Î¥¹¥×¥é¥¤¥È¸¡º÷³«»ÏID
loop
return
;*****¥Ç¥Ð¥Ã¥¯ÍÑ******
*¥Ç¥Ð¥Ã¥¯ÍÑ
stick keyS,16 ;¥¹¥Ú¡¼¥¹
if keyS : TAMA_one_c = 0 ;²¿²ó¼Â¹Ô¤·¤¿¤«¥«¥¦¥ó¥È(¥Ç¥Ð¥Ã¥¯ÍÑ)
return
| |
|
2020/2/10(Mon) 21:07:14|NO.89461
¡ä¥½¡¼¥¹¤ÎÊý¤ò²òÆɤ·¤è¤¦¤È¤·¤¿¤Î¤Ç¤¹¤¬¡¢»È¤Ã¤¿¤³¤È¤¬¤Ê¤¤Ì¿Îá¤Ð¤«¤ê¤Î¤¿¤á¡¢²òÀϤˤ«¤Ê¤ê»þ´Ö¤«¤«¤ê¤½¤¦¤Ç¤¹¡£
¡ä¤Ê¤Î¤Ç¡¢°ìöÊÝα¤Ë¤·¤Æµ¤¤Ë¤Ê¤Ã¤¿¤È¤¤Ë¤Á¤Þ¤Á¤Þ²òÆɤ·¤Æ¤ß¤è¤¦¤«¤È»×¤¤¤Þ¤¹¡£
¡ä¤»¤Ã¤«¤¯½Ð¤·¤Æ¤¯¤ì¤¿¥½¡¼¥¹¤Ê¤Î¤Ë¡¢²òÆɤǤ¤Ê¤¯¤Ã¤Æ¤¹¤¤¤Þ¤»¤ó¡£
¥³¥á¥ó¥È¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹
¥µ¥¯¥Ã¤Èºî¤Ã¤¿¤â¤Î¤Ê¤Î¤Ç¡¢¤ªµ¤¤Ë¤Ê¤µ¤é¤º¡Ê¡°¡°
|
|