Compare commits

..

1 commit

Author SHA1 Message Date
872fe39bd9
Add support for Godot 4.3.x 2024-12-04 18:30:21 +01:00
2 changed files with 5 additions and 6 deletions

View file

@ -14,7 +14,7 @@ config/name="CORE Framework"
run/main_scene="res://Test.tscn"
config/use_custom_user_dir=true
config/custom_user_dir_name="StarOpenSource/COREDev"
config/features=PackedStringArray("4.2", "GL Compatibility")
config/features=PackedStringArray("4.3", "GL Compatibility")
boot_splash/bg_color=Color(0, 0, 0, 1)
boot_splash/show_image=false

View file

@ -446,14 +446,13 @@ func check_godot_version() -> bool:
printerr("The CORE Framework does not support Godot versions older or newer than 4.x.x.")
return false
match(version["minor"]):
0: printerr("The CORE Framework does not support Godot versions older than 4.2.x. Please update to Godot 4.2.x to ensure full compatibility.")
1: printerr("The CORE Framework does not support Godot versions older than 4.2.x. Please update to Godot 4.2.x to ensure full compatibility.")
2: pass
0, 1, 2: printerr("The CORE Framework does not fully support Godot versions older than 4.3.x. Please update to Godot 4.3.x to ensure full compatibility.")
3: pass
_:
printerr("The CORE Framework does not support Godot versions newer than 4.2.x. Please downgrade to Godot 4.2.x.")
printerr("The CORE Framework does not support Godot versions newer than 4.3.x. Please downgrade to Godot 4.3.x.")
return false
if version["status"] != "stable":
printerr("The CORE Framework does not support unstable Godot versions. Please switch to Godot 4.2.x.stable to ensure full compatibility.")
printerr("The CORE Framework does not support unstable Godot versions. Please switch to Godot 4.3.x.stable to ensure full compatibility.")
return false
return true