From a0ea5d71c5e2410635154668fa3e1559ef616ec6 Mon Sep 17 00:00:00 2001 From: Rose Liverman Date: Sat, 26 Sep 2026 21:33:31 -0600 Subject: [PATCH] labeling temporary code --- src/main.lua | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main.lua b/src/main.lua index 649baf4..341d1f9 100644 --- a/src/main.lua +++ b/src/main.lua @@ -113,6 +113,7 @@ local level_up = function(character) -- TODO this is where a spell could be added, and end +-- TEMP local test_new_character = function() local character = new_character() local message = "My name is " .. character.name .. ", and I am a " .. character.class .. " " .. character.race .. "!" @@ -120,7 +121,7 @@ local test_new_character = function() end test_new_character() --- test progress_bar +-- TEMP test progress_bar local test_bar = progress_bar(0, window_height - constants.progress_bar_height * 2, window_width, constants.progress_bar_height) local test_message = "This is a test text string of significant length. It exists to test printing over a progress bar." test_bar:set_text(test_message) @@ -129,6 +130,7 @@ local test_timer = timer.every(#test_message * constants.reading_time_multiplier -- macOS_say(test_message) end) +-- I started this too soon and it needs deletion or massive change local task_queue task_queue = { pending_tasks = {}, @@ -151,14 +153,14 @@ love.update = function(dt) lovebird.update() timer.update(dt) - test_bar:set_progress(test_timer.run_time / test_timer:get_interval()) + test_bar:set_progress(test_timer.run_time / test_timer:get_interval()) -- TEMP macOS_say:update() end love.draw = function() love.graphics.draw(images.love_image, images.grass, 50, 50) -- TEMP - test_bar:draw() + test_bar:draw() -- TEMP book_progress:draw() end @@ -172,9 +174,9 @@ love.keypressed = function(key) update_book_progress(-1) elseif key == "right" then update_book_progress(1) - elseif key == "v" then + elseif key == "v" then -- TEMP testing voices macOS_say() - elseif key == "c" then + elseif key == "c" then -- TEMP gen character and say introduction test_new_character() end end