From ed46a026ae9b96df32b5145bf8ed907fc18614c6 Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj <59454579+SashLilac@users.noreply.github.com> Date: Sat, 14 Nov 2020 12:22:25 -0500 Subject: [PATCH] More QoL changes to C89 --- tetris/modes/marathon_c89.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tetris/modes/marathon_c89.lua b/tetris/modes/marathon_c89.lua index 8c74127..fc2180a 100644 --- a/tetris/modes/marathon_c89.lua +++ b/tetris/modes/marathon_c89.lua @@ -18,9 +18,9 @@ function MarathonC89Game:new() self.randomizer = Randomizer() self.ready_frames = 1 - self.waiting_frames = 72 + self.waiting_frames = 96 - self.start_level = 12 + self.start_level = 18 self.level = self.start_level self.tetrises = 0 @@ -90,6 +90,8 @@ function MarathonC89Game:chargeDAS(inputs) if inputs["down"] == false and self.prev_inputs["down"] == true then self.drop_bonus = 0 end + + if inputs["down"] then self.waiting_frames = 0 end end local gravity_table = { @@ -164,12 +166,14 @@ function MarathonC89Game:drawScoringInfo() love.graphics.printf("NEXT", 64, 40, 40, "left") love.graphics.printf("LINES", 240, 120, 40, "left") love.graphics.printf("SCORE", 240, 200, 40, "left") + love.graphics.printf("LEVEL", 240, 280, 40, "left") love.graphics.setFont(font_3x5_3) love.graphics.printf(self.lines, 240, 140, 90, "left") if self.score >= 999999 then love.graphics.setColor(1, 1, 0, 1) end love.graphics.printf(self.score, 240, 220, 90, "left") love.graphics.setColor(1, 1, 1, 1) + love.graphics.printf(self.level, 240, 300, 90, "left") love.graphics.setFont(font_8x11) love.graphics.printf(formatTime(self.frames), 64, 420, 160, "center")