mirror of
https://github.com/LDDestroier/CC/
synced 2025-01-07 07:50:26 +00:00
Reduced game over duration
This commit is contained in:
parent
4674858294
commit
eecfe5ec0c
@ -744,16 +744,16 @@ local gameOver = function(player, cPlayer)
|
|||||||
local waitTime
|
local waitTime
|
||||||
if cPlayer.lines == 0 then
|
if cPlayer.lines == 0 then
|
||||||
mino = makeNewMino("eatmyass", player.board, 12, 3 + game.boardOverflow)
|
mino = makeNewMino("eatmyass", player.board, 12, 3 + game.boardOverflow)
|
||||||
waitTime = 130
|
waitTime = 70
|
||||||
elseif cPlayer.lines <= 5 then
|
elseif cPlayer.lines <= 5 then
|
||||||
mino = makeNewMino("yousuck", player.board, 12, 3 + game.boardOverflow)
|
mino = makeNewMino("yousuck", player.board, 12, 3 + game.boardOverflow)
|
||||||
waitTime = 100
|
waitTime = 60
|
||||||
elseif cPlayer.lines == 69 or cPlayer.lines == 690 then
|
elseif cPlayer.lines == 69 or cPlayer.lines == 690 then
|
||||||
mino = makeNewMino("nice", player.board, 12, 3 + game.boardOverflow)
|
mino = makeNewMino("nice", player.board, 12, 3 + game.boardOverflow)
|
||||||
waitTime = 80
|
waitTime = 50
|
||||||
else
|
else
|
||||||
mino = makeNewMino("gameover", player.board, 12, 3 + game.boardOverflow)
|
mino = makeNewMino("gameover", player.board, 12, 3 + game.boardOverflow)
|
||||||
waitTime = 90
|
waitTime = 70
|
||||||
end
|
end
|
||||||
local color = 0
|
local color = 0
|
||||||
for i = 1, waitTime do
|
for i = 1, waitTime do
|
||||||
|
Loading…
Reference in New Issue
Block a user