Search Unity

How long is a tile size by transform scale

Discussion in '2D' started by unity_LCgIfQlMxliB9Q, Aug 7, 2019.

  1. unity_LCgIfQlMxliB9Q

    unity_LCgIfQlMxliB9Q

    Joined:
    Aug 5, 2019
    Posts:
    2
    I want to have a sprite who is equal long like one tile.
    How I can calculate the size of the sprite.

    Thanks for answering
     
  2. TRRBusiness

    TRRBusiness

    Joined:
    Aug 7, 2019
    Posts:
    6
    I think what you want is pixels per unit. Default is 100. If your tile is 32x32, you'd set that to 32ppu.

    RR
     
  3. unity_LCgIfQlMxliB9Q

    unity_LCgIfQlMxliB9Q

    Joined:
    Aug 5, 2019
    Posts:
    2
    Cell size:1.28x1.28
    sprite size: 128px128px

    1.What scale I need, that the sprite is equal big like a cell?
    2.How far must the sprite "walk" from one sprite to the next