Files
puzzle-quest/project.godot
T
Vaillant Jeremy ec906117bb Replace godot_db_manager plugin with native DB, port lod plugin
godot_db_manager was incompatible with Godot 4 (used WindowDialog, Tabs,
PopupPanel which were all removed). Replace with a minimal Database.gd
that parses the same ahog.json format and exposes the same surface API
(get_table_by_name, get_data_at_row_idx, edit_data, save_db, etc.) used
by the M* model classes — no changes needed in MBase/MScene/MLevel/MSetting.

Also port the lod plugin: fix class_name syntax (Godot 4 uses @icon
separately from class_name extends) and Particles -> GPUParticles3D.

Rewrite Global.gd async scene loading: the convert-3to4 tool mapped
load_interactive -> load_threaded_request but those have different APIs
(stage count, poll vs. status enum). Reimplement using the new
load_threaded_get_status / load_threaded_get pair.

Clean project.godot: drop the old _global_script_classes table (Godot 4
uses inline class_name declarations), remove gddb_* autoloads, and
remove the godot_db_manager entry from editor_plugins.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-16 19:21:09 +02:00

71 lines
2.1 KiB
Plaintext

; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=5
[application]
config/name="Puzzle Quest"
config/description="A treasure chest fill with any Jiggsaw !"
run/main_scene="res://scenes/Main.tscn"
boot_splash/image="res://releases/splash-screen.png"
boot_splash/fullsize=false
config/icon="res://icon.png"
config/macos_native_icon="res://releases/mac/project.icns"
config/windows_native_icon="res://releases/windows/project.ico"
config/quit_on_go_back=false
[autoload]
Loading="*res://scenes/UI/loading/Loading.tscn"
Global="*res://scripts/Global.gd"
Setting="*res://scripts/Setting.gd"
Event="*res://scripts/Event.gd"
GlobalAnimation="*res://scripts/Animation.gd"
[display]
window/size/viewport_width=1280
window/size/viewport_height=720
window/size/resizable=false
window/dpi/allow_hidpi=true
window/handheld/orientation="sensor_landscape"
window/stretch/mode="2d"
window/stretch/aspect="expand"
[editor_plugins]
enabled=PackedStringArray("res://addons/lod/plugin.cfg")
[importer_defaults]
scene={
"animation/import": false,
"materials/keep_on_reimport": false,
"materials/storage": 0,
"meshes/light_baking": 1,
"meshes/storage": 1,
"nodes/root_type": "ArrayMesh",
"skins/use_named_skins": false
}
[input]
ui_end={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194318,"physical_keycode":0,"unicode":0,"echo":false,"script":null), Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194305,"physical_keycode":0,"unicode":0,"echo":false,"script":null)]
}
[locale]
translations=PackedStringArray("res://locales/fr.po", "res://locales/en.po")
[rendering]
environment/defaults/default_environment="res://default_env.tres"