how can i make it still sync (adofai type game)

after playing adofai for a while i got inspired to return to makecode to try to remake it here, now seeing as no one has finished one yet.

game

for now i assume the music begins when you get your first change to hit a tile. it would also be nice if you can help with how the track system should actually work and what i would do. i do not expect to keep using tilemaps