Added final features for this release. Now only polishing (if needed) remains.
Features: Sacrifice-Node, Maintain-Node, Options for screen type, lightcolor and soundvolume, tied in sound effects, game pause when menu is open, visibly open up gate when opening it.
This commit is contained in:
@@ -39,6 +39,16 @@ public partial class Layer : Node3D
|
||||
}
|
||||
}
|
||||
|
||||
public void OpenGate()
|
||||
{
|
||||
isGateOpen = true;
|
||||
Tile gateTile = tiles[gateCoordinate.X, gateCoordinate.Y];
|
||||
if (gateTile.ContentNode != null)
|
||||
{
|
||||
gateTile.ContentNode.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
public void SetupLayer(int layerSize, int level, Dictionary<string, MeshInstance3D> tileMeshes, Vector2I collapseOrigin)
|
||||
{
|
||||
this.layerSize = layerSize;
|
||||
|
||||
Reference in New Issue
Block a user