There's an error here, the framerate will keep going up by 30 each second because you're not resetting f.Get the framerate:(#4)that's assuming the project is running at a perfect framerate
maybe this?wait ((frames) / (30)) secs
i thinkwhen green flag clickedThen to wait one frame:
forever
change [f v] by [1]
end
when green flag clicked
forever
wait (1) secs
set [fps v] to (f)
endwhen green flag clicked
wait ((1) / (fps)) secs
↧
About Scratch :: Suggestions :: scratch blocks
↧
Trending Articles
More Pages to Explore .....