Adding robots to the game and the ability to click on them

This commit is contained in:
=
2026-04-26 13:44:15 +02:00
parent bd9de785b4
commit 21199f8026
12 changed files with 155 additions and 9 deletions
+42
View File
@@ -3,6 +3,7 @@
[ext_resource type="Script" uid="uid://br2udyi6t8yvf" path="res://Scripts/World.cs" id="1_xkndl"]
[ext_resource type="Script" uid="uid://dqrdb3bvws6b6" path="res://Scripts/SteamworksHandler.cs" id="2_xkndl"]
[ext_resource type="Script" uid="uid://c7khr6oist3ku" path="res://Scripts/Camera3d.cs" id="3_u44n3"]
[ext_resource type="Script" uid="uid://bm7knir4552j5" path="res://Scripts/Helpers/UIHandler.cs" id="4_sb48q"]
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_u44n3"]
@@ -16,6 +17,7 @@ sky_material = SubResource("PanoramaSkyMaterial_u44n3")
background_mode = 1
background_color = Color(0.27141052, 0.1874483, 0.13788113, 1)
sky = SubResource("Sky_u44n3")
glow_enabled = true
[node name="Main" type="Node3D" unique_id=234207355]
@@ -32,3 +34,43 @@ script = ExtResource("3_u44n3")
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=377970686]
environment = SubResource("Environment_sb48q")
[node name="Control" type="Control" parent="." unique_id=1713248285]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = -2.0
offset_bottom = 2.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource("4_sb48q")
[node name="CodingWindow" type="Panel" parent="Control" unique_id=1765248892]
layout_mode = 1
anchors_preset = 11
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -500.0
grow_horizontal = 0
grow_vertical = 2
[node name="Button" type="Button" parent="Control/CodingWindow" unique_id=2015284121]
layout_mode = 0
offset_left = 100.0
offset_top = 600.0
offset_right = 400.0
offset_bottom = 635.0
text = "Move"
[node name="PositionInput" type="LineEdit" parent="Control/CodingWindow" unique_id=1834676849]
layout_mode = 0
offset_left = 125.0
offset_top = 50.0
offset_right = 375.0
offset_bottom = 85.0
placeholder_text = "Position... (X/Y OR X,Y)"
alignment = 1