2023-06-11 09:10:21 -04:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://b5gb5paiupum"]
|
2023-06-10 16:53:33 -04:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://player/player.cs" id="1_of2l4"]
|
2023-06-11 09:10:21 -04:00
|
|
|
[ext_resource type="PackedScene" uid="uid://2pw0p13lcklv" path="res://buildings/kash_buildings/factory.tscn" id="2_mspwe"]
|
2023-06-10 16:53:33 -04:00
|
|
|
|
2023-06-11 09:10:21 -04:00
|
|
|
[sub_resource type="SphereMesh" id="SphereMesh_w0k5u"]
|
|
|
|
|
|
|
|
[node name="player" type="Camera3D" node_paths=PackedStringArray("_con", "_mousePosLabel", "_cursorPosLabel", "_cursor", "_cursorPoint")]
|
2023-06-10 16:53:33 -04:00
|
|
|
script = ExtResource("1_of2l4")
|
2023-06-11 09:10:21 -04:00
|
|
|
_con = NodePath("Debug info/Label")
|
|
|
|
_mousePosLabel = NodePath("Debug info/mousePos")
|
|
|
|
_cursorPosLabel = NodePath("Debug info/cursorPointPos")
|
|
|
|
_cursor = NodePath("cursor")
|
|
|
|
_cursorPoint = NodePath("cursorPoint")
|
|
|
|
_test_building = ExtResource("2_mspwe")
|
|
|
|
|
|
|
|
[node name="Debug info" type="Control" parent="."]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 0
|
|
|
|
offset_right = 40.0
|
|
|
|
offset_bottom = 40.0
|
2023-06-10 16:53:33 -04:00
|
|
|
|
2023-06-11 09:10:21 -04:00
|
|
|
[node name="mousePos" type="Label" parent="Debug info"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 314.0
|
|
|
|
offset_top = 228.0
|
|
|
|
offset_right = 403.0
|
|
|
|
offset_bottom = 254.0
|
|
|
|
text = "Eat ze caca."
|
|
|
|
|
|
|
|
[node name="cursorPointPos" type="Label" parent="Debug info"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_left = 314.0
|
|
|
|
offset_top = 195.0
|
|
|
|
offset_right = 403.0
|
|
|
|
offset_bottom = 221.0
|
|
|
|
text = "Eat ze caca."
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="Debug info"]
|
|
|
|
layout_mode = 0
|
2023-06-10 16:53:33 -04:00
|
|
|
offset_left = 313.0
|
|
|
|
offset_top = 156.0
|
|
|
|
offset_right = 402.0
|
|
|
|
offset_bottom = 182.0
|
|
|
|
text = "Eat ze caca."
|
2023-06-11 09:10:21 -04:00
|
|
|
|
|
|
|
[node name="cursor" type="RayCast3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1.17786)
|
|
|
|
target_position = Vector3(0, 0, -999)
|
|
|
|
|
|
|
|
[node name="cursorPoint" type="Node3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2)
|
|
|
|
|
|
|
|
[node name="cursorPointMesh" type="MeshInstance3D" parent="cursorPoint"]
|
|
|
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
|
|
|
mesh = SubResource("SphereMesh_w0k5u")
|
|
|
|
skeleton = NodePath("../..")
|