gay lover

This commit is contained in:
pennyrigate 2026-01-01 19:06:17 -05:00
parent 4ff19610d3
commit f44f38b58c
9 changed files with 154 additions and 96 deletions

View file

@ -1,14 +1,15 @@
extends Node2D
@export var bullet_scene: PackedScene
@onready var timer = $Timer
func _input(event: InputEvent) -> void:
if event.is_action_pressed("shoot"):
$Timer.start()
_on_timer_timeout()
elif event.is_action_released("shoot"):
$Timer.stop()
if event.is_action_pressed("shoot"):
if get_parent().can_shoot == true:
$Timer.start()
_on_timer_timeout()
elif event.is_action_released("shoot"):
$Timer.stop()
func _on_timer_timeout() -> void: