From 6f49341ba51e841407aa937dbf9a39c1e74cb041 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Fri, 4 Dec 2020 16:04:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dcubefield=E5=B0=8F=E6=B8=B8?= =?UTF-8?q?=E6=88=8F=E6=B2=A1=E6=9C=89=E8=BF=94=E5=9B=9E=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/languages.lua | 1 + parts/scenes/mg_cubefield.lua | 10 +++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Zframework/languages.lua b/Zframework/languages.lua index b3778218..7cbfa59d 100644 --- a/Zframework/languages.lua +++ b/Zframework/languages.lua @@ -40,6 +40,7 @@ local publicWidgetText={ symbol="?????", yygq="就这?", }, + mg_cubefield={}, } local function langFallback(T0,T) for k,v in next,T0 do diff --git a/parts/scenes/mg_cubefield.lua b/parts/scenes/mg_cubefield.lua index 8bd726ec..f32d16d3 100644 --- a/parts/scenes/mg_cubefield.lua +++ b/parts/scenes/mg_cubefield.lua @@ -251,8 +251,8 @@ function Pnt.mg_cubefield() --Draw menu if play then setFont(60) - mStr(int(score),-400,-640) - mStr(int(score),400,-640) + mStr(int(score),-300,-640) + mStr(int(score),300,-640) if score%1000>920 then gc.setColor(1,1,1,abs(score%1000-970)*8) setFont(70) @@ -290,4 +290,8 @@ function Pnt.mg_cubefield() mStr(MOBILE and"Touch to Start"or"Press space",0,-160) end gc.pop() -end \ No newline at end of file +end + +WIDGET.init("mg_cubefield",{ + WIDGET.newKey{name="back",x=1140,y=80,w=170,h=80,font=40,code=WIDGET.lnk_BACK}, +}) \ No newline at end of file