I am currently working on a platformer project to learn unity. I have a question regarding the following scene:
I have a brick sprite to use as building block for platforms of different size (in this example 4). This approach causes the following issues:
- The player slightly “hobbles” when moving over the seams of two connection blocks (colliders)
- The scene uses much more sprites and colliders then necessary
Does anybody know how to handle this correctly, i.e.
- Should I draw different sprites for multiple sized platforms (imho not preferred…)?
- Should I create prefabs build with multiple sprites but using only one collider?
- Is it somehow possible to scale a sprite texture and use only one gameobject (mainTextureScale does not work with SpriteRenderer)?
- Is it possible to mix sprite objects with regular textured ones?
Any help would be appreciated