Added GameOver screen and win/death logic. Game can now officially be finished (Positive and Negative)
This commit is contained in:
@@ -82,7 +82,7 @@ public partial class World : Node3D
|
||||
|
||||
public override void _Process(double delta)
|
||||
{
|
||||
GameData.survival.Update(delta);
|
||||
survival.Update(delta);
|
||||
if (!canMove) return;
|
||||
|
||||
if (Input.IsActionJustPressed("layer_up") && currentLayer > 0) currentLayer--;
|
||||
@@ -308,4 +308,4 @@ public partial class World : Node3D
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user