Added resources to the game and prepared scripts for later usage

This commit is contained in:
=
2026-04-29 18:03:43 +02:00
parent 253c7d9f89
commit c54ff3088e
15 changed files with 102 additions and 56 deletions
+6
View File
@@ -1,8 +1,10 @@
using System;
using System.Collections.Generic;
using Godot;
public partial class GameData
{
public static Random rand = new Random(seed);
public static Layer[] map;
//Current layer the player wants to see
public static int currentLayer = 0;
@@ -13,6 +15,8 @@ public partial class GameData
public static int maxRobotCount = 1000;
public static List<Robot> robots = new List<Robot>();
public static float robotSpeed = 5f;
public static float tileWidth = 6;
public static float tileHeight = 4;
//--- PLAYER ADJUSTABLE VALUES ---
//Color used in primary objects (e.g. Robots)
@@ -23,5 +27,7 @@ public partial class GameData
public static int ruinSize = 10;
//Width+Height of layers
public static int layerSize = 20;
//Seed used for all random generation except WFC
public static int seed = 12345;
}