prefetch beat data + get access to beat info early

This commit is contained in:
Kevin Ngo
2018-10-17 00:18:50 -07:00
parent f0785650c5
commit ed09fc568a
4 changed files with 101 additions and 79 deletions

View File

@@ -15,7 +15,7 @@
<a-scene
mixin="gameoverAnimation fogAnimation"
bind__beat-loader="challengeId: challenge.id; difficulty: challenge.difficulty; isPlaying: isPlaying"
bind__beat-loader="challengeId: challenge.id; difficulty: menuSelectedChallenge.difficulty; isPlaying: isPlaying; menuSelectedChallengeId: menuSelectedChallenge.id"
bind__gameover="isGameOver: isGameOver"
bind__intro-song="isPlaying: menuActive && !menuSelectedChallenge.id; isSearching: isSearching"
bind__overlay="enabled: !isPlaying"