diff options
| -rw-r--r-- | objects.lua | 2 | ||||
| -rw-r--r-- | ui.lua | 1 | ||||
| -rw-r--r-- | update.lua | 4 |
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 @@ -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) @@ -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 |
