Jump to content

Coords...


#Paper

Recommended Posts

Posted

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? :S

Posted

use relative positioning if your image is a gui element, or calculate/rescale according to current resolution if it's a dx image.

Posted

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 ) 

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...