You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
modulate in draw_color has moved 3 arguments down to make room for arguments involving size, clipping and alignment. Since optional parameters can't be skipped in gdscript (godotengine/godot-proposals#902), calls to this function should implement default values which represent best effort metrics similar to 3.x's default font if the font specified derived from default, or the size specified for the original DynamicFont. This means that the default size might be something different than the current default of 16. Qualifying the font may be nontrivial.
Steps to reproduce
Migrate project from 3.x to 4.0
Minimal reproduction project
n/a
The text was updated successfully, but these errors were encountered:
Godot version
4.0 stable
System information
Windows 10
Issue description
modulate
indraw_color
has moved 3 arguments down to make room for arguments involving size, clipping and alignment. Since optional parameters can't be skipped in gdscript (godotengine/godot-proposals#902), calls to this function should implement default values which represent best effort metrics similar to 3.x's default font if the font specified derived from default, or the size specified for the originalDynamicFont
. This means that the default size might be something different than the current default of16
. Qualifying the font may be nontrivial.Steps to reproduce
Migrate project from 3.x to 4.0
Minimal reproduction project
n/a
The text was updated successfully, but these errors were encountered: