プレイ日記
Mike Bluerobin2
Still using subroutines :) No DEF just yet...
1そうだね
プレイ済み
返信[1]
親投稿
Candall Candall
Why not? It's free for the DEFing.
0そうだね
プレイ済み
返信[2]
親投稿
Mike Bluerobin2
I figure a DEF isn't needed unless you want a returned value or temp variables. Using both atm now though, as some things do require that.
0そうだね
プレイ済み
返信[3]
親投稿
Candall Candall
Not needed, sure. Still, I prefer them just because they feel more natural.
0そうだね
プレイ済み
返信[4]
親投稿
NagatoYuki newtonyic1
what does gosub and return and vsync do?
0そうだね
未プレイ
返信[5]
親投稿
Mike Bluerobin2
GOSUB makes the code jump to an '@' section like GOTO, but you can go back to where you were before in your code using RETURN. VSYNC is used mainly in loops, it helps maintain a steady speed. You pretty much want a VSYNC 1 in every loop you have.
1そうだね
プレイ済み
返信[6]
親投稿
NagatoYuki newtonyic1
ok
0そうだね
未プレイ
返信[7]
親投稿
calc84 calc84maniac
More accurately, you'll want it in any loop that's supposed to execute once per frame. Hardly every loop.
1そうだね
プレイ済み