121 lines
5.1 KiB
Plaintext
121 lines
5.1 KiB
Plaintext
[gd_scene format=3 uid="uid://d24xrw86pfg1s"]
|
|
|
|
[ext_resource type="Script" uid="uid://b4wejvn0dfrji" path="res://scripts/teleporter_into_closed_room.gd" id="1_g3s7f"]
|
|
[ext_resource type="AudioStream" uid="uid://digavvapakqaw" path="res://assets/audio/sfx/teleport.ogg" id="2_7twcj"]
|
|
|
|
[sub_resource type="Gradient" id="Gradient_skeae"]
|
|
offsets = PackedFloat32Array(0, 0.9883721)
|
|
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_g3s7f"]
|
|
gradient = SubResource("Gradient_skeae")
|
|
width = 32
|
|
height = 32
|
|
fill = 1
|
|
fill_from = Vector2(0.4957265, 0.4871795)
|
|
fill_to = Vector2(0.525641, 0.42307693)
|
|
|
|
[sub_resource type="Curve" id="Curve_7twcj"]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.74757284, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 3
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_sgnaw"]
|
|
curve = SubResource("Curve_7twcj")
|
|
|
|
[sub_resource type="Gradient" id="Gradient_iemw3"]
|
|
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_paieq"]
|
|
gradient = SubResource("Gradient_iemw3")
|
|
|
|
[sub_resource type="Gradient" id="Gradient_1qst8"]
|
|
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_cqcet"]
|
|
gradient = SubResource("Gradient_1qst8")
|
|
|
|
[sub_resource type="Curve" id="Curve_7kx0f"]
|
|
_limits = [-1.0, 1.0, 0.0, 1.0]
|
|
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1e-05, -0.11255813), 0.0, 0.0, 0, 0, Vector2(0.055825245, -0.43906975), 0.0, 0.0, 0, 0, Vector2(0.1553398, 0.58883727), 0.0, 0.0, 0, 0, Vector2(0.30339807, -0.2697674), 0.0, 0.0, 0, 0, Vector2(0.44902915, 0.73395354), 0.0, 0.0, 0, 0, Vector2(0.657767, -0.13674414), 0.0, 0.0, 0, 0, Vector2(0.8009709, -0.4511627), 0.0, 0.0, 0, 0]
|
|
point_count = 8
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_g8xsh"]
|
|
curve = SubResource("Curve_7kx0f")
|
|
|
|
[sub_resource type="Curve" id="Curve_d4f27"]
|
|
_data = [Vector2(0, 0.4134884), 0.0, 0.0, 0, 0, Vector2(0.2354369, 0.49813956), 0.0, 0.0, 0, 0, Vector2(0.4830097, 0.18976748), 0.0, 0.0, 0, 0, Vector2(0.5873787, 0.8186047), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
|
|
point_count = 5
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_nhcxx"]
|
|
curve = SubResource("Curve_d4f27")
|
|
|
|
[sub_resource type="Curve" id="Curve_l8b8y"]
|
|
_limits = [0.0, 1000.0, 0.0, 1000.0]
|
|
_data = [Vector2(0, 413.48828), 0.0, 0.0, 0, 0, Vector2(67.96117, 467.90692), 0.0, 0.0, 0, 0, Vector2(189.3204, 213.95343), 0.0, 0.0, 0, 0, Vector2(269.41748, 50.69763), 0.0, 0.0, 0, 0, Vector2(456.31067, 280.46503), 0.0, 0.0, 0, 0]
|
|
point_count = 5
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_hd4yi"]
|
|
curve = SubResource("Curve_l8b8y")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_n1yim"]
|
|
particle_flag_disable_z = true
|
|
direction = Vector3(0, -1, 0)
|
|
spread = 6.844
|
|
initial_velocity_min = 50.76
|
|
initial_velocity_max = 65.99
|
|
angular_velocity_min = -36.550014
|
|
angular_velocity_max = 21.929983
|
|
orbit_velocity_min = -0.77199996
|
|
orbit_velocity_max = 0.5480001
|
|
orbit_velocity_curve = SubResource("CurveTexture_g8xsh")
|
|
radial_velocity_min = -2.2351742e-05
|
|
radial_velocity_max = 101.51997
|
|
radial_velocity_curve = SubResource("CurveTexture_nhcxx")
|
|
velocity_limit_curve = SubResource("CurveTexture_hd4yi")
|
|
gravity = Vector3(0, 0, 0)
|
|
color = Color(0.61982733, 0.94004476, 1, 1)
|
|
color_ramp = SubResource("GradientTexture1D_cqcet")
|
|
color_initial_ramp = SubResource("GradientTexture1D_paieq")
|
|
alpha_curve = SubResource("CurveTexture_sgnaw")
|
|
hue_variation_min = -0.06000002
|
|
hue_variation_max = 0.049999975
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_pp12y"]
|
|
size = Vector2(16, 16)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7twcj"]
|
|
size = Vector2(32, 32)
|
|
|
|
[node name="TeleporterIntoClosedRoom" type="Node2D" unique_id=1871154484]
|
|
script = ExtResource("1_g3s7f")
|
|
|
|
[node name="GPUParticles2D" type="GPUParticles2D" parent="." unique_id=1725884303]
|
|
emitting = false
|
|
amount = 32
|
|
texture = SubResource("GradientTexture2D_g3s7f")
|
|
lifetime = 0.54
|
|
randomness = 1.0
|
|
process_material = SubResource("ParticleProcessMaterial_n1yim")
|
|
|
|
[node name="AreaWhichTeleportsPlayerIntoRoom" type="Area2D" parent="." unique_id=47060921]
|
|
collision_layer = 0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="AreaWhichTeleportsPlayerIntoRoom" unique_id=1803123867]
|
|
shape = SubResource("RectangleShape2D_pp12y")
|
|
|
|
[node name="AreaToStartEmit" type="Area2D" parent="." unique_id=1219098269]
|
|
collision_layer = 0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="AreaToStartEmit" unique_id=700191159]
|
|
shape = SubResource("RectangleShape2D_7twcj")
|
|
debug_color = Color(0.6530463, 0.21585448, 0.70196074, 0.41960785)
|
|
|
|
[node name="TeleportSfx" type="AudioStreamPlayer2D" parent="." unique_id=1891023570]
|
|
stream = ExtResource("2_7twcj")
|
|
attenuation = 7.999997
|
|
panning_strength = 1.15
|
|
|
|
[connection signal="body_entered" from="AreaWhichTeleportsPlayerIntoRoom" to="." method="_on_area_which_teleports_player_into_room_body_entered"]
|
|
[connection signal="body_entered" from="AreaToStartEmit" to="." method="_on_area_to_start_emit_body_entered"]
|
|
[connection signal="body_exited" from="AreaToStartEmit" to="." method="_on_area_to_start_emit_body_exited"]
|