mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 10:24:44 -04:00
Removed all but the Wishdream splash
- Split developer credits between Pixelorama and Cozy Pixel Studio - Removed Discord and Patreon links - Started work on Cozy Pixel Studio splash - Brought back desktop builds
This commit is contained in:
parent
8d1b821afd
commit
bc3a132a84
10 changed files with 233 additions and 168 deletions
|
@ -3,11 +3,13 @@ extends WindowDialog
|
|||
onready var credits = $AboutUI/Credits
|
||||
onready var groups : Tree = $AboutUI/Credits/Groups
|
||||
onready var developer_container = $AboutUI/Credits/Developers
|
||||
onready var pixelorama_developer_container = $AboutUI/Credits/PixeloramaDevelopers
|
||||
onready var contributors_container = $AboutUI/Credits/Contributors
|
||||
onready var donors_container = $AboutUI/Credits/Donors
|
||||
onready var translators_container = $AboutUI/Credits/Translators
|
||||
|
||||
onready var developers : Tree = $AboutUI/Credits/Developers/DeveloperTree
|
||||
onready var pixelorama_developers : Tree = $AboutUI/Credits/PixeloramaDevelopers/DeveloperTree
|
||||
onready var contributors : Tree = $AboutUI/Credits/Contributors/ContributorTree
|
||||
onready var donors : Tree = $AboutUI/Credits/Donors/DonorTree
|
||||
onready var translators : Tree = $AboutUI/Credits/Translators/TranslatorTree
|
||||
|
@ -38,6 +40,7 @@ func _on_AboutDialog_about_to_show() -> void:
|
|||
|
||||
var groups_root := groups.create_item()
|
||||
var developers_button := groups.create_item(groups_root)
|
||||
var pixelorama_developers_button := groups.create_item(groups_root)
|
||||
var contributors_button := groups.create_item(groups_root)
|
||||
var donors_button := groups.create_item(groups_root)
|
||||
var translators_button := groups.create_item(groups_root)
|
||||
|
@ -46,6 +49,8 @@ func _on_AboutDialog_about_to_show() -> void:
|
|||
# We use metadata to avoid being affected by translations
|
||||
developers_button.set_metadata(0, "Developers")
|
||||
developers_button.select(0)
|
||||
pixelorama_developers_button.set_metadata(0, "Pixelorama")
|
||||
pixelorama_developers_button.set_text(0, " " + tr("Pixelorama"))
|
||||
contributors_button.set_text(0, " " + tr("Contributors"))
|
||||
contributors_button.set_metadata(0, "Contributors")
|
||||
donors_button.set_text(0, " " + tr("Donors"))
|
||||
|
@ -54,6 +59,7 @@ func _on_AboutDialog_about_to_show() -> void:
|
|||
translators_button.set_metadata(0, "Translators")
|
||||
|
||||
create_developers()
|
||||
create_pixelorama_developers()
|
||||
create_translators()
|
||||
|
||||
func _on_AboutDialog_popup_hide() -> void:
|
||||
|
@ -70,6 +76,8 @@ func _on_Groups_item_selected() -> void:
|
|||
var selected : String = groups.get_selected().get_metadata(0)
|
||||
if "Developers" in selected:
|
||||
developer_container.visible = true
|
||||
elif "Pixelorama" in selected:
|
||||
pixelorama_developer_container.visible = true
|
||||
elif "Contributors" in selected:
|
||||
contributors_container.visible = true
|
||||
elif "Donors" in selected:
|
||||
|
@ -93,10 +101,13 @@ func _on_Donate_pressed() -> void:
|
|||
func create_developers() -> void:
|
||||
var dev_root := developers.create_item()
|
||||
developers.create_item(dev_root).set_text(0, " Tony Bark (tonytins) - " + tr("Programmer"))
|
||||
developers.create_item(dev_root).set_text(0, " Manolis Papadeas (Overloaded) - " + tr("Pixelorama Programmer"))
|
||||
developers.create_item(dev_root).set_text(0, " John Nikitakis (Erevos) - " + tr("Pixelorama UI Designer"))
|
||||
|
||||
|
||||
func create_pixelorama_developers() -> void:
|
||||
var dev_root := pixelorama_developers.create_item()
|
||||
pixelorama_developers.create_item(dev_root).set_text(0, " Manolis Papadeas (Overloaded) - " + tr("Lead Programmer"))
|
||||
pixelorama_developers.create_item(dev_root).set_text(0, " John Nikitakis (Erevos) - " + tr("UI Designer"))
|
||||
|
||||
func create_donors() -> void:
|
||||
var donors_root := donors.create_item()
|
||||
donors.create_item(donors_root).set_text(0, " pcmxms - https://www.nonamefornowsoft.com.br/")
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
[ext_resource path="res://assets/fonts/Roboto-Small.tres" type="DynamicFont" id=5]
|
||||
|
||||
[node name="AboutDialog" type="WindowDialog"]
|
||||
visible = true
|
||||
margin_right = 600.0
|
||||
margin_bottom = 400.0
|
||||
rect_min_size = Vector2( 600, 400 )
|
||||
|
@ -45,39 +44,42 @@ margin_bottom = 64.0
|
|||
size_flags_horizontal = 3
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="AboutUI/IconsButtons/SloganAndLinks"]
|
||||
margin_left = 108.0
|
||||
margin_left = 97.0
|
||||
margin_top = 12.0
|
||||
margin_right = 332.0
|
||||
margin_right = 342.0
|
||||
margin_bottom = 51.0
|
||||
|
||||
[node name="PixeloramaSlogan" type="Label" parent="AboutUI/IconsButtons/SloganAndLinks/VBoxContainer"]
|
||||
margin_right = 224.0
|
||||
margin_right = 245.0
|
||||
margin_bottom = 15.0
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
text = "Cozy Pixel Studio - Pixelate your dreams!"
|
||||
text = "Cozy Pixel Studio - It's All Coming Back to You!"
|
||||
align = 1
|
||||
|
||||
[node name="LinkButtons" type="HBoxContainer" parent="AboutUI/IconsButtons/SloganAndLinks/VBoxContainer"]
|
||||
margin_top = 19.0
|
||||
margin_right = 224.0
|
||||
margin_right = 245.0
|
||||
margin_bottom = 39.0
|
||||
alignment = 1
|
||||
|
||||
[node name="Website" type="Button" parent="AboutUI/IconsButtons/SloganAndLinks/VBoxContainer/LinkButtons"]
|
||||
visible = false
|
||||
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_left = 76.0
|
||||
margin_right = 169.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
|
||||
visible = false
|
||||
margin_left = 97.0
|
||||
margin_right = 155.0
|
||||
margin_bottom = 20.0
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "Donate"
|
||||
|
@ -126,6 +128,27 @@ custom_constants/item_margin = -2
|
|||
custom_constants/button_margin = 2
|
||||
hide_root = true
|
||||
|
||||
[node name="PixeloramaDevelopers" type="VBoxContainer" parent="AboutUI/Credits"]
|
||||
visible = false
|
||||
margin_left = 132.0
|
||||
margin_right = 576.0
|
||||
margin_bottom = 253.0
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Label" type="Label" parent="AboutUI/Credits/PixeloramaDevelopers"]
|
||||
margin_right = 444.0
|
||||
margin_bottom = 14.0
|
||||
text = "Pixelorama Development Team"
|
||||
|
||||
[node name="DeveloperTree" type="Tree" parent="AboutUI/Credits/PixeloramaDevelopers"]
|
||||
margin_top = 18.0
|
||||
margin_right = 444.0
|
||||
margin_bottom = 253.0
|
||||
size_flags_vertical = 3
|
||||
custom_constants/item_margin = -2
|
||||
custom_constants/button_margin = 2
|
||||
hide_root = true
|
||||
|
||||
[node name="Contributors" type="VBoxContainer" parent="AboutUI/Credits"]
|
||||
visible = false
|
||||
margin_left = 254.0
|
||||
|
@ -203,8 +226,8 @@ margin_top = 359.0
|
|||
margin_right = 576.0
|
||||
margin_bottom = 388.0
|
||||
custom_fonts/font = ExtResource( 5 )
|
||||
text = "©2021-present by Tony Bark
|
||||
©2019-present by Orama Interactive and contributors"
|
||||
text = "©2021 - present by Tony Bark
|
||||
©2019 - present by Orama Interactive and contributors"
|
||||
align = 1
|
||||
[connection signal="about_to_show" from="." to="." method="_on_AboutDialog_about_to_show"]
|
||||
[connection signal="popup_hide" from="." to="." method="_on_AboutDialog_popup_hide"]
|
||||
|
|
|
@ -2,8 +2,8 @@ extends WindowDialog
|
|||
|
||||
|
||||
var artworks := {
|
||||
"Roroto Sic" : [preload("res://assets/graphics/splash_screen/artworks/roroto.png"), "https://www.instagram.com/roroto_sic/"],
|
||||
"jess.mpz" : [preload("res://assets/graphics/splash_screen/artworks/jessmpz.png"), "https://www.instagram.com/jess.mpz/"],
|
||||
# "Roroto Sic" : [preload("res://assets/graphics/splash_screen/artworks/roroto.png"), "https://www.instagram.com/roroto_sic/"],
|
||||
# "jess.mpz" : [preload("res://assets/graphics/splash_screen/artworks/jessmpz.png"), "https://www.instagram.com/jess.mpz/"],
|
||||
"Wishdream" : [preload("res://assets/graphics/splash_screen/artworks/wishdream.png"), "https://twitter.com/WishdreamStar"]
|
||||
}
|
||||
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
[gd_scene load_steps=8 format=2]
|
||||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://src/UI/Dialogs/SplashDialog.gd" type="Script" id=1]
|
||||
[ext_resource path="res://assets/graphics/splash_screen/artworks/wishdream.png" type="Texture" id=2]
|
||||
[ext_resource path="res://assets/fonts/Roboto-Small.tres" type="DynamicFont" id=7]
|
||||
[ext_resource path="res://assets/graphics/splash_screen/discord.png" type="Texture" id=9]
|
||||
[ext_resource path="res://assets/graphics/splash_screen/github_32px.png" type="Texture" id=10]
|
||||
[ext_resource path="res://assets/graphics/splash_screen/patreon_mark_white.png" type="Texture" id=11]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=1]
|
||||
bg_color = Color( 0.0705882, 0.0705882, 0.0705882, 1 )
|
||||
|
@ -14,7 +12,6 @@ border_color = Color( 0.403922, 0.403922, 0.403922, 1 )
|
|||
expand_margin_top = 20.0
|
||||
|
||||
[node name="SplashDialog" type="WindowDialog"]
|
||||
visible = true
|
||||
margin_right = 640.0
|
||||
margin_bottom = 583.0
|
||||
rect_min_size = Vector2( 640, 583 )
|
||||
|
@ -68,134 +65,101 @@ flat = true
|
|||
[node name="ButtonsPatronsLogos" type="HBoxContainer" parent="Contents"]
|
||||
margin_top = 442.0
|
||||
margin_right = 640.0
|
||||
margin_bottom = 546.0
|
||||
margin_bottom = 522.0
|
||||
|
||||
[node name="SpacerControl" type="Control" parent="Contents/ButtonsPatronsLogos"]
|
||||
margin_right = 4.0
|
||||
margin_bottom = 104.0
|
||||
margin_bottom = 80.0
|
||||
rect_min_size = Vector2( 4, 0 )
|
||||
|
||||
[node name="Buttons" type="VBoxContainer" parent="Contents/ButtonsPatronsLogos"]
|
||||
[node name="Info" type="HBoxContainer" parent="Contents/ButtonsPatronsLogos"]
|
||||
margin_left = 8.0
|
||||
margin_right = 298.0
|
||||
margin_right = 640.0
|
||||
margin_bottom = 80.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
alignment = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="SpacerControl" type="Control" parent="Contents/ButtonsPatronsLogos/Info"]
|
||||
margin_left = 144.0
|
||||
margin_right = 150.0
|
||||
margin_bottom = 80.0
|
||||
rect_min_size = Vector2( 6, 0 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Buttons" type="VBoxContainer" parent="Contents/ButtonsPatronsLogos/Info"]
|
||||
margin_left = 154.0
|
||||
margin_right = 444.0
|
||||
margin_bottom = 80.0
|
||||
rect_min_size = Vector2( 290, 0 )
|
||||
size_flags_vertical = 0
|
||||
custom_constants/separation = 10
|
||||
|
||||
[node name="NewBtn" type="Button" parent="Contents/ButtonsPatronsLogos/Buttons"]
|
||||
[node name="NewBtn" type="Button" parent="Contents/ButtonsPatronsLogos/Info/Buttons"]
|
||||
margin_right = 290.0
|
||||
margin_bottom = 20.0
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "New"
|
||||
|
||||
[node name="OpenBtn" type="Button" parent="Contents/ButtonsPatronsLogos/Buttons"]
|
||||
[node name="OpenBtn" type="Button" parent="Contents/ButtonsPatronsLogos/Info/Buttons"]
|
||||
margin_top = 30.0
|
||||
margin_right = 290.0
|
||||
margin_bottom = 50.0
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "Open"
|
||||
|
||||
[node name="OpenLastBtn" type="Button" parent="Contents/ButtonsPatronsLogos/Buttons"]
|
||||
[node name="OpenLastBtn" type="Button" parent="Contents/ButtonsPatronsLogos/Info/Buttons"]
|
||||
margin_top = 60.0
|
||||
margin_right = 290.0
|
||||
margin_bottom = 80.0
|
||||
mouse_default_cursor_shape = 2
|
||||
text = "Open Last Project"
|
||||
|
||||
[node name="Info" type="HBoxContainer" parent="Contents/ButtonsPatronsLogos"]
|
||||
margin_left = 302.0
|
||||
margin_right = 640.0
|
||||
margin_bottom = 104.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="SpacerControl" type="Control" parent="Contents/ButtonsPatronsLogos/Info"]
|
||||
margin_right = 6.0
|
||||
margin_bottom = 104.0
|
||||
rect_min_size = Vector2( 6, 0 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="PatronContainer" type="VBoxContainer" parent="Contents/ButtonsPatronsLogos/Info"]
|
||||
margin_left = 10.0
|
||||
margin_right = 294.0
|
||||
margin_bottom = 104.0
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="PatronsLabel" type="Label" parent="Contents/ButtonsPatronsLogos/Info/PatronContainer"]
|
||||
margin_right = 284.0
|
||||
margin_bottom = 14.0
|
||||
rect_min_size = Vector2( 230, 0 )
|
||||
size_flags_vertical = 8
|
||||
text = "Patrons:"
|
||||
autowrap = true
|
||||
|
||||
[node name="PatronsLabel2" type="Label" parent="Contents/ButtonsPatronsLogos/Info/PatronContainer"]
|
||||
margin_top = 18.0
|
||||
margin_right = 284.0
|
||||
margin_bottom = 32.0
|
||||
rect_min_size = Vector2( 230, 0 )
|
||||
size_flags_vertical = 8
|
||||
text = "Hugo Locurcio"
|
||||
autowrap = true
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Contents/ButtonsPatronsLogos/Info"]
|
||||
margin_left = 298.0
|
||||
margin_right = 330.0
|
||||
margin_bottom = 104.0
|
||||
margin_left = 448.0
|
||||
margin_right = 480.0
|
||||
margin_bottom = 80.0
|
||||
size_flags_vertical = 3
|
||||
custom_constants/separation = 5
|
||||
alignment = 2
|
||||
|
||||
[node name="Branding" type="HBoxContainer" parent="Contents/ButtonsPatronsLogos/Info/VBoxContainer"]
|
||||
margin_right = 32.0
|
||||
margin_bottom = 104.0
|
||||
margin_bottom = 80.0
|
||||
size_flags_vertical = 3
|
||||
alignment = 2
|
||||
|
||||
[node name="Links" type="VBoxContainer" parent="Contents/ButtonsPatronsLogos/Info/VBoxContainer/Branding"]
|
||||
margin_right = 32.0
|
||||
margin_bottom = 104.0
|
||||
margin_bottom = 80.0
|
||||
alignment = 1
|
||||
|
||||
[node name="GithubButton" type="TextureButton" parent="Contents/ButtonsPatronsLogos/Info/VBoxContainer/Branding/Links"]
|
||||
margin_top = 24.0
|
||||
margin_right = 32.0
|
||||
margin_bottom = 32.0
|
||||
margin_bottom = 56.0
|
||||
mouse_default_cursor_shape = 2
|
||||
texture_normal = ExtResource( 10 )
|
||||
|
||||
[node name="DiscordButton" type="TextureButton" parent="Contents/ButtonsPatronsLogos/Info/VBoxContainer/Branding/Links"]
|
||||
margin_top = 36.0
|
||||
margin_right = 32.0
|
||||
margin_bottom = 68.0
|
||||
mouse_default_cursor_shape = 2
|
||||
texture_normal = ExtResource( 9 )
|
||||
|
||||
[node name="PatreonButton" type="TextureButton" parent="Contents/ButtonsPatronsLogos/Info/VBoxContainer/Branding/Links"]
|
||||
margin_top = 72.0
|
||||
margin_right = 32.0
|
||||
margin_bottom = 104.0
|
||||
mouse_default_cursor_shape = 2
|
||||
texture_normal = ExtResource( 11 )
|
||||
|
||||
[node name="EmptySpacer" type="Control" parent="Contents/ButtonsPatronsLogos/Info"]
|
||||
margin_left = 334.0
|
||||
margin_right = 338.0
|
||||
margin_bottom = 104.0
|
||||
margin_left = 484.0
|
||||
margin_right = 488.0
|
||||
margin_bottom = 80.0
|
||||
rect_min_size = Vector2( 4, 0 )
|
||||
|
||||
[node name="CopyrightLabel" type="Label" parent="Contents"]
|
||||
margin_top = 554.0
|
||||
margin_top = 530.0
|
||||
margin_right = 640.0
|
||||
margin_bottom = 583.0
|
||||
margin_bottom = 559.0
|
||||
size_flags_horizontal = 3
|
||||
custom_fonts/font = ExtResource( 7 )
|
||||
text = "©2021-present by Tony Bark
|
||||
©2019-present by Orama Interactive and contributors"
|
||||
text = "©2021 - present by Tony Bark
|
||||
©2019 - present by Orama Interactive and contributors"
|
||||
align = 1
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Contents/CopyrightLabel"]
|
||||
|
@ -224,10 +188,8 @@ __meta__ = {
|
|||
}
|
||||
[connection signal="about_to_show" from="." to="." method="_on_SplashDialog_about_to_show"]
|
||||
[connection signal="pressed" from="Contents/ArtBy/ArtistName" to="." method="_on_ArtCredits_pressed"]
|
||||
[connection signal="pressed" from="Contents/ButtonsPatronsLogos/Buttons/NewBtn" to="." method="_on_NewBtn_pressed"]
|
||||
[connection signal="pressed" from="Contents/ButtonsPatronsLogos/Buttons/OpenBtn" to="." method="_on_OpenBtn__pressed"]
|
||||
[connection signal="pressed" from="Contents/ButtonsPatronsLogos/Buttons/OpenLastBtn" to="." method="_on_OpenLastBtn_pressed"]
|
||||
[connection signal="pressed" from="Contents/ButtonsPatronsLogos/Info/Buttons/NewBtn" to="." method="_on_NewBtn_pressed"]
|
||||
[connection signal="pressed" from="Contents/ButtonsPatronsLogos/Info/Buttons/OpenBtn" to="." method="_on_OpenBtn__pressed"]
|
||||
[connection signal="pressed" from="Contents/ButtonsPatronsLogos/Info/Buttons/OpenLastBtn" to="." method="_on_OpenLastBtn_pressed"]
|
||||
[connection signal="pressed" from="Contents/ButtonsPatronsLogos/Info/VBoxContainer/Branding/Links/GithubButton" to="." method="_on_GithubButton_pressed"]
|
||||
[connection signal="pressed" from="Contents/ButtonsPatronsLogos/Info/VBoxContainer/Branding/Links/DiscordButton" to="." method="_on_DiscordButton_pressed"]
|
||||
[connection signal="pressed" from="Contents/ButtonsPatronsLogos/Info/VBoxContainer/Branding/Links/PatreonButton" to="." method="_on_PatreonButton_pressed"]
|
||||
[connection signal="toggled" from="Contents/CopyrightLabel/HBoxContainer/ShowOnStartup" to="." method="_on_ShowOnStartup_toggled"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue