leopard-js / leopard

Library for making Scratch-like projects with JavaScript.
https://leopardjs.com
MIT License
136 stars 26 forks source link

Improve sequencer/scheduler timing + ordering #163

Open adroitwhiz opened 1 year ago

adroitwhiz commented 1 year ago

Right now, there doesn't seem to be much effort put into matching the timing and order of script execution with Scratch. This may be the cause of a large number of compatibility issues.

We should go through the thread-scheduling logic here and compare it with Scratch's (or my refactoring of it) and try to make them match. We can likely reuse many scratch-vm execution tests.