![]() ![]() In the Title Scene, those elements will be a title text, and a play button. Now, we need another Canvas to show the HUD elements. The source image will be the background image, and we can set its native size in order to properly show it. Also, the UI Scale Mode (in Canvas Scaler) will be set to follow the screen size, with a reference resolution of 1280×960.Īfter doing that, we create a new Image object as a child of this canvas. In order to do so, we need to specify the camera of the canvas, which will be our main camera. Title Scene Background canvasįirst of all, we are going to create a Canvas to show the background image in the Title Scene. You can do that by creating a new Canvas called BackgroundCanvas, and setting its render mode as Screen Space – Camera. So, you can use them in your games, even commercial ones. All sprites are available under the Creative Commons Zero (CC0) license. The sprites used in this tutorial are from the Superpowers Asset Packs by Pixel-boy. You can download the tutorial source code files here.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |