aboutsummaryrefslogtreecommitdiff
path: root/update.lua
diff options
context:
space:
mode:
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 abe39b6..79bbeb0 100644
--- a/update.lua
+++ b/update.lua
@@ -1,6 +1,6 @@
respawntimer -= ft
--similar math elements grouped to lower tokens
-flashtime = ceil(t()*10%2) == 1 --for flashing elements (ship, score)
+flashtime = t()\0.1%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