Something went wrong. Try again.
A Love2D remaster of my bug-catching-cult-classic Bait and Switch
Something went wrong. Try again.
687 B · 34 lines
Lua
at main
12345678910111213141516171819202122232425262728293031323334local gameState = { current = "MAIN_MENU",
killsPerWave = 13, waveScaleFactor = 1.4, stats = { killCount = 0, waveKills = 0, currentWave = 1 }, tutorialMode = true, settings = { netPosition = "left", }, deathScreen = { deathAnimationDelay = 0, deathAnimationTimer = 0, timer = 0, textRevealTimer = 0, displayedLines = 0, lineDelay = 0.6, restartDelay = 4.0, bestWave = 1 }}
function gameState.isPaused() local s = gameState.current return s == "PAUSED_MENU" or s == "PAUSED_SETTINGS" or s == "PAUSED_UPGRADE"end
return gameState