From 37bf7eab28727f428cf456c61f698e0a3be55bb0 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Sat, 5 Mar 2022 05:44:05 +0530 Subject: * Player/ Enemy Chase * Pickable Entity * Enemies --- main.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'main.lua') diff --git a/main.lua b/main.lua index 7f7c10d..d9411c2 100644 --- a/main.lua +++ b/main.lua @@ -1,8 +1,19 @@ local Gamestate = require("libs.hump.gamestate") local LoveSplash = require("libs.o-ten-one") require("scenes.menu_scene"); +require("scenes.level1_scene"); function love.load() + -- initGame() + bypassMenu() +end + +function bypassMenu() + Gamestate.switch(level1) + Gamestate.registerEvents() +end + +function initGame() splash = LoveSplash({background={0, 0, 0}}) splash.onDone = onLoveSplashDone end -- cgit v1.2.3