[gd_scene load_steps=14 format=2] [ext_resource path="res://ui/theme.tres" type="Theme" id=1] [ext_resource path="res://objects/environment/exit/exit.gd" type="Script" id=2] [ext_resource path="res://graphics/exit/exit.png" type="Texture" id=3] [ext_resource path="res://shaders/beam_of_sin.gdshader" type="Shader" id=4] [ext_resource path="res://ui/2ndpuberty_outline.tres" type="Material" id=5] [ext_resource path="res://graphics/exit/exit_back.png" type="Texture" id=6] [ext_resource path="res://shaders/can_stain.tres" type="Material" id=7] [sub_resource type="ShaderMaterial" id=9] shader = ExtResource( 4 ) shader_param/speed = 5.0 shader_param/cycle_offset = 0.0 shader_param/wave_length = 8.0 shader_param/thickness = 0.1 [sub_resource type="ShaderMaterial" id=10] shader = ExtResource( 4 ) shader_param/speed = -6.0 shader_param/cycle_offset = 3.0 shader_param/wave_length = 5.0 shader_param/thickness = 0.1 [sub_resource type="Gradient" id=11] interpolation_mode = 1 offsets = PoolRealArray( 0, 0.5 ) colors = PoolColorArray( 0.345098, 0.74902, 0.878431, 1, 0.396078, 1, 1, 1 ) [sub_resource type="SegmentShape2D" id=12] b = Vector2( 0, 15 ) [sub_resource type="RectangleShape2D" id=7] extents = Vector2( 7, 7.5 ) [sub_resource type="RectangleShape2D" id=8] extents = Vector2( 8, 4.5 ) [node name="Exit" type="Node2D"] script = ExtResource( 2 ) [node name="Background" type="Sprite" parent="."] position = Vector2( 0, 5 ) z_index = -1 texture = ExtResource( 6 ) [node name="Sprite" type="Sprite" parent="."] material = ExtResource( 7 ) texture = ExtResource( 3 ) hframes = 4 [node name="Energy" type="Node2D" parent="Sprite"] show_behind_parent = true [node name="Wave1" type="ColorRect" parent="Sprite/Energy"] material = SubResource( 9 ) margin_left = -7.0 margin_top = -3.0 margin_right = 7.0 margin_bottom = 12.0 color = Color( 0.396078, 1, 1, 1 ) [node name="Wave2" type="ColorRect" parent="Sprite/Energy"] material = SubResource( 10 ) margin_left = -7.0 margin_top = -3.0 margin_right = 7.0 margin_bottom = 12.0 color = Color( 0.345098, 0.74902, 0.878431, 1 ) [node name="Sparkles" type="CPUParticles2D" parent="Sprite/Energy"] position = Vector2( 0, 12 ) amount = 16 lifetime = 2.0 emission_shape = 2 emission_rect_extents = Vector2( 6, 0 ) direction = Vector2( 0, -1 ) spread = 0.0 gravity = Vector2( 0, 0 ) initial_velocity = 12.0 damping = 4.0 color_initial_ramp = SubResource( 11 ) [node name="Label" type="Label" parent="."] material = ExtResource( 5 ) margin_left = -10.0 margin_top = -12.0 margin_right = 11.0 margin_bottom = 8.0 theme = ExtResource( 1 ) text = "ΒΆ22" [node name="DetectPlayer" type="Area2D" parent="."] [node name="CollisionShape" type="CollisionShape2D" parent="DetectPlayer"] position = Vector2( 0, -3 ) shape = SubResource( 12 ) [node name="Collision" type="StaticBody2D" parent="." groups=["can_stain"]] [node name="ClosedCollision" type="CollisionShape2D" parent="Collision"] unique_name_in_owner = true position = Vector2( 0, 4.5 ) shape = SubResource( 7 ) [node name="TopShape" type="CollisionShape2D" parent="Collision"] position = Vector2( 0, -7.5 ) shape = SubResource( 8 ) [connection signal="area_entered" from="DetectPlayer" to="." method="_on_Area2D_area_entered"]