Jump to content

Python: Moving objects, changing position on Interface


Recommended Posts

Hello dear Community,

well, I suppose it is a ridiculous Question but I can't look throw it..

I am trying to move a graphic in the client from "bottom, center" to "top, left" and can't figure out

how to do it the best way.This is the line for the actual state of position.

BOARD_X = SCREEN_WIDTH * (65) / 800
BOARD_Y = SCREEN_HEIGHT * (220) / 600

"x" : SCREEN_WIDTH * (125 + 50)  / 800,
"y" : SCREEN_HEIGHT * (455) / 600,

Unfortunately after trying different methods I couldn't figure it out. After changing the Resolution the graphic flows to another place.

Appreciating the Explaination of the Solution. Best Regards.

.Arno

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 2

      Stripe payments

    2. 2

      Stripe payments

    3. 144

      Shop Ex Renewal

    4. 0

      Sort By Last Play Time problem

    5. 0

      QuickSell in SpecialInventory Problem

    6. 12

      Legendary items effect

    7. 0

      M2Project Research | Teamler - Beta Tester

  • Recently Browsing

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

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.