programovani-kostky/menu/menu_bg.tscn
2024-05-20 13:20:24 +02:00

60 lines
2.5 KiB
Text

[gd_scene load_steps=6 format=3 uid="uid://cmt0o37jd1gt6"]
[ext_resource type="ArrayMesh" uid="uid://6ygsl6phockr" path="res://game/dice.res" id="1_8u4bs"]
[ext_resource type="Script" path="res://menu/menu_bg.gd" id="1_mvbgk"]
[ext_resource type="PackedScene" uid="uid://dfarwiq8kvcxa" path="res://menu/menu_ui.tscn" id="2_5dpja"]
[sub_resource type="Animation" id="Animation_fnyq0"]
resource_name = "float"
length = 4.0
loop_mode = 1
tracks/0/type = "position_3d"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("MeshInstance3D")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = PackedFloat32Array(0, 1, 0.152777, 0.229333, 0.63782, 1.5, 1, 0.153, 0.2, 0.638, 3, 1, 0.153, 0.24, 0.638, 4, 1, 0.152777, 0.229333, 0.63782)
tracks/1/type = "position_3d"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("MeshInstance3D2")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/keys = PackedFloat32Array(0, 1, 0.28552, 0.392348, 0.63782, 1.1, 1, 0.286, 0.37, 0.638, 2.6, 1, 0.286, 0.43, 0.638, 4, 1, 0.28552, 0.392348, 0.63782)
[sub_resource type="AnimationLibrary" id="AnimationLibrary_dymnn"]
_data = {
"float": SubResource("Animation_fnyq0")
}
[node name="MenuBg" type="Node3D"]
script = ExtResource("1_mvbgk")
[node name="CameraPosition" type="Marker3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.323323, 0.972071)
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.902146, 0.161505, -0.400062, -0.132644, 0.986206, 0.0990162, 0.410534, -0.0362611, 0.911124, 0, 1.52296, 0)
shadow_enabled = true
shadow_bias = 0.01
directional_shadow_max_distance = 10.0
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_dymnn")
}
autoplay = "float"
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(-0.0374396, -0.00439883, 0.032847, -0.0194431, 0.0430478, -0.0163967, -0.0268373, -0.0250506, -0.0339444, 0.152777, 0.229333, 0.63782)
mesh = ExtResource("1_8u4bs")
skeleton = NodePath("../..")
[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
transform = Transform3D(0.0475114, -0.0035802, -0.0151608, 0.0155677, 0.0091615, 0.0466231, -0.000560477, -0.049023, 0.00982022, 0.28552, 0.392348, 0.63782)
mesh = ExtResource("1_8u4bs")
[node name="MenuUi" parent="." instance=ExtResource("2_5dpja")]
[connection signal="start_pressed" from="MenuUi" to="." method="_on_menu_ui_start_pressed"]