Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Unity Game Development Blueprints
  • Table Of Contents Toc
  • Feedback & Rating feedback
Unity Game Development Blueprints

Unity Game Development Blueprints

By : John P. Doran
4 (6)
close
close
Unity Game Development Blueprints

Unity Game Development Blueprints

4 (6)
By: John P. Doran

Overview of this book

If you want to build enticing projects with Unity, this book is for you. Readers who are familiar with the basics of how to create simple projects in Unity will have an easier time.
Table of Contents (11 chapters)
close
close
10
Index

Creating an enemy


Now that we can take pictures, let's create an enemy to take pictures of! We will perform the following steps:

  1. The first step to adding in an enemy is to import the assets required to use it. Inside our Chapter 6\Assets\Ghost Model location, you'll find a series of files.

  2. First, let's create the material for our new mesh. To do this, go into either the 1024 Textures or 2048 Textures folder, and move the files into the Materials folder. Afterwards, navigate to Create | Material, and give it the name GhostMaterial. Change the Shader value to Bumped Diffuse, and move the Ghost_Tex file into the Base and Ghost_TEX_NRM file in the Normalmap selection. You'll get a warning indicating the texture isn't marked as a normal map; feel free to click on Fix Now, or go back into the file, and change its Texture Type value to Normal map. The following screenshot shows the Unity screen with these changes:

  3. Now, move to the Models folder on the Project tab, and drag-and-drop the Ghost_mesh...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY