Tag Archives: assets

Organising and grouping assets in the hierarchy in Unity

This tutorial explains how to organise and group assets on the hierarchy in your 2D game as well as the parent-child relationship between assets on the hierarchy.

Next tutorial: Introduction to C# scripting and collision detection

Using Sorting Layers to arrange assets in Unity 2D game design

This tutorial explains how to arrange assets in a 2D scene in Unity using Sorting Layers. If you have assets that you want in the background and assets that you want in the midground and foreground of a scene, then you can use Sorting Layers to arrange these assets. You can also use Sorting Layers to fix the problem of disappearing assets in your scene.

Next tutorial: Organising and grouping assets in the hierarchy

Adding assets to your 2D game in Unity

This video explains how to import assets into a 2D game project in Unity. Assets in your game will include items such as background images, character sprites, objects in your game scene, materials, and scripts that will control the game.

We will get started by adding a sky background, the ground, and a player object (ball). To add assets to your game, you simply drag and drop files directly into the Assets panel. Files you might like to add include images for backgrounds, spritesheets for characters, animations, sounds, and materials.

addassets

To see how this is done, watch the video below.

Next tutorial: Adding physics and colliders to your 2D game

Entities and materials in PlayCanvas

In this tutorial you will learn more about entities and how to modify a Box entity to make a ground or floor for your game’s scenes. You will also learn how to use materials to give 3D objects some colour and apply detailed patterns and textures using assets.

A repeating grass pattern image like the one shown in this tutorial can be downloaded from here.

Tip: You can do a Google Images search for textures and patterns using keywords such as “brick pattern tiled”, “repeat brick pattern” or “brick pattern seamless”.

Adding terrain, trees, grass and water to your game

This tutorial explains how to add terrain to your 3D game environment in Unity. You will also learn how to edit the terrain and add textures to it, as well as how to add trees, shrubs, grass and water to the terrain.

To add textures, trees, grass and water to your terrain, you will need to import assets into your Unity project – this is also covered in the video. Scroll down the page to watch the video.

A basic terrain with textures, trees and water
A basic terrain with textures, trees and water (in Scene view)
A basic terrain being navigated in Play mode (using lower quality preview settings)
A basic terrain being navigated in Game view (using lower quality preview settings)

After watching this video, you will see just how easy it is to add terrain to your game environment like in the examples above.

If you find that Unity is running very slow, then reduce the amount of trees and grass in the environment. Lots of grass and trees can make Unity run slower. Note that the environment will not be fully rendered in Scene or Game view so the quality will not appear as high as it will be in the fully rendered game.

The image below shows how grass is rendered in front of a player in first person view.

Grass rendered in first person view.
Grass rendered in first person view.