Added random seed and ability to enter a seed. Also added a simple/small tutorial screen and unified the UI with UIStyle.cs

This commit is contained in:
2026-05-09 22:09:15 +02:00
parent 7e70471227
commit fc21c7c8d3
12 changed files with 493 additions and 22 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ using Godot;
public partial class GameData
{
public static bool debugMode = true;
public static bool debugMode = false;
public static Random rand = new Random(seed);
public static Layer[] map;
@@ -24,6 +24,7 @@ public partial class GameData
public static RobotStats robotStats = new RobotStats();
public static Dictionary<int, List<Ingredient>> gateUnlocks;
public static bool loadSaveOnStart = false;
public static bool showTutorial = true;
public static Color primaryColor = new Color("#276ac2");
public static Color lightColor = new Color("#7efff5");
@@ -36,7 +37,6 @@ public partial class GameData
public static void ResetRunState()
{
seed = 12345;
ruinSize = 10;
layerSize = 20;
rand = new Random(seed);