In this post, I'll be dedicated to animating 2D sprites in Unity.
Read more "Unity - Animate 2D Sprites" »
Originally posted on 2019-11-16 15:45:00.
Create a new project in Unity. In it you create your 3D object in the form of a cube. With the right mouse button you go to Transform in the inspector window and select Reset. Then you scale the cube to x -> 50 and z -> 50. If there is no light yet, create a Point Light via GameObject ->Light. Now…
In this post, I'll be dedicated to animating 2D sprites in Unity.
Read more "Unity - Animate 2D Sprites" »
Originally posted on 2019-11-16 15:45:00.
Sprite-Shape is designed to give you the freedom to create hassle-free 2D environments right in Unity and decorate them the way you want.
Read more “Unity - What is the 2D Sprites Shape Package?” »
Originally posted on 2019-11-15 13:05:00.
First you need a player who can look around the area. For example, you can create an empty object for this. In the hierarchy window, right-click Create -> Empty. Name the object as First Person Player. Drag it to the center of your scene. Add a Character Controller component. Center the character with F and note...
First, of course, you need to create the levels for your game. Create a separate scene for the credits or end credits. Create a new scene via File -> New Scene. Press Ctrl+N and right-click in the hierarchy window and select UI. Create a panel with the UI and switch to 2D mode. Center your panel with...
To complete a level you need a trigger. Create a cube for this and scale it as you need it. Select the Y axis and use the cube to switch to isometric view. Drag your box to the end of the level or to where you want the level to end. For example, call it End. Because the trigger...
Game Over can be defined unfavorably via a game object. A game manager is useful for this. Create an Object in the Hierarchy window, right-click the Transform component in the Inspector window and set it to Reset. Then name the object GameManager. Add a new component and name it GameManager. This component is responsible for keeping statuses in…
This is how you create a score counter that is linked to the player's movement. For a text UI in Unity, create a new script called Score. First you establish a reference to the player: public Transform player; Transform specifies position, scale, etc. Under Update we add: player.position.z; It's all about the position of the player...
UI elements are user interface elements in Unity. In the hierarchy window, right-click UI and choose Text. Unity creates a canvas where all UI elements can be placed. Go to 2D mode, select the text and press F to center it. The canvas adapts to the game screen. Place according to your texts. With…
When discussing Unity, I came across the terms sprites and shapes, which is why this article aims to clarify the question of what a sprite and what a shape is. What are Sprites? Sprites are computer graphics. These are graphic objects. These are two-dimensional bitmap graphic representations. Sprites can be a static image or an animation that appears in…