code-dot-org / dance-party

Renderer for the Dance game type. Based on p5.js and p5.play.js.

Home Page:https://code-dot-org.github.io/dance-party/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No spinner when playing new song on slow connection

breville opened this issue · comments

I'm on a slow-ish connection right now. I ran a level once, then changed song, and hit run again. There was no spinner and it just looked like it had hung:

screenshot 2018-11-29 11 17 22

Eventually it started playing, but it was surprising to see no spinner in this case.

This is taking up to 50 seconds.

Connection details from speedtest.net: Ping: 6ms; Download: 0.51 Mbps; Upload: 0.35 Mbps.

(Are we loading entire songs for early levels? Thinking about it, this might be wasteful as we are never going longer than 7 measures.)