Renamed to Cozy Pixel Studio

- Reverted version back to 0.1.0
This commit is contained in:
Tony Bark 2021-03-05 00:22:23 -05:00
parent 35f97ebe6f
commit 588efeacfd
13 changed files with 200 additions and 361 deletions

View file

@ -21,7 +21,7 @@ func handle_loading_files(files : PoolStringArray) -> void:
for file in files:
file = file.replace("\\", "/")
var file_ext : String = file.get_extension().to_lower()
if file_ext == "pxo": # Pixelorama project file
if file_ext == "pxo": # Cozy Pixel Studio project file
open_pxo_file(file)
elif file_ext == "json" or file_ext == "gpl" or file_ext == "pal": # Palettes
Global.palette_container.on_palette_import_file_selected(file)
@ -109,7 +109,7 @@ func open_pxo_file(path : String, untitled_backup : bool = false, replace_empty
if not untitled_backup:
# Untitled backup should not change window title and save path
current_save_paths[Global.current_project_index] = path
Global.window_title = path.get_file() + " - Pixelorama " + Global.current_version
Global.window_title = path.get_file() + " - Cozy Pixel Studio " + Global.current_version
Global.save_sprites_dialog.current_path = path
# Set last opened project path and save
Global.config_cache.set_value("preferences", "last_project_path", path)
@ -146,7 +146,7 @@ func open_old_pxo_file(file : File, new_project : Project, first_line : String)
_file_status_version = file_ver_splitted[1]
if file_major_version == 0 and file_minor_version < 5:
Global.notification_label("File is from an older version of Pixelorama, as such it might not work properly")
Global.notification_label("File is from an older version of Cozy Pixel Studio, as such it might not work properly")
var new_guides := true
if file_major_version == 0:
@ -330,7 +330,7 @@ func save_pxo_file(path : String, autosave : bool, use_zstd_compression := true,
project.has_changed = false
remove_backup(Global.current_project_index)
Global.notification_label("File saved")
Global.window_title = path.get_file() + " - Pixelorama " + Global.current_version
Global.window_title = path.get_file() + " - Cozy Pixel Studio " + Global.current_version
# Set last opened project path and save
Global.config_cache.set_value("preferences", "last_project_path", path)
@ -528,7 +528,7 @@ func set_new_tab(project : Project, path : String) -> void:
Global.tabs.current_tab = Global.tabs.get_tab_count() - 1
Global.canvas.camera_zoom()
Global.window_title = path.get_file() + " (" + tr("imported") + ") - Pixelorama " + Global.current_version
Global.window_title = path.get_file() + " (" + tr("imported") + ") - Cozy Pixel Studio " + Global.current_version
if project.has_changed:
Global.window_title = Global.window_title + "(*)"
var file_name := path.get_basename().get_file()
@ -617,7 +617,7 @@ func reload_backup_file(project_paths : Array, backup_paths : Array) -> void:
# If project path is the same as backup save path -> the backup was untitled
if project_paths[i] != backup_paths[i]: # If the user has saved
current_save_paths[i] = project_paths[i]
Global.window_title = project_paths[i].get_file() + " - Pixelorama(*) " + Global.current_version
Global.window_title = project_paths[i].get_file() + " - Cozy Pixel Studio(*) " + Global.current_version
Global.current_project.has_changed = true
Global.notification_label("Backup reloaded")

View file

@ -20,7 +20,7 @@ func _ready() -> void:
get_tree().set_auto_accept_quit(false)
setup_application_window_size()
Global.window_title = tr("untitled") + " - Pixelorama " + Global.current_version
Global.window_title = tr("untitled") + " - Cozy Pixel Studio " + Global.current_version
Global.current_project.layers[0].name = tr("Layer") + " 0"
Global.layers_container.get_child(0).label.text = Global.current_project.layers[0].name

View file

@ -27,7 +27,7 @@ func _ready() -> void:
func _on_AboutDialog_about_to_show() -> void:
window_title = tr("About Pixelorama") + " " + Global.current_version
window_title = tr("About Cozy Pixel Studio") + " " + Global.current_version
if Global.is_cjk(TranslationServer.get_locale()):
slogan_label.add_font_override("font", cjk_font)
@ -83,7 +83,7 @@ func _on_Website_pressed() -> void:
func _on_GitHub_pressed() -> void:
OS.shell_open("https://github.com/Orama-Interactive/Pixelorama")
OS.shell_open("https://github.com/tonytins/CozyPixelStudio")
func _on_Donate_pressed() -> void:
@ -92,8 +92,9 @@ func _on_Donate_pressed() -> void:
func create_developers() -> void:
var dev_root := developers.create_item()
developers.create_item(dev_root).set_text(0, " Manolis Papadeas (Overloaded) - " + tr("Lead Programmer"))
developers.create_item(dev_root).set_text(0, " John Nikitakis (Erevos) - " + tr("UI Designer"))
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_donors() -> void:

View file

@ -7,10 +7,11 @@
[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 )
window_title = "About Pixelorama"
window_title = "About Cozy Pixel Studio"
resizable = true
script = ExtResource( 1 )
@ -22,6 +23,9 @@ margin_top = 4.0
margin_right = -12.0
margin_bottom = -8.0
alignment = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="IconsButtons" type="HBoxContainer" parent="AboutUI"]
margin_right = 576.0
@ -50,7 +54,7 @@ margin_bottom = 51.0
margin_right = 224.0
margin_bottom = 15.0
custom_fonts/font = ExtResource( 3 )
text = "Pixelorama - Pixelate your dreams!"
text = "Cozy Pixel Studio - Pixelate your dreams!"
align = 1
[node name="LinkButtons" type="HBoxContainer" parent="AboutUI/IconsButtons/SloganAndLinks/VBoxContainer"]
@ -92,12 +96,12 @@ margin_bottom = 72.0
[node name="Credits" type="HSplitContainer" parent="AboutUI"]
margin_top = 76.0
margin_right = 576.0
margin_bottom = 345.0
margin_bottom = 329.0
size_flags_vertical = 3
[node name="Groups" type="Tree" parent="AboutUI/Credits"]
margin_right = 120.0
margin_bottom = 269.0
margin_bottom = 253.0
rect_min_size = Vector2( 120, 120 )
custom_constants/item_margin = -2
hide_root = true
@ -105,7 +109,7 @@ hide_root = true
[node name="Developers" type="VBoxContainer" parent="AboutUI/Credits"]
margin_left = 132.0
margin_right = 576.0
margin_bottom = 269.0
margin_bottom = 253.0
size_flags_horizontal = 3
[node name="Label" type="Label" parent="AboutUI/Credits/Developers"]
@ -116,7 +120,7 @@ text = "Development Team"
[node name="DeveloperTree" type="Tree" parent="AboutUI/Credits/Developers"]
margin_top = 18.0
margin_right = 444.0
margin_bottom = 269.0
margin_bottom = 253.0
size_flags_vertical = 3
custom_constants/item_margin = -2
custom_constants/button_margin = 2
@ -183,23 +187,24 @@ custom_constants/item_margin = -2
hide_root = true
[node name="HSeparator2" type="HSeparator" parent="AboutUI"]
margin_top = 349.0
margin_top = 333.0
margin_right = 576.0
margin_bottom = 353.0
margin_bottom = 337.0
[node name="MadeBy" type="Label" parent="AboutUI"]
margin_top = 357.0
margin_top = 341.0
margin_right = 576.0
margin_bottom = 371.0
text = "Developed by Orama Interactive"
margin_bottom = 355.0
text = "Developed by Tony Bark"
align = 1
[node name="Copyright" type="Label" parent="AboutUI"]
margin_top = 375.0
margin_top = 359.0
margin_right = 576.0
margin_bottom = 388.0
custom_fonts/font = ExtResource( 5 )
text = "©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"]

View file

@ -21,7 +21,7 @@ func _on_SplashDialog_about_to_show() -> void:
if Global.config_cache.has_section_key("preferences", "startup"):
show_on_startup_button.pressed = !Global.config_cache.get_value("preferences", "startup")
window_title = "Pixelorama" + " " + Global.current_version
window_title = "Cozy Pixel Studio" + " " + Global.current_version
chosen_artwork = artworks.keys()[randi() % artworks.size()]
splash_art_texturerect.texture = artworks[chosen_artwork][0]
@ -59,7 +59,7 @@ func _on_PatreonButton_pressed() -> void:
func _on_GithubButton_pressed() -> void:
OS.shell_open("https://github.com/Orama-Interactive/Pixelorama")
OS.shell_open("https://github.com/tonytins/CozyPixelStudio")
func _on_DiscordButton_pressed() -> void:

View file

@ -14,6 +14,7 @@ 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 )
@ -190,10 +191,11 @@ rect_min_size = Vector2( 4, 0 )
[node name="CopyrightLabel" type="Label" parent="Contents"]
margin_top = 554.0
margin_right = 640.0
margin_bottom = 567.0
margin_bottom = 583.0
size_flags_horizontal = 3
custom_fonts/font = ExtResource( 7 )
text = "©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"]