PR cleanup
This commit is contained in:
@@ -79,7 +79,6 @@ const getPianoScene = (
|
||||
this.cursor = this.add.rectangle(0, 0, 30, 350, 0x31ef8c, 0.5).setOrigin(0, 0);
|
||||
this.cameras.main.startFollow(this.cursor, true, 0.05, 0.05);
|
||||
|
||||
// create an emitter the once called later will spawn 15 particules all around the sprite that it is attached to
|
||||
this.emitter = this.add.particles(0, 0, 'star', {
|
||||
lifespan: 700,
|
||||
duration: 100,
|
||||
|
||||
@@ -114,9 +114,8 @@ class Scorometer:
|
||||
),
|
||||
None,
|
||||
)
|
||||
if to_play or True:
|
||||
# perf = self.getTimingScore(key, to_play)
|
||||
perf = "perfect"
|
||||
if to_play:
|
||||
perf = self.getTimingScore(key, to_play)
|
||||
self.info[perf] += 1
|
||||
self.info["score"] += (
|
||||
100
|
||||
|
||||
Reference in New Issue
Block a user