commit 9fc543a95a09bda8227ff29cb2b89e5138785955 Author: Tyler Scott Date: Wed Feb 2 20:54:59 2022 +0700 Set window size and title, press Esc to close game diff --git a/conf.lua b/conf.lua new file mode 100644 index 0000000..fd3639f --- /dev/null +++ b/conf.lua @@ -0,0 +1,5 @@ +function love.conf(t) + t.window.title = "Bubble Shooter" + t.window.width = 1600 + t.window.height = 900 +end diff --git a/main.lua b/main.lua new file mode 100644 index 0000000..139b5fe --- /dev/null +++ b/main.lua @@ -0,0 +1,5 @@ +function love.keypressed(key, scan_code, is_repeat) + if key == 'escape' then + love.event.quit() + end +end