Jump to content

Coordinations in timer


papam77

Recommended Posts

Hello, i have problem with timer.

timer.png

timeleftbg = guiCreateStaticImage(screenWidth/2-108/2, 15, 108, 24, 'img/timeleft.png', false, nil), 
            timeleft = guiCreateLabel(screenWidth/2-108/2, 19, 108, 30, '', false), 

I need add times to frames.

How ?

Link to comment

There is a made function called centerWindow, It was made to center windows but you can use it to any GUI element ( Including labels ! )

Use your math skills to do a function like it to get the text in the wanted place at any resolution ..

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