aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--objects.lua2
-rw-r--r--ui.lua1
-rw-r--r--update.lua4
3 files changed, 4 insertions, 3 deletions
diff --git a/objects.lua b/objects.lua
index 367dd87..f435b83 100644
--- a/objects.lua
+++ b/objects.lua
@@ -1,7 +1,7 @@
obj = {}
-doshake = true
gt = 0 -- game time, but not actually, this is only used by the background for scrolling.
ft = 1/60 --frametime
+doshake = true
scrollspeed = 0
respawntimer = 0
gameover = false
diff --git a/ui.lua b/ui.lua
index ff8aadd..7fd81d3 100644
--- a/ui.lua
+++ b/ui.lua
@@ -125,6 +125,7 @@ end
--intro/ending acid effect
function acidtransition()
if acidcounter < 3 then
+ if btn(0) and btn(5) and btn(4) then dset(0) dset(1) run() end --clear score w/ button combo (LEFT - X - O)
for i = 1, 128, 1 do
line(i-1,128,i-1,sin((i+0.22-acidcounter*20)/24.357)*2+acidcounter*80-5,11) --cool wavy transition effect!!!!
line(i-1,128,i-1,sin((i+acidcounter*60)/44.357)*5+acidcounter*80,3)
diff --git a/update.lua b/update.lua
index a0a8f92..d7e6617 100644
--- a/update.lua
+++ b/update.lua
@@ -67,9 +67,9 @@ function scorewithzeros(string,length)
end
-- screenshake accessibility setting
-if doshake then screenshaketext = "(▒) screenshake" end --adds 9 tokens to visually show the toggle
+if doshake then screenshaketext = "(▒) screenshake" end
menuitem(1,screenshaketext,
function()
doshake = not doshake
screenshaketext = "(█) screenshake"
- end) \ No newline at end of file
+end) \ No newline at end of file