Align images...?

how can I align images with the images and the stage?

Comments

  • DeadlySeriousMediaDeadlySeriousMedia ArizonaMember Posts: 838
    Sadly, only by adjusting their X and/or Y coordinates to matching values.
  • doug_smuppetdoug_smuppet Member Posts: 99
    ohh gosh... to align in the middle, I need calculate the X and Y?

    ok then
  • DeadlySeriousMediaDeadlySeriousMedia ArizonaMember Posts: 838
    yeah, I know, it's sad.
  • SocksSocks London, UK.Member Posts: 12,822
    ohh gosh... to align in the middle, I need calculate the X and Y?

    ok then
    What exactly do you need to align ?
  • doug_smuppetdoug_smuppet Member Posts: 99
    for example: I have a image, 100x100 px and I need align this image in the middle and on the left, so, how i'll know if it's exactly the right place?
  • SocksSocks London, UK.Member Posts: 12,822
    On an iPad:

    The left of the screen is 0
    The middle is 512

    Your actor is 100 x 100 - you measure it's position by it's centre.

    So if you want it on the far left you would place it at X = 50
    If you want it in the middle of the screen you would place it at X = 512
Sign In or Register to comment.