From b8422935637011d728466c9a9b6b397a1fc01c62 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sun, 7 Mar 2021 13:41:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=80=E4=B8=AA=E6=8F=90?= =?UTF-8?q?=E7=A4=BAide=E5=8A=A0=E8=BD=BDlove=20api=E7=9A=84=E6=96=87?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E5=88=A0=E9=99=A4=E4=B8=80=E4=B8=AA=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- love-api for VSCode.lua | 2 ++ parts/scenes/minigame.lua | 17 ----------------- 2 files changed, 2 insertions(+), 17 deletions(-) create mode 100644 love-api for VSCode.lua delete mode 100644 parts/scenes/minigame.lua diff --git a/love-api for VSCode.lua b/love-api for VSCode.lua new file mode 100644 index 00000000..6977cca8 --- /dev/null +++ b/love-api for VSCode.lua @@ -0,0 +1,2 @@ +--Just tell IDE to load love-api, no actual usage +love=require"love" \ No newline at end of file diff --git a/parts/scenes/minigame.lua b/parts/scenes/minigame.lua deleted file mode 100644 index 9350e8dc..00000000 --- a/parts/scenes/minigame.lua +++ /dev/null @@ -1,17 +0,0 @@ -local scene={} - -function scene.sceneInit() - BG.set() -end - -scene.widgetList={ - WIDGET.newButton{name="mg_15p", x=240, y=250,w=350,h=120,font=40,code=goScene"mg_15p"}, - WIDGET.newButton{name="mg_schulteG",x=640, y=250,w=350,h=120,font=40,code=goScene"mg_schulteG"}, - WIDGET.newButton{name="mg_pong", x=1040, y=250,w=350,h=120,font=40,code=goScene"mg_pong"}, - WIDGET.newButton{name="mg_AtoZ", x=240, y=400,w=350,h=120,font=40,code=goScene"mg_AtoZ"}, - WIDGET.newButton{name="mg_UTTT", x=640, y=400,w=350,h=120,font=30,code=goScene"mg_UTTT"}, - WIDGET.newButton{name="mg_cubefield",x=1040,y=400,w=350,h=120,font=40,code=goScene"mg_cubefield"}, - WIDGET.newButton{name="back", x=1140, y=640,w=170,h=80,font=40,code=backScene}, -} - -return scene \ No newline at end of file