Kinda can put buildings
This commit is contained in:
@@ -1,14 +1,57 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://b5gb5paiupum"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://b5gb5paiupum"]
|
||||
|
||||
[ext_resource type="Script" path="res://player/player.cs" id="1_of2l4"]
|
||||
[ext_resource type="PackedScene" uid="uid://2pw0p13lcklv" path="res://buildings/kash_buildings/factory.tscn" id="2_mspwe"]
|
||||
|
||||
[node name="player" type="Camera3D" node_paths=PackedStringArray("_con")]
|
||||
[sub_resource type="SphereMesh" id="SphereMesh_w0k5u"]
|
||||
|
||||
[node name="player" type="Camera3D" node_paths=PackedStringArray("_con", "_mousePosLabel", "_cursorPosLabel", "_cursor", "_cursorPoint")]
|
||||
script = ExtResource("1_of2l4")
|
||||
_con = NodePath("Label")
|
||||
_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="Label" type="Label" parent="."]
|
||||
[node name="Debug info" type="Control" parent="."]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
|
||||
[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
|
||||
offset_left = 313.0
|
||||
offset_top = 156.0
|
||||
offset_right = 402.0
|
||||
offset_bottom = 182.0
|
||||
text = "Eat ze caca."
|
||||
|
||||
[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("../..")
|
||||
|
||||
Reference in New Issue
Block a user