- Home /
How to tile sprite in 2D game when scaling instead of stretching
In my game I want to have a laser ability that will scale upwards until it hits an enemy. However, scaling only stretches. From what I've read online, this can't be done with the sprite renderer. Unless this has been changed, (most of the forum posts were from years ago, so it's possible.) is there any alternative I could use to get this effect? Idk if this will affect anything, but the sprite is also animated.
Answer by benjaminfranklineatsfruit · Mar 03, 2021 at 04:56 PM
At your sprite import settings set: Mesh Type to Full Rect.
Then at your Sprite Renderer set the Draw Mode to Tiled.
Your answer
Follow this Question
Related Questions
Addressable texture2d 0 Answers
How to use line renderer to create borders around an 2d object? 1 Answer
How to create a Texture2D from a sprite asset 2 Answers
Scale down spritesheets without breaking anything else 0 Answers
confusion with sprites. 0 Answers