state changes and a menu

This commit is contained in:
Simon Kellet
2024-07-19 13:20:04 +01:00
parent 99f0323635
commit 68b76eaaaf
10 changed files with 212 additions and 1143 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
function GameKeyPressed(key)
if key == "escape" then
love.event.quit()
_G.GAMESTATE = "MENU"
print("STATE CHANEGD: MENU!")
end
if key == "b" then