ajout mod poulpe

This commit is contained in:
Elouan 2025-01-25 01:44:33 +01:00
parent 4bab72b7d4
commit 2ae314b374
16 changed files with 296 additions and 7 deletions

View file

@ -1,7 +1,7 @@
extends Area2D
var timer = 0.0
var cooldown = 0.35
var cooldown = 0.3
func _process(delta: float) -> void:
timer += delta
@ -9,6 +9,5 @@ func _process(delta: float) -> void:
queue_free()
func Collision(body: Node2D) -> void:
if body.is_in_group("Enemies") :
queue_free()
body.take_damage(3)