Change way to calculate stroke end strokes. End of stroke === no increase on angles with respect to x and y planes. (fix #152)

This commit is contained in:
Diego Marcos
2018-10-31 09:45:14 -07:00
parent a4c8a6df80
commit aa086d7567
2 changed files with 24 additions and 12 deletions

View File

@@ -128,7 +128,8 @@ AFRAME.registerState({
state.score.multiplier = state.score.combo >= 8
? 8
: 2 * Math.floor(Math.log2(state.score.combo));
// console.log("BEAT SCORE: " + score);
// console.log("BEAT SCORE: " + score + " " + payload.angleBeforeHit + " " + payload.angleAfterHit);
},
beatmiss: state => {