This post deals with sprites and the sprite editor. The Sprite options as well as the possibilities offered by the Sprite Editor are discussed.
Read more "The Sprite Editor" »
Originally posted on 2019-12-02 20:45:27.
This post deals with sprites and the sprite editor. The Sprite options as well as the possibilities offered by the Sprite Editor are discussed.
Read more "The Sprite Editor" »
Originally posted on 2019-12-02 20:45:27.
Go to the scene screen and choose your player. Open the animation window. To start animating, you need an animator and an animation clip. Select the player and go to Animation -> Animation under Window. You need an animator and an animation clip. Choose Create, create a folder for animations and save the…
You need a character controller to move your character. The starting point is an environment with colliders. You also need a character. The character needs its own collider. Next up is adding a 2D rigid body. Create a script for your character and call it Character2DController. Change the script to private void: For the x-axis...
Add a New Script to your character at the beginning. Name it PlayerMovement Script. We first need a reference from the player movement script to the character controller. The script is told to move the character. To start, we create a variable: public CharacterController2D controller; Then the possibility opens up to use the character controller in…
Drag the object into the scene. Add a component to an object. The object should have a collider and a rigid body. The rigid body should be set to kinematic. That means the object doesn't move in the physics simulation unless it's moved by a script. Activate Simulated and Use Full Kinematic Contacts. In the script...
To start, a new project is created via the Unity Hub. First you choose between 2D, 3D, 3D with extras, High Definition RP and LWRP Template. You also choose what the project should be called and where it should be saved. Creating the new project may take some time. 2D will…
It is often useful to dynamically resize items in a game or application. Dialog boxes, portraits, and other information displays often use the same frame, even though they are different sizes. Rather than creating duplicate graphics of different sizes, Unity can dynamically stretch and tile certain parts of a sprite so that a sprite can act as a frame (and optimally a background) for UI elements of many sizes.
Read more “9-Slicing Scalable Sprites” »
Originally posted on 2019-11-18 10:54: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.