1
- [gd_scene load_steps =4 format =2 ]
1
+ [gd_scene load_steps =4 format =3 uid = "uid://cwa8rglnrg4yb" ]
2
2
3
- [ext_resource path ="res://pause_button.gd" type = "Script" id =1 ]
3
+ [ext_resource type = "Script" path ="res://pause_button.gd" id ="1" ]
4
4
5
- [sub_resource type ="BoxMesh" id =1 ]
5
+ [sub_resource type ="BoxMesh" id ="1" ]
6
6
7
- [sub_resource type ="Animation" id =2 ]
7
+ [sub_resource type ="Animation" id ="2" ]
8
8
length = 10.0
9
- loop = true
10
9
tracks/0/type = "value"
11
- tracks/0/path = NodePath ("Cube:rotation_degrees" )
12
- tracks/0/interp = 1
13
- tracks/0/loop_wrap = true
14
10
tracks/0/imported = false
15
11
tracks/0/enabled = true
12
+ tracks/0/path = NodePath ("Cube:rotation" )
13
+ tracks/0/interp = 1
14
+ tracks/0/loop_wrap = true
16
15
tracks/0/keys = {
17
16
"times" : PackedFloat32Array (0 , 10 ),
18
17
"transitions" : PackedFloat32Array (1 , 1 ),
19
18
"update" : 0 ,
20
- "values" : [Vector3 (0 , 0 , 0 ), Vector3 (0 , -360 , 0 )]
19
+ "values" : [Vector3 (0 , 0 , 0 ), Vector3 (0 , -6.28319 , 0 )]
21
20
}
22
21
23
22
[node name ="PauseScene" type ="Node3D" ]
24
23
25
24
[node name ="Cube" type ="MeshInstance3D" parent ="." ]
26
- mesh = SubResource ( 1 )
27
- surface_material_override/0 = null
25
+ mesh = SubResource ( "1" )
28
26
29
27
[node name ="Camera3D" type ="Camera3D" parent ="." ]
30
- transform = Transform3D (0.571594 , 0.275303 , -0.772974 , 0 , 0.942035 , 0.335515 , 0.820537 , -0.191779 , 0.538461 , -5.59754 , 2.75935 , 4.01344 )
28
+ transform = Transform3D (0.707107 , -0.241845 , 0.664463 , 0 , 0.939693 , 0.34202 , -0.707107 , -0.241845 , 0.664463 , 2 , 1 , 2 )
31
29
fov = 74.0
32
30
near = 0.1
33
31
34
32
[node name ="AnimationPlayer" type ="AnimationPlayer" parent ="." ]
35
33
autoplay = "spin"
36
- anims/spin = SubResource ( 2 )
34
+ anims/spin = SubResource ( "2" )
37
35
38
36
[node name ="SpotLight3D" type ="SpotLight3D" parent ="." ]
39
- transform = Transform3D (0.792992 , 0.251051 , -0.555101 , 0 , 0.911149 , 0.412078 , 0.609232 , -0.326775 , 0.722534 , -3.05357 , 1.80053 , 3.64099 )
37
+ transform = Transform3D (0.707107 , -0.353554 , 0.612373 , 0 , 0.866026 , 0.5 , -0.707107 , -0.353554 , 0.612373 , 2 , 2 , 2 )
40
38
spot_range = 6.0
41
39
42
40
[node name ="PauseButton" type ="Button" parent ="." ]
@@ -49,7 +47,6 @@ offset_left = -125.0
49
47
offset_top = 150.0
50
48
offset_right = 125.0
51
49
offset_bottom = 200.0
52
- rect_pivot_offset = Vector2 (123 , 25 )
53
50
toggle_mode = true
54
51
text = "Pause"
55
- script = ExtResource ( 1 )
52
+ script = ExtResource ( "1" )
0 commit comments