minor fixes
This commit is contained in:
parent
f13962890f
commit
3f86f66a23
@ -147,7 +147,7 @@ class Matrix(Grid):
|
||||
self.speed = consts.INITIAL_SPEED * (0.8 - ((level - 1) * 0.007)) ** (level - 1)
|
||||
self.fall_timer.start(self.speed)
|
||||
if level > 15:
|
||||
self.lock_delay *= 0.9
|
||||
self.lock_delay *= consts.AFTER_LVL_15_ACCELERATION
|
||||
|
||||
def empty_row(self):
|
||||
return [None for x in range(self.COLUMNS)]
|
||||
|
@ -38,6 +38,7 @@ ENTRY_DELAY = 80
|
||||
LINE_CLEAR_DELAY = 80
|
||||
LOCK_DELAY = 500
|
||||
TEMPORARY_TEXT_DURATION = 1000
|
||||
AFTER_LVL_15_ACCELERATION = 0.85
|
||||
|
||||
# Block Colors
|
||||
BLOCK_BORDER_COLOR = QtGui.QColor(0, 159, 218, 255)
|
||||
|
Loading…
x
Reference in New Issue
Block a user