tutorialActive does not mean isPlaying
This commit is contained in:
@@ -448,7 +448,7 @@ AFRAME.registerState({
|
||||
computeState: (state) => {
|
||||
state.isPlaying =
|
||||
!state.menuActive && !state.isPaused && !state.isVictory && !state.isGameOver &&
|
||||
!state.challenge.isLoading && !state.isSongLoading;
|
||||
!state.challenge.isLoading && !state.isSongLoading && !!state.challenge.id;
|
||||
|
||||
const anyMenuOpen = state.menuActive || state.isPaused || state.isVictory ||
|
||||
state.isGameOver;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<a-entity position="1.17 0 0" geometry="primitive: ring; radiusInner: 0.08; radiusOuter: 0.095; segmentsPhi: 1; segmentsTheta: 30; buffer: false"></a-entity>
|
||||
</a-entity>
|
||||
<a-entity mixin="font" text="align: center; value: 1 2 3; baseline: top; wrapCount: 50; letterSpacing: 180; width: 3" position="0 0.27 0"></a-entity>
|
||||
<a-entity mixin="font" text="baseline: top; lineHeight: 50; align: center; value: SLICE THE BEATS\nMind color and direction!; wrapCount: 28" position="-1.17 0.1 0"></a-entity>
|
||||
<a-entity mixin="font" text="baseline: top; lineHeight: 50; align: center; value: SLICE THE BEATS\nMIND COLOR AND DIRECTION!; wrapCount: 28" position="-1.17 0.1 0"></a-entity>
|
||||
<a-entity mixin="font" text="baseline: top; lineHeight: 50; align: center; value: DODGE WALLS,\nAVOID CUTTING MINES; wrapCount: 28" position="0 0.1 0"></a-entity>
|
||||
<a-entity mixin="font" text="baseline: top; lineHeight: 50; align: center; value: MORE SWING,\nMORE POINTS!; wrapCount: 28" position="1.17 0.1 0"></a-entity>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user