|
| ̤²ò·è |
| ²ò·è |
| Ää»ß |
| ºï½üÍ×ÀÁ |
|
2012/4/23(Mon) 09:00:50|NO.46221
txt¤òÆɤ߹þ¤ó¤Ç¥¯¥ê¥Ã¥¯¤¹¤ë¤Èʸ¤¬¿Ê¤à¥×¥í¥°¥é¥à¤Ç¤¹¡£¤Ç¤¹¤¬¥¯¥ê¥Ã¥¯¤¹¤ë¤¿¤Ó²èÌÌÆâ¤Î
ʸ»ú¤ò¤¹¤Ù¤Æ¾Ã¤·¤Æ¤«¤é¿·¤¿¤Ëɽ¼¨¤·¤Æ¤·¤Þ¤¦¤Î¤Ç¡¢¾Ã¤·¤Æ¤·¤Þ¤ï¤º¤Ë»Ä¤·¤¿¤Þ¤Þʸ¤òɽ¼¨¤µ¤»¤¿¤¤
¤Ç¤¹¡£
#include "hsp3util.as"
*taitoru
sdim txbf,32000
sdim ldt,256
sdim moj,64,32
dim jp,3
notesel txbf ; ¥·¥Ê¥ê¥ª¤ò¥Ð¥Ã¥Õ¥¡¤ËÆɤ߹þ¤à
noteload "¥µ¥ó¥×¥ë.txt" ;
po=0 ; Æɤ߼è¤ê¾ìÌÌNo.
*main
clrobj ; Á´¥Ü¥¿¥ó¤ò¥¯¥ê¥¢
; ²èÁüɽ¼¨
;
noteget tmp2,po*4+1 ; ¥·¥Ê¥ê¥ª¤«¤é¾ìÌÌ1¹ÔÌÜÆɤ߹þ¤ß(²èÁü¥Õ¥¡¥¤¥ë̾)
split tmp2,",",cgfn,ongaku
picload cgfn ; ²èÁü¥Õ¥¡¥¤¥ëɽ¼¨
title cgfn ; ¥¿¥¤¥È¥ë¥Ð¡¼¤Ë²èÁü¥Õ¥¡¥¤¥ë̾ɽ¼¨
mmload ongaku,1,1
if ongaku!"" :mmplay 1
noteget ldt,po*4+2 ; ¥·¥Ê¥ê¥ª¤«¤é¾ìÌÌ2¹ÔÌÜÆɤ߹þ¤ß(¥á¥Ã¥»¡¼¥¸)
split ldt,",",moj :c=stat ; ¥á¥Ã¥»¡¼¥¸Ê¬³ä
; ¥á¥Ã¥»¡¼¥¸É½¼¨
text 10
font "MS UI Gothic",23,1
color 0,0,0
if c>0 {
color 255,255,255
pos 8,8 :repeat c :emes moj(cnt) :loop
}
; ÁªÂò»è¤Î½èÍý
;
noteget ldt,po*4+3
split ldt,",",moj(0),s0,moj(1),s1,moj(2),s2
c=stat/2
jp(0)=int(s0) :jp(1)=int(s1) :jp(2)=int(s2)
if c=0 :moj(0)="¢§" :jp(0)=po+1 :c=1 ; ÁªÂò»è¤¬Ìµ¤¤»þ¤Î½èÍý
objmode 1
objsize 250,60
repeat c
pos (ginfo_winx-c*250)/2+(250*cnt),ginfo_winy-60
if moj(cnt)="badend"{//¤â¤·¥Ð¥Ã¥É¥¨¥ó¥É¤À¤Ã¤¿¤é¥Ü¥¿¥ó¤ò¿¿¤óÃæ¤Ø
pos 300,300
}
button "",*botan :objprm cnt,moj(cnt) ; ¥Ü¥¿¥óɽ¼¨
loop
stop
*botan
repeat c
if moj(cnt)="badend":goto *taitoru
loop
po=jp(stat) :goto *main ; ÁªÂò»è¤Ë¤è¤ëÈô¤ÓÀè¤ò¥»¥Ã¥È
¥µ¥ó¥×¥ë.txt¤ÎÃæ¿È¤Ï¡¢
--- No.000 ---
¿¿¤Ã¹õ.jpg,¥¿¥¤¥È¥ë.mp3
¥µ¥ó¥×¥ë¤Ç¤¹,
--- No.001 ---
¼¼Æâ.jpg,
ʸ»ú¤òɽ¼¨¤·¤Þ¤¹,
--- No.004 ---
¿¿¤Ã¹õ.jpg
ÁªÂò»è,
a,006,b,005
--- No.005 ---
¿¿¤Ã¹õ.jpg
½ª¤ï¤ê,
badend,5
--- No.006 ---
¿¿¤Ã¹õ.jpg
½ª¤ï¤ê,
badend,6
¤³¤ó¤Ê´¶¤¸¤Ç¤¹
| |
|
2012/4/23(Mon) 18:53:23|NO.46225
¤è¤¯°ÕÌ£¤¬Ê¬¤«¤ê¤Þ¤»¤ó¤¬¡¢
¥µ¥ó¥×¥ë¤Ç¤¹
¢
ʸ»ú¤òɽ¼¨¤·¤Þ¤¹
¢
ÁªÂò»è
¤È¤Ê¤Ã¤Æ¤¤¤ë¤Î¤ò¡¢
¥µ¥ó¥×¥ë¤Ç¤¹
¢
¥µ¥ó¥×¥ë¤Ç¤¹
ʸ»ú¤òɽ¼¨¤·¤Þ¤¹
¢
¥µ¥ó¥×¥ë¤Ç¤¹
ʸ»ú¤òɽ¼¨¤·¤Þ¤¹
ÁªÂò»è
¤È¤·¤¿¤¤¤È¤¤¤¦¤³¤È¤Ç¤¹¤«?
|
|
2012/4/24(Tue) 00:57:32|NO.46243
emes¤ÏÊʤ¬¤¢¤ë¤«¤é¤Á¤ç¤¤ÌÌÅݤÀ¤±¤É
#include "hsp3util.as"
buffer 1 //ÇØ·ÊÍѲ¾ÁۥХåե¡
moj="°ì¹Ôɽ¼¨½ªÎ»2Éøå¤ËÇطʤòÊѤ¨¤ë¡£","ÄɲäÎʸ»úÎó¤òɽ¼¨"
gsel 1 //ÇØ·ÊÍѥХåե¡¤òÉÁ²èÂоݤˤ¹¤ë
picload "¿¿¤Ã¹õ.jpg" //ÇØ·ÊÍѲ¾ÁۥХåե¡¤ËÆɤ߹þ¤ß
gsel 0 //¥á¥¤¥ó¥¦¥£¥ó¥É¥¦¤òÉÁ²èÂоݤˤ¹¤ë
pos 0,0
gcopy 1,0,0,640,480 //ÇØ·ÊÍѲ¾ÁۥХåե¡¤ò¥á¥¤¥ó¥¦¥£¥ó¥É¥¦¤Ë¥³¥Ô¡¼
color 255,255,255
font "MS UI Gothic",23,1
text 10
emes moj
gsel 1 //ÇØ·ÊÍѥХåե¡¤òÉÁ²èÂоݤˤ¹¤ë
picload "¼¼Æâ.jpg" //ÇØ·ÊÍѲ¾ÁۥХåե¡¤ËÆɤ߹þ¤ß
gsel 0 //¥á¥¤¥ó¥¦¥£¥ó¥É¥¦¤òÉÁ²èÂоݤˤ¹¤ë
wait 200
redraw 0 //ÉÁ²èºî¶ÈÃæ¤Î½ñ¤´¹¤¨¤¬¸«¤¨¤Ê¤¤¤è¤¦¤Ë
pos 0,0
gcopy 1,0,0,640,480 //ÇØ·ÊÍѲ¾ÁۥХåե¡¤ò¥á¥¤¥ó¥¦¥£¥ó¥É¥¦¤Ë¥³¥Ô¡¼
text 0
emes moj //¾å¤Î¥³¥Ô¡¼¤Çʸ»ú¤¬¾Ã¤µ¤ì¤ë¤«¤éºÆÅÙɽ¼¨
mes_posx=ginfo_cx //ʸ»úÉÁ²è½ªÎ»¸å¤ÎÉÁ²è¥Ý¥¸¥·¥ç¥ó
mes_posy=ginfo_cy
redraw 1 //½ñ¤´¹¤¨¤òÈ¿±Ç
gsel 0 //¥á¥¤¥ó¥¦¥£¥ó¥É¥¦¤òÉÁ²èÂоݤˤ¹¤ë
color 255,255,255
pos mes_posx,mes_posy //Á°²ó¤Î³¤¤Î°ÌÃÖ¤ËÀßÄê
text 10
emes moj(1)
ʸ»úÎóÍѤβ¾ÁۥХåե¡ºî¤Ã¤ÆÇØ·Ê¥³¥Ô¡¼Ê¸»ú¥³¥Ô¡¼¤Ã¤ÆÊýË¡¤â¤¢¤ë
emes»È¤Ã¤Æ¤ë¤È¤Á¤ç¤Ã¤È¹©Éפ¬É¬Íפˤʤ뤬¡¦¡¦¡¦
| |
|
2012/4/24(Tue) 04:12:04|NO.46244
/* ¤È¤ê¤¢¤¨¤ºÆ°¤«¤·¤Æ¤ß¤Þ¤·¤¿¡£²¼µ¡¡Á¤¤¬Êѹ¹ÅÀ¤Ç¤¹¡£*/
#include "hsp3util.as"
*taitoru
sdim txbf,32000
sdim ldt,256
sdim moj,64,32
dim jp,3
notesel txbf ; ¥·¥Ê¥ê¥ª¤ò¥Ð¥Ã¥Õ¥¡¤ËÆɤ߹þ¤à
; noteload "¥µ¥ó¥×¥ë.txt"
;
// ¡¥µ¥ó¥×¥ë¥Ç¡¼¥¿¤Î¥À¥ß¡¼ //
;
txbf = {"--- No.000 ---
sky_bg.jpg,¥¿¥¤¥È¥ë.mp3
¥µ¥ó¥×¥ë¤Ç¤¹,
--- No.001 ---
jp6girl.bmp,
ʸ»ú¤òɽ¼¨¤·¤Þ¤¹,
--- No.004 ---
sky_bg.jpg,
ÁªÂò»è,
a,004,b,003
--- No.005 ---
sky_bg.jpg,
½ª¤ï¤ê,
badend,5
--- No.006 ---
sky_bg.jpg,
½ª¤ï¤ê,
badend,6
¤³¤ó¤Ê´¶¤¸¤Ç¤¹"}
;
// ¢--- No.004 ---¤Î¥¸¥ã¥ó¥×À襤¥ó¥Ç¥Ã¥¯¥¹¤òÊѹ¹¤·¤¿ //
;
po=0 ; Æɤ߼è¤ê¾ìÌÌNo.
*main
clrobj ; Á´¥Ü¥¿¥ó¤ò¥¯¥ê¥¢
; ²èÁüɽ¼¨
noteget tmp2,po*4+1 ; ¥·¥Ê¥ê¥ª¤«¤é¾ìÌÌ1¹ÔÌÜÆɤ߹þ¤ß(²èÁü¥Õ¥¡¥¤¥ë̾)
split tmp2,",",cgfn,ongaku
title cgfn+" "+(po*4) ; ¥¿¥¤¥È¥ë¥Ð¡¼¤Ë²èÁü¥Õ¥¡¥¤¥ë̾ɽ¼¨
cls
;
// £CLSÌ¿Îá¤Ç£Ó£Ã£Ò£Å£Å£Î¤ò½é´ü²½¤·¤¿(Button¥ª¥Ö¥¸¥§¥¯¥È¤âºï½ü) //
;
if (cgfn != "") {picload dirinfo(1)+"/sample/demo/"+cgfn,1} ; ²èÁü¥Õ¥¡¥¤¥ëɽ¼¨
;
// ¤cgfn¤¬¶õ¤Î¾ì¹çÆɤ߹þ¤Þ¤Ê¤¤+SCREEN¥µ¥¤¥º¤Î¸ÇÄê //
;
mmload ongaku,1,1
if ongaku!"" :mmplay 1
noteget ldt,po*4+2 ; ¥·¥Ê¥ê¥ª¤«¤é¾ìÌÌ2¹ÔÌÜÆɤ߹þ¤ß(¥á¥Ã¥»¡¼¥¸)
split ldt,",",moj :c=stat ; ¥á¥Ã¥»¡¼¥¸Ê¬³ä
; ¥á¥Ã¥»¡¼¥¸É½¼¨
text 10
font "MS UI Gothic",23,1
color 0,0,0
if c>0 {
color 255,255,255
pos 8,8 :repeat c :emes moj(cnt) :loop
}
; ÁªÂò»è¤Î½èÍý
;
noteget ldt,po*4+3
split ldt,",",moj(0),s0,moj(1),s1,moj(2),s2
c=stat/2
jp(0)=int(s0) :jp(1)=int(s1) :jp(2)=int(s2)
if c=0 :moj(0)="¢§" :jp(0)=po+1 :c=1 ; ÁªÂò»è¤¬Ìµ¤¤»þ¤Î½èÍý
objmode 1
objsize 250,60
repeat c
pos (ginfo_winx-c*250)/2+(250*cnt),ginfo_winy-60
if moj(cnt)="badend"{ ;¤â¤·¥Ð¥Ã¥É¥¨¥ó¥É¤À¤Ã¤¿¤é¥Ü¥¿¥ó¤ò¿¿¤óÃæ¤Ø
pos 300,300
}
button "",*botan :objprm cnt,moj(cnt) ; ¥Ü¥¿¥óɽ¼¨
loop
stop
*botan
repeat c
if moj(cnt)="badend":goto *taitoru
loop
po=jp(stat) :goto *main ; ÁªÂò»è¤Ë¤è¤ëÈô¤ÓÀè¤ò¥»¥Ã¥È
| |
|