241 lines
7.2 KiB
Plaintext
241 lines
7.2 KiB
Plaintext
[gd_scene load_steps=12 format=3 uid="uid://dw3jpiot8rca0"]
|
|
|
|
[ext_resource type="Script" uid="uid://c03j7kms107t6" path="res://scripts/gimnasio/game_gym.gd" id="1_mjos1"]
|
|
[ext_resource type="Theme" uid="uid://dqrjftnev4ftw" path="res://styles/menu.tres" id="2_8nup4"]
|
|
[ext_resource type="Texture2D" uid="uid://cncae337c0ws8" path="res://images/menu_logo.png" id="2_22vso"]
|
|
[ext_resource type="Texture2D" uid="uid://cykbo7qv3fy6l" path="res://images/play-button.png" id="3_hhfkd"]
|
|
[ext_resource type="AudioStream" uid="uid://bf16kwp1ccwh4" path="res://audios/instrucciones_gym.mp3" id="4_klpcm"]
|
|
[ext_resource type="Texture2D" uid="uid://354a75edxicg" path="res://assets/sign in window/window.png" id="5_hooei"]
|
|
[ext_resource type="Texture2D" uid="uid://t6vfbi66g6fy" path="res://images/charecter.png" id="5_ugsw5"]
|
|
[ext_resource type="Texture2D" uid="uid://dk8i5somirvt2" path="res://images/cuadro de texto.png" id="6_71ns3"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_p57ef"]
|
|
bg_color = Color(0.196078, 0.309804, 0.368627, 1)
|
|
corner_radius_top_left = 30
|
|
corner_radius_top_right = 30
|
|
corner_radius_bottom_right = 30
|
|
corner_radius_bottom_left = 30
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_lbhrr"]
|
|
bg_color = Color(0.196078, 0.309804, 0.368627, 1)
|
|
corner_radius_top_left = 30
|
|
corner_radius_top_right = 30
|
|
corner_radius_bottom_right = 30
|
|
corner_radius_bottom_left = 30
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_iywne"]
|
|
bg_color = Color(0.196078, 0.309804, 0.368627, 1)
|
|
corner_radius_top_left = 30
|
|
corner_radius_top_right = 30
|
|
corner_radius_bottom_right = 30
|
|
corner_radius_bottom_left = 30
|
|
|
|
[node name="Game" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_mjos1")
|
|
|
|
[node name="VideoStreamPlayer" type="VideoStreamPlayer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
autoplay = true
|
|
expand = true
|
|
loop = true
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 10
|
|
anchor_right = 1.0
|
|
grow_horizontal = 2
|
|
|
|
[node name="MenuButton" type="MenuButton" parent="HBoxContainer"]
|
|
layout_mode = 2
|
|
theme = ExtResource("2_8nup4")
|
|
icon = ExtResource("2_22vso")
|
|
|
|
[node name="Control" type="Control" parent="HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="NextVideoButton" type="TextureButton" parent="HBoxContainer"]
|
|
layout_mode = 2
|
|
texture_normal = ExtResource("3_hhfkd")
|
|
|
|
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
|
stream = ExtResource("4_klpcm")
|
|
|
|
[node name="EndOfVideosWindow" type="Window" parent="."]
|
|
transparent_bg = true
|
|
initial_position = 1
|
|
size = Vector2i(600, 200)
|
|
visible = false
|
|
borderless = true
|
|
transparent = true
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="EndOfVideosWindow"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = ExtResource("5_hooei")
|
|
expand_mode = 3
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="EndOfVideosWindow"]
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -160.5
|
|
offset_top = -17.5
|
|
offset_right = 160.5
|
|
offset_bottom = 17.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 30
|
|
|
|
[node name="Label" type="Label" parent="EndOfVideosWindow/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
|
theme_override_font_sizes/font_size = 25
|
|
text = "¡Enorabuena, has finalizado todos los ejercicios!"
|
|
|
|
[node name="EndOfVideosButton" type="Button" parent="EndOfVideosWindow/VBoxContainer"]
|
|
custom_minimum_size = Vector2(250, 80)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 6
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_p57ef")
|
|
text = "Aceptar"
|
|
|
|
[node name="ExitButtonWindow" type="Window" parent="."]
|
|
transparent_bg = true
|
|
initial_position = 1
|
|
size = Vector2i(600, 200)
|
|
visible = false
|
|
borderless = true
|
|
transparent = true
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="ExitButtonWindow"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
texture = ExtResource("5_hooei")
|
|
expand_mode = 3
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="ExitButtonWindow"]
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -151.5
|
|
offset_top = -20.0
|
|
offset_right = 151.5
|
|
offset_bottom = 20.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/separation = 30
|
|
|
|
[node name="Label" type="Label" parent="ExitButtonWindow/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
|
theme_override_font_sizes/font_size = 25
|
|
text = "No se guardaran los datos del ejercicio actual"
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="ExitButtonWindow/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="ConfirmExitButton" type="Button" parent="ExitButtonWindow/VBoxContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 80)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 4
|
|
theme_override_font_sizes/font_size = 25
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_lbhrr")
|
|
text = "Aceptar"
|
|
|
|
[node name="DontExitButton" type="Button" parent="ExitButtonWindow/VBoxContainer/HBoxContainer"]
|
|
custom_minimum_size = Vector2(0, 80)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 4
|
|
theme_override_font_sizes/font_size = 25
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_iywne")
|
|
text = "Cancelar"
|
|
|
|
[node name="Blocker" type="ColorRect" parent="."]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
color = Color(0.196078, 0.309804, 0.368627, 0.784314)
|
|
|
|
[node name="Charecter" type="TextureRect" parent="."]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -250.0
|
|
offset_top = -500.0
|
|
offset_right = 250.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
texture = ExtResource("5_ugsw5")
|
|
|
|
[node name="TextBallon" type="TextureRect" parent="."]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 1
|
|
anchor_left = 1.0
|
|
anchor_right = 1.0
|
|
offset_left = -850.0
|
|
offset_bottom = 619.0
|
|
grow_horizontal = 0
|
|
texture = ExtResource("6_71ns3")
|
|
|
|
[node name="Label" type="Label" parent="TextBallon"]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -360.0
|
|
offset_top = -256.5
|
|
offset_right = 378.0
|
|
offset_bottom = 160.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/font_size = 23
|
|
text = "¡Vamos a movernos!
|
|
A continuación, verás unos vídeos con ejercicios como guía.
|
|
No importa si no sigues el ritmo exacto o
|
|
si tu postura no es idéntica.
|
|
¡Hazlo a tu manera, sin presión!
|
|
Lo importante es participar y disfrutar.
|
|
¡Vamos a empezar!"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[connection signal="pressed" from="HBoxContainer/NextVideoButton" to="." method="_on_next_video_button_pressed"]
|
|
[connection signal="pressed" from="EndOfVideosWindow/VBoxContainer/EndOfVideosButton" to="." method="_on_end_of_videos_button_pressed"]
|