diff --git a/Prefabs/Dialogs/AboutDialog.tscn b/Prefabs/Dialogs/AboutDialog.tscn index 7b167412a..630bf4382 100644 --- a/Prefabs/Dialogs/AboutDialog.tscn +++ b/Prefabs/Dialogs/AboutDialog.tscn @@ -33,7 +33,6 @@ margin_bottom = 64.0 texture = ExtResource( 2 ) [node name="SloganAndLinks" type="CenterContainer" parent="AboutUI/IconsButtons"] -editor/display_folded = true margin_left = 68.0 margin_right = 420.0 margin_bottom = 64.0 @@ -60,18 +59,21 @@ margin_bottom = 39.0 [node name="Website" type="Button" parent="AboutUI/IconsButtons/SloganAndLinks/VBoxContainer/LinkButtons"] margin_right = 65.0 margin_bottom = 20.0 +mouse_default_cursor_shape = 2 text = "Website" [node name="GitHub" type="Button" parent="AboutUI/IconsButtons/SloganAndLinks/VBoxContainer/LinkButtons"] margin_left = 69.0 margin_right = 162.0 margin_bottom = 20.0 +mouse_default_cursor_shape = 2 text = "GitHub Repo" [node name="Donate" type="Button" parent="AboutUI/IconsButtons/SloganAndLinks/VBoxContainer/LinkButtons"] margin_left = 166.0 margin_right = 224.0 margin_bottom = 20.0 +mouse_default_cursor_shape = 2 text = "Donate" [node name="OramaLogo" type="TextureRect" parent="AboutUI/IconsButtons"] @@ -86,7 +88,6 @@ margin_right = 488.0 margin_bottom = 72.0 [node name="Credits" type="HSplitContainer" parent="AboutUI"] -editor/display_folded = true margin_top = 76.0 margin_right = 488.0 margin_bottom = 233.0 @@ -129,7 +130,7 @@ size_flags_horizontal = 3 [node name="Label" type="Label" parent="AboutUI/Credits/Contributors"] margin_right = 242.0 margin_bottom = 14.0 -text = "Contributors" +text = "GitHub Contributors" [node name="ContributorTree" type="Tree" parent="AboutUI/Credits/Contributors"] margin_top = 18.0 diff --git a/Scripts/Dialogs/AboutDialog.gd b/Scripts/Dialogs/AboutDialog.gd index f8d0fe009..95ba95385 100644 --- a/Scripts/Dialogs/AboutDialog.gd +++ b/Scripts/Dialogs/AboutDialog.gd @@ -25,16 +25,16 @@ func _ready() -> void: developers.create_item(dev_root).set_text(0, " John Nikitakis (Erevos) - UI Designer") var contributor_root := contributors.create_item() - contributors.create_item(contributor_root).set_text(0, " Calinou") - contributors.create_item(contributor_root).set_text(0, " greusser") - contributors.create_item(contributor_root).set_text(0, " tiritto") - contributors.create_item(contributor_root).set_text(0, " YeldhamDev") - contributors.create_item(contributor_root).set_text(0, " Martin1991zab") + contributors.create_item(contributor_root).set_text(0, " Hugo Locurcio") + contributors.create_item(contributor_root).set_text(0, " CheetoHead") + contributors.create_item(contributor_root).set_text(0, " Dawid Niedźwiedzki") + contributors.create_item(contributor_root).set_text(0, " Michael Alexsander") + contributors.create_item(contributor_root).set_text(0, " Martin Zabinski") contributors.create_item(contributor_root).set_text(0, " azagaya") contributors.create_item(contributor_root).set_text(0, " Schweini07") + contributors.create_item(contributor_root).set_text(0, " Andreev Andrei") + contributors.create_item(contributor_root).set_text(0, " Subhang Nanduri") contributors.create_item(contributor_root).set_text(0, " danielnaoexiste") - contributors.create_item(contributor_root).set_text(0, " SbNanduri") - contributors.create_item(contributor_root).set_text(0, " AndreevAndrei") contributors.create_item(contributor_root).set_text(0, " JunYouIntrovert") var donors_root := donors.create_item() diff --git a/Scripts/Dialogs/ExportSprites.gd b/Scripts/Dialogs/ExportSprites.gd index 067ba1044..93e8fa6ef 100644 --- a/Scripts/Dialogs/ExportSprites.gd +++ b/Scripts/Dialogs/ExportSprites.gd @@ -4,11 +4,13 @@ var current_export_path := "" var export_option := 0 var resize := 100 var interpolation = Image.INTERPOLATE_NEAREST +var frames_spinbox : SpinBox var per_rows := false var spritesheet_rows = 1 var spritesheet_columns = 1 func _ready() -> void: + frames_spinbox = Global.find_node_by_name(self, "Frames") var children := [] for i in range(get_child_count()): if i > 7: @@ -34,10 +36,11 @@ func _on_Interpolation_item_selected(ID : int) -> void: func _on_ColumnsOrRows_item_selected(ID) -> void: per_rows = bool(ID) + # Update spritesheet_rows/columns variable + _on_Frames_value_changed(frames_spinbox.value) func _on_Frames_value_changed(value): value = min(value, Global.canvases.size()) - var frames_spinbox : SpinBox = Global.find_node_by_name(self, "Frames") if per_rows: spritesheet_rows = value