First commit

This commit is contained in:
SweetSea
2024-10-26 23:29:10 +07:00
parent c0089fc4a5
commit c8665d06f0
3 changed files with 478 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ local GameMode = Object:extend()
function GameMode:new(player_name, input_file, replay_grade)
VCTRL.toggle(MOBILE and not input_file and not SETTINGS.tvMode)
VCTRL.reset()
if player_name == nil then self.training = true else self.training = false end
if input_file ~= nil then
input_file = love.filesystem.read(REPLAY_DIR..input_file)
@@ -59,7 +59,7 @@ function GameMode:new(player_name, input_file, replay_grade)
self.did_grades = false
self.active_frames = 0
self.total_lines = 0
self.lineClearPoints = {[0]=0, 0, 1667, 3750, 6668, 8335}
self.lineClearPoints = {[0]=0, 0, 1667, 3750, 6668, 8335, 10418, 13336, 15003, 17086}
self.gradeNames = {
"19k", "18k", "17k", "16k", "15k", "14k", "13k", "12k", "11k", "10k",
"9k", "8k", "7k", "6k", "5k", "4k", "3k", "2k", "1k",