Now we will use Bezier curves to create the curves we desire. The line renderer will be applied on this object. Once you applied the line renderer, use an empty object. You need to employ the Line-Renderer to get yourself started. And for that, all you need to know is the underlying principle of Bezier Curves along with a couple of basic features in Unity. If we want to make a picture or a simple doodle presentable to a bunch of people these neat curves help a lot. Have you wondered how skitch makes those pathetic shaky lines looks curvier? We need these beautifully drawn lines as they look neat and organic. Till then spend some time perfecting sprites across resolutions. Next time we will learn to make a projectile like angry birds. You can go through or download the free tutorial here. There are X and Y parameters on the script as well that helps you to fine tune the entire thing for a better experience. You also have an offset parameter that ascertains the spacing of a sprite from left or right of the screen. The parameter ensures that the sprite remains at a desired position irrespective of any resolution. This is useful when you are using a circular sprite in your game. Icons are automatically adjusted irrespective of any resolution you put them into.Īpart from set automatically, there is another parameter called ‘isCircle’. Remember, this script works in both landscape and portrait orientation for the device. Now, in ‘My orientation’ select one of the values from the dropdown menu. Select your orientation and put check on ‘set automatically’. Use the Set in Screen Script and tweak some values that come with it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2023
Categories |