I’m trying to create a cross-platform interface in FlaxEngine, I’m not finding a specific feature (I don’t know if this feature is non-existent or I don’t know how to use it, but since I’m not finding information about it I’m guessing it’s non-existent) , the feature that I consider “mandatory” for an engine that compiles for Mobile is that it has a responsive UI (I can’t make my UI in FlaxEngine be responsive), that is, if it adjusts according to the aspect ratio of the screen, the pixels are fixed. If this functionality does not exist, I would kindly ask you to add it in the next version, if this functionality exists, you could help me by showing me how to integrate it into my project.
Yes it works, but the box of an image is much bigger than normal (that’s because only the content is resized, but the size of the original remains, I don’t know if this is a bug or something normal). I was breaking my head was using Flax 1.4, and this feature is only for Flax >= 1.5. Thanks anyway! And it’s working perfectly, and I just hope that when I’m creating touch mobile it doesn’t get in the way, I expected the UIControl to be resized too not just the content inside it.
When your canvas scalar is in Scale With Resolution go ahead and change the resolution max to something like 1920, 1080. then change the resolution mode to Longest Side (I have found that best for longer width aspects). **FYI the highlighting of the UI with a canvas scalar is broken right now.
@Tryibion@niles@mafiesto4
No matter what I do, the result is the same as the video example, even if I compile and resize the window, the result does not change, the elements have a fixed size and are not dynamic. And another thing that I noticed in the “image below” the green border should fit in the game window, right? I have a question, does your flax have the same behavior as the unit example “comment above”?
In your project it seems to be working as I would like it to work in mine . but I’m using the latest version of flex 1.5, now I’m going to cry and I reinstall flax and I hope it works .
I switched monitors, restarted the pc and created a new project! but the result is the same, I have the same problem, and one thing that bothers me is that the content is not in its context “image below”
Do you have a video with you resizing it with the same setting I have? I also think there is a minimum for resizing, so at a certain point it will stop shrinking.