11# Jack Murray
22# Nova Foundry / Echo Editor
3- # v1.2.1
3+ # v1.2.2
44import customtkinter as ctk
55from CTkMessagebox import CTkMessagebox
66from PIL import Image , ImageTk
@@ -248,7 +248,6 @@ def add_section(frame, title):
248248 add_section (scroll_frame , "Basic" )
249249 inputs ["Title" ] = add_input (scroll_frame ,"Title:" ,tooltip_text = "Game title" )
250250 inputs ["Font" ] = add_input (scroll_frame ,"Font:" ,file_picker = True ,font_only = True ,tooltip_text = "Choose .ttf font" ,accepted_ext = [".ttf" ])
251- inputs ["Title Font" ] = add_input (scroll_frame ,"Title Font:" ,file_picker = True ,font_only = True ,tooltip_text = "Choose .ttf font for titles" ,accepted_ext = [".ttf" ])
252251 inputs ["Icon" ] = add_input (scroll_frame ,"Icon:" ,file_picker = True ,tooltip_text = "Game icon" ,accepted_ext = [".png" ,".jpg" ,".jpeg" ,".ico" ])
253252 inputs ["Music" ] = add_input (scroll_frame ,"Music:" ,file_picker = True ,tooltip_text = "Background music" ,accepted_ext = [".mp3" ,".wav" ,".ogg" ])
254253 inputs ["Credits" ] = add_text_with_path (scroll_frame , "Credits:" , tooltip_text = "Credits text shown at the end of the game" )
@@ -268,7 +267,6 @@ def add_section(frame, title):
268267 save_paths = {
269268 "Title" : r"../Working_game/Text/Misc/Title.txt" ,
270269 "Font" : r"../Working_game/Fonts/Font.ttf" ,
271- "Title Font" : r"../Working_game/Fonts/Title_Font.ttf" ,
272270 "Icon" : r"../Working_game/Icons/Icon.png" ,
273271 "Music" : r"../Working_game/Sounds/Background.wav" ,
274272 "Base Health" : r"../Working_game/Finishing/Default_health.txt" ,
@@ -284,7 +282,6 @@ def add_section(frame, title):
284282 }
285283 accepted_extensions = {
286284 "Font" : [".ttf" ],
287- "Title Font" : [".ttf" ],
288285 "Icon" : [".png" , ".jpg" , ".jpeg" , ".ico" ],
289286 "Music" : [".mp3" , ".wav" , ".ogg" ]
290287 }
@@ -369,7 +366,7 @@ def load_and_highlight_existing():
369366 def validate_game_setup ():
370367 errors = []
371368 required_text_fields = ["Title" , "Base Health" , "Damage Chance" ]
372- optional_file_fields = ["Font" , "Title Font" , " Music" , "Icon" ]
369+ optional_file_fields = ["Font" , "Music" , "Icon" ]
373370 for key , widget in inputs .items ():
374371 path = os .path .join (save_base_path , save_paths [key ])
375372 # --- Entries ---
@@ -440,7 +437,7 @@ def save_game_setup():
440437 try :
441438 # Define which entry fields must always be enetered
442439 required_file_fields = []
443- optional_file_fields = ["Font" , "Title Font" , " Music" , "Icon" ]
440+ optional_file_fields = ["Font" , "Music" , "Icon" ]
444441 errors = []
445442 print ("[Echo Editor] save_game_setup invoked" )
446443 for key , widget in inputs .items ():
@@ -1861,7 +1858,7 @@ def export_game():
18611858 echo_path = os .path .join (base_path , "Icons" , "Echo_engine" , "Echo_engine_transparent.png" )
18621859 display_image_scaled (nova_path , about_container , scale = 0.2 )
18631860 display_image_scaled (echo_path , about_container , scale = 0.2 )
1864- version_label = ctk .CTkLabel (about_container ,text = "Echo Editor v1.2.1 " ,font = (custom_font_family ,16 ))
1861+ version_label = ctk .CTkLabel (about_container ,text = "Echo Editor v1.2.2 " ,font = (custom_font_family ,16 ))
18651862 version_label .pack (pady = (10 ,20 ))
18661863 license_text = (
18671864 "© Nova Foundry 2025. All rights reserved.\n \n "
0 commit comments