summaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-02-27 15:53:15 +0800
committerEltrac <hi@guhub.cn>2025-02-27 15:53:15 +0800
commit8ffac82c1fda057fb773d90511650be17634bd9a (patch)
treee87e1d91c319f457032c62a52e9317899eca7d72 /main.lua
parent225e29990024e6c1e63602bd12e6c5e285396d77 (diff)
feat: charging is required when shooting red heart or the last heart
the additional waiting time (charging) is used to warn the player of dangerous move
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/main.lua b/main.lua
index a3eb925..a9dfdd3 100644
--- a/main.lua
+++ b/main.lua
@@ -65,12 +65,6 @@ function love.draw()
renderer:draw()
end
-function love.mousereleased(x, y, button, istouch)
- if button == 1 then
- player.shoot(x, y)
- end
-end
-
function love.keypressed(key)
player.keypressed(key)
end