[gd_scene load_steps=12 format=2] [ext_resource path="res://addons/escoria-core/game/core-scripts/escbackground.gd" type="Script" id=1] [ext_resource path="res://game/rooms/room2/bridge.tscn" type="PackedScene" id=2] [ext_resource path="res://game/rooms/room3/smoke.png" type="Texture" id=3] [ext_resource path="res://addons/escoria-core/game/core-scripts/escitem.gd" type="Script" id=4] [sub_resource type="Gradient" id=1] offsets = PoolRealArray( 0, 0.830189 ) colors = PoolColorArray( 1, 1, 1, 1, 0.353516, 0.353516, 0.353516, 1 ) [sub_resource type="GradientTexture" id=2] gradient = SubResource( 1 ) [sub_resource type="Curve" id=3] _data = [ Vector2( 0, 0.0886364 ), 0.0, 0.0, 0, 0, Vector2( 0.612766, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.770213, 0.95 ), -1.55372, -1.55372, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ] [sub_resource type="CurveTexture" id=4] curve = SubResource( 3 ) [sub_resource type="ParticlesMaterial" id=5] lifetime_randomness = 0.2 emission_shape = 1 emission_sphere_radius = 1.0 flag_disable_z = true gravity = Vector3( 0, -9.81, 0 ) angular_velocity = 14.47 orbit_velocity = 0.0 orbit_velocity_random = 1.0 radial_accel = 3.97 radial_accel_random = 0.63 angle = 160.0 angle_random = 1.0 scale = 0.5 scale_random = 0.45 scale_curve = SubResource( 4 ) color_ramp = SubResource( 2 ) [sub_resource type="Animation" id=6] resource_name = "button_broken" tracks/0/type = "value" tracks/0/path = NodePath("Particles2D:emitting") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 1, "values": [ true ] } [sub_resource type="Animation" id=7] resource_name = "button_repaired" tracks/0/type = "value" tracks/0/path = NodePath("Particles2D:emitting") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 1, "values": [ false ] } [node name="background" type="TextureRect"] margin_right = 1300.0 margin_bottom = 561.0 mouse_filter = 2 script = ExtResource( 1 ) __meta__ = { "_edit_use_anchors_": false } [node name="l_platform" type="Line2D" parent="."] position = Vector2( 0, -266 ) points = PoolVector2Array( -2.96298, 712.01, 129.973, 614.429, 499.081, 611.601, 456.654, 806.761, -4.3772, 811.004, -2.96295, 713.424 ) [node name="l_door" type="Line2D" parent="."] position = Vector2( 0, -266 ) points = PoolVector2Array( -2.96298, 712.01, 1.85498, 387.294, 87.755, 339.775, 87.5463, 649.784 ) [node name="r_platform" type="Line2D" parent="."] position = Vector2( 0, -266 ) points = PoolVector2Array( 859.704, 802.519, 815.717, 612.674, 1172.24, 617.258, 1288.21, 675.24, 1293.86, 815.247, 861.118, 808.176 ) [node name="r_door" type="Line2D" parent="."] position = Vector2( 0, -267.828 ) points = PoolVector2Array( 1175.07, 620.086, 1171.24, 311.267, 1274.8, 356.87, 1278.31, 672.412, 1184.97, 628.571 ) [node name="bridge" parent="." instance=ExtResource( 2 )] global_id = "r3_bridge" [node name="button" type="Sprite" parent="."] script = ExtResource( 4 ) global_id = "r3_button" esc_script = "res://game/rooms/room3/esc/button.esc" tooltip_name = "button" dialog_color = Color( 1, 1, 1, 1 ) [node name="lines" type="Line2D" parent="button"] position = Vector2( 0, -266.591 ) points = PoolVector2Array( 322.305, 390.985, 322.305, 439.068, 368.698, 440.037, 368.974, 392.399, 319.028, 391.549 ) [node name="Polygon2D" type="Polygon2D" parent="button/lines"] visible = false polygon = PoolVector2Array( 343.993, 396.767, 323.298, 415.689, 344.585, 438.158, 365.872, 417.463 ) [node name="Particles2D" type="Particles2D" parent="button"] position = Vector2( 344.768, 142.144 ) amount = 16 lifetime = 4.0 preprocess = 1.99 speed_scale = 1.39 process_material = SubResource( 5 ) texture = ExtResource( 3 ) __meta__ = { "_editor_description_": "" } [node name="AnimationPlayer" type="AnimationPlayer" parent="button"] anims/button_broken = SubResource( 6 ) anims/button_repaired = SubResource( 7 ) [node name="interact_pos" type="Position2D" parent="button"] position = Vector2( 347.767, 378.011 ) [node name="area" type="Area2D" parent="button"] [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="button/area"] polygon = PoolVector2Array( 319.633, 122.126, 320.427, 177.685, 371.224, 176.098, 372.811, 121.332 )