Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

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