the bullet which kill all zombie
bullet.gd
func onbulletareaentered(area):
queuefree()
gettree().callgroup("zombie","killthe_zombie")
zombie.gd
extends Area2D
func onZombiebodyentered(body):
gettree().callgroup("robothelooser","player_hurt")
func killthezombie():
queue_free()
................................................................
what i did :
i make one level scene in which i take one node of zombie which have 20+ instance node of zombie scene
and every bullet will generate using preload() and instance() when i press space key
the problem is that when i shoot single zombie all zombie disappear please help me .
Thanks in advance