Monday, June 13, 2022
HomeGame Developmentunity - Set SpriteRenderer tile to increase from a unique facet

unity – Set SpriteRenderer tile to increase from a unique facet


I’ve a SpriteRenderer that ought to signify a endless tile flooring. The thought is that we have now a manufacturing facility flooring in an idle recreation that may develop endlessly.

I received two elements:

  1. Prime half consisting of a wall, and a flooring half that continues to be fastened and may connect with the limitless flooring.
  2. An limitless flooring that ought to tile from the underside and solely downwards.

Top part

Roughly the place the brighter flooring patch begins, that is the place the limitless flooring begins, the issue is that once I set the Sprite to “Tiled” & “Continuos” the tiling really extends on the high as an alternative of on the backside and causes this visible annoyance the place among the tiles look cut-off:

Annoying tiling

I set the Sprite’s pivot to be Prime-Middle, when it was the default heart it was even worse because the tiling would go each methods.

Any thought find out how to resolve this so the highest a part of the limitless flooring stays fastened and solely the underside half is being prolonged & tiled?

Thanks!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments