|
@@ -1,4 +1,4 @@
|
|
|
-[gd_scene load_steps=10 format=2]
|
|
|
+[gd_scene load_steps=14 format=2]
|
|
|
|
|
|
[ext_resource path="res://Debug.tscn" type="PackedScene" id=1]
|
|
|
[ext_resource path="res://PowerMenu.tscn" type="PackedScene" id=2]
|
|
@@ -8,6 +8,9 @@
|
|
|
[ext_resource path="res://projectiles.gd" type="Script" id=6]
|
|
|
[ext_resource path="res://enemiessprite.gd" type="Script" id=7]
|
|
|
[ext_resource path="res://font/tiny.tres" type="DynamicFont" id=8]
|
|
|
+[ext_resource path="res://font/8bit.tres" type="DynamicFont" id=9]
|
|
|
+[ext_resource path="res://art/player/emote/esclamation.png" type="Texture" id=10]
|
|
|
+[ext_resource path="res://opts.gd" type="Script" id=11]
|
|
|
|
|
|
[sub_resource type="GDScript" id=1]
|
|
|
script/source = "extends Label
|
|
@@ -22,6 +25,9 @@ func _input(event):
|
|
|
print('sending spawn request...')
|
|
|
"
|
|
|
|
|
|
+[sub_resource type="StyleBoxFlat" id=2]
|
|
|
+bg_color = Color( 0, 0, 0, 0.415686 )
|
|
|
+
|
|
|
[node name="Client" type="Node" groups=["client"]]
|
|
|
script = ExtResource( 3 )
|
|
|
|
|
@@ -125,5 +131,48 @@ anchor_right = 1.0
|
|
|
anchor_bottom = 1.0
|
|
|
color = Color( 0, 0, 0, 0.333333 )
|
|
|
|
|
|
+[node name="Options" type="CanvasLayer" parent="."]
|
|
|
+
|
|
|
+[node name="VBoxContainer" type="VBoxContainer" parent="Options"]
|
|
|
+visible = false
|
|
|
+anchor_left = 0.5
|
|
|
+anchor_right = 0.5
|
|
|
+anchor_bottom = 1.0
|
|
|
+margin_left = -64.5
|
|
|
+margin_right = 64.5
|
|
|
+alignment = 1
|
|
|
+script = ExtResource( 11 )
|
|
|
+
|
|
|
+[node name="Label" type="Label" parent="Options/VBoxContainer"]
|
|
|
+margin_top = 156.0
|
|
|
+margin_right = 129.0
|
|
|
+margin_bottom = 168.0
|
|
|
+custom_fonts/font = ExtResource( 9 )
|
|
|
+text = "volume:"
|
|
|
+align = 1
|
|
|
+
|
|
|
+[node name="HSlider" type="HSlider" parent="Options/VBoxContainer"]
|
|
|
+margin_top = 172.0
|
|
|
+margin_right = 129.0
|
|
|
+margin_bottom = 188.0
|
|
|
+custom_icons/tick = ExtResource( 10 )
|
|
|
+custom_icons/grabber_disabled = ExtResource( 10 )
|
|
|
+custom_icons/grabber_highlight = ExtResource( 10 )
|
|
|
+custom_icons/grabber = ExtResource( 10 )
|
|
|
+
|
|
|
+[node name="OptionButton" type="OptionButton" parent="Options/VBoxContainer"]
|
|
|
+margin_top = 192.0
|
|
|
+margin_right = 129.0
|
|
|
+margin_bottom = 204.0
|
|
|
+custom_fonts/font = ExtResource( 9 )
|
|
|
+custom_styles/hover = SubResource( 2 )
|
|
|
+custom_styles/pressed = SubResource( 2 )
|
|
|
+custom_styles/focus = SubResource( 2 )
|
|
|
+custom_styles/disabled = SubResource( 2 )
|
|
|
+custom_styles/normal = SubResource( 2 )
|
|
|
+text = "window option"
|
|
|
+
|
|
|
[connection signal="timeout" from="Debug/ping/Timer" to="Debug/ping" method="_on_Timer_timeout"]
|
|
|
[connection signal="text_entered" from="Chat/LineEdit" to="." method="chat_messages"]
|
|
|
+[connection signal="value_changed" from="Options/VBoxContainer/HSlider" to="Options/VBoxContainer" method="_on_HSlider_value_changed"]
|
|
|
+[connection signal="item_selected" from="Options/VBoxContainer/OptionButton" to="Options/VBoxContainer" method="_on_OptionButton_item_selected"]
|