2020-07-23 19:47:27 -05:00
|
|
|
[gd_scene load_steps=7 format=2]
|
2020-07-23 11:36:28 -05:00
|
|
|
|
|
|
|
[ext_resource path="res://art/lever.png" type="Texture" id=1]
|
|
|
|
[ext_resource path="res://Music and Fonts(Misc.)/m5x7.tres" type="DynamicFontData" id=2]
|
|
|
|
[ext_resource path="res://objects/Lever.gd" type="Script" id=3]
|
2020-07-23 19:47:27 -05:00
|
|
|
[ext_resource path="res://Sound Effects/Lever_Pull.wav" type="AudioStream" id=4]
|
2020-07-23 11:36:28 -05:00
|
|
|
|
2020-07-23 19:47:27 -05:00
|
|
|
[sub_resource type="DynamicFont" id=1]
|
2020-07-23 11:36:28 -05:00
|
|
|
font_data = ExtResource( 2 )
|
|
|
|
|
2020-07-23 19:47:27 -05:00
|
|
|
[sub_resource type="CircleShape2D" id=2]
|
2020-07-23 11:36:28 -05:00
|
|
|
radius = 21.0238
|
|
|
|
|
|
|
|
[node name="Lever" type="Sprite"]
|
|
|
|
position = Vector2( 0, -8 )
|
|
|
|
texture = ExtResource( 1 )
|
|
|
|
hframes = 2
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="."]
|
|
|
|
margin_left = -39.0
|
|
|
|
margin_top = -31.0
|
|
|
|
margin_right = 39.0
|
|
|
|
margin_bottom = -17.0
|
2020-07-23 19:47:27 -05:00
|
|
|
custom_fonts/font = SubResource( 1 )
|
2020-07-23 11:36:28 -05:00
|
|
|
text = "F to Interact"
|
|
|
|
align = 1
|
|
|
|
valign = 1
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
2020-07-23 19:47:27 -05:00
|
|
|
shape = SubResource( 2 )
|
|
|
|
|
|
|
|
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
|
|
|
stream = ExtResource( 4 )
|