-
Notifications
You must be signed in to change notification settings - Fork 38
/
platform.tscn
83 lines (65 loc) · 2.29 KB
/
platform.tscn
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=5 format=1]
[ext_resource path="res:https://Scenes/platform.gd" type="Script" id=1]
[ext_resource path="res:https://Sound/explosion.ogg" type="AudioStream" id=2]
[ext_resource path="res:https://Sound/big_explosion.ogg" type="AudioStream" id=3]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.828436, 1.0724, 0.635929 )
[node name="Platform" type="Spatial"]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
script/script = ExtResource( 1 )
velocity = 0.0
[node name="Children" type="Spatial" parent="."]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
transform/local = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, 0, 0, 0 )
[node name="Deleter" type="Area" parent="." groups=[
"deleter",
]]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
transform/local = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.72617, 0 )
input/ray_pickable = false
input/capture_on_drag = false
shape_count = 1
shapes/0/shape = SubResource( 1 )
shapes/0/transform = Transform( 1.18442, 0, 0, 0, 1.18442, 0, 0, 0, 1.18442, 0, 0.175787, 0 )
shapes/0/trigger = false
space_override = 0
gravity_point = false
gravity_distance_scale = 0.0
gravity_vec = Vector3( 0, 0, 0 )
gravity = 0.0
linear_damp = 0.0
angular_damp = 1.0
priority = 0.0
monitoring = true
monitorable = true
collision/layers = 4
collision/mask = 4
[node name="CollisionShape" type="CollisionShape" parent="Deleter"]
_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
transform/local = Transform( 1.18442, 0, 0, 0, 1.18442, 0, 0, 0, 1.18442, 0, 0.175787, 0 )
shape = SubResource( 1 )
trigger = false
_update_shape_index = 0
[node name="RegularExplosion" type="StreamPlayer" parent="." groups=[
"sound_player",
]]
stream/stream = ExtResource( 2 )
stream/play = false
stream/loop = false
stream/volume_db = 10.0
stream/autoplay = false
stream/paused = false
stream/loop_restart_time = 0.0
stream/buffering_ms = 500
[node name="BigExplosion" type="StreamPlayer" parent="." groups=[
"sound_player",
]]
stream/stream = ExtResource( 3 )
stream/play = true
stream/loop = false
stream/volume_db = 10.0
stream/autoplay = false
stream/paused = false
stream/loop_restart_time = 0.0
stream/buffering_ms = 500
[connection signal="body_enter" from="Deleter" to="." method="_on_Deleter_body_enter"]