diff options
author | Indrajith K L | 2022-03-05 05:44:05 +0530 |
---|---|---|
committer | Indrajith K L | 2022-03-05 05:44:05 +0530 |
commit | 37bf7eab28727f428cf456c61f698e0a3be55bb0 (patch) | |
tree | a7015077b87f334821887020d2f6f70f4a5f9f28 /main.lua | |
parent | 7683830ed25213c4e444c5587559fe803b480ea7 (diff) | |
download | YEAD-37bf7eab28727f428cf456c61f698e0a3be55bb0.tar.gz YEAD-37bf7eab28727f428cf456c61f698e0a3be55bb0.tar.bz2 YEAD-37bf7eab28727f428cf456c61f698e0a3be55bb0.zip |
* Player/ Enemy Chase
* Pickable Entity
* Enemies
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |