UNITY | PROJECT | RPG Tutorial |3. HUD, UI, & Environment(Water)

2-0
Making the soil a little higher
2-1
Smoothing the soil
2-2
Lower the soil a little for water to flow
3-0
Creating Water
  • import water from Unity Standard Asset
  • Water is just an object concrete
3-1
Modifying Water
4-0
Water Modified
4-1
Water
5
Adding another Tree
68.png
Tree
7
UI – RawImage
  • add UI – RawImage
    • The Raw Image control displays a non-interactive image to the user
    • Since the Raw Image does not require a sprite texture, you can use it to display any texture available to the Unity player
8-0
Canvas | Screen through Camera
  • the white line means our monitor’s screen

 

8-1
Rawimage working
9
RawImage | Anch
  • PosX & PosY means the RawImage is apart from the anchor(Top-Left) by 75
10
Adding Heart Texture to RawImage
11
Creating a blank space for Heart
12
Blank Heart Anchored Top-Left
13
Heart Anchored Center | Child Object of Blank Heart
  • Since ViewHearts are Child Object of Heart, their position is based on the Heart’s
14
Making Heart Indicator by Duplicating
15
“HeartMonitor” Script
  • Create Variables
    • to use in another script make heartValue as Static
    • internalHeart is to be used as a path to heartValue
    • to use Heart, Create GameObject as a vessel
  • in Update() method,
    • create if statement, making Heart Active, whenever Player collects one
16
“Heathcollects” Scritp
17-0
Creating HealthMonitor from Empty GameObject | Adding Hearts to Script
17-1
Collecting Heart & HeartMonitor Working
18-0
“HeartMonitor” Script
  • in Start() method
    • set the initial value of heartValue as 1

 

 

18-1
Collecting Hearts

 

“when Unity says, “There are 2 audio lister”, remove main camera if you are using FPS Character”

UNITY | PROJECT | RPG Tutorial |2. Terrain & LandScaping

2
Terrain | Terrain Setting | Terrain Width & Length
3
Terrain | Paint Texture | Grass
  • We can add Grass Texture and apply it easily with brush
4
Terrain | Paint Texture | Grass | Normal Map
5
Terrain | Paint Texture | Path | Edit Texture | Normal Map
6
Terrain | Paint Texture | Adding Texture
6-1
Drawing Path on Terrain
7
Texture | Create From GrayScale off
8
Texture | Create From GrayScale On
9
Terrain | Raise/Lower Terrain
16-1
Terrain | Erasing by pressing Shift
9-1
Raising/Lowing Terrain
10
Terrain | Smooth Height
10-1
Smoothing Terrain
11
Terrain | Paint Details | Edit Grass Texture
11-1
Adding Grass | now showing from distance
12
Terrain | Terrain Setting
  • Detail Distance – The distance (from the camera) beyond which details will be culled.
  • Billboard Start – The distance (from camera) at which 3D tree objects will be replaced by billboard images.
    • BillBoard Image / Billboard Asset – a collection of pre-rendered images of a more complicated Mesh intended for use with the Billboard Renderer
      , in order to render an object at some distance from a Camera
      at a lower level of detail (LOD) to save on rendering
      time
      .
  • Grass Tint – Overall color tint applied to grass objects.
12-1
Changing “Detail Distance”

13
Terrain | Paint Details | Edit Grass Texture | Healthy Color / Dry Color
  • depending on the texture of Ground, Grass can have two type of Color : Healthy, Dry

Terrain | Paint Details | Edit Grass Texture | Healthy Color / Dry Color

14
Terrain | Paint Details | Edit Grass Texture | Healthy Color / Dry Color
152.png
Terrain | Paint Details | Edit Grass Texture | Healthy Color / Dry Color
16
Terrain | Print Details | Adding Flowers
16-2
Adding Flowers
17
Terrain Adding Textures | Rock
181.png
Terrain Adding Textures | Rock
18-1
Covering the mountain with Rock Texture
19
Adding Flowers on the Mountain
19-1
Grass & Flowers
20
Terrain| Paint Texture | Add Tree
21
Terrain | Paint Trees | Setings
21-1
Setting for Woods
21-2
Terrain | Terrain seting | Grass Tint
22
Terrain | Terrain Setting | Window Setting for Grass
22-1
Grass moving along with wind
23
Creating​ “Wind Zone”
24
Wind Zone | Setting

 

25
Lighting | Setting | Environment Lighting| Color

 

25-1
Trees moving along with wind