mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
Update game.py
This commit is contained in:
@@ -766,9 +766,8 @@ class Player:
|
|||||||
note = self.current_notes_draw[0]
|
note = self.current_notes_draw[0]
|
||||||
if note.type in {NoteType.ROLL_HEAD, NoteType.ROLL_HEAD_L, NoteType.BALLOON_HEAD, NoteType.KUSUDAMA} and len(self.current_notes_draw) > 1:
|
if note.type in {NoteType.ROLL_HEAD, NoteType.ROLL_HEAD_L, NoteType.BALLOON_HEAD, NoteType.KUSUDAMA} and len(self.current_notes_draw) > 1:
|
||||||
note = self.current_notes_draw[1]
|
note = self.current_notes_draw[1]
|
||||||
if current_ms > note.hit_ms + 2000:
|
position = self.get_position_x(tex.screen_width, current_ms, note.hit_ms, note.pixels_per_frame_x)
|
||||||
if note.type == NoteType.TAIL:
|
if position < GameScreen.JUDGE_X + (650 * tex.screen_scale):
|
||||||
self.current_notes_draw.pop(0)
|
|
||||||
self.current_notes_draw.pop(0)
|
self.current_notes_draw.pop(0)
|
||||||
|
|
||||||
def note_manager(self, current_ms: float, background: Optional[Background]):
|
def note_manager(self, current_ms: float, background: Optional[Background]):
|
||||||
|
|||||||
Reference in New Issue
Block a user