diff --git a/Zframework/languages.lua b/Zframework/languages.lua index 6a2ecb20..b6db84fa 100644 --- a/Zframework/languages.lua +++ b/Zframework/languages.lua @@ -499,6 +499,7 @@ local langList={ ["custom_clear"]= {"自定义", "普通", "画点什么然后把它消除!"}, ["custom_puzzle"]= {"自定义", "拼图", "画点什么然后把它拼出来吧!"}, ["sprintPenta"]= {"竞速", "五联块", "伤脑筋十八块"}, + ["sprintMPH"]= {"竞速", "MPH", "很经典"}, }, }, { @@ -997,6 +998,7 @@ local langList={ ["custom_clear"]= {"自定义", "普通", "画点什么然后把它消除!"}, ["custom_puzzle"]= {"自定义", "拼图", "画点什么然后把它拼出来吧!"}, ["sprintPenta"]= {"竞速", "五联块", "伤脑筋十八块"}, + ["sprintMPH"]= {"竞速", "MPH", "很经典"}, }, }, { @@ -1485,6 +1487,7 @@ local langList={ ["custom_clear"]= {"Custom", "NORMAL", "Draw something then clear it!!"}, ["custom_puzzle"]= {"Custom", "PUZZLE", "Draw something then stack it!!"}, ["sprintPenta"]= {"Sprint", "Pentomino", "Clear 40 lines with pentominoes.\n18 pentominoes in each bag."}, + ["sprintMPH"]= {"Sprint", "MPH", "Classic."}, }, }, { @@ -1971,6 +1974,7 @@ local langList={ ["custom_clear"]= {"Custom", "NORMAL", "Draw something then clear it!!"}, ["custom_puzzle"]= {"Custom", "PUZZLE", "Draw something then stack it!!"}, ["sprintPenta"]= {"Sprint", "Pentomino", "Puzzle-18"}, + ["sprintMPH"]= {"Sprint", "MPH", "Classic."}, }, }, { @@ -2470,7 +2474,7 @@ local langList={ ["infinite_dig"]= {"无尽:挖掘", "", "闲得慌的话来挖"}, ["custom_clear"]= {"自定义", "普通", "试验场"}, ["custom_puzzle"]= {"自定义", "拼图", "宁就是方块艺术家"}, - ["sprintPenta"]= {"竞速", "五联块", "哦哟?你急了"}, + ["sprintPenta"]= {"竞速", "五联块", "离谱"}, }, }, } diff --git a/modes/sprintMPH.lua b/modes/sprintMPH.lua new file mode 100644 index 00000000..9ecd7abc --- /dev/null +++ b/modes/sprintMPH.lua @@ -0,0 +1,36 @@ +local gc=love.graphics +local rnd=math.random +return{ + color=color.green, + env={ + drop=60,lock=60, + next=0,hold=false, + sequence="rnd", + target=40,dropPiece=PLY.check_lineReach, + bg="aura",bgm="race", + }, + load=function() + PLY.newPlayer(1,340,15) + end, + mesDisp=function(P) + setFont(55) + local r=40-P.stat.row + if r<0 then r=0 end + mStr(r,69,335) + P:drawTargetLine(r) + end, + score=function(P)return{P.stat.time,P.stat.piece}end, + scoreDisp=function(D)return toTime(D[1]).." "..D[2].." Pieces"end, + comp=function(a,b)return a[1]