プレイ日記
HoRiz0n ClashStudios125
I need help making it to whenever 1 letter is called onto the screen it makes a noise, waits 7 seconds then does it again (1's, 2's, and 3's are just example numbers) like this but simpler: Beep 1 Locate 1,1:Print "H" Wait 1 Beep 1 Locate 1,2:Print "I" Wait 1 Beep 1 Locate 1,3:Print "!"
5そうだね
プレイ済み
返信[1]
親投稿
Try- FOR I=0 TO 2 BEEP 1 ?MID$("Hi!",I,1); WAIT 1 NEXT
0そうだね
プレイ済み
返信[2]
親投稿
HoRiz0n ClashStudios125
It works except it doesn't PRINT the message
0そうだね
プレイ済み
返信[3]
親投稿
Hanzo rzsense
"WAIT 1" waits 1/60 second, so that if you want to wait 1 second, you should write "WAIT 60". If you want to wait T seconds, you should write "WAIT T*60".
0そうだね
未プレイ
返信[4]
親投稿
HoRiz0n ClashStudios125
I get that, 1 is just an example number, I'm using different numbers in the actual code
0そうだね
プレイ済み
返信[5]
親投稿
PChicken NerdChicken
FOR I=0 TO 2 BEEP 1 LOCATE I ?MID$("Hi!",I,1); WAIT 1 NEXT
0そうだね
プレイ済み
返信[6]
親投稿
PChicken NerdChicken
and i know i doesn't matter much but use vsync instead of wait.
1そうだね
プレイ済み
返信[7]
親投稿
HoRiz0n ClashStudios125
It is doing this...
0そうだね
プレイ済み
返信[8]
親投稿
PChicken NerdChicken
oops
0そうだね
プレイ済み
返信[9]
親投稿
Show me a screen shot of the code. Then I can help.
0そうだね
プレイ済み
返信[10]
親投稿
HoRiz0n ClashStudios125
It is exactly what you said above accept I changed WAIT to VSYNC and ?Mid$("Hi!",I,1); to ?Mid$("Hi!",I,3)
0そうだね
プレイ済み
返信[11]
親投稿
Don't change the "MID" command. Thats the problem. And be sure to put ";" after it.
0そうだね
プレイ済み
返信[12]
親投稿
HoRiz0n ClashStudios125
oh ok
0そうだね
プレイ済み
返信[13]
親投稿
HoRiz0n ClashStudios125
Thanks!
1そうだね
プレイ済み