#how to do this scale for screen fill (coded)?
1 messages · Page 1 of 1 (latest)
how to do this scale for screen fill (coded)?
hmm, i don't think you are being ignored, maybe no one knows the answer
for the script part, all elements have their script accesses
for example
Exposure-> Multiplier can be accessed in the script trough the exposure_multiplier variable
godot shows the script variable name when hovering over it with the mouse
so it can be done with one node, but i am not sure i fully understand what is the end result you are trying to achieve
I dont realy understand the question however for the first part
my project has display/window/stretch/mode disabled and display/window/stretch/aspect set to expand, but i want one Control node to fill the screen, keep ratio
I think this is what you are trying to do (Im using a color rect for visuals but also works with Control)
if you whant to do that via code its set_anchors_preset(Control.PRESET_FULL_RECT)
on the control node
and also (optional to answer) be floor-functioned to each self-set flx or fly variables respectively. how can i do this using gdscript? sorry for bad explanations for some things.
No clue what this means