feat: Add EnhancedGridMap for dynamic grid generation, pathfinding, and network synchronization, and introduce core game scripts for Tekton entities and managers.

This commit is contained in:
Yogi Wiguna
2026-02-13 13:14:37 +08:00
parent 0ee5051ebd
commit ad16f5942b
9 changed files with 354 additions and 75 deletions
+18 -5
View File
@@ -1,4 +1,6 @@
[gd_scene load_steps=3 format=3 uid="uid://static_tekton_stand_001"]
[gd_scene load_steps=6 format=3 uid="uid://static_tekton_stand_001"]
[ext_resource type="Script" path="res://scripts/static_tekton_stand.gd" id="1_script"]
[sub_resource type="CylinderMesh" id="CylinderMesh_stand"]
top_radius = 1.4
@@ -10,12 +12,23 @@ albedo_color = Color(0.15, 0.15, 0.2, 1)
metallic = 0.6
roughness = 0.4
[sub_resource type="CylinderShape3D" id="CylinderShape3D_stand"]
height = 0.6
radius = 1.4
[sub_resource type="BoxShape3D" id="BoxShape3D_stand"]
size = Vector3(3.2, 0.6, 3.2)
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_stand"]
properties/0/path = NodePath(":shape_index")
properties/0/spawn = true
properties/0/replication_mode = 2
properties/1/path = NodePath(":global_position")
properties/1/spawn = true
properties/1/replication_mode = 2
[node name="StaticTektonStand" type="StaticBody3D"]
collision_mask = 0
script = ExtResource("1_script")
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
replication_config = SubResource("SceneReplicationConfig_stand")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.3, 0)
@@ -24,4 +37,4 @@ surface_material_override/0 = SubResource("StandardMaterial3D_stand")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.3, 0)
shape = SubResource("CylinderShape3D_stand")
shape = SubResource("BoxShape3D_stand")