[gd_scene load_steps=39 format=2] [ext_resource path="res://source/assets/sprites/GUI/in_game/user_input/background_panel.svg" type="Texture" id=1] [ext_resource path="res://source/fonts/oxygen/Oxygen-Regular.ttf" type="DynamicFontData" id=2] [ext_resource path="res://source/assets/sprites/GUI/in_game/trajectories/line_active.svg" type="Texture" id=3] [ext_resource path="res://source/assets/sprites/GUI/in_game/trajectories/hyperbol_active.svg" type="Texture" id=4] [ext_resource path="res://source/assets/sprites/GUI/in_game/trajectories/parabol_active.svg" type="Texture" id=5] [ext_resource path="res://source/assets/sprites/GUI/in_game/trajectories/sin_active.svg" type="Texture" id=6] [ext_resource path="res://source/assets/sprites/GUI/in_game/user_input/skip_button/skip_button_pressedsvg.svg" type="Texture" id=7] [ext_resource path="res://source/assets/sprites/GUI/in_game/user_input/skip_button/skip_button_hover.svg" type="Texture" id=8] [ext_resource path="res://source/assets/sprites/GUI/in_game/user_input/ready_button/ready_button.svg" type="Texture" id=9] [ext_resource path="res://source/assets/sprites/GUI/in_game/user_input/ready_button/ready_button_pressed.svg" type="Texture" id=10] [ext_resource path="res://source/assets/sprites/GUI/in_game/user_input/ready_button/ready_button_hover.svg" type="Texture" id=11] [ext_resource path="res://source/assets/sprites/GUI/in_game/user_input/skip_button/skip_button.svg" type="Texture" id=12] [ext_resource path="res://source/assets/scripts/shooting/Trajectories/trajectories.gd" type="Script" id=13] [ext_resource path="res://source/assets/sprites/GUI/in_game/buttons/SpinBox/updown.svg" type="Texture" id=16] [ext_resource path="res://source/fonts/oxygen/oxygen_bold_formula.tres" type="DynamicFont" id=17] [sub_resource type="StyleBoxTexture" id=1] texture = ExtResource( 1 ) region_rect = Rect2( 0, 0, 480, 156 ) [sub_resource type="StyleBoxTexture" id=2] texture = ExtResource( 3 ) region_rect = Rect2( 0, 0, 100, 100 ) [sub_resource type="StyleBoxFlat" id=3] bg_color = Color( 0.333333, 0.431373, 0.807843, 1 ) [sub_resource type="Theme" id=4] default_font = ExtResource( 17 ) LineEdit/colors/clear_button_color = Color( 0.88, 0.88, 0.88, 1 ) LineEdit/colors/clear_button_color_pressed = Color( 1, 1, 1, 1 ) LineEdit/colors/cursor_color = Color( 0.94, 0.94, 0.94, 1 ) LineEdit/colors/font_color = Color( 0.88, 0.88, 0.88, 1 ) LineEdit/colors/font_color_selected = Color( 0, 0, 0, 1 ) LineEdit/colors/font_color_uneditable = Color( 0.88, 0.88, 0.88, 0.5 ) LineEdit/colors/selection_color = Color( 0.49, 0.49, 0.49, 1 ) LineEdit/constants/minimum_spaces = 12 LineEdit/fonts/font = null LineEdit/icons/clear = null LineEdit/styles/focus = null LineEdit/styles/normal = SubResource( 3 ) LineEdit/styles/read_only = null [sub_resource type="StyleBoxFlat" id=5] bg_color = Color( 0.333333, 0.431373, 0.807843, 1 ) [sub_resource type="Theme" id=6] default_font = ExtResource( 17 ) LineEdit/colors/clear_button_color = Color( 0.88, 0.88, 0.88, 1 ) LineEdit/colors/clear_button_color_pressed = Color( 1, 1, 1, 1 ) LineEdit/colors/cursor_color = Color( 0.94, 0.94, 0.94, 1 ) LineEdit/colors/font_color = Color( 0.88, 0.88, 0.88, 1 ) LineEdit/colors/font_color_selected = Color( 0, 0, 0, 1 ) LineEdit/colors/font_color_uneditable = Color( 0.88, 0.88, 0.88, 0.5 ) LineEdit/colors/selection_color = Color( 0.49, 0.49, 0.49, 1 ) LineEdit/constants/minimum_spaces = 12 LineEdit/fonts/font = null LineEdit/icons/clear = null LineEdit/styles/focus = null LineEdit/styles/normal = SubResource( 5 ) LineEdit/styles/read_only = null [sub_resource type="StyleBoxFlat" id=7] bg_color = Color( 0.333333, 0.431373, 0.807843, 1 ) [sub_resource type="Theme" id=8] default_font = ExtResource( 17 ) LineEdit/colors/clear_button_color = Color( 0.88, 0.88, 0.88, 1 ) LineEdit/colors/clear_button_color_pressed = Color( 1, 1, 1, 1 ) LineEdit/colors/cursor_color = Color( 0.94, 0.94, 0.94, 1 ) LineEdit/colors/font_color = Color( 0.88, 0.88, 0.88, 1 ) LineEdit/colors/font_color_selected = Color( 0, 0, 0, 1 ) LineEdit/colors/font_color_uneditable = Color( 0.88, 0.88, 0.88, 0.5 ) LineEdit/colors/selection_color = Color( 0.49, 0.49, 0.49, 1 ) LineEdit/constants/minimum_spaces = 12 LineEdit/fonts/font = null LineEdit/icons/clear = null LineEdit/styles/focus = null LineEdit/styles/normal = SubResource( 7 ) LineEdit/styles/read_only = null [sub_resource type="StyleBoxTexture" id=9] texture = ExtResource( 5 ) region_rect = Rect2( 0, 0, 100, 100 ) [sub_resource type="DynamicFont" id=10] size = 14 use_mipmaps = true use_filter = true font_data = ExtResource( 2 ) [sub_resource type="StyleBoxFlat" id=11] bg_color = Color( 0.333333, 0.431373, 0.807843, 1 ) [sub_resource type="Theme" id=12] default_font = ExtResource( 17 ) LineEdit/colors/clear_button_color = Color( 0.88, 0.88, 0.88, 1 ) LineEdit/colors/clear_button_color_pressed = Color( 1, 1, 1, 1 ) LineEdit/colors/cursor_color = Color( 0.94, 0.94, 0.94, 1 ) LineEdit/colors/font_color = Color( 0.88, 0.88, 0.88, 1 ) LineEdit/colors/font_color_selected = Color( 0, 0, 0, 1 ) LineEdit/colors/font_color_uneditable = Color( 0.88, 0.88, 0.88, 0.5 ) LineEdit/colors/selection_color = Color( 0.49, 0.49, 0.49, 1 ) LineEdit/constants/minimum_spaces = 12 LineEdit/fonts/font = null LineEdit/icons/clear = null LineEdit/styles/focus = null LineEdit/styles/normal = SubResource( 11 ) LineEdit/styles/read_only = null [sub_resource type="StyleBoxFlat" id=13] bg_color = Color( 0.333333, 0.431373, 0.807843, 1 ) [sub_resource type="Theme" id=14] default_font = ExtResource( 17 ) LineEdit/colors/clear_button_color = Color( 0.88, 0.88, 0.88, 1 ) LineEdit/colors/clear_button_color_pressed = Color( 1, 1, 1, 1 ) LineEdit/colors/cursor_color = Color( 0.94, 0.94, 0.94, 1 ) LineEdit/colors/font_color = Color( 0.88, 0.88, 0.88, 1 ) LineEdit/colors/font_color_selected = Color( 0, 0, 0, 1 ) LineEdit/colors/font_color_uneditable = Color( 0.88, 0.88, 0.88, 0.5 ) LineEdit/colors/selection_color = Color( 0.49, 0.49, 0.49, 1 ) LineEdit/constants/minimum_spaces = 12 LineEdit/fonts/font = null LineEdit/icons/clear = null LineEdit/styles/focus = null LineEdit/styles/normal = SubResource( 13 ) LineEdit/styles/read_only = null [sub_resource type="StyleBoxTexture" id=15] texture = ExtResource( 4 ) region_rect = Rect2( 0, 0, 100, 100 ) [sub_resource type="StyleBoxTexture" id=16] texture = ExtResource( 6 ) region_rect = Rect2( 0, 0, 100, 100 ) [sub_resource type="StyleBoxFlat" id=17] bg_color = Color( 0.333333, 0.431373, 0.807843, 1 ) [sub_resource type="Theme" id=18] default_font = ExtResource( 17 ) LineEdit/colors/clear_button_color = Color( 0.88, 0.88, 0.88, 1 ) LineEdit/colors/clear_button_color_pressed = Color( 1, 1, 1, 1 ) LineEdit/colors/cursor_color = Color( 0.94, 0.94, 0.94, 1 ) LineEdit/colors/font_color = Color( 0.88, 0.88, 0.88, 1 ) LineEdit/colors/font_color_selected = Color( 0, 0, 0, 1 ) LineEdit/colors/font_color_uneditable = Color( 0.88, 0.88, 0.88, 0.5 ) LineEdit/colors/selection_color = Color( 0.49, 0.49, 0.49, 1 ) LineEdit/constants/minimum_spaces = 12 LineEdit/fonts/font = null LineEdit/icons/clear = null LineEdit/styles/focus = null LineEdit/styles/normal = SubResource( 17 ) LineEdit/styles/read_only = null [sub_resource type="StyleBoxFlat" id=19] bg_color = Color( 0.333333, 0.431373, 0.807843, 1 ) [sub_resource type="Theme" id=20] default_font = ExtResource( 17 ) LineEdit/colors/clear_button_color = Color( 0.88, 0.88, 0.88, 1 ) LineEdit/colors/clear_button_color_pressed = Color( 1, 1, 1, 1 ) LineEdit/colors/cursor_color = Color( 0.94, 0.94, 0.94, 1 ) LineEdit/colors/font_color = Color( 0.88, 0.88, 0.88, 1 ) LineEdit/colors/font_color_selected = Color( 0, 0, 0, 1 ) LineEdit/colors/font_color_uneditable = Color( 0.88, 0.88, 0.88, 0.5 ) LineEdit/colors/selection_color = Color( 0.49, 0.49, 0.49, 1 ) LineEdit/constants/minimum_spaces = 12 LineEdit/fonts/font = null LineEdit/icons/clear = null LineEdit/styles/focus = null LineEdit/styles/normal = SubResource( 19 ) LineEdit/styles/read_only = null [sub_resource type="DynamicFont" id=21] size = 22 use_mipmaps = true use_filter = true font_data = ExtResource( 2 ) [sub_resource type="DynamicFont" id=22] size = 22 use_mipmaps = true use_filter = true font_data = ExtResource( 2 ) [sub_resource type="DynamicFont" id=23] size = 22 use_mipmaps = true use_filter = true font_data = ExtResource( 2 ) [node name="user_input" type="Panel"] margin_right = 480.0 margin_bottom = 156.0 mouse_filter = 1 custom_styles/panel = SubResource( 1 ) __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="controls" type="Control" parent="."] margin_left = 165.0 margin_top = 13.0 margin_right = 465.0 margin_bottom = 143.0 mouse_filter = 2 script = ExtResource( 13 ) __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="line" type="Control" parent="controls"] anchor_right = 1.0 anchor_bottom = 1.0 __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="line_panel" type="Panel" parent="controls/line"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -265.0 margin_top = -50.0 margin_right = -165.0 margin_bottom = 50.0 mouse_filter = 1 custom_styles/panel = SubResource( 2 ) __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="Label" type="Label" parent="controls/line/line_panel"] anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 margin_left = -39.0 margin_top = -18.0 margin_right = 39.0 custom_colors/font_color = Color( 0, 0, 0, 1 ) text = "line" align = 1 valign = 1 uppercase = true __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="line_SpinBox" type="SpinBox" parent="controls/line"] use_parent_material = true anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -75.0 margin_top = -17.0 margin_right = 75.0 margin_bottom = 17.0 theme = SubResource( 4 ) custom_icons/updown = ExtResource( 16 ) min_value = -15.0 max_value = 15.0 step = 0.5 align = 1 prefix = "f(x) =" suffix = "x" __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="parabol" type="Control" parent="controls"] visible = false anchor_right = 1.0 anchor_bottom = 1.0 __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="a_param_SpinBox" type="SpinBox" parent="controls/parabol"] use_parent_material = true anchor_top = 0.5 anchor_bottom = 0.5 margin_top = -17.0 margin_right = 160.0 margin_bottom = 17.0 theme = SubResource( 6 ) custom_icons/updown = ExtResource( 16 ) min_value = -15.0 max_value = 15.0 step = 0.5 align = 1 prefix = "f(x) =" suffix = "x²" __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="b_param_SpinBox" type="SpinBox" parent="controls/parabol"] use_parent_material = true anchor_left = 1.0 anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 margin_left = -140.0 margin_top = -17.0 margin_bottom = 17.0 theme = SubResource( 8 ) custom_icons/updown = ExtResource( 16 ) min_value = -15.0 max_value = 15.0 step = 0.5 align = 1 prefix = "+" suffix = "x + c" __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="parabol_panel" type="Panel" parent="controls/parabol"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -265.0 margin_top = -50.0 margin_right = -165.0 margin_bottom = 50.0 mouse_filter = 1 custom_styles/panel = SubResource( 9 ) __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="Label" type="Label" parent="controls/parabol/parabol_panel"] anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 margin_left = -39.0 margin_top = -19.0 margin_right = 39.0 custom_fonts/font = SubResource( 10 ) custom_colors/font_color = Color( 0, 0, 0, 1 ) text = "parabol" align = 1 valign = 1 uppercase = true __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="hyperbol" type="Control" parent="controls"] visible = false anchor_right = 1.0 anchor_bottom = 1.0 __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="a_param_h_SpinBox" type="SpinBox" parent="controls/hyperbol"] use_parent_material = true anchor_top = 0.5 anchor_bottom = 0.5 margin_top = -17.0 margin_right = 150.0 margin_bottom = 17.0 theme = SubResource( 12 ) custom_icons/updown = ExtResource( 16 ) min_value = -15.0 max_value = 15.0 step = 0.5 align = 1 prefix = "f(x) =" __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="b_param_h_SpinBox" type="SpinBox" parent="controls/hyperbol"] use_parent_material = true anchor_left = 1.0 anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 margin_left = -150.0 margin_top = -17.0 margin_bottom = 17.0 theme = SubResource( 14 ) custom_icons/updown = ExtResource( 16 ) min_value = -15.0 max_value = 15.0 step = 0.5 align = 1 prefix = "/" suffix = "x" __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="hyperbol_panel" type="Panel" parent="controls/hyperbol"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -265.0 margin_top = -50.0 margin_right = -165.0 margin_bottom = 50.0 custom_styles/panel = SubResource( 15 ) __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="Label" type="Label" parent="controls/hyperbol/hyperbol_panel"] anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 margin_left = -39.0 margin_top = -19.0 margin_right = 40.0 custom_fonts/font = SubResource( 10 ) custom_colors/font_color = Color( 0, 0, 0, 1 ) text = "hyperbol" align = 1 valign = 1 uppercase = true __meta__ = { "_edit_use_anchors_": false } [node name="sin" type="Control" parent="controls"] visible = false anchor_right = 1.0 anchor_bottom = 1.0 __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="sine_panel" type="Panel" parent="controls/sin"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -265.0 margin_top = -50.0 margin_right = -165.0 margin_bottom = 50.0 custom_styles/panel = SubResource( 16 ) __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="Label" type="Label" parent="controls/sin/sine_panel"] anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 margin_left = -39.0 margin_top = -19.0 margin_right = 39.0 custom_fonts/font = SubResource( 10 ) custom_colors/font_color = Color( 0, 0, 0, 1 ) text = "sine" align = 1 valign = 1 uppercase = true __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="amp_SpinBox" type="SpinBox" parent="controls/sin"] use_parent_material = true anchor_top = 0.5 anchor_bottom = 0.5 margin_top = -17.0 margin_right = 150.0 margin_bottom = 17.0 theme = SubResource( 18 ) custom_icons/updown = ExtResource( 16 ) min_value = -15.0 max_value = 15.0 step = 0.5 align = 1 prefix = "f(x) =" __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="freq_SpinBox" type="SpinBox" parent="controls/sin"] use_parent_material = true anchor_left = 1.0 anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 margin_left = -150.0 margin_top = -17.0 margin_bottom = 17.0 theme = SubResource( 20 ) custom_icons/updown = ExtResource( 16 ) min_value = -15.0 max_value = 15.0 step = 0.5 align = 1 prefix = "sin(" suffix = "x)" __meta__ = { "_edit_lock_": true, "_edit_use_anchors_": false } [node name="Label" type="Label" parent="controls"] anchor_right = 1.0 margin_bottom = 41.0 custom_fonts/font = SubResource( 21 ) text = "Active formula" align = 1 valign = 1 __meta__ = { "_edit_use_anchors_": false } [node name="ready_button" type="TextureButton" parent="controls"] anchor_top = 1.0 anchor_bottom = 1.0 margin_top = -36.0 margin_right = 120.0 texture_normal = ExtResource( 9 ) texture_pressed = ExtResource( 10 ) texture_hover = ExtResource( 11 ) __meta__ = { "_edit_group_": true, "_edit_use_anchors_": false } [node name="Label" type="Label" parent="controls/ready_button"] anchor_right = 1.0 anchor_bottom = 1.0 custom_fonts/font = SubResource( 22 ) text = "Ready" align = 1 valign = 1 __meta__ = { "_edit_use_anchors_": false } [node name="skip_button" type="TextureButton" parent="controls"] margin_left = 180.0 margin_top = 94.0 margin_right = 300.0 margin_bottom = 130.0 texture_normal = ExtResource( 12 ) texture_pressed = ExtResource( 7 ) texture_hover = ExtResource( 8 ) __meta__ = { "_edit_group_": true, "_edit_use_anchors_": false } [node name="Label" type="Label" parent="controls/skip_button"] anchor_right = 1.0 anchor_bottom = 1.0 custom_fonts/font = SubResource( 23 ) text = "Skip" align = 1 valign = 1 [connection signal="value_changed" from="controls/line/line_SpinBox" to="controls" method="_on_line_SpinBox_value_changed"] [connection signal="value_changed" from="controls/parabol/a_param_SpinBox" to="controls" method="_on_a_param_SpinBox_value_changed"] [connection signal="value_changed" from="controls/parabol/b_param_SpinBox" to="controls" method="_on_b_param_SpinBox_value_changed"] [connection signal="value_changed" from="controls/hyperbol/a_param_h_SpinBox" to="controls" method="_on_a_param_h_SpinBox_value_changed"] [connection signal="value_changed" from="controls/hyperbol/b_param_h_SpinBox" to="controls" method="_on_b_param_h_SpinBox_value_changed"] [connection signal="value_changed" from="controls/sin/amp_SpinBox" to="controls" method="_on_amp_SpinBox_value_changed"] [connection signal="value_changed" from="controls/sin/freq_SpinBox" to="controls" method="_on_freq_SpinBox_value_changed"] [connection signal="pressed" from="controls/ready_button" to="controls" method="_on_ready_button_pressed"] [connection signal="pressed" from="controls/skip_button" to="controls" method="_on_skip_button_pressed"]