-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmai1162.tmp
81 lines (62 loc) · 3.67 KB
/
mai1162.tmp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[gd_scene load_steps=9 format=3 uid="uid://qg34dqw0unj7"]
[ext_resource type="PackedScene" uid="uid://dq0qf3a3fwaw6" path="res://player.tscn" id="1_qdbye"]
[ext_resource type="PackedScene" uid="uid://cqbiqupleo8xb" path="res://ChargeJumpBlock.tscn" id="2_45utv"]
[ext_resource type="PackedScene" path="res://HoldRiseBlock.tscn" id="3_rid4w"]
[ext_resource type="Script" path="res://Spotlight.gd" id="4_2x766"]
[sub_resource type="BoxShape3D" id="BoxShape3D_gyx7j"]
size = Vector3(20, 0.1, 20)
[sub_resource type="BoxMesh" id="BoxMesh_4c3wm"]
size = Vector3(20, 0.1, 20)
[sub_resource type="Environment" id="Environment_107vr"]
background_mode = 1
background_color = Color(0.5482, 0.695399, 1, 1)
background_energy_multiplier = 0.23
ambient_light_color = Color(1, 1, 1, 1)
ambient_light_energy = 0.56
[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_ccupy"]
points = PackedVector3Array(0, -1.5, -6, 0, 1.5, -6, 1.5, 0, -6, -1.5, 0, -6, 1.1, 1, -6, -1.1, 1, -6, 1.1, -1, -6, -1.1, -1, -6, 0, 0, 0)
[node name="Base" type="Node3D"]
[node name="Floor" type="StaticBody3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Floor"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0572133, 0)
shape = SubResource("BoxShape3D_gyx7j")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Floor"]
mesh = SubResource("BoxMesh_4c3wm")
[node name="charge_jump_block" parent="." instance=ExtResource("2_45utv")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.96002, 1.89604, -6.42631)
[node name="hold_rise_block" parent="." instance=ExtResource("3_rid4w")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.905336, 2.58771, -5.05949)
axis_lock_linear_x = true
axis_lock_linear_z = true
axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
[node name="Player" parent="." instance=ExtResource("1_qdbye")]
SENSITIVITY = 0.009
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_107vr")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.993894, -0.110341, 6.57686e-09, 0.0837565, 0.754432, 0.651013, -0.0718337, -0.647037, 0.759067, 0, 1.8034, 0)
light_energy = 0.222
[node name="Spotlight" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.14353, 4.11591)
script = ExtResource("4_2x766")
[node name="SpotLight3D" type="SpotLight3D" parent="Spotlight"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0.19097, 0)
light_energy = 10.778
spot_range = 6.47
spot_angle = 12.5
[node name="Area3D" type="Area3D" parent="Spotlight"]
collision_layer = 8388608
collision_mask = 8388608
[node name="flashlight_collider" type="CollisionShape3D" parent="Spotlight/Area3D"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0)
shape = SubResource("ConvexPolygonShape3D_ccupy")
[connection signal="body_entered" from="Player" to="charge_jump_block" method="_on_player_body_entered"]
[connection signal="body_entered" from="Player" to="hold_rise_block" method="_on_player_body_entered"]
[connection signal="body_exited" from="Player" to="charge_jump_block" method="_on_player_body_exited"]
[connection signal="body_exited" from="Player" to="hold_rise_block" method="_on_player_body_exited"]
[connection signal="body_entered" from="Spotlight" to="Player" method="_on_spotlight_entered"]
[connection signal="body_exited" from="Spotlight" to="Player" method="_on_spotlight_exited"]
[connection signal="body_entered" from="Spotlight/Area3D" to="Spotlight" method="_on_area_3d_body_entered"]
[connection signal="body_exited" from="Spotlight/Area3D" to="Spotlight" method="_on_area_3d_body_exited"]