Oh I see ! Thanks a lot again and sorry for misunderstanding that..
Now it work, but there is a new problem in there
My project actually has a character (Tenshi) that fires Bullet when a timer signals a Timeout function.
To make it work, whenever this timer Timeouts, Tenshi create a child that'll hit the Ennemy : Alice.
But now, whenever Tenshi creates a child, it's name becomes @[email protected], where X is X+1 whenever it creates another.
Here is the code I use to create the bullet :
var new_bullet = preload("res://Character/Tenshi/Bullet.tscn")
var bullet = new_bullet.instance()
if AliceDead == false:
if spell == false:
bullet.position = Vector2(0, -140)
bullet.name = "bullet"
Also, when my bullet hit Alice, Alice doesn't take any damage but the bullet disappear. Is there a weird connection between Kinematic bodies and Area2D ?
To make the bullet disappear, I made this :
My bullet is a KinematicBody2D with an AnimatedSprite and a CollisionShape2D, and I added as a child an Area2D with a CollisionShape2D as a child to detect Alice who's an Area2D
Hope I explained well enough and sorry if it's bothering there