[gd_scene load_steps=7 format=3 uid="uid://g7h185yageqr"] [ext_resource type="Script" path="res://ui/editor_ui_visibility.gd" id="editor_ui_visibility"] [ext_resource type="Script" path="res://ui/mobile_controls/mobile_controls.gd" id="1_controls"] [ext_resource type="Theme" path="res://ui/menu/menu_theme.tres" id="theme"] [ext_resource type="Texture2D" path="res://assets/ashen/ui/button_plate.png" id="plate"] [sub_resource type="StyleBoxTexture" id="ButtonNormal"] texture = ExtResource("plate") texture_margin_left = 24.0 texture_margin_top = 18.0 texture_margin_right = 28.0 texture_margin_bottom = 16.0 content_margin_left = 12.0 content_margin_top = 12.0 content_margin_right = 12.0 content_margin_bottom = 12.0 modulate_color = Color(0.68, 0.61, 0.48, 0.78) [sub_resource type="StyleBoxTexture" id="ButtonPressed"] texture = ExtResource("plate") texture_margin_left = 24.0 texture_margin_top = 18.0 texture_margin_right = 28.0 texture_margin_bottom = 16.0 content_margin_left = 12.0 content_margin_top = 14.0 content_margin_right = 12.0 content_margin_bottom = 10.0 modulate_color = Color(1, 0.78, 0.51, 1) [node name="MobileControls" type="CanvasLayer"] layer = 100 script = ExtResource("1_controls") [node name="EditorVisibility" type="Node" parent="."] script = ExtResource("editor_ui_visibility") [node name="Controls" type="Control" parent="."] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 theme = ExtResource("theme") [node name="MoveLeft" type="Button" parent="Controls"] layout_mode = 1 anchor_left = 0.0 anchor_top = 1.0 anchor_right = 0.0 anchor_bottom = 1.0 offset_left = 24.0 offset_top = -140.0 offset_right = 136.0 offset_bottom = -28.0 grow_horizontal = 1 grow_vertical = 0 focus_mode = 0 theme_override_colors/font_color = Color(0.88, 0.82, 0.68, 0.92) theme_override_colors/font_pressed_color = Color(1, 0.94, 0.77, 1) theme_override_font_sizes/font_size = 32 theme_override_styles/normal = SubResource("ButtonNormal") theme_override_styles/pressed = SubResource("ButtonPressed") theme_override_styles/hover = SubResource("ButtonNormal") keep_pressed_outside = true text = "<<" [node name="MoveRight" type="Button" parent="Controls"] layout_mode = 1 anchor_left = 0.0 anchor_top = 1.0 anchor_right = 0.0 anchor_bottom = 1.0 offset_left = 148.0 offset_top = -140.0 offset_right = 260.0 offset_bottom = -28.0 grow_horizontal = 1 grow_vertical = 0 focus_mode = 0 theme_override_colors/font_color = Color(0.88, 0.82, 0.68, 0.92) theme_override_colors/font_pressed_color = Color(1, 0.94, 0.77, 1) theme_override_font_sizes/font_size = 32 theme_override_styles/normal = SubResource("ButtonNormal") theme_override_styles/pressed = SubResource("ButtonPressed") theme_override_styles/hover = SubResource("ButtonNormal") keep_pressed_outside = true text = ">>" [node name="Jump" type="Button" parent="Controls"] layout_mode = 1 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -140.0 offset_top = -264.0 offset_right = -28.0 offset_bottom = -152.0 grow_horizontal = 0 grow_vertical = 0 focus_mode = 0 theme_override_colors/font_color = Color(0.88, 0.82, 0.68, 0.92) theme_override_colors/font_pressed_color = Color(1, 0.94, 0.77, 1) theme_override_font_sizes/font_size = 16 theme_override_styles/normal = SubResource("ButtonNormal") theme_override_styles/pressed = SubResource("ButtonPressed") theme_override_styles/hover = SubResource("ButtonNormal") keep_pressed_outside = true text = "SALTO" [node name="Attack" type="Button" parent="Controls"] layout_mode = 1 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -264.0 offset_top = -140.0 offset_right = -152.0 offset_bottom = -28.0 grow_horizontal = 0 grow_vertical = 0 focus_mode = 0 theme_override_colors/font_color = Color(0.88, 0.82, 0.68, 0.92) theme_override_colors/font_pressed_color = Color(1, 0.94, 0.77, 1) theme_override_font_sizes/font_size = 16 theme_override_styles/normal = SubResource("ButtonNormal") theme_override_styles/pressed = SubResource("ButtonPressed") theme_override_styles/hover = SubResource("ButtonNormal") keep_pressed_outside = true text = "ATAQUE" [node name="GroundPound" type="Button" parent="Controls"] layout_mode = 1 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -140.0 offset_top = -140.0 offset_right = -28.0 offset_bottom = -28.0 grow_horizontal = 0 grow_vertical = 0 focus_mode = 0 theme_override_colors/font_color = Color(0.88, 0.82, 0.68, 0.92) theme_override_colors/font_pressed_color = Color(1, 0.94, 0.77, 1) theme_override_font_sizes/font_size = 16 theme_override_styles/normal = SubResource("ButtonNormal") theme_override_styles/pressed = SubResource("ButtonPressed") theme_override_styles/hover = SubResource("ButtonNormal") keep_pressed_outside = true text = "CAER" [node name="SpecialAttack" type="Button" parent="Controls"] layout_mode = 1 anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -264.0 offset_top = -264.0 offset_right = -152.0 offset_bottom = -152.0 grow_horizontal = 0 grow_vertical = 0 focus_mode = 0 theme_override_colors/font_color = Color(0.88, 0.82, 0.68, 0.92) theme_override_colors/font_pressed_color = Color(1, 0.94, 0.77, 1) theme_override_font_sizes/font_size = 16 theme_override_styles/normal = SubResource("ButtonNormal") theme_override_styles/pressed = SubResource("ButtonPressed") theme_override_styles/hover = SubResource("ButtonNormal") keep_pressed_outside = true text = "SOLO"