PR cleanup

This commit is contained in:
Clément Le Bihan
2023-09-14 17:20:39 +02:00
parent f83043a9c9
commit aaaf73f632
2 changed files with 2 additions and 4 deletions

View File

@@ -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,

View File

@@ -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