From 36460f5d1fb4d5e6f9e2775723564518d10f08ac Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Tue, 6 Oct 2020 18:10:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DPong=E5=BE=97=E5=88=86?= =?UTF-8?q?=E5=88=A4=E5=AE=9A=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parts/scenes.lua b/parts/scenes.lua index fd08fefa..ef47bc1c 100644 --- a/parts/scenes.lua +++ b/parts/scenes.lua @@ -759,7 +759,7 @@ do--pong end elseif S.state==2 then--Game over if x<-120 or x>1400 or y<-40 or y>760 then - local P=x>1400 and S.p1 or S.p2 + local P=x>640 and S.p1 or S.p2 P.score=P.score+1 TEXT.show("+1",x>1400 and 470 or 810,226,50,"score") SFX.play("reach")