look and learn button

This commit is contained in:
BimDav
2024-05-24 10:42:18 +02:00
parent 0100b96ae7
commit e5feed382a
5 changed files with 28 additions and 21 deletions
File diff suppressed because one or more lines are too long
+5 -2
View File
@@ -30,11 +30,13 @@ grow_vertical = 2
[node name="TabContainer" type="TabContainer" parent="CenterContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 40
current_tab = 0
use_hidden_tabs_for_min_size = true
[node name="Language" type="VBoxContainer" parent="CenterContainer/TabContainer"]
layout_mode = 2
theme_override_constants/separation = 50
metadata/_tab_index = 0
[node name="GPListButton" type="Button" parent="CenterContainer/TabContainer/Language"]
layout_mode = 2
@@ -65,6 +67,7 @@ text = "Lesson List"
visible = false
layout_mode = 2
theme_override_constants/separation = 50
metadata/_tab_index = 1
[node name="TracingBuilderButton" type="Button" parent="CenterContainer/TabContainer/LookAndLearnData"]
layout_mode = 2
@@ -87,6 +90,7 @@ text = "GP Video Loader
visible = false
layout_mode = 2
theme_override_constants/separation = 50
metadata/_tab_index = 2
[node name="GameSoundsButton" type="Button" parent="CenterContainer/TabContainer/GameData"]
layout_mode = 2
@@ -155,7 +159,6 @@ theme_override_font_sizes/font_size = 60
alignment = 1
item_count = 1
popup/item_0/text = "New"
popup/item_0/id = 0
[node name="AddWordListButton" type="Button" parent="VBoxContainer"]
layout_mode = 2
@@ -205,7 +208,7 @@ initial_position = 2
size = Vector2i(1500, 1000)
always_on_top = true
popup_window = true
ok_button_text = "Ouvrir"
ok_button_text = "Open"
file_mode = 0
access = 2
+1 -1
View File
@@ -50,7 +50,7 @@ func setup() -> void:
grapheme_label.text = ""
for gp in gp_list:
grapheme_label.text += "%s-%s" % [gp.Grapheme, gp.Phoneme]
grapheme_label.text += "%s" % gp.Grapheme
current_video = 0
current_image_and_sound = 0
+9 -5
View File
@@ -908,17 +908,18 @@ anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -64.0
offset_top = -306.0
offset_right = 64.0
offset_bottom = -178.0
offset_left = -128.0
offset_top = -370.0
offset_right = 128.0
offset_bottom = -114.0
grow_horizontal = 2
grow_vertical = 0
pivot_offset = Vector2(64, 64)
pivot_offset = Vector2(128, 128)
texture_normal = ExtResource("9_lf6b5")
texture_pressed = ExtResource("10_mwuuf")
texture_hover = ExtResource("11_trjsl")
texture_disabled = ExtResource("12_1yr4y")
stretch_mode = 0
[node name="MarginContainer" type="MarginContainer" parent="GraphemeButton"]
layout_mode = 1
@@ -937,6 +938,9 @@ theme_override_constants/margin_bottom = 5
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 1
theme_override_constants/outline_size = 10
theme_override_font_sizes/font_size = 100
text = "f"
horizontal_alignment = 1
vertical_alignment = 1
+1 -1
View File
@@ -629,7 +629,7 @@ sprites = [NodePath("FishAnimatedSprite")]
[node name="FishAnimatedSprite" type="AnimatedSprite2D" parent="GameRoot/AspectRatioContainer/Fish" index="0"]
unique_name_in_owner = true
scale = Vector2(2.20411, 2.2041)
scale = Vector2(1e-05, 1e-05)
sprite_frames = SubResource("SpriteFrames_ukbiw")
animation = &"idle"
autoplay = "idle"