Jump to content

GUI Editor Resource


'LinKin

Recommended Posts

Hello,

I'm using this resource to make a GUI. But I've one question;

Is the position of the elements 'global' for all resolutions?

I've taken a look at the code and it doesn't seem like if the position was calculated according to the resolution.

How can I calculate it so that the GUI's elements position is the same for every resolution?

Thanks

Link to comment
  • Moderators

To make ur gui 'global' for all resolutions, you have to use relative positions/sizes only. By default only the children of another gui elements are in relative. You can change that in gui editor with a right click anywhere on ur screen (but not on a gui element) and click on "Rel/Abs screen" or something similar (there are two items like this one, and it's the 1st one. And check the chat to be sure they are both to relative).

As you already closed ur gui editor, just give me the line codes of the guis that are in absolute and the graphic resolution of your game when you created them. I'll be able to "translate" it in relative (nothing complicated though).

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...