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