aboutsummaryrefslogtreecommitdiff
path: root/update.lua
diff options
context:
space:
mode:
authorChris Bradley <1029chris@gmail.com>2022-02-19 16:56:48 -0800
committerChris Bradley <1029chris@gmail.com>2022-02-19 16:56:48 -0800
commit395ffd247492b0708b6290824ae61af8fccc1869 (patch)
tree27403919243579c2db5362a4fba1fb30898eb3fa /update.lua
parent5bfa4bdc01f19c019e5a8b8e0ac10511d3beaef3 (diff)
Tokens aquired! final boss is indeed cool and epic
Diffstat (limited to 'update.lua')
-rw-r--r--update.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.lua b/update.lua
index cfaddab..843e5ff 100644
--- a/update.lua
+++ b/update.lua
@@ -1,7 +1,7 @@
--scrolling and respawn stuff
respawntimer -= ft
--similar math elements grouped to lower tokens
-flashtime = (ceil(t()*10%2) == 1) --for flashing elements (ship, score)
+flashtime = ceil(t()*10%2) == 1 --for flashing elements (ship, score)
circletimex = sin(t())*3 -- for elements that move in a circle (respawn timer)
circletimey = cos(t())*3
screenshakex = sin(shake+t())*shake