display combos after t-spin/lines cleard
This commit is contained in:
parent
f0971cd030
commit
80d639fd63
@ -3,7 +3,6 @@ import sys
|
||||
import locale
|
||||
import time
|
||||
import os
|
||||
import itertools
|
||||
|
||||
try:
|
||||
import arcade
|
||||
|
@ -409,15 +409,13 @@ class TetrisLogic():
|
||||
ds *= 100 * self.level
|
||||
lock_score += ds
|
||||
lock_strings.append(str(ds))
|
||||
self.show_text("\n".join(lock_strings))
|
||||
|
||||
|
||||
if self.combo >= 1:
|
||||
lock_strings.append("COMBO x%d" % self.combo)
|
||||
ds = (20 if nb_lines_cleared==1 else 50) * self.combo * self.level
|
||||
lock_score += ds
|
||||
lock_strings.append(str(ds))
|
||||
|
||||
if lock_strings:
|
||||
self.show_text("\n".join(lock_strings))
|
||||
self.show_text("COMBO x{:n}\n{:n}".format(self.combo, ds))
|
||||
|
||||
self.add_to_score(lock_score)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user