🎉 Initial Commit

 Grid system, player movement etc
This commit is contained in:
2025-08-26 18:36:50 +08:00
commit 31723217ea
31 changed files with 453 additions and 0 deletions

22
Scenes/Root.tscn Normal file
View File

@@ -0,0 +1,22 @@
[gd_scene load_steps=5 format=3 uid="uid://c22aprj452aha"]
[ext_resource type="Script" uid="uid://cudpc3w17mbsw" path="res://Scripts/System/GridManager.cs" id="1_knkkn"]
[ext_resource type="Script" uid="uid://bx1wj7gn6vrqe" path="res://Scripts/System/PlacementManager.cs" id="2_sxhdm"]
[ext_resource type="PackedScene" uid="uid://doxy60afddg1m" path="res://Scenes/Entities/Player.tscn" id="3_oss8w"]
[ext_resource type="PackedScene" uid="uid://d1pudmkg5nnhj" path="res://Scenes/Tiles/WallTile.tscn" id="3_sxhdm"]
[node name="Root" type="Node2D"]
[node name="GridSystem" type="Node2D" parent="."]
script = ExtResource("1_knkkn")
[node name="PlacementSystem" type="Node2D" parent="." node_paths=PackedStringArray("Grid")]
script = ExtResource("2_sxhdm")
BuildingScene = ExtResource("3_sxhdm")
Grid = NodePath("../GridSystem")
[node name="WallTile" parent="." instance=ExtResource("3_sxhdm")]
[node name="Player" parent="." instance=ExtResource("3_oss8w")]
position = Vector2(602, 324)
scale = Vector2(0.5, 0.5)