comment out a console log
This commit is contained in:
@@ -62,9 +62,9 @@ AFRAME.registerComponent('saber-controls', {
|
||||
if (distance > data.strokeMinSpeed) {
|
||||
if (!this.startSwinging) { this.startSwinging = true; }
|
||||
this.strokeAngle += ((Math.asin(((distance / 1000000) / 2.0) / 0.9)) / (2 * Math.PI)) * 360;
|
||||
if (this.strokeAngle > data.strokeMinAngle) { this.swinging = true; }
|
||||
if (this.strokeAngle > data.strokeMinAngle) { this.swinging = true; }
|
||||
} else {
|
||||
if (this.swinging) { console.log("ANGLE " + this.strokeAngle); }
|
||||
// if (this.swinging) { console.log("ANGLE " + this.strokeAngle); }
|
||||
this.swinging = false;
|
||||
this.startSwinging = false;
|
||||
this.strokeAngle = 0;
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
<!-- Titles. -->
|
||||
<a-entity id="inGameMenuTitles" position="0 1.7 -2.3">
|
||||
<a-entity mixin="gameMenuButtonText" text="value: GAME OVER; color: #ff7171; width: 4" bind__visible="isGameOver"></a-entity>
|
||||
|
||||
<a-entity mixin="gameMenuButtonText" text="value: SONG CLEAR; color: #7171FF; width: 4" bind__visible="isVictory"></a-entity>
|
||||
</a-entity>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user