From d7344ed04e9fcd20f981e86d9bc8e1d62bfff40e Mon Sep 17 00:00:00 2001 From: PossiblyAxolotl Date: Thu, 7 Mar 2024 21:21:57 -0600 Subject: [PATCH] added song to editor, fixed invert text, update thankyous --- Source/Editor.lua | 6 +++--- Source/Menu.lua | 4 ++-- Source/thankyous.txt | 5 +++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Source/Editor.lua b/Source/Editor.lua index a7ed265..441ef13 100644 --- a/Source/Editor.lua +++ b/Source/Editor.lua @@ -19,7 +19,7 @@ local pos1 = {x,y} local editor = "main" -local editorSongs = {"song1","song2","song5", "song6", "song7", "song8", "song9", "song10"} +local editorSongs = {"song1","song2","song5", "song6", "song7", "song8", "song9", "song10", "song11"} local selSong = "song2" local songIndexSel = 10 @@ -208,7 +208,7 @@ function editUpdate() if tileIndex > #editorSongs - 0.1 then tileIndex = 0 end if tileIndex < 0 then tileIndex = #editorSongs - 0.1 end - curY = math.floor( tileIndex ) * 28 +7 + curY = math.floor( tileIndex ) * 25 +7 if songIndexSel ~= math.floor(tileIndex) then songIndexSel = math.floor(tileIndex) @@ -511,7 +511,7 @@ end tileTable[8+ind]:draw(373,209) elseif editor == "music" then for i = 1, #editorSongs do - gfx.drawText(i,374,12+(28*(i-1))) + gfx.drawText(i,374,12+(25*(i-1))) end elseif editor == "pos2Saw" then gfx.drawText("SELECT TARGET POSITION \nTRAVEL TIME: "..traveltime.."S",0,0) diff --git a/Source/Menu.lua b/Source/Menu.lua index 599b6c7..e70a98a 100644 --- a/Source/Menu.lua +++ b/Source/Menu.lua @@ -93,8 +93,8 @@ function updateMenu() if menuitems[1].name == "NO GRAVITY" then local str = {[true]="TRUE",[false]="FALSE"} page = -1 - - gfx.drawText("INVERTED: ".."\nGRAVITY: "..getGrav(),0,0) + + gfx.drawText("INVERTED: "..string.upper(tostring(playdate.display.getInverted())).."\nGRAVITY: "..getGrav(),0,0) else sidebar:draw(barposLerp,0) imgBytes:draw(logposLerp,0) diff --git a/Source/thankyous.txt b/Source/thankyous.txt index aa7cd34..c942510 100644 --- a/Source/thankyous.txt +++ b/Source/thankyous.txt @@ -4,6 +4,7 @@ Whitebrim - suggestions and discovering many bugs Gant / Tiny Yellow Machine - playing the game on stream and being super supportive TinyYellowMachine & Guv Bubbs - Hosting the Playdate Community Awards My dad and mom - supporting me and passion -all the people who donated to this project, even when they could have played it for free +All the amazing people who have supported this project for nearly 2 years now +Panic Inc. - creating the Playdate and making it so open for developers to use You - playing my game -You're all awesome \ No newline at end of file +You're all awesome and I really appreciate all the support from everyone \ No newline at end of file