Godsim/scenes/models/god.tscn

89 lines
2.4 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://b6er1dx11vq1a"]
[ext_resource type="Script" path="res://scripts/God.gd" id="1_hfa56"]
[ext_resource type="PackedScene" uid="uid://bs7ctvbx7xov5" path="res://scenes/UI/ui.tscn" id="2_tlgt4"]
[ext_resource type="Script" path="res://scripts/ingame_menu.gd" id="3_26rdb"]
[ext_resource type="Script" path="res://scripts/ingame_menu_button.gd" id="4_ggyng"]
[node name="God" type="Node3D"]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 0, 0)
script = ExtResource("1_hfa56")
[node name="Camera" type="Camera3D" parent="."]
[node name="eye" type="RayCast3D" parent="Camera"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 0)
target_position = Vector3(100, 0, 0)
collision_mask = 3
[node name="UI" parent="." instance=ExtResource("2_tlgt4")]
[node name="ingame_menu" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("3_26rdb")
[node name="PanelContainer" type="PanelContainer" parent="ingame_menu"]
modulate = Color(1, 1, 1, 0.501961)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 89.0
offset_top = 93.0
offset_right = -89.0
offset_bottom = -93.0
grow_horizontal = 2
grow_vertical = 2
[node name="Buttons" type="Control" parent="ingame_menu"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -20.0
offset_right = 20.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
[node name="save_world_button" type="Button" parent="ingame_menu/Buttons"]
layout_mode = 2
offset_left = -45.0
offset_top = -45.0
offset_right = 46.0
offset_bottom = -14.0
size_flags_horizontal = 4
size_flags_vertical = 4
text = "Save world"
script = ExtResource("4_ggyng")
[node name="save_exit_button" type="Button" parent="ingame_menu/Buttons"]
layout_mode = 2
offset_left = -71.0
offset_top = 22.0
offset_right = 87.0
offset_bottom = 53.0
size_flags_horizontal = 4
size_flags_vertical = 4
text = "Save and exit game"
script = ExtResource("4_ggyng")
[node name="exit_nosave_button" type="Button" parent="ingame_menu/Buttons"]
layout_mode = 2
offset_left = 334.0
offset_top = 212.0
offset_right = 492.0
offset_bottom = 243.0
size_flags_horizontal = 4
size_flags_vertical = 4
text = "exit without saving"
script = ExtResource("4_ggyng")