#Paper Posted July 19, 2011 Share Posted July 19, 2011 I hate the coordinates... Anyway, i draw an img in the screen, in 800x600 is ok @ the right pos, but if i use the 1240x1024 it goes in another position... how to fix? Link to comment
Aibo Posted July 19, 2011 Share Posted July 19, 2011 use relative positioning if your image is a gui element, or calculate/rescale according to current resolution if it's a dx image. Link to comment
CapY Posted July 19, 2011 Share Posted July 19, 2011 This is syntax: bool guiSetPosition ( element theElement, float x, float y, bool relative ) And this is one expample using that syntax: guiSetPosition ( myLabel, absoluteX, absoluteY, false ) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now