mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-07 00:05:54 +00:00
Player can die now
This commit is contained in:
parent
6ff1ab76ed
commit
360b4dfe6a
6 changed files with 87 additions and 24 deletions
|
|
@ -59,11 +59,12 @@ public partial class Bullet : Area2D
|
|||
//Debug.WriteLine("Collision");
|
||||
QueueFree();
|
||||
}
|
||||
else if (body.IsInGroup("Destroyable"))
|
||||
{
|
||||
Debug.WriteLine("Collision with destroyable object body");
|
||||
QueueFree();
|
||||
}
|
||||
//// Do not Collide with body for purpose of destroying bullets
|
||||
// else if (body.IsInGroup("Destroyable"))
|
||||
// {
|
||||
// Debug.WriteLine("Collision with destroyable object body");
|
||||
// QueueFree();
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue