From 2f359025f27b5e2125d883eb89e1865bff3666d6 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Wed, 9 Dec 2020 01:05:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E8=8F=9C=E5=8D=95=E5=B0=8F=E5=BD=A9?= =?UTF-8?q?=E8=9B=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/main.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/parts/scenes/main.lua b/parts/scenes/main.lua index 2f4bb71a..8209fb8f 100644 --- a/parts/scenes/main.lua +++ b/parts/scenes/main.lua @@ -59,6 +59,9 @@ end function scene.update(dt) GAME.frame=GAME.frame+1 PLAYERS[1]:update(dt) + if GAME.frame>=36000 and GAME.frame%300==0 then + PLAYERS[1]:movePosition(math.random(800,1000),math.random(50,310),.6) + end end function scene.draw()