2023-01-05 16:50:17 +01:00
|
|
|
; 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="Multi-channel Signed Distance Field Font Demo"
|
|
|
|
config/description="This is a demo of Signed Distance Field fonts in Godot.
|
|
|
|
The technique used allows the text to remain clear under arbitrary zooms and rotations.
|
|
|
|
|
|
|
|
The multi-channel part refers to the font texture being generated in a way that allows
|
|
|
|
for higher precision when rendering the font. This allows MSDF fonts to be more readable
|
|
|
|
at small font sizes compared to single-channel signed distance field fonts."
|
2024-02-01 17:30:08 +01:00
|
|
|
config/tags=PackedStringArray("2d", "demo", "gui", "official", "rendering")
|
2023-01-05 16:50:17 +01:00
|
|
|
run/main_scene="res://sdf_font_demo.tscn"
|
2024-02-01 17:30:08 +01:00
|
|
|
config/features=PackedStringArray("4.2")
|
2023-03-29 18:59:57 +02:00
|
|
|
config/icon="res://icon.webp"
|
2023-01-05 16:50:17 +01:00
|
|
|
|
2024-06-01 12:12:18 +02:00
|
|
|
[debug]
|
|
|
|
|
|
|
|
gdscript/warnings/untyped_declaration=1
|
|
|
|
|
2023-01-05 16:50:17 +01:00
|
|
|
[display]
|
|
|
|
|
|
|
|
window/stretch/mode="canvas_items"
|
|
|
|
window/stretch/aspect="expand"
|
|
|
|
|
|
|
|
[input]
|
|
|
|
|
|
|
|
toggle_msdf_font={
|
2024-03-26 18:01:58 +01:00
|
|
|
"deadzone": 0.2,
|
2024-02-01 17:30:08 +01:00
|
|
|
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":83,"physical_keycode":0,"key_label":0,"unicode":0,"echo":false,"script":null)
|
2023-01-05 16:50:17 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
[rendering]
|
|
|
|
|
2024-03-26 18:01:58 +01:00
|
|
|
renderer/rendering_method="gl_compatibility"
|
|
|
|
renderer/rendering_method.mobile="gl_compatibility"
|
2023-01-05 16:50:17 +01:00
|
|
|
environment/defaults/default_clear_color=Color(0.180392, 0.117647, 0.152941, 1)
|