Ok so I’m building my first FPS type game, and I’ve got all the basics in place.
But now when I build and run my project, the sprites I’m using re-size and does not stay where I want them.
The one I’m having most problems is my hud, in the picture attached you can see it.
I want it to re-size etc. in all different resolutions.
I’m a bit challenged mathematically so I don’t really know where to start, also I don’t know all the functions of unity, I’m a bit new.
I’m using a perspective camera.
Can you guys please help or point me in the right direction?
Have you tried making the HUD in the Unity UI features? It will use Textures instead of Sprites, which is basically the same, but imported differently. This feature will auto-resize textures on screen according to their anchor point.
If you do that, the re-sizing properties goes away.
I got a work around, I made “holes” in the canvas where I want my sprites.
Not how I’d like to do it, but it works.