mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
Update font related stuff
This commit is contained in:
@@ -922,23 +922,23 @@ end
|
||||
|
||||
function GameMode:drawInputDisplay(left, top)
|
||||
if self.replay_inputs[self.frames] ~= nil then
|
||||
drawText("+", left+10, top+8, 1000, "left")
|
||||
drawText(CHAR.key.down , left+10, top+18, 1000, "left",{1-boolToInt(self.replay_inputs[self.frames]['down']),1,1-boolToInt(self.replay_inputs[self.frames]['down']),1})
|
||||
drawText(CHAR.key.left , left , top+ 8, 1000, "left",{1-boolToInt(self.replay_inputs[self.frames]['left']),1,1-boolToInt(self.replay_inputs[self.frames]['left']),1})
|
||||
drawText(CHAR.key.right, left+20, top+ 8, 1000, "left",{1-boolToInt(self.replay_inputs[self.frames]['right']),1,1-boolToInt(self.replay_inputs[self.frames]['right']),1})
|
||||
drawText("L", left+35, top+8, 1000, "left",{1-boolToInt(self.replay_inputs[self.frames]['rotate_left']),1,1-boolToInt(self.replay_inputs[self.frames]['rotate_left']),1})
|
||||
drawText("R", left+50, top+8, 1000, "left",{1-boolToInt(self.replay_inputs[self.frames]['rotate_right']),1,1-boolToInt(self.replay_inputs[self.frames]['rotate_right']),1})
|
||||
drawText("L", left+65, top+8, 1000, "left",{1-boolToInt(self.replay_inputs[self.frames]['rotate_left2']),1,1-boolToInt(self.replay_inputs[self.frames]['rotate_left2']),1})
|
||||
drawText("R", left+80, top+8, 1000, "left",{1-boolToInt(self.replay_inputs[self.frames]['rotate_right2']),1,1-boolToInt(self.replay_inputs[self.frames]['rotate_right2']),1})
|
||||
drawText("•", left+7.5, top+ 8, 1000, "left")
|
||||
drawText(CHAR.key.down , left+ 5, top+18, 1000, "left",{1-boolToInt(self.replay_inputs[self.frames]['down']),1,1-boolToInt(self.replay_inputs[self.frames]['down']),1})
|
||||
drawText(CHAR.key.left , left- 5, top+ 8, 1000, "left",{1-boolToInt(self.replay_inputs[self.frames]['left']),1,1-boolToInt(self.replay_inputs[self.frames]['left']),1})
|
||||
drawText(CHAR.key.right, left+ 15, top+ 8, 1000, "left",{1-boolToInt(self.replay_inputs[self.frames]['right']),1,1-boolToInt(self.replay_inputs[self.frames]['right']),1})
|
||||
drawText("L", left+ 35, top+ 8, 1000, "left",{1-boolToInt(self.replay_inputs[self.frames]['rotate_left']),1,1-boolToInt(self.replay_inputs[self.frames]['rotate_left']),1})
|
||||
drawText("R", left+ 50, top+ 8, 1000, "left",{1-boolToInt(self.replay_inputs[self.frames]['rotate_right']),1,1-boolToInt(self.replay_inputs[self.frames]['rotate_right']),1})
|
||||
drawText("L", left+ 65, top+ 8, 1000, "left",{1-boolToInt(self.replay_inputs[self.frames]['rotate_left2']),1,1-boolToInt(self.replay_inputs[self.frames]['rotate_left2']),1})
|
||||
drawText("R", left+ 80, top+ 8, 1000, "left",{1-boolToInt(self.replay_inputs[self.frames]['rotate_right2']),1,1-boolToInt(self.replay_inputs[self.frames]['rotate_right2']),1})
|
||||
else
|
||||
drawText("+", left+10, top+8, 1000, "left")
|
||||
drawText(CHAR.key.down , left+10, top+18, 1000)
|
||||
drawText(CHAR.key.left , left , top+ 8, 1000)
|
||||
drawText(CHAR.key.right, left+20, top+ 8, 1000)
|
||||
drawText("L", left+35, top+8, 1000, "left")
|
||||
drawText("R", left+50, top+8, 1000, "left")
|
||||
drawText("L", left+65, top+8, 1000, "left")
|
||||
drawText("R", left+80, top+8, 1000, "left")
|
||||
drawText("•" , left+7.5, top+ 8, 1000, "left")
|
||||
drawText(CHAR.key.down , left+ 5, top+18, 1000)
|
||||
drawText(CHAR.key.left , left- 5, top+ 8, 1000)
|
||||
drawText(CHAR.key.right, left+ 15, top+ 8, 1000)
|
||||
drawText("L" , left+ 35, top+ 8, 1000, "left")
|
||||
drawText("R" , left+ 50, top+ 8, 1000, "left")
|
||||
drawText("L" , left+ 65, top+ 8, 1000, "left")
|
||||
drawText("R" , left+ 80, top+ 8, 1000, "left")
|
||||
end
|
||||
end
|
||||
|
||||
@@ -992,7 +992,7 @@ function GameMode:drawScoringInfo()
|
||||
love.graphics.rectangle("fill", 68, 270, 140, 190, 10, 10)
|
||||
love.graphics.setColor(0.05,0.05,0.05,1)
|
||||
love.graphics.rectangle("fill", 65, 267, 140, 190, 10, 10)
|
||||
drawText(string.format("Replay in progress\n\n\n\n\n\n\n\n\n%s", formatTime(self.frames)), 70, 275, 1000, "left")
|
||||
drawBoldText(string.format("Replay in progress\n\n\n\n\n\n\n\n\n\n%s", formatTime(self.frames)), 70, 275, 1000, "left")
|
||||
drawBigText(string.format("%s", self.grade), 100, 143, 1000, "left")
|
||||
self:drawInputDisplay(103,185)
|
||||
elseif not PENTO_MODE then
|
||||
|
||||
Reference in New Issue
Block a user