You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be quite dandy if that's how the timer worked in Scratch, too, but it's not 📦
See this project I made last year which shows that the timer block is only updated once every rendered Scratch frame. (The main project loop runs many times in one frame unless you click "simulate movement", which enables requesting a screen redraw every tick.)
The current timer implementation in Leopard is very rudimentary:
leopard/src/Project.js
Lines 251 to 254 in 25652b1
This would be quite dandy if that's how the timer worked in Scratch, too, but it's not 📦
See this project I made last year which shows that the timer block is only updated once every rendered Scratch frame. (The main project loop runs many times in one frame unless you click "simulate movement", which enables requesting a screen redraw every tick.)
See all the gruesome details in scratch-vm:
clock.js
,sequencer.js
.The text was updated successfully, but these errors were encountered: