プレイ日記
Gad Iknowitall
i want two loops going at once
7そうだね
プレイ済み
返信[1]
親投稿
TN21 Trinitro21
Make one a subroutine.
0そうだね
プレイ済み
返信[2]
親投稿
calc84 calc84maniac
If you want to count frames, look into the MAINCNT system variable. That will return the number of frames that have passed since SmileBASIC was started, and will continue counting up in the background.
1そうだね
プレイ済み
返信[3]
親投稿
Gad Iknowitall
gosub wont work
0そうだね
プレイ済み
返信[4]
親投稿
TN21 Trinitro21
Replace GOTO @LOOP1 with RETURN and put GOTO @LOOP in line 9.
0そうだね
プレイ済み
返信[5]
親投稿
Gad Iknowitall
it still wont work so i guess ill have to use the maincnt variable
0そうだね
プレイ済み
返信[6]
親投稿
Gad Iknowitall
figured it out i combined the code into one loop
0そうだね
プレイ済み
返信[7]
親投稿
TN21 Trinitro21
Oh, you already had GOTO @LOOP on line 7. You were supposed to put the GOSUB -inside- the main loop.
1そうだね
プレイ済み