|
- [gd_scene load_steps=8 format=2]
-
- [ext_resource path="res://Data/Scripts/HalfDoor.gd" type="Script" id=1]
- [ext_resource path="res://Data/Sound/Effects/mechanic-doors.wav" type="AudioStream" id=2]
- [ext_resource path="res://Data/Shaders/Glowdot.shader" type="Shader" id=3]
- [ext_resource path="res://Data/Objects/Glowdot.tscn" type="PackedScene" id=5]
- [ext_resource path="res://Data/Graphics/Tileset.png" type="Texture" id=6]
-
- [sub_resource type="ShaderMaterial" id=1]
- resource_local_to_scene = true
- shader = ExtResource( 3 )
- shader_param/primary_color = Color( 0, 0, 0, 1 )
- shader_param/fade_offset = 0.14
-
- [sub_resource type="RectangleShape2D" id=2]
- extents = Vector2( 24, 7 )
-
- [node name="HalfDoor" type="StaticBody2D"]
- position = Vector2( 0.440125, -0.440125 )
- collision_layer = 2
- script = ExtResource( 1 )
-
- [node name="Backplane" type="Node2D" parent="."]
- position = Vector2( -32, 0 )
-
- [node name="Backplane_Top" type="Sprite" parent="Backplane"]
- position = Vector2( 0, -8 )
- scale = Vector2( 1, -1 )
- texture = ExtResource( 6 )
- region_enabled = true
- region_rect = Rect2( 0, 528, 32, 16 )
-
- [node name="Backplane_Bottom" type="Sprite" parent="Backplane"]
- position = Vector2( 0, 8 )
- texture = ExtResource( 6 )
- region_enabled = true
- region_rect = Rect2( 0, 528, 32, 16 )
-
- [node name="Doorway" type="KinematicBody2D" parent="."]
- position = Vector2( -6, 0 )
- collision_layer = 2
-
- [node name="Sprite" type="Sprite" parent="Doorway"]
- texture = ExtResource( 6 )
- region_enabled = true
- region_rect = Rect2( 32, 512, 48, 16 )
-
- [node name="Glow" parent="Doorway" instance=ExtResource( 5 )]
- material = SubResource( 1 )
- position = Vector2( 14.989, -0.323532 )
- scale = Vector2( 0.25, 0.25 )
- pulse_in_time = 0.2
-
- [node name="CollisionShape2D" type="CollisionShape2D" parent="Doorway"]
- shape = SubResource( 2 )
-
- [node name="Frontplane" type="Node2D" parent="."]
- position = Vector2( -32, 0 )
-
- [node name="Front_Top" type="Sprite" parent="Frontplane"]
- position = Vector2( 0, -8 )
- scale = Vector2( 1, -1 )
- texture = ExtResource( 6 )
- region_enabled = true
- region_rect = Rect2( 0, 512, 32, 16 )
-
- [node name="Front_Bottom" type="Sprite" parent="Frontplane"]
- position = Vector2( 0, 8 )
- texture = ExtResource( 6 )
- region_enabled = true
- region_rect = Rect2( 0, 512, 32, 16 )
-
- [node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
- polygon = PoolVector2Array( -47.9044, -15.9911, -30.1666, -15.9101, -18.8273, -9.9975, -19.0703, -8.86357, -21.0952, -7.08169, -27.0888, -5.13782, -29.9236, -1.97902, -29.8426, 1.74673, -27.0888, 5.06752, -21.0952, 7.09238, -18.9893, 9.03626, -18.9893, 10.0892, -30.0855, 15.8398, -47.9854, 15.9208 )
-
- [node name="Tween" type="Tween" parent="."]
-
- [node name="Audio" type="AudioStreamPlayer" parent="."]
- stream = ExtResource( 2 )
- bus = "Effects"
-
- [editable path="Doorway/Glow"]
|